Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

freebsd-questions Digest, Vol 304, Issue 8

2 views
Skip to first unread message

freebsd-ques...@freebsd.org

unread,
Apr 1, 2010, 8:00:28 AM4/1/10
to freebsd-...@freebsd.org
Send freebsd-questions mailing list submissions to
freebsd-...@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
or, via email, send a message with subject or body 'help' to
freebsd-ques...@freebsd.org

You can reach the person managing the list at
freebsd-que...@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-questions digest..."


Today's Topics:

1. Re: error upgrading kdeedu4 (Marco Beishuizen)
2. Re: How to make "man" pages (Fbsd1)
3. Re: How to make "man" pages (Matthew Seaman)
4. Re: How to make "man" pages (Fbsd1)
5. Re: How to make "man" pages (Matthew Seaman)
6. Re: u3g network problem (Alejandro Imass)
7. Re: skype webcam no device found (Alejandro Imass)
8. Re: skype webcam no device found (Matthias Apitz)
9. Re: Default labeling and space for rebuilding the kernel.
(Leon Me?ner)
10. FreeBSD splash screen - freezes my Dell Inspiron 9400
(Christoph Kukulies)
11. Re: skype webcam no device found (Alejandro Imass)
12. Re: panic: sleeping thread (Paul Halliday)


----------------------------------------------------------------------

Message: 1
Date: Thu, 1 Apr 2010 10:18:35 +0200 (CEST)
From: Marco Beishuizen <mb...@xs4all.nl>
Subject: Re: error upgrading kdeedu4
To: Dino Vliet <dino_...@yahoo.com>
Cc: k...@freebsd.org, freebsd-...@freebsd.org
Message-ID: <alpine.BSF.2.00.1...@yokozuna.lan>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Thu, 1 Apr 2010, Dino Vliet wrote:

> Error: Files /usr/local/lib/ocaml/facile/facile.cmxa
> and /usr/local/lib/ocaml/stdlib.cmxa
> make inconsistent assumptions over interface Buffer
> *** Error code 2

You have to reinstall facile first, and then upgrade kdeedu. I had the
same problem yesterday.

Regards,
Marco


--
Fortune's Real-Life Courtroom Quote #41:

Q: Now, Mrs. Johnson, how was your first marriage terminated?
A: By death.
Q: And by whose death was it terminated?


------------------------------

Message: 2
Date: Thu, 01 Apr 2010 16:41:59 +0800
From: Fbsd1 <fb...@a1poweruser.com>
Subject: Re: How to make "man" pages
To: Matthew Seaman <m.se...@infracaninophile.co.uk>
Cc: FreeBSD Questions <freebsd-...@freebsd.org>
Message-ID: <4BB45C57...@a1poweruser.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

Matthew Seaman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 31/03/2010 08:54:25, Fbsd1 wrote:
>> OK i want to write a man page from scratch. So lets say i want to use
>> /usr/share/man/man2/jail.2.gz as my starting sample. How do I convert
>> this .gz file to a plain text file so I can edit it with ee?
>
> % cp /usr/share/man/man2/jail.2.gz .
> % gunzip jail.2.gz
> % mv jail.2 myname.2
> % ee myname.2
>
>> And how do
>> I turn the edited text file back in to a man page .gz file?
>
> To compress the groff source:
>
> % gzip myname.2
>
> To render the groff source as ascii text (what the man(1) command does):
>
> % groff -mdoc -Tascii myname.2 | less
>
> or
>
> % gzcat myname.2.gz | groff -mdoc -Tascii | less
>
> In general though, you should keep the man page source uncompressed
> while you're working on it and within the port; install it uncompressed
> and leave it to the ports machinery to compress it after installation.
>
>
>

Getting closer but not there yet. Selected man jail to be my example of
macro commands used. Did [gunzip jail.8.gz] and now I have jail.8 file.
How to I convert this file to native macro file that I can edit with ee?

After editing the macro file how to I convert it to format ready to
compress? I want to test it with the man command.

When I do groff -mdoc -Tascii jail.8 | less
I get loads of this message "mdoc warning: Empty input line #xxx.
If I look at man jail screen output I see each message corresponds to a
blank line in the man page. Is this suppose to happen?

------------------------------

Message: 3
Date: Thu, 01 Apr 2010 10:16:02 +0100
From: Matthew Seaman <m.se...@infracaninophile.co.uk>
Subject: Re: How to make "man" pages
To: Fbsd1 <fb...@a1poweruser.com>
Cc: FreeBSD Questions <freebsd-...@freebsd.org>
Message-ID: <4BB46452...@infracaninophile.co.uk>
Content-Type: text/plain; charset=UTF-8

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/04/2010 09:41:59, Fbsd1 wrote:
> Getting closer but not there yet. Selected man jail to be my example of
> macro commands used. Did [gunzip jail.8.gz] and now I have jail.8 file.
> How to I convert this file to native macro file that I can edit with ee?

Ah -- did you copy the right file? /usr/share/man/man8/jail.8.gz should
contain mdoc source, which looks like this:


.\"
.\" Copyright (c) 2000, 2003 Robert N. M. Watson
.\" Copyright (c) 2008 James Gritton
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the

[... copyright statements elided for reasons of space ...]

.\" $FreeBSD: src/usr.sbin/jail/jail.8,v 1.97.2.3 2010/01/23 16:40:35 bz
Exp $
.\"
.Dd January 17, 2010
.Dt JAIL 8
.Os
.Sh NAME
.Nm jail
.Nd "create or modify a system jail"
.Sh SYNOPSIS
.Nm
[...etc...]

No blank lines there. Don't confuse this with the preprocessed version
in /usr/share/man/*cat8*/jail.8.gz

Cheers,

Matthew

- --
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku0ZFIACgkQ8Mjk52CukIxTjACffpWoxOj7/QPl+KgFpxCSIq4z
Yn0AniejXWTWtZZwpgr4RpoIQTF5xMur
=YLBi
-----END PGP SIGNATURE-----


------------------------------

Message: 4
Date: Thu, 01 Apr 2010 17:29:48 +0800
From: Fbsd1 <fb...@a1poweruser.com>
Subject: Re: How to make "man" pages
To: Matthew Seaman <m.se...@infracaninophile.co.uk>
Cc: FreeBSD Questions <freebsd-...@freebsd.org>
Message-ID: <4BB4678C...@a1poweruser.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

Matthew Seaman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 01/04/2010 09:41:59, Fbsd1 wrote:
>> Getting closer but not there yet. Selected man jail to be my example of
>> macro commands used. Did [gunzip jail.8.gz] and now I have jail.8 file.
>> How to I convert this file to native macro file that I can edit with ee?
>
> Ah -- did you copy the right file? /usr/share/man/man8/jail.8.gz should
> contain mdoc source, which looks like this:
>
>
> .\"
> .\" Copyright (c) 2000, 2003 Robert N. M. Watson
> .\" Copyright (c) 2008 James Gritton
> .\" All rights reserved.
> .\"
> .\" Redistribution and use in source and binary forms, with or without
> .\" modification, are permitted provided that the following conditions
> .\" are met:
> .\" 1. Redistributions of source code must retain the above copyright
> .\" notice, this list of conditions and the following disclaimer.
> .\" 2. Redistributions in binary form must reproduce the above copyright
> .\" notice, this list of conditions and the following disclaimer in the
>
> [... copyright statements elided for reasons of space ...]
>
> .\" $FreeBSD: src/usr.sbin/jail/jail.8,v 1.97.2.3 2010/01/23 16:40:35 bz
> Exp $
> .\"
> .Dd January 17, 2010
> .Dt JAIL 8
> .Os
> .Sh NAME
> .Nm jail
> .Nd "create or modify a system jail"
> .Sh SYNOPSIS
> .Nm
> [...etc...]
>
> No blank lines there. Don't confuse this with the preprocessed version
> in /usr/share/man/*cat8*/jail.8.gz
>
> Cheers,
>
> Matthew
>
>
Yep that is the problem. I have no source. I did minimum install.
Is there any way to convert the preprocessed version in
/usr/share/man/*cat8*/jail.8.gz to native macro file.


------------------------------

Message: 5
Date: Thu, 01 Apr 2010 10:33:55 +0100
From: Matthew Seaman <m.se...@infracaninophile.co.uk>
Subject: Re: How to make "man" pages
To: Fbsd1 <fb...@a1poweruser.com>
Cc: FreeBSD Questions <freebsd-...@freebsd.org>
Message-ID: <4BB46883...@infracaninophile.co.uk>
Content-Type: text/plain; charset=UTF-8

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/04/2010 10:29:48, Fbsd1 wrote:
> Yep that is the problem. I have no source. I did minimum install.
> Is there any way to convert the preprocessed version in
> /usr/share/man/*cat8*/jail.8.gz to native macro file.

Download mdoc sources from here:

http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/jail/jail.8

Cheers,

Matthew

- --
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku0aIMACgkQ8Mjk52CukIz2ygCfRoFoguCJuLVbNEH/LodGP6tz
LWoAoIcsP1vs/82Ex4ex6lSloRU5E+wJ
=qQe5
-----END PGP SIGNATURE-----


------------------------------

Message: 6
Date: Thu, 1 Apr 2010 06:34:41 -0400
From: Alejandro Imass <a...@p2ee.org>
Subject: Re: u3g network problem
To: Patrick Lamaiziere <pat...@davenulle.org>
Cc: freebsd-...@freebsd.org
Message-ID:
<m2oa14066a01004010334ua...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Wed, Mar 31, 2010 at 1:12 PM, Patrick Lamaiziere
<pat...@davenulle.org> wrote:
> Le Wed, 31 Mar 2010 08:18:26 -0400,
> Alejandro Imass <a...@p2ee.org> a �crit :
>
>> On Tue, Mar 30, 2010 at 5:27 PM, Patrick Lamaiziere
>> <pat...@davenulle.org> wrote:
>
[...]
>
> I use ppp (wvdial does not seem ported to FreeBSD, is it a Linux only
> program?)
>

I only dial out with my laptop which has Debian on it, and I assumed
that there was a FBSD port. Sorry, about that. I guess you're right,
but it seems odd that it's not ported to FBSD being such a friendly
tool for ppp. I found the sources here: http://alumnit.ca/wiki/?WvDial
but the wvstreams library does not compile right off the bat. Sadly I
don't have the time/need to play with this but if I did I would
definitively try to get it to run on FBSD if it were possible.

Best,
Alejandro Imass


------------------------------

Message: 7
Date: Thu, 1 Apr 2010 06:42:20 -0400
From: Alejandro Imass <a...@p2ee.org>
Subject: Re: skype webcam no device found
To: Chris Whitehouse <cwh...@onetel.com>
Cc: User Questions <freebsd-...@freebsd.org>
Message-ID:
<o2wa14066a01004010342nf...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Wed, Mar 31, 2010 at 6:24 PM, Chris Whitehouse <cwh...@onetel.com> wrote:
> Hi,
>
> I have my webcam setup and working and I can see stuff in pwcview. But
> skype tells me 'no device found' for video.
>

How did you get Skype to run? The current port (in FBSD 8) is pointing
to a file no longer provided by Skype and the linux compat stuff was a
bit confusing when I tried to do it by hand.

> I've tried various combinations of with/without webcamd and pwcview running,
> also as root, _and_ restarting webcamd each time, but no joy.
>
> Any suggestions very gratefully received.
>
> thanks
>
> Chris
>
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"
>


------------------------------

Message: 8
Date: Thu, 1 Apr 2010 12:53:21 +0200
From: Matthias Apitz <gu...@unixarea.de>
Subject: Re: skype webcam no device found
To: Alejandro Imass <a...@p2ee.org>
Cc: User Questions <freebsd-...@freebsd.org>, Chris Whitehouse
<cwh...@onetel.com>
Message-ID: <2010040110...@current.Sisis.de>
Content-Type: text/plain; charset=iso-8859-1

El d�a Thursday, April 01, 2010 a las 06:42:20AM -0400, Alejandro Imass escribi�:

> On Wed, Mar 31, 2010 at 6:24 PM, Chris Whitehouse <cwh...@onetel.com> wrote:
> > Hi,
> >
> > I have my webcam setup and working and I can see stuff in pwcview. But
> > skype tells me 'no device found' for video.
> >
>
> How did you get Skype to run? The current port (in FBSD 8) is pointing
> to a file no longer provided by Skype and the linux compat stuff was a
> bit confusing when I tried to do it by hand.
>
> > I've tried various combinations of with/without webcamd and pwcview running,
> > also as root, _and_ restarting webcamd each time, but no joy.
> >
> > Any suggestions very gratefully received.

Skype from the ports runs fine in:

$ uname -a
FreeBSD current.Sisis.de 8.0-CURRENT FreeBSD 8.0-CURRENT #5: Sun Jan 10 09:55:14 CET 2010 gu...@current.Sisis.de:/usr/obj/usr/src/sys/GENERIC i386
$ pkg_info | fgrep skype
skype-2.0.0.72,1 P2P VoIP software
$

including a webCam based on pwc(4) kernel mod;

matthias

--
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <gu...@unixarea.de> - w http://www.unixarea.de/
Solidarity with the imperialistic Israel? Not in my name!
�Solidaridad con el imperialismo de Israel? �No en mi nombre!


------------------------------

Message: 9
Date: Thu, 1 Apr 2010 13:04:44 +0200
From: Leon Me?ner <l.me...@physik.tu-berlin.de>
Subject: Re: Default labeling and space for rebuilding the kernel.
To: freebsd-...@freebsd.org
Message-ID: <20100401110...@emmi.physik-pool.tu-berlin.de>
Content-Type: text/plain; charset="iso-8859-15"

On Wed, Mar 31, 2010 at 08:34:59AM -0400, Michael Powell wrote:
> Leon Me�ner wrote:
>
> > Hi,
> >
> > if one uses the default labeling with current installer it is not
> > possible to rebuild the kernel (GENERIC). It fails on installing the
> > wlan.ko.
<snip>
> > /: write failed, filesystem is full
> > install: /boot/kernel/wlan.ko.symbols: No space left on device
> [snip]
>
> There has been some discussion lately about possibly changing the defaults.
> If you become faced with having to reinstall jot down your current partition
> sizes and adjust manually making / larger.

On production machines i have some 2G. This was just an as fast as
possible installation.

> Since it is full, if you intend to try and recover it will entail deleting
> something. This could get tricky, especially if the new 'kernel' space is
> what filled up. This would presuppose that the kernel.old area was already
> written out successfully. If the machine will not boot successfully with the
> new kernel it is imperative that kernel.old still be healthy in order to
> recover. However, if the new kernel does actually boot, with the result
> being that some modules are missing you may be able to delete the kernel.old
> in order to buy space. Messing around with this can potentially be
> problematic, for obvious reasons. A strong 'YMMV' is indicated here.

I just went the easy way and moved the old kernel away from / . I
wouldn't have done so if this machine would be very critical though.

> If you can get past that, you may be able to mitigate the / being too small.
> Place STRIP= -s into /etc/make.conf and WITHOUT_PROFILE= true into
> /etc/src.conf. The con of this is that you lose some debugging ability. The
> pro is new kernels will now fit. I have two servers set up this way at home,
> and one uses 91MB while the other uses 93MB of space. The 91MB one only has
> a / of 200MB total, and is nearly half empty. Allows for rebuilding and
> installing a new kernel without running out of space.

Hm, never used this file. Looks like it was introduced in FBSD7
somewhere. Looks reasonable to split parameters for /usr/src into a
different file than /etc/make.conf

thanks,
Leon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100401/6d32f805/attachment-0001.pgp

------------------------------

Message: 10
Date: Thu, 01 Apr 2010 13:16:05 +0200
From: Christoph Kukulies <ku...@kukulies.org>
Subject: FreeBSD splash screen - freezes my Dell Inspiron 9400
To: "freebsd-...@freebsd.org" <freebsd-...@freebsd.org>
Message-ID: <4BB48075...@kukulies.org>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed

I'm observing the following with 8.0 Release:

Just for fun I installed a FreeBSD splash screen "The Power to Serve"
with the abstracted little demon.
As long as the vidcontrol screen saver (not X11, I'm not running X11 at
present) has not fired the first time,
everything is fine - I can work in alphanumeric mode.

But when I leave the computer unattended for a while so that the
screensaver switches to darken/blank the screen
the first time, the machine freezes or at least cannot be woken up again
so that the character screen shows up again.

Anyone seen this or having a clue?

Also not sure whether it is a splash screen issue at all, butr I thought
so, since it would have come up earlier otherwise.

--
Christoph Kukulies

------------------------------

Message: 11
Date: Thu, 1 Apr 2010 07:22:56 -0400
From: Alejandro Imass <a...@p2ee.org>
Subject: Re: skype webcam no device found
To: Matthias Apitz <gu...@unixarea.de>
Cc: User Questions <freebsd-...@freebsd.org>, Chris Whitehouse
<cwh...@onetel.com>
Message-ID:
<s2xa14066a01004010422vd...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Apr 1, 2010 at 6:53 AM, Matthias Apitz <gu...@unixarea.de> wrote:
> El d�a Thursday, April 01, 2010 a las 06:42:20AM -0400, Alejandro Imass escribi�:
>
>> On Wed, Mar 31, 2010 at 6:24 PM, Chris Whitehouse <cwh...@onetel.com> wrote:
>> > Hi,
>> >
>> > I have my webcam setup and working and I can see stuff in pwcview. But
>> > skype tells me 'no device found' for video.
>> >
>>
>> How did you get Skype to run? The current port (in FBSD 8) is pointing
>> to a file no longer provided by Skype and the linux compat stuff was a
>> bit confusing when I tried to do it by hand.
>>
>> > I've tried various combinations of with/without webcamd and pwcview running,
>> > also as root, _and_ restarting webcamd each time, but no joy.
>> >
>> > Any suggestions very gratefully received.
>
> Skype from the ports runs fine in:
>
> $ uname -a
> FreeBSD current.Sisis.de 8.0-CURRENT FreeBSD 8.0-CURRENT #5: Sun Jan 10 09:55:14 CET 2010 � � gu...@current.Sisis.de:/usr/obj/usr/src/sys/GENERIC i386
> $ pkg_info | fgrep skype
> skype-2.0.0.72,1 � �P2P VoIP software
> $
>
> including a webCam based on pwc(4) kernel mod;
>
> � � � �matthias
>

Well not in my system:

lucifer# uname -a
FreeBSD lucifer.yabarana.com 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat
Nov 21 15:02:08 UTC 2009
ro...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


lucifer# make install clean
===> Vulnerability check disabled, database not found

* * * * * * * * * * * * * * * * * * * * * * * * * * * *
ATTENTION!

Skype requires at least linux_base-fc6
which is NOT default at this time.
If you don't have that version or above installed,
hit 'control c' now!

Please read /usr/ports/UPDATING 20080318
for update and install instructions.
* * * * * * * * * * * * * * * * * * * * * * * * * * * *

=> skype_static-2.0.0.72-oss.tar.bz2 doesn't seem to exist in
/usr/ports/distfiles/.
=> Attempting to fetch from http://download.skype.com/linux/.
fetch: http://download.skype.com/linux/skype_static-2.0.0.72-oss.tar.bz2:
Not Found
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/skype_static-2.0.0.72-oss.tar.bz2:
File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/net/skype.


Best,
Alejandro Imass

> --
> Matthias Apitz
> t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
> e <gu...@unixarea.de> - w http://www.unixarea.de/
> Solidarity with the imperialistic Israel? � �Not in my �name!
> �Solidaridad con el imperialismo de Israel? �No en mi nombre!
>


------------------------------

Message: 12
Date: Thu, 1 Apr 2010 08:38:19 -0300
From: Paul Halliday <paul.h...@gmail.com>
Subject: Re: panic: sleeping thread
To: ques...@freebsd.org
Message-ID:
<m2h2dab70a31004010438n3...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

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

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

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


------------------------------


End of freebsd-questions Digest, Vol 304, Issue 8
*************************************************

0 new messages