Re: Disappointing dependency introduced in 9.1 (from 8-STABLE)

2013-09-11 Thread Matthew Seaman
On 12/09/2013 05:53, Michael Sierchio wrote:
> Because I build a lot of embedded devices with serial consoles, I was in
> the habit of hacking /boot/loader by commenting out a line in a Makefile
> that enables terminal emulation
> 
> /sys/boot/i386/libi386/Makefile:
> 
> #CFLAGS+= -DTERM_EMU
> 
> and then in /sys/boot doing a make clean && make
> 
> unfortunately, with 9.X, this breaks the compile.  It seems a dependency
> was introduced which requires the videoconsole code.  I find this extremely
> irritating.  Of course, there's nothing to stop me (at the moment) from
> compiling loader under 8-STABLE and installing it on 9.1 machines, but...
> 
> Is there a better way now to stop the cursor from scribbling illegibly
> across the screen?

Hmmm... normally you should be controlling build options by setting
WITH_FOO style flags in /etc/src.conf, although I can't see anything
obviously relevant in src.conf(5).

Did you raise a PR about this?  Requesting a means to have a loader that
only works via a serial console sounds like something that should be
supported.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matt...@infracaninophile.co.uk



signature.asc
Description: OpenPGP digital signature


Re: Shared object "libaprutil-1.so.4" not found, required by "libserf-1.so.0"

2013-09-11 Thread Matthew Seaman
On 11/09/2013 21:03, Antonio Olivares wrote:
> [Info  19:57:22] Updating 'freebsd_texlive' source ports tree with method 
> 'svn'.
> Shared object "libaprutil-1.so.4" not found, required by "libserf-1.so.0"
> [Error 19:57:22] Subversion update failed.
> [Error 19:57:22] Failed to update the 'freebsd_texlive' ports tree.

Yeah -- you need to update or install the package that provides
libaprutil-1.so.  If you're using pkg(8) against a package repository
rather than compiling your own, you could use:

pkg check -d subversion-1.8.3

For portmaster dependencies should be auto-updated when you run

portmaster devel/subversion

It might be useful to run

portmaster --force-config -f devel/subversion

so you can recheck all the options settings of dependencies, but this
will rebuild portmaster and everything it depends on.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matt...@infracaninophile.co.uk



signature.asc
Description: OpenPGP digital signature


Disappointing dependency introduced in 9.1 (from 8-STABLE)

2013-09-11 Thread Michael Sierchio
Because I build a lot of embedded devices with serial consoles, I was in
the habit of hacking /boot/loader by commenting out a line in a Makefile
that enables terminal emulation

/sys/boot/i386/libi386/Makefile:

#CFLAGS+= -DTERM_EMU

and then in /sys/boot doing a make clean && make

unfortunately, with 9.X, this breaks the compile.  It seems a dependency
was introduced which requires the videoconsole code.  I find this extremely
irritating.  Of course, there's nothing to stop me (at the moment) from
compiling loader under 8-STABLE and installing it on 9.1 machines, but...

Is there a better way now to stop the cursor from scribbling illegibly
across the screen?

- M
___
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"


PF_xxx or AF_xxx? comment of dom_family in sys/uipc_domain.h

2013-09-11 Thread Masato Asou
Hi,

I have a little question.
In manual SOCKET(2) describes as follows.

 The domain argument specifies a communications domain within which commu-
 nication will take place; this selects the protocol family which should
 be used.  These families are defined in the include file .
 The currently understood formats are:

   PF_LOCALHost-internal protocols, formerly called PF_UNIX,
   PF_UNIX Host-internal protocols, deprecated, use PF_LOCAL,
   PF_INET Internet version 4 protocols,

However, comment of dom_fammily in /usr/src/sys/sys/uipc_domain.h as
follows.

struct domain {
int dom_family; /* AF_xxx */

The dom_fammily was used in function /usr/src/sys/kern/uipc_domain.c:
pffindtype() as follows.

struct protosw *
pffindtype(int family, int type)
{
struct domain *dp;
struct protosw *pr;

for (dp = domains; dp; dp = dp->dom_next)
if (dp->dom_family == family)
goto found;

The argument domain of SOCKET(2) passed to the argument family of
function pffindtype().  If SOCKET(2) is correct, described as
/* PF_xxx */ instead /* AF_xxx */ in sys/uipc_domain.h?

I know PF_xxx is equals AF_xxx defined in sys/socket.h.
I don't believe this is serious mistake. 
Regards,
--
ASOU Masato
___
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: Disk Organization

2013-09-11 Thread Warren Block

On Wed, 11 Sep 2013, Gmail (tzoi516) wrote:


The FreeBSD Handbook is a great source. Will section 4.5 be updated to reflect 
and amplify on the information in 2.7? I didn't realize 4.5 was MBR specific 
initially. Thanks.


The MBR-specific information in that section and the rest of the 
Handbook needs to be factored out into a disk storage section.  I've 
proposed this:

http://lists.freebsd.org/pipermail/freebsd-doc/2013-July/022326.html

It's a big project, and only a few things have been done so far.
___
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"


Shared object "libaprutil-1.so.4" not found, required by "libserf-1.so.0"

2013-09-11 Thread Antonio Olivares
Dear folks,

I am having problems with subject line.  I have to fix error by
reinstalling subversion, but it keeps coming back with this error
message.

Shared object "libaprutil-1.so.4" not found, required by "libserf-1.so.0"


===>>> Returning to list of ports depending on subversion-1.8.3

===>>> Updating done for ports that depend on subversion-1.8.3

===>>> The following actions were performed:
Re-installation of subversion-1.8.3
Re-installation of portshaker-1.0.8
Re-installation of portshaker-config-1.0.8

===>>> Exiting

I did a

#  portmaster -d -r subversion

I configured subversion to use serf because I am used to freebsd_texlive_*

I run to update and I get

[Info  19:57:22] Updating 'freebsd_texlive' source ports tree with method 'svn'.
Shared object "libaprutil-1.so.4" not found, required by "libserf-1.so.0"
[Error 19:57:22] Subversion update failed.
[Error 19:57:22] Failed to update the 'freebsd_texlive' ports tree.

machine has not been updated since 05/27, I read entry:

20130619:
  AFFECTS: users of devel/subversion
  AUTHOR: oha...@freebsd.org

  devel/subversion has been upgraded from 1.7.10 to 1.8.0

  If you want to upgrade, and use http/https access to repositories,
  please check, that the SERF option is enabled, as NEON support
  is gone. Also, mod_dontdothat and svnauthz_validate are
  now enabled with one option TOOLS, among other new tools
  and SVNMUCC is enabled always.

  subversion-1.7.x is available as devel/subversion17

  To stay on subversion-1.7.x set in /etc/make.conf
  WITH_SUBVERSION_VER=17
  and use the following command

  # pkg set -o devel/subversion:devel/subversion17

  or

  # portmaster -o devel/subversion17 devel/subversion


I configured subversion to use serf option and tried it.

Thanks for advice/ideas & suggestions.

Best Regards,


Antonio
___
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"


Fw: ttys file question

2013-09-11 Thread Jack Mc Lauren
I have added the following entry to /etc/gettytab file


test.std.115200:\
:ep:sp#4800:tc:Pc

And also I have changed /etc/ttys file

cuau3   "/usr/libexec/getty test.std.115200"    cons25  on secure

I expect /dev/cuau3 device to use even parity and 4800 as speed, but when I 
check the device properties using stty -f /dev/cuau3, only speed changes to 
4800 and parity value does not change.

Here's the output of stty -f /dev/cuau3 after applying the changes using kill 
-HUP 1 command.


speed 4800 baud;
lflags: -icanon -isig -iexten -echo
iflags: -icrnl -ixon -ixany -imaxbel -brkint
oflags: -opost tab3
cflags: cs8 -parenb
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: question

2013-09-11 Thread Polytropon
On Wed, 11 Sep 2013 09:41:31 +0200, Pawel Sulewski wrote:
> How to recognize kernel panic and dump memory state onto USB device using C
> language?

The kernel has its own crash handling and will initiate the
writing of the proper image automatically. It will be stored
on the partition designated by the /etc/rc.conf setting
dumpdev="", usually a swap partition, and at next
boot time that image will be written to a file in /var/crash,
if nothing else has been defined with dumpdir=""
(same file; see "man rc.conf" and /etc/defaults/rc.conf for
details). If you want to coredump to a USB device, you need
to configure this accordingly.

You can find more information about this topic in the following
manual pages: "man 2 sigaction", "man 8 crash", and "man 5 core".






-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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"


Disk Organization

2013-09-11 Thread Gmail (tzoi516)
The FreeBSD Handbook is a great source. Will section 4.5 be updated to reflect 
and amplify on the information in 2.7? I didn't realize 4.5 was MBR specific 
initially. Thanks.

Mike Henze


signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: supported desktops

2013-09-11 Thread atar

Thanks!
___
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: supported desktops

2013-09-11 Thread Adam Vande More
On Wed, Sep 11, 2013 at 11:30 AM, atar  wrote:

> hi there!!
>
> just wanted to know please which desktops environments are supported by
> freeBSD.
>

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html

-- 
Adam Vande More
___
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"


supported desktops

2013-09-11 Thread atar

hi there!!

just wanted to know please which desktops environments are supported by  
freeBSD.

___
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"


ttys file question

2013-09-11 Thread Jack Mc Lauren
I have added the following entry to /etc/gettytab file

test.std.115200:\
:ep:sp#4800:tc:Pc

And also I have changed /etc/ttys file

cuau3   "/usr/libexec/getty test.std.115200"cons25  on secure

I expect /dev/cuau3 device to use even parity and 4800 as speed, but when I 
check the device properties using stty -f /dev/cuau3, only speed changes to 
4800 and parity value does not change.

Here's the output of stty -f /dev/cuau3 after applying the changes using kill 
-HUP 1 command.


speed 4800 baud;
lflags: -icanon -isig -iexten -echo
iflags: -icrnl -ixon -ixany -imaxbel -brkint
oflags: -opost tab3
cflags: cs8 -parenb
___
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"


question

2013-09-11 Thread Pawel Sulewski
Hello,

 

I have read through documentation and didn't find answer for my issue.

The issue is:

 

How to recognize kernel panic and dump memory state onto USB device using C
language?

 

It would be great if I get the answer.

 

Regards,

 

cid:image001.png@01CE518C.41DEB9F0

 

Paweł Sulewski

Samsung R&D Institute Poland

Samsung Electronics

  p.sulew...@samsung.com

 

___
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: Proper way to share ZFS via NFS

2013-09-11 Thread krad
point taken brain not properly booted up this morning it seems


On 11 September 2013 07:59, Matthias Gamsjager  wrote:

>
> Offtopic but since when is it ok the behave like this in the freebsd
> mailing list. Really no need to get personal...
>
>
> On Wed, Sep 11, 2013 at 8:50 AM, krad  wrote:
>
>> If you cant cope with multiple operating systems and their differences you
>> are probably in the wrong job.
>>
>>
>> On 10 September 2013 19:39, Steve O'Hara-Smith  wrote:
>>
>> > On Tue, 10 Sep 2013 12:10:13 +0100
>> > krad  wrote:
>> >
>> > > which is why you shouldnt use /etc/exports for zfs datasets. Just
>> because
>> >
>> > Not so clear, if you are using a mixture of filesystems you may
>> > very sensibly opt to keep all your export controls in one place,
>> similarly
>> > if you have servers running multiple OSs then not having to remember
>> that
>> > the FreeBSD/ZFS box manages it's exports differently to the Linux/ext2fs
>> > may well be a benefit. You may have management tools and not wish to
>> extend
>> > them to handle ZFS explicitly.
>> >
>> > There can be good reasons both ways.
>> >
>> > --
>> > Steve O'Hara-Smith  |   Directable Mirror Arrays
>> > C:>WIN  | A better way to focus the
>> sun
>> > The computer obeys and wins.|licences available see
>> > You lose and Bill collects. |http://www.sohara.org/
>> >
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "
>> freebsd-questions-unsubscr...@freebsd.org"
>>
>
>
___
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: Proper way to share ZFS via NFS

2013-09-11 Thread Matthias Gamsjager
Offtopic but since when is it ok the behave like this in the freebsd
mailing list. Really no need to get personal...


On Wed, Sep 11, 2013 at 8:50 AM, krad  wrote:

> If you cant cope with multiple operating systems and their differences you
> are probably in the wrong job.
>
>
> On 10 September 2013 19:39, Steve O'Hara-Smith  wrote:
>
> > On Tue, 10 Sep 2013 12:10:13 +0100
> > krad  wrote:
> >
> > > which is why you shouldnt use /etc/exports for zfs datasets. Just
> because
> >
> > Not so clear, if you are using a mixture of filesystems you may
> > very sensibly opt to keep all your export controls in one place,
> similarly
> > if you have servers running multiple OSs then not having to remember that
> > the FreeBSD/ZFS box manages it's exports differently to the Linux/ext2fs
> > may well be a benefit. You may have management tools and not wish to
> extend
> > them to handle ZFS explicitly.
> >
> > There can be good reasons both ways.
> >
> > --
> > Steve O'Hara-Smith  |   Directable Mirror Arrays
> > C:>WIN  | A better way to focus the
> sun
> > The computer obeys and wins.|licences available see
> > You lose and Bill collects. |http://www.sohara.org/
> >
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>
___
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"