Re: does toor have passwd or not? According to logins -p: yes

2009-12-31 Thread Anton Shterenlikht
On Wed, Dec 30, 2009 at 02:11:13PM +0100, Erik Trulsson wrote:
> On Wed, Dec 30, 2009 at 12:33:41PM +0000, Anton Shterenlikht wrote:
> > I was checking for passwordless accounts with 'logins -p'.
> > None was found. However, I understand toor doesn't have
> > passwd by default, and I never touched it, so I expected
> > logins -p to show toor, but it didn't.
> > 
> > Just to check I also tried to su toor with root passwd - no access. 
> > 
> > Please can somebody clarify if toor does indeed have
> > passwd.
> 
> toor, like many other system accounts, by default has its password entry set
> to '*' which indicates that password authenictation is disabled for that
> account.  (See the passwd(5) manpage for details.)
> This means that unless you set a password for toor you cannot login as toor,
> so the mere presence of that account is not a security problem.

my mistake was due to looking at passwd(1) instead of passwd(5).

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


does toor have passwd or not? According to logins -p: yes

2009-12-30 Thread Anton Shterenlikht
I was checking for passwordless accounts with 'logins -p'.
None was found. However, I understand toor doesn't have
passwd by default, and I never touched it, so I expected
logins -p to show toor, but it didn't.

Just to check I also tried to su toor with root passwd - no access. 

Please can somebody clarify if toor does indeed have
passwd.

many thanks
anton


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: fetchmail and plain text password

2009-12-30 Thread Anton Shterenlikht
On Wed, Dec 30, 2009 at 02:16:51PM +0600, Victor Sudakov wrote:
> Anton Shterenlikht wrote:
> > Are you saying I can make mutt read mail directly from the imap
> > server? Without fetchmail?
> 
> Certainly. mutt is a very good IMAP client, you can do some tricky
> things with it like 
> 
> mutt -f imaps://y...@yourserver.edu/~otheruser/somefolder/somemailbox

wow! that's so easy, why didn't I find this before..

thanks a lot for this hint!

Is it possible to run it as a daemon, so that I don't have to
enter password each time?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: fetchmail and plain text password

2009-12-29 Thread Anton Shterenlikht
On Tue, Dec 29, 2009 at 04:53:24PM +, RW wrote:
> On Tue, 29 Dec 2009 13:44:21 +
> Anton Shterenlikht  wrote:
> > I might be wrong, but that's my understanding.
> > So programs like fetchmail that actually connect to their
> > imap server and download mail to local boxes are probably
> > not very welcome.
> 
> You probably are wrong, it's more a case of your not using it's full
> potential. I'm not really sure why you are doing it this way, I do
> something simailar, but only because I'm interested in spam-filtering.
> 
> Why not just point your preferred mail client at the imap server?
> That way you can access your mail from anywhere (probably via
> webmail too)  Some imap clients, such as thunderbird and kmail, will
> let you store your server passworks encrypted to a master-password, so
> even root can't read them.  The IMAP server is probably more reliable
> too.

Are you saying I can make mutt read mail directly from the imap
server? Without fetchmail?

> If you want a local copy, or use a client with poor imap support, then
> offlineimap is pretty good.
> 
> 
> BTW personally I use  getmail instead of fetchmail, I've not used
> fetchmail much, but I've read a lot of bad things about it - some of
> which are mentioned here: 
> 
> http://pyropus.ca/software/getmail/faq.html#faq-about-why

interesting..

none of this is mentioned in the handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-fetchmail.html


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: fetchmail and plain text password

2009-12-29 Thread Anton Shterenlikht
On Tue, Dec 29, 2009 at 02:22:09PM +0100, Roland Smith wrote:
> On Tue, Dec 29, 2009 at 08:03:53AM -0500, Robert Huff wrote:
> > 
> > Anton Shterenlikht writes:
> > >  > I'd be more worried that your password is sent as plaintext over 
> > >  > the network using e.g. POP3. You should use the --ssl option if
> > >  > your mailserver allows it. 
> > >  
> > >  it looks like it doesn't allow ssl.
> > 
> > It is my understanding ISPs - at least those in the
> > U.S. oriented to the home user - rarely do,  It's a non-trivial
> > amount of work to get working and then monitor for correct behavior
> > and possible breaches.
> 
> Agreed. Which is exactly why I like xs4all so much. :-) They do provide these
> kinds of services.
> 
> But I would expect a university network (which I understand what the OP is
> talking about) to offer something more sophisticated than plain POP3. I would

it's IMAP-4 server, whatever that means..

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: fetchmail and plain text password

2009-12-29 Thread Anton Shterenlikht
On Tue, Dec 29, 2009 at 02:22:09PM +0100, Roland Smith wrote:
> > U.S. oriented to the home user - rarely do,  It's a non-trivial
> > amount of work to get working and then monitor for correct behavior
> > and possible breaches.
> 
> Agreed. Which is exactly why I like xs4all so much. :-) They do provide these
> kinds of services.
> 
> But I would expect a university network (which I understand what the OP is
> talking about) to offer something more sophisticated than plain POP3. I would
> expect at least bSMTP. Bristol seems to have a computer science
> department. That's at least a pool of warm bodies to train as sysadmins. :-P

it doesn't work like that..

I think it's an imap server.

Anyway, I'm trying to get in touch with them.
One of the problems is that the Uni are trying to
implement a system where mail is never downloaded from the
main mail servers at all. At least this is what I gather.
So when users launch their mulberry (a typical Uni mail
client) they connect to the mail servers, read and reply
and whatever, but the data is just viewed on PCs and not
stored there. I might be wrong, but that's my understanding.
So programs like fetchmail that actually connect to their
imap server and download mail to local boxes are probably
not very welcome.

many thanks
anton


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: fetchmail and plain text password

2009-12-29 Thread Anton Shterenlikht
On Mon, Dec 28, 2009 at 06:35:15PM +0100, Roland Smith wrote:
> On Mon, Dec 28, 2009 at 03:15:53PM +0000, Anton Shterenlikht wrote:
> > I use fetchmail
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-fetchmail.html
> > to download all my mail from the Uni mail
> > server to my fbsd box.
> > 
> > I typically run it in daemon mode, which requires
> > having my mail server password in plain text in .fetchmailrc
> > 
> > I'm a little worried about the security of having
> > my password in plain text on the system.
> 
> chown you:yourgroup ~/.fetchmailrc
> chmod 400 ~/.fetchmailrc
> 
> With these changes, only you and the superuser can read that file. 

yes, an attacker gaining superuser access is my worry.
I'm reading Garfinkel and Spafford (1996) Practical UNIX & internel security
(a bit out of date, I know. I ordered the 3rd edition, 2003),
and I realised there are a lot of potential security issues, of which
I wasn't aware. Things like SUID/SGID files could be an issue,
and lots of other things.

> > Is there a more secure arrangement that would
> > still allow running fetchmail in daemon mode?
> 
> I'd be more worried that your password is sent as plaintext over the network
> using e.g. POP3. You should use the --ssl option if your mailserver allows it.

it looks like it doesn't allow ssl.

> > Or maybe there is another software solution
> > alltogether?
> 
> Presumably you are running a mailserver on your box. You can ask the
> administrator to forward mail to your machine by making an MX record for it.

not sure I understand you here. I run sendmail daemon just for sending mail
out of the box, and delivery of internal mail inside the box. Sendmail
doesn't listen for any incoming connections.
Could you please elaborate, or give a link.

many thanks
anton


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


fetchmail and plain text password

2009-12-28 Thread Anton Shterenlikht
I use fetchmail
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-fetchmail.html
to download all my mail from the Uni mail
server to my fbsd box.

I typically run it in daemon mode, which requires
having my mail server password in plain text in .fetchmailrc

I'm a little worried about the security of having
my password in plain text on the system.

Is there a more secure arrangement that would
still allow running fetchmail in daemon mode?

Or maybe there is another software solution
alltogether?

many thanks
anton


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


TP-LINK wireless pci - ath(4) driver - Atheros chipsets => WAS: [mary...@tp-link.com: RE:]

2009-12-27 Thread Anton Shterenlikht
Below is the reply I received from TP-LINK about
chipsets in some of their pci wireless adapters.
This might be of interest to somebody who is buying
a pci wireless. My interest in Tp-link is because
there are hundreds of cards on sale at ebay.co.uk
at the moment.

However, I'm more confused by the reply than clarified. ath(4) man
page list these 4 chipsets as supported:
 Atheros AR5210, AR5211, AR5212, and AR5416

Only 5416 appears in the manuf. reply, and even that
is in a combination with another ath chip.
More specifically, can somebody comment whether
  
TL-WR851N: AR5416+AR2122
TL-WN651G/ TL-WN650G: AR2414
TL-WN350G: Atheros AR2417

will be supported by ath(4) driver, please.

In case it matters it will have to be run on sparc64.

many thanks
anton

- Forwarded message from "mary.li"  -----

Dear Anton,
 
Thank you very much for your email requesting information about our product.

The chipsets of the adapters you mentioned are as below:
TL-WR851N: AR5416+AR2122
TL-WN651G/ TL-WN650G: AR2414
TL-WN353G: Realtek RTL8185L
TL-WN350G: Atheros AR2417

Hope the information will help you.

Any further help please feel free to let me know.
To get technical support quicker,please go to
http://www.tp-link.com/support/faq.asp
Best Regards
---
Mary.Li
Technical Support Engineer
TP-LINK TECHNOLOGIES CO.,LTD.
tel:+1 866 225-8139
 +86 755-2650-4400
E-mail:mary...@tp-link.com
Website:http://www.tp-link.com/support/Support.asp

-Original Message-----
From: Anton Shterenlikht [mailto:me...@bristol.ac.uk] 
Sent: Sunday, December 27, 2009 3:45 AM
To: support...@tp-link.com
Subject: 

Dear Sir/Madam

I'm looking to buy a TP-LINK PCI wireless adapter.
However, it must not be based on Atheros AR5005VL chipset.
I need to use the adapter with FreeBSD operating system,
which does not support Atheros AR5005VL chipset. 

Could you please confirm whether TP-LINK PCI adapters
use Atheros AR5005VL chipset. In particular I'm interested in

TL-WN851G
TL-WN651G
TL-WN650G
TL-WN353G
TL-WN350G

Which Atheros chipsets, if any, do these adapters use?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423


- End forwarded message -

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: example c program that does "beep"

2009-12-26 Thread Anton Shterenlikht
On Sat, Dec 26, 2009 at 08:08:52PM +0100, Polytropon wrote:
> On Sat, 26 Dec 2009 17:16:23 +0000, Anton Shterenlikht  
> wrote:
> > On Sat, Dec 26, 2009 at 11:50:06AM -0500, Thomas Dickey wrote:
> > > 
> > > instead of the printf/fflush, it would clear the screen and beep - if the
> > > terminal description says it can do the beep.
> 
> The exanple I posted displays the return code of the functions,
> which is of (int) type. Of course, the common way to use them
> is to just call beep(); and it should beep if the terminal can
> do it.
> 
> 
> 
> > I have 
> > 
> > > echo $TERM
> > xterm
> > >
> > 
> > xterm can do beep, can't it?
> 
> It can. I've just checked from within the xterm terminal
> emulator. Are you possibly using Konsole or the Gnome
> terminal program, or rxvt? In fact, it shouldn't matter.

it's on a text terminal, without X

looks like it's sparc issue, I do get beeps with this
code on ia386.

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: example c program that does "beep"

2009-12-26 Thread Anton Shterenlikht
On Sat, Dec 26, 2009 at 11:50:06AM -0500, Thomas Dickey wrote:
> 
> instead of the printf/fflush, it would clear the screen and beep - if the
> terminal description says it can do the beep.

I have 

> echo $TERM
xterm
>

xterm can do beep, can't it?

But I can't get it to beep on anything.
I probably don't get some basic idea..

many thanks
anton


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: example c program that does "beep"

2009-12-26 Thread Anton Shterenlikht
On Fri, Dec 25, 2009 at 02:02:19PM -0500, Joe Marcus Clarke wrote:
> On Fri, 2009-12-25 at 18:58 +0000, Anton Shterenlikht wrote:
> > How can I get a beep from c?
> > I looked at curses and syscons.c, but
> > still not clear.
> > Could somebody send me an example.
> > I'd be soo grateful.
> 
> #include 
> 
> int
> main(int argc, char **argv) {
> printf("%c", 7);
> return(0);
> }

Doesn't seem to do anything. Maybe 
there's something wrong with my sound?
But mp3 player seems to come out ok.
Or maybe I missed something obvious..

thanks a lot
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: example c program that does "beep"

2009-12-26 Thread Anton Shterenlikht
On Fri, Dec 25, 2009 at 08:49:14PM +0100, Polytropon wrote:
> On Fri, 25 Dec 2009 18:58:26 +0000, Anton Shterenlikht  
> wrote:
> > How can I get a beep from c?
> > I looked at curses and syscons.c, but
> > still not clear.
> 
> If you want to use NCURSES / CURSES, it's a bit complicated.
> 
> Otherwise, just output %c (the character) 0x07, BEL, which
> generates an audible bell, or beep.
> 
> 
> *** text/plain attachement has been stripped *** RETRY ***
> 
> /* beepflash.c
>  * ---
>  * cc -Wall -lcurses -o beepflash beepflash.c
>  *
>  */
> 
> #include 
> #include 
> 
> int main(int argc, char *argv[])
> {
>   initscr();
>   cbreak();
>   noecho();
>   nonl();
>   intrflush(stdscr, FALSE);
>   keypad(stdscr, TRUE);
>   start_color();
> 
>   printf("beep: %d\n", beep());
>   fflush(stdout);
> 
>   printf("flash: %d\n", flash());
>   fflush(stdout);
> 
>   return 0;
> }

Instead of a beep and a flash I get:

beep: 0./beepflash
   flash: 0
   HAMOR>

on the console.

Hamor> is a tcsh prompt.

Maybe something is wrong with my installation?
Or maybe I'm too stupid and missed something
obvious?

thank you

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


example c program that does "beep"

2009-12-25 Thread Anton Shterenlikht
How can I get a beep from c?
I looked at curses and syscons.c, but
still not clear.
Could somebody send me an example.
I'd be soo grateful.

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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 for children

2009-12-25 Thread Anton Shterenlikht
On Fri, Dec 25, 2009 at 04:56:21PM +0100, Uwe Laverenz wrote:
> Anton Shterenlikht schrieb:
> 
> > Can somebody recommend a graphical port which could be used
> > to teach kids 6-8 years programming? I know it's a very
> > vague question, but what I have in mind (possibly) is
> > say an interpreter linked with some graphical enviroment,
> > perhaps drawing with commands, or making animations,
> > or maybe music?
> 
> I never tested it myself but I heard/read about it:
> 
> http://www.squeak.org/
> 
> It's in the ports: lang/squeak (i386 only)

I use sparc.

thank you anyway

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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 for children

2009-12-25 Thread Anton Shterenlikht
On Fri, Dec 25, 2009 at 08:18:44AM -0500, b. f. wrote:
> Anton Shterenlikht wrote:
> >Can somebody recommend a graphical port which could be used
> >to teach kids 6-8 years programming? I know it's a very
> >vague question, but what I have in mind (possibly) is
> >say an interpreter linked with some graphical enviroment,
> >perhaps drawing with commands, or making animations,
> >or maybe music?
> 
> >Something that would make kids or that age curious,
> >some programming environment that they can easily
> >understand and enjoy. A programming game of sorts?
> 
> 
> I don't know if all of these are available on FreeBSD, but you may
> find this interesting:
> 
> http://www.marshallbrain.com/kids-programming.htm

thanks, that's interesting

> 
> Is this aimed at getting your 7-year-old to maintain your FreeBSD
> systems for you? ;)
> 

eventually.. in the short term it's about joy of programming

by the way, many thanks for svn, I'll install it on
my other machines. YOu were right about the revision,
I got the i386 rebuilt now.

see you
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


freebsd for children

2009-12-25 Thread Anton Shterenlikht
Can somebody recommend a graphical port which could be used
to teach kids 6-8 years programming? I know it's a very
vague question, but what I have in mind (possibly) is
say an interpreter linked with some graphical enviroment,
perhaps drawing with commands, or making animations,
or maybe music?

Something that would make kids or that age curious,
some programming environment that they can easily
understand and enjoy. A programming game of sorts?

many thanks


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: Signal over range, WAS: X -configure fails: Number of created screens does not match number of detected devices. Configuration failed.

2009-12-22 Thread Anton Shterenlikht
On Tue, Dec 22, 2009 at 09:29:54PM +0100, Marius Strobl wrote:
> On Tue, Dec 22, 2009 at 08:12:14PM +0000, Anton Shterenlikht wrote:
> > On Tue, Dec 22, 2009 at 12:26:03PM -0700, Warren Block wrote:
> > > On Tue, 22 Dec 2009, Anton Shterenlikht wrote:
> > > > Warren, thank you, but this doesn't help. I've added:
> > > >
> > > > Section "Monitor"
> > > > Identifier   "Monitor0"
> > > > HorizSync   30-50
> > > > VertRefresh 60
> > > > EndSection
> > > >
> > > > Section "Device"
> > > > Identifier  "Card0"
> > > > Driver  "mach64"
> > > > BusID   "PCI:0:2:0"
> > > > EndSection
> > > 
> > > Hmm.  Some web searching says non-Intel platforms might need a different 
> > > reference clock:
> > > 
> > > http://www.gentoo.org/doc/en/gentoo-sparc-faq.xml#doc_chap4_sect1
> > 
> > yes, now you told me I see it's actually in the logs:
> > 
> > (--) MACH64(0): Reference clock 157.5/11 (14.318) MHz.
> > (II) MACH64(0): If modes do not work on Ultra 5/10 or Blade 100/150,
> > set option "reference_clock" to "28.636 MHz" or "29.5 MHz"
> > 
> > by using either 28.636 or 29.5 I now get no "signal over range".
> 
> The right value for a Rage XL is 29.5 MHz.

Marius, thank you, I figured it out already.
Here's the winning xorg.conf: http://seis.bris.ac.uk/~mexas/freebsd/xorg.conf
in case somebody else might be using this hardware.

Also, could you comment on Warren's suggestion of Radeon 7000?
Do you think it might work on blade 1500?

many thanks as always

anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


SOLVED: Re: Signal over range, WAS: X -configure fails: Number of created screens does not match number of detected devices. Configuration failed.

2009-12-22 Thread Anton Shterenlikht
On Tue, Dec 22, 2009 at 12:26:03PM -0700, Warren Block wrote:
> On Tue, 22 Dec 2009, Anton Shterenlikht wrote:
> > Warren, thank you, but this doesn't help. I've added:
> >
> > Section "Monitor"
> > Identifier   "Monitor0"
> > HorizSync   30-50
> > VertRefresh 60
> > EndSection
> >
> > Section "Device"
> > Identifier  "Card0"
> > Driver  "mach64"
> > BusID   "PCI:0:2:0"
> > EndSection
> 
> Hmm.  Some web searching says non-Intel platforms might need a different 
> reference clock:
> 
> http://www.gentoo.org/doc/en/gentoo-sparc-faq.xml#doc_chap4_sect1

out of desperation was re-reading the manual and saw this:

Starting with Xorg 7.4 and above, this test produces
a black screen which may make it difficult to diagnose
whether X11 is working properly. The older behavior
is still available by using the retro option:

# Xorg -config xorg.conf.new -retro

so, yes, I got the grey screen and a cross, and the mouse
seems to be working.

Warren, many thanks for your help!

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: Signal over range, WAS: X -configure fails: Number of created screens does not match number of detected devices. Configuration failed.

2009-12-22 Thread Anton Shterenlikht
On Tue, Dec 22, 2009 at 12:26:03PM -0700, Warren Block wrote:
> On Tue, 22 Dec 2009, Anton Shterenlikht wrote:
> > Warren, thank you, but this doesn't help. I've added:
> >
> > Section "Monitor"
> > Identifier   "Monitor0"
> > HorizSync   30-50
> > VertRefresh 60
> > EndSection
> >
> > Section "Device"
> > Identifier  "Card0"
> > Driver  "mach64"
> > BusID   "PCI:0:2:0"
> > EndSection
> 
> Hmm.  Some web searching says non-Intel platforms might need a different 
> reference clock:
> 
> http://www.gentoo.org/doc/en/gentoo-sparc-faq.xml#doc_chap4_sect1

yes, now you told me I see it's actually in the logs:

(--) MACH64(0): Reference clock 157.5/11 (14.318) MHz.
(II) MACH64(0): If modes do not work on Ultra 5/10 or Blade 100/150,
set option "reference_clock" to "28.636 MHz" or "29.5 MHz"

by using either 28.636 or 29.5 I now get no "signal over range".
In fact I just get a black screen. Not sure if this is worse or better...

many thanks


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: Signal over range, WAS: X -configure fails: Number of created screens does not match number of detected devices. Configuration failed.

2009-12-22 Thread Anton Shterenlikht
On Tue, Dec 22, 2009 at 11:12:35AM -0700, Warren Block wrote:
> On Tue, 22 Dec 2009, Anton Shterenlikht wrote:
> > ok, I moved a step further. 'X -configure' is now successful.
> > All I had to do is to move the graphics card to another pci
> > slot. Perhaps where xvr600 was, is not a standard pci slot
> > at all? pgx64 worked fine there in the text mode, but not
> > in the graphics mode.
> >
> > So now I'm stopped with "Signal over range" message reported
> > by the monitor firmware (?).
> >
> > The card seems to be detected, the scan frequencies I put
> > are from the manufacturer's specs, but still something is wrong.
> >
> > I put conf and log files here:
> >
> > http://seis.bris.ac.uk/~mexas/freebsd/xorg.conf.new
> > http://seis.bris.ac.uk/~mexas/freebsd/Xorg.0.log
> 
> Manually setting a single mode is probably the easiest:
> 
> Section "Screen"
>   Identifier "Screen0"
>   Device "Card0"
>   Monitor"Monitor0"
>   DefaultDepth 24
>   SubSection "Display"
>   Viewport   0 0
>   Depth 24
>   Modes "1280x1024"
>   EndSubSection
> EndSection
> 
> That might be enough, or you might have to go to 1024x768.  You could 
> limit the entries in the Monitor section to trick the card into picking 
> a single reasonable mode, like VertRefresh 70, or HorizSync 30-50. 
> (Assuming this is a CRT.  If it's an LCD, use VertRefresh 60.)

Warren, thank you, but this doesn't help. I've added:

Section "Monitor"
Identifier   "Monitor0"
HorizSync   30-50
VertRefresh 60
EndSection

Section "Device"
Identifier  "Card0"
Driver  "mach64"
BusID   "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
DefaultDepth24
SubSection "Display"
Viewport   0 0
Depth 24
Modes   "1280x1024"
EndSubSection
EndSection

This is an LCD monitor, and the manuf. specs state
max res 1280x1024
horizontal: 30-80
vertical: 50-75

I tried modes down to 800x600 - no change.

I noticed also this error: 

(EE) [drm] drmOpen failed.
(EE) MACH64(0): [dri] DRIScreenInit Failed

should I add device drm to the kernel?
Just to remind, this is sparc64.

> Incidentally, Radeon 7000 cards are available in standard PCI for $20 or 
> so.  Not a great card, but quite an upgrade over a Mach64, and supported 
> by a current driver.

wow.. you mean on sparc64? I didn't know.
If it'll work on sparc, this would be great. There
are many more radeon 7000 on offer than pgx64.

many thanks as always

anton


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


anybody uses Netgear WG311T PCI wireless card? any issues?

2009-12-22 Thread Anton Shterenlikht
It's quite confusing trying to figure out
which card is which. ath(4) only gives
chipsets as AR5210, AR5211, AR5212 and AR5416.
But the manufacturers rarely say which chipsets
their cards are using. After some search I can
see that Netgear WG311T is ar5212, so should be
supported. But, just to double check, is anybody
using this card? Any issues?

many thanks
anton 

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: Signal over range, WAS: X -configure fails: Number of created screens does not match number of detected devices. Configuration failed.

2009-12-22 Thread Anton Shterenlikht
On Sun, Dec 20, 2009 at 11:20:12PM +0100, Marius Strobl wrote:
> On Sun, Dec 20, 2009 at 10:10:10PM +0000, Anton Shterenlikht wrote:
> > On Sun, Dec 20, 2009 at 04:00:05PM +0100, Marius Strobl wrote:
> > > On Sat, Dec 19, 2009 at 09:48:03PM +, Anton Shterenlikht wrote:
> > > > 
> > > > I've built X without hal, but get this error on X -configure:
> > > > 
> > > 
> > > Actually when running `X -configure` or when trying to use the
> > > resulting /root/xorg.conf.new? This looks more like an error in
> > > the configuration file and the results returned by google for
> > > this failure message suggest that this can be due to the server
> > > not being able to load a configured module. Anyway, I'd try
> > > to use the resulting xorg.conf.new and if that fails manually
> > > checking its contents and removing unnecessary and unavailable
> > > stuff like DRI for example.
> > 
> > yes, on 'X -configure'. Removing modules doesn't help.
> > 
> > and then on 'X -config ./xorg.conf.new':
> > 
> 
> Could you please make that xorg.conf.new available somewhere?

ok, I moved a step further. 'X -configure' is now successful.
All I had to do is to move the graphics card to another pci
slot. Perhaps where xvr600 was, is not a standard pci slot
at all? pgx64 worked fine there in the text mode, but not
in the graphics mode.

So now I'm stopped with "Signal over range" message reported
by the monitor firmware (?).

The card seems to be detected, the scan frequencies I put
are from the manufacturer's specs, but still something is wrong.

I put conf and log files here:

http://seis.bris.ac.uk/~mexas/freebsd/xorg.conf.new
http://seis.bris.ac.uk/~mexas/freebsd/Xorg.0.log

I also get this on the console:

(++) Using config file: "./xorg.conf.new"
failed to unset mtrr: Operation not supported by device
failed to unset mtrr: Operation not supported by device
^Cfailed to unset mtrr: Operation not supported by device
failed to unset mtrr: Operation not supported by device
#

not sure if this matters..

Please advise

many thanks all your help and support

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: editing a binary file

2009-12-22 Thread Anton Shterenlikht
well, one of my colleagues pointed out a feature of fortran 2003,
which I, being an idiot, have missed. YOu have access='stream'
in f2003, which is all I need. No record separators, just data.

many thanks for all your help and advice.

anton


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: Where is gfortran in FreeBSD 7.2 Release (i386)?

2009-12-22 Thread Anton Shterenlikht
On Tue, Dec 22, 2009 at 12:31:13AM +0100, Erik Trulsson wrote:
> On Mon, Dec 21, 2009 at 01:14:22PM -0800, Jeff Hamann wrote:
> > I've been trying to figure out where gfortran went since it doesn't appear 
> > in the /usr/ports collection in FreeBSD 7.2 (i386).
> > 
> > I need it to build plots of numerical "things" and use the following lots:
> > 
> > ./configure \
> >  CC="gcc -arch i386" \
> >  CXX="g++ -arch i386" \
> >  OBJC="gcc -arch i386" \
> >  F77="gfortran -arch i386" \
> >  FC="gfortran -arch i386" \
> >  --with-python \
> >  --with-openssl 
> > 
> > My web searches turn up lots of on-responses (i.e. you shouldn't be using 
> > fortran anway's it's dead...), and I seem to have gcc42 installed.
> > 
> > $ gcc -v
> > Using built-in specs.
> > Target: i386-undermydesk-freebsd
> > Configured with: FreeBSD/i386 system compiler
> > Thread model: posix
> > gcc version 4.2.1 20070719  [FreeBSD]
> > $ 
> > 
> > A little help please?
> 
> Install the lang/gcc44 port which includes Fortran support. The Fortran
> compiler will be installed as gfortran44.

there's no fortran compiler in base since 7 branch (I think).
You need to get one from ports. The default now is gcc44,
but if you want you can try gcc45 or 43.
gcc44 is best, if it builds for you, because most fortran-dependent
ports will want gfortran44.

An alternative is lang/g95.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: X -configure fails: Number of created screens does not match number of detected devices. Configuration failed.

2009-12-20 Thread Anton Shterenlikht
On Sun, Dec 20, 2009 at 11:20:12PM +0100, Marius Strobl wrote:
> On Sun, Dec 20, 2009 at 10:10:10PM +0000, Anton Shterenlikht wrote:
> > On Sun, Dec 20, 2009 at 04:00:05PM +0100, Marius Strobl wrote:
> > > On Sat, Dec 19, 2009 at 09:48:03PM +, Anton Shterenlikht wrote:
> > > > 
> > > > I've built X without hal, but get this error on X -configure:
> > > > 
> > > 
> > > Actually when running `X -configure` or when trying to use the
> > > resulting /root/xorg.conf.new? This looks more like an error in
> > > the configuration file and the results returned by google for
> > > this failure message suggest that this can be due to the server
> > > not being able to load a configured module. Anyway, I'd try
> > > to use the resulting xorg.conf.new and if that fails manually
> > > checking its contents and removing unnecessary and unavailable
> > > stuff like DRI for example.
> > 
> > yes, on 'X -configure'. Removing modules doesn't help.
> > 
> > and then on 'X -config ./xorg.conf.new':
> > 
> 
> Could you please make that xorg.conf.new available somewhere?

http://seis.bris.ac.uk/~mexas/freebsd/xorg.conf.new

thanks a lot

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


X -configure fails: Number of created screens does not match number of detected devices. Configuration failed.

2009-12-20 Thread Anton Shterenlikht
On Sun, Dec 20, 2009 at 04:00:05PM +0100, Marius Strobl wrote:
> On Sat, Dec 19, 2009 at 09:48:03PM +0000, Anton Shterenlikht wrote:
> > 
> > I've built X without hal, but get this error on X -configure:
> > 
> 
> Actually when running `X -configure` or when trying to use the
> resulting /root/xorg.conf.new? This looks more like an error in
> the configuration file and the results returned by google for
> this failure message suggest that this can be due to the server
> not being able to load a configured module. Anyway, I'd try
> to use the resulting xorg.conf.new and if that fails manually
> checking its contents and removing unnecessary and unavailable
> stuff like DRI for example.

yes, on 'X -configure'. Removing modules doesn't help.

On X -configure:


X.Org X Server 1.6.1
Release Date: 2009-4-14
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 9.0-CURRENT sparc64 
Current Operating System: FreeBSD mech-anton242.men.bris.ac.uk 9.0-CURRENT 
FreeBSD 9.0-CURRENT #1: Sat Dec 19 22:34:14 GMT 2009 
me...@mech-anton242.men.bris.ac.uk:/usr/obj/usr/src/sys/HAMOR sparc64
Build Date: 19 December 2009  08:28:07PM
 
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec 20 22:04:26 2009
(II) Loader magic: 0x1508
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 5.0
X.Org XInput driver : 4.0
X.Org Server Extension : 2.0
(II) Loader running on freebsd
(--) Using syscons driver with X support (version 8589944945.226)
(--) using VT number 9

(--) PCI: (0...@0:6:0) ALi Corporation M7101 Power Management Controller [PMU] 
rev 0
(--) PCI: (1...@0:3:0) ATI Technologies Inc Rage XL rev 39, Mem @ 
0x0100/16777216, 0x0010/4096, I/O @ 0x0300/256, BIOS @ 
0x/65536
List of video drivers:
mach64
sunffb
(II) LoadModule: "mach64"
(II) Loading /usr/local/lib/xorg/modules/drivers//mach64_drv.so
(II) Module mach64: vendor="X.Org Foundation"
compiled for 1.6.1, module version = 6.8.1
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 5.0
(II) LoadModule: "sunffb"
(II) Loading /usr/local/lib/xorg/modules/drivers//sunffb_drv.so
(II) Module sunffb: vendor="X.Org Foundation"
compiled for 1.6.1, module version = 1.2.0
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 5.0
(II) System resource ranges:
[0] -1  0   0x000f - 0x000f (0x1) MX[B]
[1] -1  0   0x000c - 0x000e (0x3) MX[B]
[2] -1  0   0x - 0x0009 (0xa) MX[B]
[3] -1  0   0x - 0x (0x1) IX[B]
[4] -1  0   0x - 0x00ff (0x100) IX[B]
(II) MACH64: Driver for ATI Mach64 chipsets
(WW) Falling back to old probe method for sunffb
(++) Using config file: "/root/xorg.conf.new"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Not automatically adding devices
(==) Not automatically enabling devices
(**) FontPath set to:
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/,
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/,
built-ins
(**) ModulePath set to "/usr/local/lib/xorg/modules"
Number of created screens does not match number of detected devices.
  Configuration failed.


and then on 'X -config ./xorg.conf.new':



X.Org X Server 1.6.1
Release Date: 2009-4-14
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 9.0-CURRENT sparc64 
Current Operating System: FreeBSD mech-anton242.men.bris.ac.uk 9.0-CURRENT 
FreeBSD 9.0-CURRENT #1: Sat Dec 19 22:34:14 GMT 2009 
me...@mech-anton242.men.bris.ac.uk:/usr/obj/usr/src/sys/HAMOR sparc64
Build Date: 19 December 2009  08:28:07PM
 
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notic

debugging slow network

2009-12-20 Thread Anton Shterenlikht
I seem to have a very slow network connection at work.
All local switches are supposed to be gigabit, and my
network card is gigabit as well. But download speed
seems to be much lower.

I'm not a networks person, but I understand there could
many factors affecting the speed. There appear to be
a multitute of different network related commands
just in base OS. Which should I start with to get
some idea of the actual network speed? netstat?
And should I be looking for?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: editing a binary file

2009-12-19 Thread Anton Shterenlikht
On Fri, Dec 18, 2009 at 09:33:49AM -0700, Warren Block wrote:
> per...@pluto.rain.com wrote:
> > Greg Larkin  wrote:
> > > ...
> > > > truncate -4 myfile should get rid of the last four bytes.  Maybe
> > > > there's a similar efficient way to truncate the start of a file.
> > >
> > > This should do it:
> > >
> > > dd if=oldfile of=newfile bs=1 skip=4
> > 
> > Or, perhaps marginally more efficient:
> > 
> > dd if=oldfile of=newfile bs=4 skip=1
> 
> It would be nice to avoid the file copy, but maybe there's no way to do 
> that.  The small buffer size for dd will probably make copies of 
> multi-gig files slow.  This might be faster:
> 
> tail -c +5 myfile > outfile
> truncate -4 outfile

yes, quite. On 1.5GHz ia64, on 1GB binary file tail takes about 25 s,
but dd.. I killed after 25 min (!) and it had only done 1/3 of the file.

But even tail is too slow.

So I'll probably have to write a C I/O routine and avoid fortran I/O
alltogether, so I write straight away just my data.

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: editing a binary file

2009-12-19 Thread Anton Shterenlikht
On Thu, Dec 17, 2009 at 08:45:02PM -0500, Greg Larkin wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Warren Block wrote:
> > On Fri, 18 Dec 2009, Anton Shterenlikht wrote:
> > 
> >> I'm creating binary files in fortran.
> >> Fortran adds 4 byte record delimiters at the beginning
> >> and the end of each record, which, in the case of a binary
> >> file, is just at the beginning and at the end of the file.
> >> I need to delete these record delimiters, because the
> >> software I use to visualise the binary files interprets
> >> them as data. But I don't know how. I've looked at
> >> hexdump and od, but those are only dumping (I think)
> >> file contents, and I cannot see how to edit a file with them.
> > 
> > truncate -4 myfile should get rid of the last four bytes.  Maybe there's
> > a similar efficient way to truncate the start of a file.
> > 
> > -Warren Block * Rapid City, South Dakota USA
> 
> This should do it:
> 
> dd if=oldfile of=newfile bs=1 skip=4

yes, this is very useful:

> hexdump -C fort.10
  01 00 00 00 08 01 00 00  00   |.|
0009

> truncate -s -4 fort.10

> hexdump -C fort.10
  01 00 00 00 08|.|
0005

> dd if=fort.10 of=zzz bs=1 skip=4
1+0 records in
1+0 records out
1 bytes transferred in 0.94 secs (10645 bytes/sec)

> hexdump -C zzz
  08|.|
0001
> 


many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: editing a binary file

2009-12-19 Thread Anton Shterenlikht
On Thu, Dec 17, 2009 at 06:38:04PM -0700, Warren Block wrote:
> On Fri, 18 Dec 2009, Anton Shterenlikht wrote:
> 
> > I'm creating binary files in fortran.
> > Fortran adds 4 byte record delimiters at the beginning
> > and the end of each record, which, in the case of a binary
> > file, is just at the beginning and at the end of the file.
> > I need to delete these record delimiters, because the
> > software I use to visualise the binary files interprets
> > them as data. But I don't know how. I've looked at
> > hexdump and od, but those are only dumping (I think)
> > file contents, and I cannot see how to edit a file with them.
> 
> truncate -4 myfile should get rid of the last four bytes.  Maybe there's 
> a similar efficient way to truncate the start of a file.

thank you, that works fine:

> hexdump -C fort.10
  01 00 00 00 01 01 00 00  00   |.|
0009

> truncate -s -4 fort.10 

> hexdump -C fort.10
  01 00 00 00 01|.|
0005
> 

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


Partly solved: WAS: sysinstall differences between i386 and ia64/sparc

2009-12-18 Thread Anton Shterenlikht
On Fri, Dec 18, 2009 at 08:32:06PM +, Anton Shterenlikht wrote:
> Why when I run sysinstall on ia64 or sparc,
> I don't see these options under "Configure":
> 
>   Console
>   Time Zone
>   Mouse
> 
> which are present in i386 sysinstall?
> 
> Is this because vga console is not supported
> on all sparc graphic cards, or at all on ia64?
> 
> What about time zone?
> 
> How can I modify keyrate, etc. on sparc?

Answer: kbdcontrol -r fast

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


sysinstall differences between i386 and ia64/sparc

2009-12-18 Thread Anton Shterenlikht
Why when I run sysinstall on ia64 or sparc,
I don't see these options under "Configure":

Console
Time Zone
Mouse

which are present in i386 sysinstall?

Is this because vga console is not supported
on all sparc graphic cards, or at all on ia64?

What about time zone?

How can I modify keyrate, etc. on sparc?

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: editing a binary file

2009-12-18 Thread Anton Shterenlikht
On Fri, Dec 18, 2009 at 04:38:16PM +, Nick Barnes wrote:
> At 2009-12-18 16:33:49+, Warren Block writes:
> > per...@pluto.rain.com wrote:
> > > Greg Larkin  wrote:
> > > > ...
> > > > > truncate -4 myfile should get rid of the last four bytes.  Maybe
> > > > > there's a similar efficient way to truncate the start of a file.
> > > >
> > > > This should do it:
> > > >
> > > > dd if=oldfile of=newfile bs=1 skip=4
> > > 
> > > Or, perhaps marginally more efficient:
> > > 
> > > dd if=oldfile of=newfile bs=4 skip=1
> > 
> > It would be nice to avoid the file copy, but maybe there's no way to do 
> > that.  The small buffer size for dd will probably make copies of 
> > multi-gig files slow.  This might be faster:
> > 
> > tail -c +5 myfile > outfile
> > truncate -4 outfile
> > 
> > (Has anyone mentioned that you can edit binary files interactively with 
> > vi yet?  No?  Well, it's horrific and surely has interesting failure 
> > modes.  And there are probably disadvantages also.)
> 
> All very interesting, but the OP is wanting to lose all the Fortran
> record markers, not just the first (and last) four bytes of the file.
> The record markers precede and follow each record, and give the
> record's length.  The size and enddian-ness of the record marker
> itself depends on the Fortran implementation.

actually the file consists of just one (potentially very long)
record, so erasing the first and the last 4 bytes is all I need.

I haven't had a chance to look at the proposed solutions, but
many thanks for all your advice.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: editing a binary file

2009-12-18 Thread Anton Shterenlikht
On Fri, Dec 18, 2009 at 09:33:49AM -0700, Warren Block wrote:
> per...@pluto.rain.com wrote:
> > Greg Larkin  wrote:
> > > ...
> > > > truncate -4 myfile should get rid of the last four bytes.  Maybe
> > > > there's a similar efficient way to truncate the start of a file.
> > >
> > > This should do it:
> > >
> > > dd if=oldfile of=newfile bs=1 skip=4
> > 
> > Or, perhaps marginally more efficient:
> > 
> > dd if=oldfile of=newfile bs=4 skip=1
> 
> It would be nice to avoid the file copy, but maybe there's no way to do 
> that.  The small buffer size for dd will probably make copies of 
> multi-gig files slow.  This might be faster:
> 
> tail -c +5 myfile > outfile
> truncate -4 outfile
> 
> (Has anyone mentioned that you can edit binary files interactively with 
> vi yet?  No?  Well, it's horrific and surely has interesting failure 
> modes.  And there are probably disadvantages also.)

Vim, yes. I tried, but failed. At the moment dd/truncate combination
seems the most appealing. But I'll look at C/perl/python proposed
solutions as well.

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: xdvi problem after teTex-base-3.0_17 port upgrade

2009-12-18 Thread Anton Shterenlikht
On Fri, Dec 18, 2009 at 12:13:22PM +0100, n dhert wrote:
> A few days ago there was a port upgrade  teTex-base-3.0_17.
> Since then, when xdvi'ing a .dvi file gives at the command line:
>  Xlib: extension "Generic Event Extension" missing on display ...
>  xdvi-motif.bin: Warning: Could not find map file 'ps2pk.map'
> and in a separate Windows 'XDvi error" "
>  "Could not load any ot the map files listed in xdvi.cfg - disabling T1lib"

yes, there seems to be a problem. See this thread:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=478076+0+current/freebsd-questions

Hiroki is working on it.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: editing a binary file

2009-12-17 Thread Anton Shterenlikht
On Fri, Dec 18, 2009 at 02:09:58AM +0100, Rolf Nielsen wrote:
> Anton Shterenlikht wrote:
> > I'm creating binary files in fortran.
> > Fortran adds 4 byte record delimiters at the beginning
> > and the end of each record, which, in the case of a binary
> > file, is just at the beginning and at the end of the file.
> > I need to delete these record delimiters, because the
> > software I use to visualise the binary files interprets
> > them as data. But I don't know how. I've looked at
> > hexdump and od, but those are only dumping (I think)
> > file contents, and I cannot see how to edit a file with them.
> > 
> > Any advice?
> > 
> > many thanks
> > anton
> > 
> 
> Hello Anton,
> 
> My bet would be /usr/ports/editors/hexedit. Been a while since I've used 
> it, but AFAIR, it has a curses or a curses like interface, and it's 
> fairly simple to use, yet sufficiently powerful for most normal binary 
> editing. If you want a GUI, I believe gnome (and probably KDE as well) 
> has its own hex editor.

thank you. hexedit does the job on small files, but is quite
clunky. If I've a xGB file and I need to delete the first and
the last record, this becomes quite hard, if at all possible.

I didn't appreciate it's not that simple.

Perhaps I can read a file with C and write back? I can't
remember if C supports binary files, and whether it
also writes some record delimiters.

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


editing a binary file

2009-12-17 Thread Anton Shterenlikht
I'm creating binary files in fortran.
Fortran adds 4 byte record delimiters at the beginning
and the end of each record, which, in the case of a binary
file, is just at the beginning and at the end of the file.
I need to delete these record delimiters, because the
software I use to visualise the binary files interprets
them as data. But I don't know how. I've looked at
hexdump and od, but those are only dumping (I think)
file contents, and I cannot see how to edit a file with them.

Any advice?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


port print/teTeX-base-3.0_17 - fatal errors after upgrade

2009-12-17 Thread Anton Shterenlikht
Hi, after a recent upgrade to teTeX-base-3.0_17, I get
these errors on any latex (or pdftex) run.

I installed the full  teTeX-3.0_2
I even rebuilt all ports which depend on teTeX-base,
but still get this error.

Please advise
anton



No file just.aux.
(/usr/local/share/texmf-dist/tex/latex/platex/ot4cmr.fd)
(/usr/local/share/texmf-dist/tex/latex/lm/t1lmr.fd)
(/usr/local/share/texmf-dist/tex/latex/graphics/color.sty
(/usr/local/share/texmf-dist/tex/latex/graphics/color.cfg)
(/usr/local/share/texmf-dist/tex/latex/graphics/pdftex.def
(/usr/local/share/texmf-dist/tex/context/base/supp-pdf.tex
(/usr/local/share/texmf-dist/tex/context/base/supp-mis.tex
loading : Context Support Macros / Miscellaneous (2004.10.26)
)
loading : Context Support Macros / PDF (2004.03.26)
))) (/usr/local/share/texmf-dist/tex/latex/hyperref/nameref.sty) [1
Warning: latex (file pdftex.map): cannot open font map file
] (./just.aux)kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 
--dpi 600 cork-lmbx10
gsftopk: fatal: map file `psfonts_t1.map' not found.
mktexpk: don't know how to create bitmap font for cork-lmbx10.
kpathsea: Appending font creation commands to missfont.log.
 )
Warning: latex (file cork-lmbx10): Font cork-lmbx10 at 600 not found
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 
cork-lmr10
gsftopk: fatal: map file `psfonts_t1.map' not found.
mktexpk: don't know how to create bitmap font for cork-lmr10.

Warning: latex (file cork-lmr10): Font cork-lmr10 at 600 not found
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 
cork-lmr12
gsftopk: fatal: map file `psfonts_t1.map' not found.
mktexpk: don't know how to create bitmap font for cork-lmr12.

Warning: latex (file cork-lmr12): Font cork-lmr12 at 600 not found
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+120/600 --dpi 720 
cork-lmr12
gsftopk: fatal: map file `psfonts_t1.map' not found.
mktexpk: don't know how to create bitmap font for cork-lmr12.

Warning: latex (file cork-lmr12): Font cork-lmr12 at 720 not found
Output written on just.pdf (1 page, 5986 bytes).
Transcript written on just.log.
> 

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: Root exploit for FreeBSD

2009-12-11 Thread Anton Shterenlikht
On Thu, Dec 10, 2009 at 10:34:34PM -0600, Paul Schmehl wrote:
> 
> I'm starting to wonder if the security manager really said what Anton 
> claims he said, or Anton is filtering his perceptions through the anger he 
> feels at being restricted in his ability to operate freely.  If the latter 
> is the case, you'd better adjust to it.  It's the world of the future. 
> You can do whatever you want at home, but on the corporate network you 
> either follow the rules or lose your access.

yes, he did, I can forward you our communication off list if you wish.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: Root exploit for FreeBSD

2009-12-10 Thread Anton Shterenlikht
On Thu, Dec 10, 2009 at 09:51:22AM -0500, Bill Moran wrote:
> In response to Anton Shterenlikht :
> 
> > >From my information security manager:
> > 
> > FreeBSD isn't much used within the University (I understand) and has a
> > (comparatively) poor security record. Most recently, for example:
> > 
> > 
> > http://www.h-online.com/security/news/item/Root-exploit-for-FreeBSD-873352.html
> 
> Are you trying to make your infosec guy look like an idiot?  Does he
> realize that FreeBSD has a grand total of 16 security problems for all
> of 2009?  Hell, Microsoft has that many in an average month.
> 
> If he can find something (other than OpenBSD) with a better record than
> that, I'd love to hear about it.

I was just stressed after being forced by him
to explain why I wanted firewall exceptions
for two ports to my FreeBSD portscluster nodes.
I explained the reasons and that was settled.

I wouldn't be surprised if I'm the sole fbsd user
at my Uni. The situation with computing is not
great and getting worse.

The Uni is, of course,
addicted to Microsoft, but having realised all
the problems with that, lately the policy has
been to deny (!) MS users admin access to their
own desktops. The situation is just ridiculous - 
if a MS user wants to install a piece of software
on their PC he/she has to ask for permission,
and then wait until some computer officer would
come and do install for them.

Also recently, well.. about a year ago, no
host (!) could be accessed from outside the
Uni firewall. Special exception has to be
obtained even for ssh. There is only one dedicated
sun server which accepts only ssh. The users
are supposed to dial to this frontend server
first, and from there to hosts on the local net.

Honestly, the situation is so bad that I 
sometimes wonder - perhaps it's me who is mad.
It seems IT services look at anybody who
wants to escape MS with suspicion at best.
 
I had to fight a long battle, well.. I had
some support from other academics, to have
a linux class in my Faculty. Here the
opposition wasn't so much security, as
"why would any undegraduate need linux",
as if MS solutions are a pinnacle of human thought.

And from I understand it's going to get worse.
Apparently the IT services are drawing up
plans to completely forbid use of "non-autorized"
OS. I imagine fbsd will not be authorized.
So I'm anticipating another battle already.

Perhaps I should start putting together
some statistics to make my case more forcefully.

many thanks for your support, as always

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


Root exploit for FreeBSD

2009-12-10 Thread Anton Shterenlikht
>From my information security manager:

FreeBSD isn't much used within the University (I understand) and has a
(comparatively) poor security record. Most recently, for example:


http://www.h-online.com/security/news/item/Root-exploit-for-FreeBSD-873352.html





-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Solved: Re: dd (to erase disk) from emergency holographic shell

2009-12-06 Thread Anton Shterenlikht
On Sun, Dec 06, 2009 at 05:54:52PM +, Anton Shterenlikht wrote:
> On Sun, Dec 06, 2009 at 12:39:20PM -0500, Jerry McAllister wrote:
> > On Sun, Dec 06, 2009 at 05:34:31PM +0000, Anton Shterenlikht wrote:
> > 
> > > I need to erase all of my fbsd disk.
> > > I booted the installation cd, launched
> > > Emergency Holographic Shell, but
> > > cannot find any command, except rm and pwd.
> > 
> > The holograqphic shell is not the one you want.
> > You want the Fixit.
> 
> I thought these are identical things.
> In the sysinstall menu I chose "Fixit",
> and in the following menu I chose "Start an
> Emergency Holographic Shell". Is this not it?
> 
> Or do I need to prepare a separate Fixit CD or
> floppy?
> 
> I was under the impression I've used this
> holo shell before, but can't remember how now.

I burned a separate livefs CD, launched Fixit from there.

sorry for the bother

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: dd (to erase disk) from emergency holographic shell

2009-12-06 Thread Anton Shterenlikht
On Sun, Dec 06, 2009 at 12:39:20PM -0500, Jerry McAllister wrote:
> On Sun, Dec 06, 2009 at 05:34:31PM +0000, Anton Shterenlikht wrote:
> 
> > I need to erase all of my fbsd disk.
> > I booted the installation cd, launched
> > Emergency Holographic Shell, but
> > cannot find any command, except rm and pwd.
> 
> The holograqphic shell is not the one you want.
> You want the Fixit.

I thought these are identical things.
In the sysinstall menu I chose "Fixit",
and in the following menu I chose "Start an
Emergency Holographic Shell". Is this not it?

Or do I need to prepare a separate Fixit CD or
floppy?

I was under the impression I've used this
holo shell before, but can't remember how now.

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


dd (to erase disk) from emergency holographic shell

2009-12-06 Thread Anton Shterenlikht
I need to erase all of my fbsd disk.
I booted the installation cd, launched
Emergency Holographic Shell, but
cannot find any command, except rm and pwd.

I'd like to erase my disk with dd if=/dev/null of=/dev/ad0

Please advise

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: trouble installing to sun blade 1500

2009-12-01 Thread Anton Shterenlikht
On Tue, Dec 01, 2009 at 04:57:52PM +, Anton Shterenlikht wrote:
> On Tue, Dec 01, 2009 at 05:27:11PM +0100, Gheorghe Ardelean wrote:
> > 
> > 
> > Hello Anton ... to FreeBSD sparc64,
> > 
> > > I get to OK prompt, type "boot cdrom", but the process
> > > stops after a few seconds with:
> > >
> > >   jumping to kernel entry at 0xc0088000.
> > >
> > 
> > I think supported system means that it is working at least via serial 
> > console (this is the case e.g for Plain Ultra 1).
> > 
> > So when I see something like this I hook-up a serial console and try over 
> > it.
> 
> ok, 8.0 installation went fine.
> 
> On reboot I get this panic (typed by hand):
> 
>   Entropy harvesting: interrupts ethernet point_to_pointpanic: trap: 
> memory
>   address not aligned
> 
>   Automatic reboot in 15 seconds
> 
> Any advice?

in case it matters, I see

nexus0:  type unknown (no driver attached)

nexus0:  mem 0x4000000-0x47 type
memory-controller (no driver attached)

messages on boot.

Not sure if it's related.

many thanks for any advice


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: trouble installing to sun blade 1500

2009-12-01 Thread Anton Shterenlikht
On Tue, Dec 01, 2009 at 05:27:11PM +0100, Gheorghe Ardelean wrote:
> 
> 
> Hello Anton ... to FreeBSD sparc64,
> 
> > I get to OK prompt, type "boot cdrom", but the process
> > stops after a few seconds with:
> >
> > jumping to kernel entry at 0xc0088000.
> >
> 
> I think supported system means that it is working at least via serial 
> console (this is the case e.g for Plain Ultra 1).
> 
> So when I see something like this I hook-up a serial console and try over 
> it.

ok, 8.0 installation went fine.

On reboot I get this panic (typed by hand):

Entropy harvesting: interrupts ethernet point_to_pointpanic: trap: 
memory
address not aligned

    Automatic reboot in 15 seconds

Any advice?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: trouble installing to sun blade 1500

2009-12-01 Thread Anton Shterenlikht
On Tue, Dec 01, 2009 at 04:13:20PM +, Adrian Urquhart wrote:
> On Tue, 1 Dec 2009, Anton Shterenlikht wrote:
> 
> > I'm new to sun, but have some experiece installing fbsd to
> > i386, alpha and ia64.
> >
> > I've sun blade 1500: http://www.sun.com/desktop/workstation/sunblade1500/
> >
> > I just burned a 8.0 release cd, and tried to boot from it.
> > I've a keyboard, mouse and screen attached.
> > I get to OK prompt, type "boot cdrom", but the process
> > stops after a few seconds with:
> >
> > jumping to kernel entry at 0xc0088000.
> >
> > Then nothing, and the keyboard is not responsive.
> > I have to force cold reset. On restart the process
> > repeats.
> 
> Hi
> 
> I know on some Sun kit this can mean that the boot process is now 
> carrying on via a serial port.

yes, using a serial line I'm able to pass this point.
Will see if I can complete the installation this way.

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: trouble installing to sun blade 1500

2009-12-01 Thread Anton Shterenlikht
On Tue, Dec 01, 2009 at 04:13:20PM +, Adrian Urquhart wrote:
> On Tue, 1 Dec 2009, Anton Shterenlikht wrote:
> 
> > I'm new to sun, but have some experiece installing fbsd to
> > i386, alpha and ia64.
> >
> > I've sun blade 1500: http://www.sun.com/desktop/workstation/sunblade1500/
> >
> > I just burned a 8.0 release cd, and tried to boot from it.
> > I've a keyboard, mouse and screen attached.
> > I get to OK prompt, type "boot cdrom", but the process
> > stops after a few seconds with:
> >
> > jumping to kernel entry at 0xc0088000.
> >
> > Then nothing, and the keyboard is not responsive.
> > I have to force cold reset. On restart the process
> > repeats.
> 
> Hi
> 
> I know on some Sun kit this can mean that the boot process is now 
> carrying on via a serial port.

ok, I'll try to check this out.

In the meantime I tried 7.2 cd with very similar result - I'm stuck with

jumping to kernel entry at 0xc0078000

> > Also, there seem to be no reset button on the desktop.
> > Is there a keyboard key or combination to force a reset?
> >
> 
> Not sure what you mean by "reset button" but STOP-A is the usual key 
> combination to get you to the OpenBOOT prom.

yes, this was what I'm after. STOP/A doesn't seem to have any
effect on my box. Do you mean hit "A" while "STOP" is pressed?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


trouble installing to sun blade 1500

2009-12-01 Thread Anton Shterenlikht
I'm new to sun, but have some experiece installing fbsd to
i386, alpha and ia64.

I've sun blade 1500: http://www.sun.com/desktop/workstation/sunblade1500/

I just burned a 8.0 release cd, and tried to boot from it.
I've a keyboard, mouse and screen attached.
I get to OK prompt, type "boot cdrom", but the process
stops after a few seconds with:

jumping to kernel entry at 0xc0088000.

Then nothing, and the keyboard is not responsive.
I have to force cold reset. On restart the process
repeats.

Am I missing something?
Or maybe the cd didn't burn well?

Also, there seem to be no reset button on the desktop.
Is there a keyboard key or combination to force a reset?

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: GPUs on FBSD?

2009-11-21 Thread Anton Shterenlikht
On Fri, Nov 20, 2009 at 08:11:57PM +0100, usleepl...@gmail.com wrote:
> On Fri, Nov 20, 2009 at 6:16 PM, Daniel C. Dowse  wrote:
> 
> > On Fri, 20 Nov 2009 11:46:57 +0000
> > Anton Shterenlikht  wrote:
> >
> > > Anybody knows of working GPUs under FBSD on any arch?
> > > Any advice?
> > >
> >
> > I using a nvidia fx5500 with the latest driver 173.14.22 on i386 and
> > it works perfect. And it was no pain to get 3d working for games.
> >
> > I am still wondering what this thread is actually about: is it about
> hardware accelerated video or about offloading general computation to the
> GPU ( CUDA et al. ).

the latter. My question was about HPC application of GPUs. Use of GPGPUs
for HPC under linux is growing very fast, with cuda and opencl. However,
I doubt any GPUs will be supported on fbsd. At least not at this stage.
Unless somebody knows better?

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: open64 fbsd port?

2009-11-20 Thread Anton Shterenlikht
On Fri, Nov 20, 2009 at 04:47:41PM +, Anton Shterenlikht wrote:
> Is there a fbsd port of open64 (http://www.open64.net/),
> or any branched project?
> 
> In particular there is a mention of ORC (http://ipf-orc.sourceforge.net/)
> specifically for ia64, but the pages are very out of date.
> 
> And then there's something called Aurora, which seems to be the same
> as ORC (http://sourceforge.net/projects/ipf-orc/), but also *very*
> out of date.

And also there is OpenUH, primarilily for ia64, but linux:

OpenUH  Source code,
IA-64, Red Hat Enterprise Linux AS release 3 and gcc 3.x
openuh-alpha.src.tar.gz 90.2 MB

and Path64 (http://www.path64.com/)

I understand no fbsd ports for these compilers exist yet?

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


open64 fbsd port?

2009-11-20 Thread Anton Shterenlikht
Is there a fbsd port of open64 (http://www.open64.net/),
or any branched project?

In particular there is a mention of ORC (http://ipf-orc.sourceforge.net/)
specifically for ia64, but the pages are very out of date.

And then there's something called Aurora, which seems to be the same
as ORC (http://sourceforge.net/projects/ipf-orc/), but also *very*
out of date.

I'm confused 

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


GPUs on FBSD?

2009-11-20 Thread Anton Shterenlikht
Anybody knows of working GPUs under FBSD on any arch?
Any advice?

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


where's my konqueror?

2009-11-12 Thread Anton Shterenlikht
I installed  kdebase-4.3.1_1, but cannot find konqueror.
It's supposed be a part of kdebase, isn't it?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: mplayer: X11 error: BadAlloc (insufficient resources for operation)

2009-10-01 Thread Anton Shterenlikht
On Wed, Sep 30, 2009 at 10:45:03PM +0200, cpghost wrote:
> On Wed, Sep 30, 2009 at 05:36:40PM +0100, Anton Shterenlikht wrote:
> > I've installed port multimedia/mplayer (mplayer-0.99.11_14)
> > on 9.0-current ia64.
> > 
> > Trying to play an mpeg video I get endless stream of 
> > 
> > X11 error: BadAlloc (insufficient resources for operation)
> > X11 error: BadAlloc (insufficient resources for operation)
> > V:   7.6 190/190 17% 82%  0.0% 0 0 
> > X11 error: BadAlloc (insufficient resources for operation)
> > X11 error: BadAlloc (insufficient resources for operation)
> > X11 error: BadAlloc (insufficient resources for operation)
> > X11 error: BadAlloc (insufficient resources for operation)
> > X11 error: BadAlloc (insufficient resources for operation)
> > X11 error: BadAlloc (insufficient resources for operation)
> 
> This usually happens when X doesn't have enough resources to
> allocate to direct viewing with the xv (XView) driver. This
> is very often related to DRM/DRI or memory problems.
> 
> As a work around, try playing the video with the x11 driver
> instead:
> 
> $ mplayer -vo x11 somefile.avi

yes, this works ok, many thanks
I can even view an animation from a remote machine, via ssh -X,
but shower, of course.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: mplayer: X11 error: BadAlloc (insufficient resources for operation)

2009-09-30 Thread Anton Shterenlikht
On Wed, Sep 30, 2009 at 05:36:40PM +0100, Anton Shterenlikht wrote:
> I've installed port multimedia/mplayer (mplayer-0.99.11_14)
> on 9.0-current ia64.
> 
> Trying to play an mpeg video I get endless stream of 
> 
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)
> V:   7.6 190/190 17% 82%  0.0% 0 0 
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)
> 
> Exiting... (End of file)

the same error happens on i386 HEAD:

Playing /usr/home/mexas/ex1.mpg.
MPEG-ES file format detected.
VIDEO:  MPEG1  656x432  (aspect 1)  25.000 fps  1152.0 kbps (144.0 kbyte/s)
==
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 656 x 432 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==
Audio: no sound
Starting playback...
VDec: vo config request - 656 x 432 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.52:1 - prescaling to correct movie aspect.
VO: [xv] 656x432 => 656x432 Planar YV12 
New_Face failed. Maybe the font path is wrong.  

Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
[ws] Error in display.
[ws]  Error code: 11 ( BadAlloc (insufficient resources for operation) )
[ws]  Request code: 132
[ws]  Minor code: 19
[ws]  Modules: flip_page

many thanks for any advice

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


mplayer: X11 error: BadAlloc (insufficient resources for operation)

2009-09-30 Thread Anton Shterenlikht
I've installed port multimedia/mplayer (mplayer-0.99.11_14)
on 9.0-current ia64.

Trying to play an mpeg video I get endless stream of 

X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)
V:   7.6 190/190 17% 82%  0.0% 0 0 
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)

Exiting... (End of file)

Please advise

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


how to play *.evo animations (EnSight proprietary format)?

2009-09-30 Thread Anton Shterenlikht
I've several old *.evo animations. This is the
proprietary format developed by CEI:

http://www.ensight.com/envideo.html

CEI have free players for MSWindows, MacOS and linux.
I've had a quick look at the ports tree, and searched
the net a bit, but cannot find a program which would
play *.evo files on FreeBSD.

Any suggestions?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


SOLVED? Re: X - after some time can't lauch new windows, Error: Can't open display

2009-09-25 Thread Anton Shterenlikht
On Thu, Sep 24, 2009 at 04:49:02PM +0100, Anton Shterenlikht wrote:
> After some time I cannot open any new windows in X,
> I get
>   No protocol specified
>   Error: Can't open display: :0.0
> 
> This is on i386 9.0-current with
>   agp0:  on vgapci0
> 
> I've xorg-7.4_2, xorg-server-1.6.1,1, xf86-video-intel-2.7.1
> and latest hal and dbus.
> 
> My window manager is mwm (part of open-motif-2.2.3_6).
> 
> After logging into X via xdm I can launch new windows fine.
> But after a while, probably several hours, an attempt to
> launch a new window, i.e. any program that opens a new window,
> like xterm or xpdf, results in the error message above.
> 
> The only solution I've found is to logout of xdm and login again.
> But would be great to solve this properly.

I realised that rsync from another box was overwriting $HOME/.Xauthority
every time I sinchronised the two machines. After that connection
to X server is refused because the data in .Xauthority doesn't match
what the X server is expecting (is that so? not sure..).
Logging out and on again creates a new .Xauthority file, and all
is fine after that.  

Or perhaps the mechanism I described is not correct..
Anyway it seems to have helped.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


X - after some time can't lauch new windows, Error: Can't open display

2009-09-24 Thread Anton Shterenlikht
After some time I cannot open any new windows in X,
I get
No protocol specified
Error: Can't open display: :0.0

This is on i386 9.0-current with
agp0:  on vgapci0

I've xorg-7.4_2, xorg-server-1.6.1,1, xf86-video-intel-2.7.1
and latest hal and dbus.

My window manager is mwm (part of open-motif-2.2.3_6).

After logging into X via xdm I can launch new windows fine.
But after a while, probably several hours, an attempt to
launch a new window, i.e. any program that opens a new window,
like xterm or xpdf, results in the error message above.

The only solution I've found is to logout of xdm and login again.
But would be great to solve this properly.

Please advise

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: Mutt /tmp full error when "trying" to read email

2009-09-21 Thread Anton Shterenlikht
I get similar error when trying to open text/enriched emails.
mutt creates a temprorary file under /tmp until it fills the
partition, then I get

/tmp: write failed, filesystem is full

If I'm able to exit mutt normally, the file is deleted automatically.
If I kill mutt process I can see huge mutt- file under /tmp.

I reported this in 

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2009-09/msg00502.html

I think this must be a bug since text/enriched is supposed to be
supported automatically in mutt.

My installation: FreeBSD 9.0-CURRENT ia64, mutt-devel-1.5.20_1

regards
anton


On Sun, Sep 20, 2009 at 01:23:43AM -0700, Doug Hardie wrote:
> You have 4 directories in /tmp.  Check them.  If nothing, run lsof +L1  
> and see if there are files allocated but not in the directory.
> 
> 
> On 20 September 2009, at 00:41, Bryan Cassidy wrote:
> 
> > I decided to reinstall and make /tmp 2Gigs and here is my current  
> > layout
> >
> > df -H
> >
> > Filesystem SizeUsed   Avail Capacity  Mounted on
> > /dev/ad0s1a2.0G150M1.7G 8%/
> > devfs  1.0k1.0k  0B   100%/dev
> > /dev/ad0s1e2.0G1.8G 78M96%/tmp
> > /dev/ad0s1f 29G2.4G 24G 9%/usr
> > /dev/ad0s1d2.0G1.1G750M60%/var
> >
> > Here is the output of df -i
> >
> > Filesystem  1K-blocksUsedAvail Capacity iused   ifree  
> > %iused  Mounted on
> > /dev/ad0s1a   1982798  146842  1677334 8%1765  257305 
> > 1%   /
> > devfs   1   10   100%   0   0   
> > 100%   /dev
> > /dev/ad0s1e   1982798 17476467653096%  15  259055 
> > 0%   /tmp
> > /dev/ad0s1f  28459276 2301652 23880882 9%  239356 3458306 
> > 6%   /usr
> > /dev/ad0s1d   1999598 1107622   73201060%1984  279870 
> > 1%   /var
> >
> >
> > This is the exact error
> >
> > /tmp: write failed, filesystem is full
> > yes: stdout: No space left on device. Press any key to continue...
> >
> > I am able to send emails from Mutt just fine for some reason. How can
> > /tmp be full when it is 2Gigs? Here is the contents of /tmp
> >
> > drwxrwxrwt   6 rootwheel   512 Sep 20 02:33 ./
> > drwxr-xr-x  20 rootwheel   512 Sep 20 00:47 ../
> > drwxrwxrwt   2 rootwheel   512 Sep 20 00:48 .ICE-unix/
> > -r--r--r--   1 rootwheel11 Sep 20 01:25 .X0-lock
> > drwxrwxrwt   2 rootwheel   512 Sep 20 01:25 .X11-unix/
> > drwxrwxrwt   2 rootwheel   512 Sep 20 00:48 .XIM-unix/
> > drwxrwxrwt   2 rootwheel   512 Sep 20 00:48 .font-unix/
> > -rw---   1 bsdsys  wheel  1246 Sep 20 02:29 mutt- 
> > mail-3b4arq36-3
> >
> > Thanks in Advance for any help.
> >
> >
> >
> >> On Sun, Sep 20, 2009 at 01:39:22AM -0500, Erik Osterholm wrote:
> >>> Out of inodes?  df -i
> >>>
> >>> Erik
> >>>
> >>> On Sat, Sep 19, 2009 at 09:16:36PM -0500, Bryan Cassidy wrote:
> >>>> Here is a little about my setup
> >>>>
> >>>> uname -a
> >>>> FreeBSD mail.comcast.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri  
> >>>> May  1 08:49:13 UTC 2009 r...@walker.cse.buffalo.edu:/usr/obj/ 
> >>>> usr/src/sys/GENERIC  i386
> >>>>
> >>>> Mutt 1.4.2.3i
> >>>>
> >>>> Output from df -h
> >>>>
> >>>> Filesystem SizeUsed   Avail Capacity  Mounted on
> >>>> /dev/ad0s1a496M143M313M31%/
> >>>> devfs  1.0K1.0K  0B   100%/dev
> >>>> /dev/ad0s1e496M332M124M73%/tmp
> >>>> /dev/ad0s1f 30G2.9G 25G11%/usr
> >>>> /dev/ad0s1d1.9G 53M1.7G 3%/var
> >>>> linprocfs  4.0K4.0K  0B   100%/usr/compat/linux/ 
> >>>> proc
> >>>>
> >>>> When /tmp shows 73% used why am I getting these messages when  
> >>>> trying
> >>>> to open emails in mutt? I cannot opem them at all. Thanks in  
> >>>> advance.
> >>>>
> >>>> ___
> >>>> 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: port math/gnuplot hangs and ignores "kill -9"

2009-09-18 Thread Anton Shterenlikht
On Thu, Sep 17, 2009 at 06:15:21PM +0200, Roland Smith wrote:
> On Thu, Sep 17, 2009 at 04:58:14PM +0100, Anton Shterenlikht wrote:
> > Roland, perhaps you also know the origin of this gnuplot warning:
> > 
> > Could not find/open font when opening font "arial",
> > using internal non-scalable font
> > 
> > From searching the net it appears that gnuplot is not finding truetype
> > fonts, something to do with GD library. I've got xorg-fonts-truetype-7.4
> > and gd-2.0.35_1,1 installed. So I'm not sure what the problem is.
> 
> When using gd fonts, you must either specify either the full path of the font
> file, or the font filename (not the font name, AFAIK). In the latter case you
> have to set the GDFONTPATH variable containing the path.
>  
> > Several functions are not available without truetype fonts, e.g. label
> > rotation, which is sometimes useful.
> 
> I used the following with the PNG terminal:
> 
> set terminal png font "/usr/local/lib/X11/fonts/dejavu/DejaVuSansMono.ttf" 8 \
> size 300,150 x76848f xb1b1b1 xb1b1b1 x00ff00 x00ff00 x00ff00 x00ff00

Roland, thank you, very helpful.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: port math/gnuplot hangs and ignores "kill -9"

2009-09-17 Thread Anton Shterenlikht
On Thu, Sep 17, 2009 at 03:16:16PM +0200, Roland Smith wrote:
> On Thu, Sep 17, 2009 at 01:34:04PM +0100, Anton Shterenlikht wrote:
> > > It could be that the process is stuck in the 'D' state (uninterruptable 
> > > wait).
> > > You can veryfiy that by running 'ps -u' and looking in the eight column 
> > > when
> > > gnuplot is running. 
> > > 
> > > Does the window with the plot actually appear?
> > >  
> > > Interactive use of gnuplot-4.2.6 is fine on amd64 7.2-RELEASE-p2.
> > 
> > I reinstalled gnuplot-4.2.6 and (hopefully) all ports on which it depends.
> > I still get the same behaviour. 
> > 
> > top -PISu shows:
> > 
> > last pid:   108;  load averages:  0.88,  0.35,  0.19up 2+02:23:38  
> > 13:27:52
> > 109 processes: 4 running, 88 sleeping, 17 waiting
> > CPU 0:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
> > CPU 1:  0.0% user,  0.0% nice,  100% system,  0.0% interrupt,  0.0% idle
> > Mem: 105M Active, 2074M Inact, 363M Wired, 768K Cache, 827M Buf, 5322M Free
> > Swap: 19G Total, 19G Free
> > 
> >   PIDUIDTHR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
> >11  0  2 171 ki31 0K64K RUN 0  77.9H 100.00% idle
> > 2   1001  2  480 98240K 55608K CPU11   0:00 100.00% gnuplot
> > 
> > so gnuplot is using 100% and all in system state.
> > 
> > and ps -u:
> > 
> > USERPID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
> > mexas 2 98.1  0.7 98240 55608   5  R+1:25pm   0:00.72 gnuplot
> > 
> > so the state is not "D".
> > 
> > The window does appear (just using simple gnuplot> plot sin(x), and
> > the terminal is set to 'wxt', but nothing ever apears in the window.
> 
> The wxt terminal is only available when gnuplot is compiled with the wxWidgets
> toolkit. Try using the plain x11 terminal, and see if that works better?

Roland, perhaps you also know the origin of this gnuplot warning:

Could not find/open font when opening font "arial",
using internal non-scalable font

>From searching the net it appears that gnuplot is not finding truetype
fonts, something to do with GD library. I've got xorg-fonts-truetype-7.4
and gd-2.0.35_1,1 installed. So I'm not sure what the problem is.

Several functions are not available without truetype fonts, e.g. label
rotation, which is sometimes useful.

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


mpt timed out and Re: port math/gnuplot hangs and ignores "kill -9"

2009-09-17 Thread Anton Shterenlikht
On Thu, Sep 17, 2009 at 02:40:24PM +0100, Anton Shterenlikht wrote:
> On Thu, Sep 17, 2009 at 03:16:16PM +0200, Roland Smith wrote:
> > On Thu, Sep 17, 2009 at 01:34:04PM +0100, Anton Shterenlikht wrote:
> > > > It could be that the process is stuck in the 'D' state (uninterruptable 
> > > > wait).
> > > > You can veryfiy that by running 'ps -u' and looking in the eight column 
> > > > when
> > > > gnuplot is running. 
> > > > 
> > > > Does the window with the plot actually appear?
> > > >  
> > > > Interactive use of gnuplot-4.2.6 is fine on amd64 7.2-RELEASE-p2.
> > > 
> > > I reinstalled gnuplot-4.2.6 and (hopefully) all ports on which it depends.
> > > I still get the same behaviour. 
> > > 
> > > top -PISu shows:
> > > 
> > > last pid:   108;  load averages:  0.88,  0.35,  0.19up 2+02:23:38  
> > > 13:27:52
> > > 109 processes: 4 running, 88 sleeping, 17 waiting
> > > CPU 0:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
> > > CPU 1:  0.0% user,  0.0% nice,  100% system,  0.0% interrupt,  0.0% idle
> > > Mem: 105M Active, 2074M Inact, 363M Wired, 768K Cache, 827M Buf, 5322M 
> > > Free
> > > Swap: 19G Total, 19G Free
> > > 
> > >   PIDUIDTHR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
> > >11  0  2 171 ki31 0K64K RUN 0  77.9H 100.00% idle
> > > 2   1001  2  480 98240K 55608K CPU11   0:00 100.00% 
> > > gnuplot
> > > 
> > > so gnuplot is using 100% and all in system state.
> > > 
> > > and ps -u:
> > > 
> > > USERPID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
> > > mexas 2 98.1  0.7 98240 55608   5  R+1:25pm   0:00.72 gnuplot
> > > 
> > > so the state is not "D".
> > > 
> > > The window does appear (just using simple gnuplot> plot sin(x), and
> > > the terminal is set to 'wxt', but nothing ever apears in the window.
> > 
> > The wxt terminal is only available when gnuplot is compiled with the 
> > wxWidgets
> > toolkit. Try using the plain x11 terminal, and see if that works better?
> 
> yes, that works fine! Thank you!
> 
> So the problem must be with wxgtk2-2.8.10_1 and wxgtk2-common-2.8.10_1 ?
> 
> How can I kill the offending gnuplot process?

On reboot I see this on the console:

System shutdown time has arrived
Stopping cron.
Stopping sshd.
Stopping ntpd.
Stopping devd.
Writing entropy file:mpt0: request 0xa00d2140:52792 timed out for ccb 0x

e00019ece800 (req->ccb 0xe00019ece800)
mpt0: completing timedout/aborted req 0xa00d2140:52792
mpt0: Timedout requests already complete. Interrupts may not be functioning.
Sep 17 14:49:59 mech-cluster241 syslogd: exiting on signal 15
Sep 17 14:49:59 init: timeout expired for /bin/sh on /etc/rc.shutdown: Interrupt

ed system call; going to single user mode
Sep 17 14:50:19 init: some processes would not die; ps axl advised
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...3 1 2


I'm a bit worried about mpt0 messages - this is the SCSI driver.
Does this indicate a problem with mpt?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: port math/gnuplot hangs and ignores "kill -9"

2009-09-17 Thread Anton Shterenlikht
On Thu, Sep 17, 2009 at 03:16:16PM +0200, Roland Smith wrote:
> On Thu, Sep 17, 2009 at 01:34:04PM +0100, Anton Shterenlikht wrote:
> > > It could be that the process is stuck in the 'D' state (uninterruptable 
> > > wait).
> > > You can veryfiy that by running 'ps -u' and looking in the eight column 
> > > when
> > > gnuplot is running. 
> > > 
> > > Does the window with the plot actually appear?
> > >  
> > > Interactive use of gnuplot-4.2.6 is fine on amd64 7.2-RELEASE-p2.
> > 
> > I reinstalled gnuplot-4.2.6 and (hopefully) all ports on which it depends.
> > I still get the same behaviour. 
> > 
> > top -PISu shows:
> > 
> > last pid:   108;  load averages:  0.88,  0.35,  0.19up 2+02:23:38  
> > 13:27:52
> > 109 processes: 4 running, 88 sleeping, 17 waiting
> > CPU 0:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
> > CPU 1:  0.0% user,  0.0% nice,  100% system,  0.0% interrupt,  0.0% idle
> > Mem: 105M Active, 2074M Inact, 363M Wired, 768K Cache, 827M Buf, 5322M Free
> > Swap: 19G Total, 19G Free
> > 
> >   PIDUIDTHR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
> >11  0  2 171 ki31 0K64K RUN 0  77.9H 100.00% idle
> > 2   1001  2  480 98240K 55608K CPU11   0:00 100.00% gnuplot
> > 
> > so gnuplot is using 100% and all in system state.
> > 
> > and ps -u:
> > 
> > USERPID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
> > mexas 2 98.1  0.7 98240 55608   5  R+1:25pm   0:00.72 gnuplot
> > 
> > so the state is not "D".
> > 
> > The window does appear (just using simple gnuplot> plot sin(x), and
> > the terminal is set to 'wxt', but nothing ever apears in the window.
> 
> The wxt terminal is only available when gnuplot is compiled with the wxWidgets
> toolkit. Try using the plain x11 terminal, and see if that works better?

yes, that works fine! Thank you!

So the problem must be with wxgtk2-2.8.10_1 and wxgtk2-common-2.8.10_1 ?

How can I kill the offending gnuplot process?

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: port math/gnuplot hangs and ignores "kill -9"

2009-09-17 Thread Anton Shterenlikht
On Mon, Sep 14, 2009 at 07:22:33PM +0200, Roland Smith wrote:
> On Mon, Sep 14, 2009 at 04:42:41PM +0100, Anton Shterenlikht wrote:
> > On Mon, Sep 14, 2009 at 04:37:28PM +0100, Anton Shterenlikht wrote:
> > > on ia64 HEAD,  gnuplot-4.2.6, any plot command
> > > hangs the program. top shows gnuplot is using 100% of CPU,
> > > yeat CPU time is zero:
> > > 
> > >   PIDUIDTHR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
> > > 60071   1001  2  480 98008K 51424K CPU11   0:00 100.00% 
> > > gnuplot
> > > 
> > > kill -9 60071, either from my account, or from root,
> > > has no effect, the process is still there.
> > > 
> > > I cannot find a way to terminate this hanged process without reboot.
> > > 
> > > This seems to be a regression.
> > 
> > running gnuplot in batch (non-interactive) mode seems fine, so
> > the problem seems to be with the screen terminal.
> > 
> > I'm mostly puzzled by the fact that I cannot kill the process..
> 
> It could be that the process is stuck in the 'D' state (uninterruptable wait).
> You can veryfiy that by running 'ps -u' and looking in the eight column when
> gnuplot is running. 
> 
> Does the window with the plot actually appear?
>  
> Interactive use of gnuplot-4.2.6 is fine on amd64 7.2-RELEASE-p2.

I reinstalled gnuplot-4.2.6 and (hopefully) all ports on which it depends.
I still get the same behaviour. 

top -PISu shows:

last pid:   108;  load averages:  0.88,  0.35,  0.19up 2+02:23:38  13:27:52
109 processes: 4 running, 88 sleeping, 17 waiting
CPU 0:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
CPU 1:  0.0% user,  0.0% nice,  100% system,  0.0% interrupt,  0.0% idle
Mem: 105M Active, 2074M Inact, 363M Wired, 768K Cache, 827M Buf, 5322M Free
Swap: 19G Total, 19G Free

  PIDUIDTHR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
   11  0  2 171 ki31 0K64K RUN 0  77.9H 100.00% idle
2   1001  2  480 98240K 55608K CPU11   0:00 100.00% gnuplot

so gnuplot is using 100% and all in system state.

and ps -u:

USERPID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
mexas 2 98.1  0.7 98240 55608   5  R+1:25pm   0:00.72 gnuplot

so the state is not "D".

The window does appear (just using simple gnuplot> plot sin(x), and
the terminal is set to 'wxt', but nothing ever apears in the window.

My guess is that the problem is not in gnuplot, but in the base OS.

Any advice on how to debug this problem further.

Once again, batch use of gnuplot is fine, it's just the screen
operations which are affected.

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: port math/gnuplot hangs and ignores "kill -9"

2009-09-14 Thread Anton Shterenlikht
On Mon, Sep 14, 2009 at 04:37:28PM +0100, Anton Shterenlikht wrote:
> on ia64 HEAD,  gnuplot-4.2.6, any plot command
> hangs the program. top shows gnuplot is using 100% of CPU,
> yeat CPU time is zero:
> 
>   PIDUIDTHR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
> 60071   1001  2  480 98008K 51424K CPU11   0:00 100.00% gnuplot
> 
> kill -9 60071, either from my account, or from root,
> has no effect, the process is still there.
> 
> I cannot find a way to terminate this hanged process without reboot.
> 
> This seems to be a regression.

running gnuplot in batch (non-interactive) mode seems fine, so
the problem seems to be with the screen terminal.

I'm mostly puzzled by the fact that I cannot kill the process..

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 331 5924
___
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"


port math/gnuplot hangs and ignores "kill -9"

2009-09-14 Thread Anton Shterenlikht
on ia64 HEAD,  gnuplot-4.2.6, any plot command
hangs the program. top shows gnuplot is using 100% of CPU,
yeat CPU time is zero:

  PIDUIDTHR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
60071   1001  2  480 98008K 51424K CPU11   0:00 100.00% gnuplot

kill -9 60071, either from my account, or from root,
has no effect, the process is still there.

I cannot find a way to terminate this hanged process without reboot.

This seems to be a regression.

Please advise

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 331 5924
___
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"


mutt users - text/enriched crashes mutt?

2009-09-14 Thread Anton Shterenlikht
I've got a text/enriched email, which crashes mutt-devel-1.5.20_1
This is FreeBSD 9.0-CURRENT ia64

When I open this email, mutt freezes, while the /tmp/mutt* file
is growing until it fills the partition, and I get a message
on the terminal, something "can't copy file, device full":

-rw---   1 mexas  wheel 215941357 14 Sep 10:48 
mutt-mech-cluster241-RHvpz380-0

Now, the manual, http://www.mutt.org/doc/manual/manual-5.html,
claims:

Mutt internally supports a number of MIME types,
including text/plain, text/enriched, ...

So is there something wrong with my installation, or
with this message?

Below is a copy of the offending email:

Please advise

many thanks

###

>From xxx@bristol.ac.uk Wed Sep  9 16:06:03 2009
Return-Path: 
Received: from some.host (localhost [127.0.0.1])
by some.host (8.14.3/8.14.3) with ESMTP id n89F62Uv090897
for ; Wed, 9 Sep 2009 16:06:02 +0100 (BST)
(envelope-from xxx@bristol.ac.uk)
Received: from epo.bris.ac.uk [137.222.10.55]
by some.host with IMAP (fetchmail-6.3.11)
for  (single-drop); Wed, 09 Sep 2009 16:06:02 +0100 
(BST)
Received: from epo.bris.ac.uk ([unix socket])
 by groucho (Cyrus v2.2.12) with LMTPA;
 Wed, 09 Sep 2009 16:02:51 +0100
X-Sieve: CMU Sieve 2.2
Received: from dirg.bris.ac.uk ([137.222.10.102])
by epo.bris.ac.uk with esmtp (Exim 4.69)
(envelope-from )
id 1MlOh9-0007Nc-Qu; Wed, 09 Sep 2009 16:02:51 +0100
Received: from ncsc.bris.ac.uk ([137.222.10.41])
by dirg.bris.ac.uk with esmtp (Exim 4.69)
(envelope-from )
id 1MlOh9-0004MN-Md; Wed, 09 Sep 2009 16:02:51 +0100
Received: from mech-sec144.men.bris.ac.uk ([137.222.184.144])
by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256)
(Exim 4.67)
(envelope-from )
id 1MlOh9-00038K-GY; Wed, 09 Sep 2009 16:02:51 +0100
Date: Wed, 09 Sep 2009 16:02:50 +0100
From: MK zzz 
To: Anton Shterenlikht 
Subject: Re: UG projects students
Message-ID: 
In-Reply-To: <20090904113606.ga93...@some.host>
References:  <20090904113606.ga93...@some.host>
Originator-Info: 
login-token=Mulberry:01yZcCczgEb94E2Hvd9y/9L9wB+XiWCTsNMNUGAXuX9yzFd94=;
 token_authority=postmas...@bristol.ac.uk
X-Mailer: Mulberry/3.1.5 (Win32)
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="==F08EA8DED4439FC5ABE4=="
Content-Disposition: inline
Status: RO
Content-Length: 3055
Lines: 175

--==F08EA8DED4439FC5ABE4==
Content-Type: text/enriched; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

zzz

zzz



--======F08EA8DED4439FC5ABE4==--

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 331 5924
___
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"


xorg: (EE) XKB: No components provided for device Virtual core keyboard

2009-09-07 Thread Anton Shterenlikht
This has probably been discussed many times already, but I just
cannot find any relevant advice on the net.

On 8.0-beta2 i386 with intel 845M chip and xf86-video-intel-2.7.1

when I try to login into xdm login prompt, the login and passwd
are accepted, I get a black screen for a second and then I get
back again to the xdm login prompt.

In /var/log/xdm.log I get

(EE) XKB: No components provided for device Virtual core keyboard 

I've updated to full x11/xorg port. All my ports are up to date.

My xorg.conf is below.

Please advise

many thanks

#

> cat /etc/X11/xorg.conf

Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
Option  "DontZap" "false"
EndSection

#Section "Module"
#   Load "freetype"
#EndSection

Section "Files"
ModulePath  "/usr/local/lib/xorg/modules"
FontPath"/usr/local/lib/X11/fonts/misc/"
FontPath"/usr/local/lib/X11/fonts/TTF/"
FontPath"/usr/local/lib/X11/fonts/OTF"
FontPath"/usr/local/lib/X11/fonts/Type1/"
FontPath"/usr/local/lib/X11/fonts/100dpi/"
FontPath"/usr/local/lib/X11/fonts/75dpi/"
FontPath"/usr/local/lib/X11/fonts/bitstream-vera/"
FontPath"/usr/local/lib/X11/fonts/cyrillic/"
EndSection

Section "Monitor"
Identifier   "Monitor0"
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel"   # []
#Option "SWcursor"  # []
#Option "ColorKey"  # 
#Option "CacheLines"# 
#Option "Dac6Bit"   # []
#Option "DRI"   # []
#Option "NoDDC" # []
#Option "ShowCache" # []
#Option "XvMCSurfaces"  # 
#Option "PageFlip"  # []
#Option "AccelMethod" "UXA"
Identifier  "Card0"
Driver  "intel"
VendorName  "Intel Corporation"
BoardName   "82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics 
Device"
BusID   "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
SubSection "Display"
Viewport   0 0
Depth   32
EndSubSection
EndSection


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 331 5924
___
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: ports lang/gcc4x fail to build on ia64

2009-08-17 Thread Anton Shterenlikht
On Mon, Aug 17, 2009 at 09:36:02AM -0500, Mark Linimon wrote:
> On Mon, Aug 17, 2009 at 02:57:52PM +0100, Anton Shterenlikht wrote:
> > Ports lang/gcc43, 44 and 45 fail to build on 8.0-beta2 ia64:
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40959
> > 
> > I know they build fine on 6.4-stable alpha, but what about sparc64?
> > amd64? mips?
> 
> You can check things like this using the Ports Monitoring tool:
> http://portsmon.freebsd.org/portoverview.py?category=lang&portname=gcc4&wildcard=yes
> 
> According to that, for 8.0:
> 
>  - gcc4* are set to "not for ia64".  From a commit log for gcc43/Makefile:
> 
> Add ia64 to NOT_FOR_ARCHS.  This has been broken for ages, it is not clear
> whether it is our kernel/userland, the hardware, or something else at 
> fault
> and nobody on our side nor upstream seems to have any interest.

yes, I understand.. Unfortunately a FBSD system without gcc4x is of little
use to me, because I need fortran OMP compiler, and many other ports
which depend on gcc4x.

I wonder if they work under ia64 linux?

> amd64, i386, and sparc64.  Although we have some ia64 machines, the last
> time I tried to upgrade them I had trouble.  We do not yet have any arm,

I volunteer to build gcc4x ports on my rx2600 SMP ia64 current.

> mips, or powerpc machines.  Our alphas have been deinstalled (sorry),
> after the alpha src code had fallen too far behind the main 3 archs, and
> no one was keeping it up.

yes, I gave up on alpha because of this.

> Unless a developer with specific interest in ia64 steps up to help,
> you may be out of luck.  Sorry.

well.. unfortunately I've no relevant skills to offer, only testing.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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"


ports lang/gcc4x fail to build on ia64

2009-08-17 Thread Anton Shterenlikht
Ports lang/gcc43, 44 and 45 fail to build on 8.0-beta2 ia64:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40959

I know they build fine on 6.4-stable alpha, but
what about sparc64? amd64? mips?

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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"


port sysutils/hal -> fixed_mountpoints - what does this mean?

2009-08-13 Thread Anton Shterenlikht
in port sysutils/hal there is an option

fixed_mountpoints=

which is "off" by default.
Is the meaning of this option documented somewhere?

I've had lots of trouble with hal/dbus/X in the past
I wonder if my options are to blame.

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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[2]: How to make CS server autostart on reboot

2009-08-13 Thread Anton

   Hello Mark,

   under CS server - I mean server for Counter-strike...

   I've also tried this variant - it is starting. as if from rc.local -
   but= then it shuts down, and I could not find out why

   Thursday, August 13, 2009, 2:26:35 PM, you wrote:

   > Hello,

   > What do you mean by a CS server?

   > I'm sure there are "better" of "pretier" soluti= on but you can use
   cron

   > to do this for you.

   > As the user which should run this service do:

   > crontab -e

   > then add a rule like:

   > @reboot 

   > Then save and exit. Now next time on reboot the=  will be
   run.

   > Greetz,

   > Mark

   > PS. CS= Counter Strike?

   > Anton wrote:

   >>Hello everybode,

   >>Can you help me in subject? Ca= use, if I even place the start
   script in

   >>/=tc/rc.local - it do not st= arts

   >>--

   >>--

   >>Best regards,

   >> Anton   &n= bsp;=   &nbs   
p;[1]mailto:an...@sng.by

   >> Administrator

   >>Feel free to contact me
   >>via ICQ 363780596

   >>via Skype dobryak47

   >>via phone +375 29 3320987

   >> References

   >>1. 3D"mailto:an...@sng.by";

   >> ___= 

   [1]>> = freebsd-questions@freebsd.org mailing list

   [2]>> http://lists.freebsd.org/mailman/listinfo/freebsd-qu= estions

   >> To unsubscribe, send any mail to "freebsd-q   
uestions-unsubscr...@freebsd.org"

   >>

   --

   Best regards,

Anton   &nbs= p;[3]mailto:an...@sng.by

Administrator

   Feel free to contact me

   via ICQ 363780596

   via Skype dobryak47

   via phone +375 29 3320987

References

   1. 3D"mailto:freebsd-questions@freebsd.org";
   2. 3D"http://lists.freebsd.org/mailman/listinfo/freeb   3. 
3D"mailto:an...@sng.by";
___
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"


How to make CS server autostart on reboot

2009-08-13 Thread Anton

   Hello everybode,

   Can you help me in subject? Cause, if I even place the start script in
   /= etc/rc.local - it do not starts

   --

   --

   Best regards,

Anton= ;[1]mailto:an...@sng.by

Administrator

   Feel free to contact me

   via ICQ 363780596

   via Skype dobryak47

   via phone +375 29 3320987

References

   1. 3D"mailto:an...@sng.by";
___
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: glxgears on 8.0 current

2009-08-11 Thread Anton Shterenlikht
On Tue, Aug 11, 2009 at 05:42:46PM +0300, Manolis Kiagias wrote:
> Anton Shterenlikht wrote:
> > On Tue, Aug 11, 2009 at 03:04:14PM +0100, Anton Shterenlikht wrote:
> >   
> >> In many online articles I've seen suggestions to
> >> use glxgears to check whether OpenGL is installed
> >> correctly. I've
> >>
> >>libGL-7.4.4 and mesagl-mangled-5.0.2
> >>
> >> installed on
> >>
> >>FreeBSD 8.0-BETA2 ia64
> >>
> >> but cannot find glxgears.
> >>
> >> What am I missing here?
> >> 
> >
> > forgot to say that I need to check OpenGL because
> > I have some problems with port science/paraview, which
> > depends on libGL, and probably on mesagl, via VTK.
> >
> > many thanks
> >
> >   
> 
> Just install graphics/mesa-demos

thank you

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: graphics/ImageMagick seemingly not using OpenMP

2009-08-11 Thread Anton Shterenlikht
On Tue, Aug 11, 2009 at 09:38:52AM -0500, Kirk Strauser wrote:
> On Aug 11, 2009, at 6:54 AM, Anton Shterenlikht wrote:
> 
> >On Mon, Aug 10, 2009 at 11:18:43AM -0500, Kirk Strauser wrote:
> >>On my FreeBSD 7.2-STABLE system (from July 29), I'm trying to enable
> >>OpenMP for the graphics/ImageMagick port.  With the
> >>IMAGEMAGICK_OPENMP
> >>option set, I get this from "make configure":
> >>
> >>checking for cc -std=gnu99 option to support OpenMP... (cached)
> >>unsupported
> >>checking for cc -std=gnu99 option to support OpenMP... -fopenmp
> >>
> >>If I go on to build it, there's no other mention of OpenMP in the
> >>output.  What am I doing wrong?
> 
> >I think the second like shows that OMP is indeed supported.
> >Have you tested on any OMP test?
> 
> But the rest of the build doesn't give any indication. Specifically,
> the "-fopenmp" flag isn't used anywhere.  I've tested that OMP works
> - or at least compiles - but I don't know of any way to find if a
> given binary was actually compiled with it.

I haven't got any SMP IM tests, so cannot advise on this.
If you know of some, let me know, I'd like to test my SMP
box.
Have you also built perl-threaded?

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: glxgears on 8.0 current

2009-08-11 Thread Anton Shterenlikht
On Tue, Aug 11, 2009 at 03:04:14PM +0100, Anton Shterenlikht wrote:
> In many online articles I've seen suggestions to
> use glxgears to check whether OpenGL is installed
> correctly. I've
> 
>   libGL-7.4.4 and mesagl-mangled-5.0.2
> 
> installed on
> 
>   FreeBSD 8.0-BETA2 ia64
> 
> but cannot find glxgears.
> 
> What am I missing here?

forgot to say that I need to check OpenGL because
I have some problems with port science/paraview, which
depends on libGL, and probably on mesagl, via VTK.

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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"


glxgears on 8.0 current

2009-08-11 Thread Anton Shterenlikht
In many online articles I've seen suggestions to
use glxgears to check whether OpenGL is installed
correctly. I've

libGL-7.4.4 and mesagl-mangled-5.0.2

installed on

FreeBSD 8.0-BETA2 ia64

but cannot find glxgears.

What am I missing here?

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: graphics/ImageMagick seemingly not using OpenMP

2009-08-11 Thread Anton Shterenlikht
On Mon, Aug 10, 2009 at 11:18:43AM -0500, Kirk Strauser wrote:
> On my FreeBSD 7.2-STABLE system (from July 29), I'm trying to enable
> OpenMP for the graphics/ImageMagick port.  With the IMAGEMAGICK_OPENMP
> option set, I get this from "make configure":
> 
> checking for cc -std=gnu99 option to support OpenMP... (cached) unsupported
> checking for cc -std=gnu99 option to support OpenMP... -fopenmp
> 
> If I go on to build it, there's no other mention of OpenMP in the
> output.  What am I doing wrong?

I think the second like shows that OMP is indeed supported.
Have you tested on any OMP test?

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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"


Constantly getting this error

2009-08-10 Thread Anton

   Hello freebsd-questions,

 acpi0: reservation of 0, a (3) failed

   acpi0: reservation of 10, 7ff0 (3) failed

   Some google does not said anything on it...

   But, one box (Pentium D, 1024 MB RAM, no sound) sometimes crashes
   withou= t any visible problems

   Another box (Athlon 3000+ AM2, 1024 MB RAM) some times does not get on
   b= y power button

   --

   --

   Best regards,

Anton= ;[1]mailto:an...@sng.by

Administrator

   Feel free to contact me

   via ICQ 363780596

   via Skype dobryak47

   via phone +375 29 3320987

References

   1. 3D"mailto:an...@sng.by";
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Looking for fast graphical web browser

2009-08-07 Thread Anton Shterenlikht
On Fri, Aug 07, 2009 at 09:32:38AM -0400, Daniel Underwood wrote:
> I'd really love to see chromium ported over.
> ___
> 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"

I'm using kazehakase with xulrunner. As far as I know,
the only full featured browser to run on ia64.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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"


Some problems with Marvell Yukon NIC

2009-08-05 Thread Anton

   Hello freebsd-questions,

 Found the solution here: [1]http   
://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-10/msg01065
   .html
   But do not know how to apply patch :-(

   Please, help

   --

   --

   Best regards,

Anton= ;[2]mailto:an...@sng.by

Administrator

   Feel free to contact me

   via ICQ 363780596

   via Skype dobryak47

   via phone +375 29 3320987

References

   1. 3D"http://uni=/
   2. 3D"mailto:an...@sng.by";
___
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: Secure password generation...blasphemy!

2009-08-04 Thread Anton Shterenlikht
On Tue, Aug 04, 2009 at 09:52:21AM +0200, Roland Smith wrote:
> On Mon, Aug 03, 2009 at 08:28:52PM -0600, Modulok wrote:
> > I need a way to generate a lot of secure passwords. So, I read all
> > about it. Either people are getting way carried away, or I'm missing
> > something...
> 
> It is very easy to generate hard-to-guess semi-random passwords: 
> 
>openssl rand -base64 6
> 
> some examples:
> 
> hJ9WQ0eK oOyHWEd4 W801vDIB mob29k5I RVDXkE/9 7BRHC+8h
> 
> Even though this is semi-random, these are still extremely hard to
> guess, and neither will a dictionary attack be much use. The _big_
> downside is that this kind of passwords are hard to remember. So people
> _will_ write them down. Which isn't a problem in itself, as long as they
> keep that piece of paper secure. (so not taped to their monitor, or
> under their keyboard.)
> 
> A better solution IMHO is to let people make their own acronyms, mixed
> with a little l33tsp34k. That way you can have something easy to
> remember, but still hard to guess. E.g. "Ask not for whom the bell
> tolls" would become "An4wtbt".

I really like the VMS password generation facility: 

UAF> modify donkey/generate_password

tratworman
cralopyter
bosequism
coshindius
jaritions

Enter PRIMARY password:

clumiump
wrielene
guirtiety
scapress
primpatly

Enter PRIMARY password:

odliesting
conetred
emenstate
ammycle
rasests

...

You are given a choice of 5 passwords to choose from.
If you don't like any, keep going until something
comes up that's easy to remember for you.

The system manager can specify the min required length.

I think this is a really nice utility, and VMS systems are
very rarely compromised, though perhaps VMS users are
better trained in password safe keeping. 

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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"


Partially SOLVED: Re: printing to password protected network printer

2009-08-03 Thread Anton Shterenlikht
On Mon, Aug 03, 2009 at 10:50:39AM +0100, Anton Shterenlikht wrote:
> I've Canon iRC5185i network printer in my department,
> which is accessed with a username and a password.
> After reading chapter 9, printing, of the handbook,
> I still cannot see how passing a username and a password
> to a network printer can be done.

It trurned out this printer is set up to accept direct HTTP
connections, so I can print easily via web interface.
LPD is disabled on this printer by the printer administrator, but
SMB is allowed, so I think printing via apsfilter is also
possible. In addition NetWare and AppleTalk can be configured
on that printer, but I'm not sure if it helps printing from
FreeBSD.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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[2]: Analyze load of the channel to Internet

2009-08-03 Thread Anton

   Hello Gary,

   Due to what I've read about ntop - it is not really what I need.

   I dont have any Cisco routers, nor switches with port-mirroring - so I
   c= ould not collect any traffic. I have only 2 freebsd routers - and
   need to k= now - when the outgoing channel of first gets overflowed
   and I need to redi= rect outgoing traffic to second

   Monday, August 3, 2009, 4:55:00 AM, you wrote:

   >

   almost any NIC / OS will support SNMP MIB-II counter= s, which
   includes octets Tx and Rx. MANY tools available for "getting" snmp   mib 
values.

   If you want util AND details on IP, ports, etc. - ch= eck out nTop.org

   - Original Message -

   From: owner-freebsd-questi...@freebsd.org 

   To: freebsd-questions@freebsd.org 

   Sent: Sun Aug 02 15:08:38 2009

   Subject: Analyze load of the channel to Internet

   Hello everybody...

   Need to view and get real-time reporting of outgoing= channel to
   Internet?

   I think, that this is may be realized by means of ip= fw (e.g. - get
   counters

   of count rules for Internet and divide them to time,= which passed
   between

   analyzing)

   But, maybe, there is an utility, to which I can comm= unicate (or
   which could

   analyze) my outgoing channel to Internet - and repor= t me (mean some

   redirection script) when an outgoing channel gets ov= erflowed, and I
   need to

   redirect all other outgoing traffic to another chann= el.

   I would like to clear: I have to channels for Intern= et, meaned for
   gaming

   club - but I don't have enough finance to afford buy= ing some Cisco
   device

   and this 2 channel are 512 kilobits and 768 kilobits= of outgoing
   traffic

   Please, help

   ___

   freebsd-questions@freebsd.org mailing list

   [1]http://lists.freebsd.org/mailman/listinfo/freebsd-questions

   To unsubscribe, send any mail to "freebsd-questions-   
unsubscr...@freebsd.org"

   "This email is intended to be reviewed by only the i= ntended
   recipient and may contain information that is privileged and/or con   
fidential. If you are not the intended recipient, you are hereby
   notified t= hat any review, use, dissemination, disclosure or copying
   of this email and= its attachments, if any, is strictly prohibited. If
   you have received this= email in error, please immediately notify the
   sender by return email and d= elete this email from your system."

   --

   Best regards,

Anton   &nbs= p;[2]mailto:an...@sng.by

Administrator

   Feel free to contact me

   via ICQ 363780596

   via Skype dobryak47

   via phone +375 29 3320987

References

   1. 3D"http://lists.freebsd.org/mailman/listinfo/freeb   2. 
3D"mailto:an...@sng.by";
___
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"


printing to password protected network printer

2009-08-03 Thread Anton Shterenlikht
I've Canon iRC5185i network printer in my department,
which is accessed with a username and a password.
After reading chapter 9, printing, of the handbook,
I still cannot see how passing a username and a password
to a network printer can be done.

Any advice?

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: gmirror / crash dumps

2009-07-31 Thread Anton Shterenlikht
On Fri, Jul 31, 2009 at 12:46:32AM -0500, Adam Vande More wrote:
> On Thu, Jul 30, 2009 at 11:23 PM, Philip M. Gollucci
> wrote:
> 
> > Hi,
> >
> > Say I've got the following:
> > /dev/mirror/gm0s1bnoneswapsw
> >
> > /dev/mirror/gm0s1a989M390M520M43%/
> > /dev/mirror/gm0s1g 15G1.7G 12G13%/usr
> > /dev/mirror/gm0s1h544G1.8M501G 0%/usr/home
> > /dev/mirror/gm0s1d1.9G500M1.3G27%/usr/src
> > /dev/mirror/gm0s1e1.9G1.1G733M60%/usr/obj
> > /dev/mirror/gm0s1f 97G2.0K 89G 0%/var
> >
> > Well I'm trying to get my kernel panics to cause dumps
> > 1) /etc/rc.conf
> > dumpdev=AUTO
> > crashinfo_enable="YES"
> >
> > 2) sudo chmod 700 /var/crash
> >
> > 3) 8GB RAM, 16GB of swap, /var/crash is 16GB < 97GB
> >
> > 4) I have the following in my 7-stable kernel
> > makeoptions DEBUG=-g
> > options AUDIT
> > options KTRACE
> > options KDB
> > options KDB_TRACE
> > options DDB
> > options GDB
> > options BREAK_TO_DEBUGGER
> > options INVARIANTS
> > options INVARIANT_SUPPORT
> > options WITNESS
> > options DEBUG_LOCKS
> > options DEBUG_VFS_LOCKS
> > options LOCK_PROFILING
> > options DIAGNOSTIC
> >
> > The long and the short of it is I don't get any dumps.
> >
> > I read somewhere that you can't dump onto a gmirror device.
> 
> 
> That is incorrect, but I don't know the cause of your problem.  I run
> nothing but gmirror and dumps happen here.

I was also told that 

"you won't get a valid dump if your dumpdev
 is on a GEOM_MIRROR device"

http://lists.freebsd.org/pipermail/freebsd-ia64/2009-July/002205.html

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: port lang/g95 installation problem, cannot exec 'f951': No such file

2009-07-30 Thread Anton Shterenlikht
On Thu, Jul 30, 2009 at 03:11:35PM +0200, Pietro Cerutti wrote:
> On 2009-Jul-30, 10:08, Anton Shterenlikht wrote:
> > On Thu, Jul 30, 2009 at 09:43:28AM +0200, Pietro Cerutti wrote:
> > > On 2009-Jul-29, 20:35, Anton Shterenlikht wrote:
> > > > this is a regression
> > > > 
> > > > after some recent port updates, on 7.2-stable, 8.0-current and 8.0-beta2
> > > > port lang/g95 gives:
> > > > 
> > > > % g95 
> > > > g95: installation problem, cannot exec 'f951': No such file or directory
> > > 
> > > Fixed, thanks.
> > > 
> > > http://lists.freebsd.org/pipermail/cvs-ports/2009-July/177135.html
> > 
> > thank you, but now there is a linker error:
> > 
> > % g95 
> > ld: cannot find -lf95
> 
> Please set your LIBRARY_PATH environment variable to $prefix/lib.

thank you

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: port lang/g95 installation problem, cannot exec 'f951': No such file

2009-07-30 Thread Anton Shterenlikht
On Thu, Jul 30, 2009 at 09:43:28AM +0200, Pietro Cerutti wrote:
> On 2009-Jul-29, 20:35, Anton Shterenlikht wrote:
> > this is a regression
> > 
> > after some recent port updates, on 7.2-stable, 8.0-current and 8.0-beta2
> > port lang/g95 gives:
> > 
> > % g95 
> > g95: installation problem, cannot exec 'f951': No such file or directory
> 
> Fixed, thanks.
> 
> http://lists.freebsd.org/pipermail/cvs-ports/2009-July/177135.html

thank you, but now there is a linker error:

% g95 
ld: cannot find -lf95

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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"


port lang/g95 installation problem, cannot exec 'f951': No such file

2009-07-29 Thread Anton Shterenlikht
this is a regression

after some recent port updates, on 7.2-stable, 8.0-current and 8.0-beta2
port lang/g95 gives:

% g95 
g95: installation problem, cannot exec 'f951': No such file or directory

I updated g95 with portmaster, so all dependencies should've been
followed.

What is this f951?

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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"


mutt-devel freezes with "filesystem full", ends up in wdrain cpu state

2009-07-28 Thread Anton Shterenlikht
On ia64 8.0-beta1 SMP mutt-devel-1.5.20_1 freezes on some folders with 

/tmp: write failed, filesystem is full
Could not copy message

top shows that mutt is in "wdrain" state and in /var/log/messages I see

   kernel: pid 43702 (mutt), uid 1001 inumber 23554 on /tmp: filesystem full

/tmp has lots of free space


Anybody else is seeing this?
What could be the problem?

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: documentation for gpart(8)/GPT?

2009-07-28 Thread Anton Shterenlikht
On Tue, Jul 28, 2009 at 09:54:53AM -0400, Robert Huff wrote:
>   Is there anything - official, or unofficial but reliable - about 
> working with gpart/GPT?   I've read the man page, and am still a little 
> wobbly.

Have a look at http://eis.bris.ac.uk/~mexas/geom-mirror.html
This is a proposed addition to the handbook. There is a gpart
example.

By the way, I'd welcome any feedback on this modified section.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: bsdstats.org - fatal error

2009-07-28 Thread Anton Shterenlikht
On Tue, Jul 28, 2009 at 10:58:07AM +0100, Anton Shterenlikht wrote:
> On Tue, Jul 28, 2009 at 02:33:34AM +, Marc G. Fournier wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > 
> > Are you still seeing the error ... ?  I just checked everything on server, 
> > and 
> > it appears to be processing fine ...
> 
> yes, seems ok

however, the Ports Stats link seems to be wrong, it takes to the CPU stats.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: Bind 9 (Was: bsdstats) - fatal error: RUNTIME_CHECK(((pthread_mutex_destroy(((&manager->lock))) == 0)

2009-07-28 Thread Anton Shterenlikht
On Mon, Jul 27, 2009 at 07:37:26PM -0800, Mel Flynn wrote:
> On Monday 27 July 2009 18:35:17 Marc G. Fournier wrote:
> > --On Monday, July 27, 2009 14:07:44 -0800 Mel Flynn
> >
> >  wrote:
> > > On Monday 27 July 2009 13:17:51 Anton Shterenlikht wrote:
> > >> On ia64 8.0-beta1 SMP, running bsdstats-5.4_2,
> > >> I get this error:
> > >>
> > >> # /usr/local/etc/periodic/monthly/300.statistics
> > >> /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/task.c:1023: fatal
> > >> error: RUNTIME_CHECK(((pthread_mutex_destroy(((&manager->lock))) == 0) ?
> > >> 0
> > >>
> > >> : 34) == 0) failed
> > >
> > > That error from bind,
> > >
> > >> [:1: unexpected operator
> > >
> > > Is not handled gracefully in the bsdstats script.
> >
> > Is there something I can do to improve the script to handle it better?
> 
> Well, if OP can provide sh -x /usr/local/etc/periodic/monthly/300.statistics 
> output, it's easier to see which variable is empty as a result of a resolver 
> error. Then fix the test expression and either exit or use a retry_x_times 
> mechanism.

# script zzz sh -x /usr/local/etc/periodic/monthly/300.statistics -nodelay

Script started on Tue Jul 28 11:14:53 2009
+ [ -r /etc/defaults/periodic.conf ]
+ . /etc/defaults/periodic.conf
+ periodic_conf_files='/etc/periodic.conf /etc/periodic.conf.local'
+ local_periodic=/usr/local/etc/periodic
+ daily_output=root
+ daily_show_success=YES
+ daily_show_info=YES
+ daily_show_badconfig=NO
+ daily_clean_disks_enable=NO
+ daily_clean_disks_files='[#,]* .#* a.out *.core *.CKP .emacs_[0-9]*'
+ daily_clean_disks_days=3
+ daily_clean_disks_verbose=YES
+ daily_clean_tmps_enable=NO
+ daily_clean_tmps_dirs=/tmp
+ daily_clean_tmps_days=3
+ daily_clean_tmps_ignore='.X*-lock .X11-unix .ICE-unix .font-unix .XIM-unix'
+ daily_clean_tmps_ignore='.X*-lock .X11-unix .ICE-unix .font-unix .XIM-unix 
quota.user quota.group'
+ daily_clean_tmps_verbose=YES
+ daily_clean_preserve_enable=YES
+ daily_clean_preserve_days=7
+ daily_clean_preserve_verbose=YES
+ daily_clean_msgs_enable=YES
+ daily_clean_msgs_days=''
+ daily_clean_rwho_enable=YES
+ daily_clean_rwho_days=7
+ daily_clean_rwho_verbose=YES
+ daily_clean_hoststat_enable=YES
+ daily_backup_passwd_enable=YES
+ daily_backup_aliases_enable=YES
+ daily_calendar_enable=NO
+ daily_accounting_enable=YES
+ daily_accounting_compress=NO
+ daily_accounting_flags=-q
+ daily_accounting_save=3
+ daily_news_expire_enable=YES
+ daily_status_disks_enable=YES
+ daily_status_disks_df_flags='-l -h'
+ daily_status_zfs_enable=NO
+ daily_status_ata_raid_enable=NO
+ daily_status_gmirror_enable=NO
+ daily_status_graid3_enable=NO
+ daily_status_gstripe_enable=NO
+ daily_status_gconcat_enable=NO
+ daily_status_network_enable=YES
+ daily_status_network_usedns=YES
+ daily_status_rwho_enable=YES
+ daily_status_mailq_enable=YES
+ daily_status_mailq_shorten=NO
+ daily_status_include_submit_mailq=YES
+ daily_status_security_enable=YES
+ daily_status_mail_rejects_enable=YES
+ daily_status_mail_rejects_logs=3
+ daily_status_mail_rejects_shorten=NO
+ daily_status_named_enable=YES
+ daily_status_named_usedns=YES
+ daily_status_ntpd_enable=NO
+ daily_queuerun_enable=YES
+ daily_submit_queuerun=YES
+ daily_local=/etc/daily.local
+ daily_status_security_inline=NO
+ daily_status_security_output=root
+ daily_status_security_noamd=NO
+ daily_status_security_logdir=/var/log
+ daily_status_security_diff_flags='-b -u'
+ daily_status_security_chksetuid_enable=YES
+ daily_status_security_chkmounts_enable=YES
+ daily_status_security_chkuid0_enable=YES
+ daily_status_security_passwdless_enable=YES
+ daily_status_security_logincheck_enable=YES
+ daily_status_security_ipfwdenied_enable=YES
+ daily_status_security_ipfdenied_enable=YES
+ daily_status_security_pfdenied_enable=YES
+ daily_status_security_ipfwlimit_enable=YES
+ daily_status_security_ipf6denied_enable=YES
+ daily_status_security_kernelmsg_enable=YES
+ daily_status_security_loginfail_enable=YES
+ daily_status_security_tcpwrap_enable=YES
+ weekly_output=root
+ weekly_show_success=YES
+ weekly_show_info=YES
+ weekly_show_badconfig=NO
+ weekly_locate_enable=YES
+ weekly_whatis_enable=YES
+ weekly_catman_enable=NO
+ weekly_noid_enable=NO
+ weekly_noid_dirs=/
+ weekly_status_pkg_enable=NO
+ pkg_version=pkg_version
+ pkg_version_index=/usr/ports/INDEX-8
+ weekly_local=/etc/weekly.local
+ monthly_output=root
+ monthly_show_success=YES
+ monthly_show_info=YES
+ monthly_show_badconfig=NO
+ monthly_accounting_enable=YES
+ monthly_local=/etc/monthly.local
+ [ -z '' ]
+ source_periodic_confs_defined=yes
+ source_periodic_confs
+ local i sourced_files
+ sourced_files=:/etc/periodic.conf:
+ [ -r /etc/periodic.conf ]

Re: bsdstats.org - fatal error

2009-07-28 Thread Anton Shterenlikht
On Tue, Jul 28, 2009 at 02:33:34AM +, Marc G. Fournier wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> 
> Are you still seeing the error ... ?  I just checked everything on server, 
> and 
> it appears to be processing fine ...

yes, seems ok

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: ntpd / time synchronization

2009-07-27 Thread Anton Shterenlikht
On Tue, Jul 28, 2009 at 12:44:50AM +0200, Zbigniew Szalbot wrote:
> Hello,
> 
> I guess there is something simple that is wrong but my server is not 
> really keeping the correct time. I have these options in /etc/rc.conf
> 
> ntpd_enable="YES"
> ntpd_flags="-g -c /etc/ntp.conf -p /var/run/ntpd.pid -f /var/db/ntp.drift"
> 
> and here's the details of /etc/ntp.conf file:
> 
> server 0.pl.pool.ntp.org
> server 1.pl.pool.ntp.org
> server 2.pl.pool.ntp.org
> server 3.pl.pool.ntp.org
> driftfile /var/db/ntp.drift
> restrict default nopeer nomodify
> 
> I used to have server 0.europe.pool.ntp.org in the ntp.conf file but 
> today changed all entries to *.pl.pool.*
> 
> At the moment my clock is about 3 minutes behind time. It has been 
> running for a year and I do not have ntpdate enabled so I guess 
> subsequent reboots did not correct the drifting problem.
> 
> Is there anything obvious I am missing here? Any advice would be greatly 
> appreciated!

what does "ntpq -p" give you?

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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"


bsdstats - fatal error: RUNTIME_CHECK(((pthread_mutex_destroy(((&manager->lock))) == 0)

2009-07-27 Thread Anton Shterenlikht
On ia64 8.0-beta1 SMP, running bsdstats-5.4_2,
I get this error:

# /usr/local/etc/periodic/monthly/300.statistics
/usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/task.c:1023: fatal error: 
RUNTIME_CHECK(((pthread_mutex_destroy(((&manager->lock))) == 0) ? 0 : 34) == 0) 
failed
[:1: unexpected operator

#

I recall some mutex errors reported by perl-10 tests.

--
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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"


bsdstats.org - fatal error

2009-07-27 Thread Anton Shterenlikht
Connecting to bsdstats.org I get this error:

   Fatal error: Call to undefined function preg_replace() in
   /usr/local/www/bsdstats.org/www/bsdstats/sbin/uri.php on line 142

Is there a problem with this site?

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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"


<    1   2   3   4   5   6   7   8   >