Pokala, Ravi | 3 Sep 00:13 2015

Quick question: sc(4) vs vt(4)

Hi folks,

vt(4) says:

     kern.vty
             Set this value to `vt' or `sc' to override the default driver
             used for the system console.  By default, sc(4) is used on
com-
             puters that boot from BIOS, and vt is used on computers that
boot
             from UEFI.

Are there any known problems using vt(4) rather than sc(4) on systems
booting with BIOS? One of our folks noticed that sc(4) has a bunch of
dependencies, a bunch of which that are for obsolete hardware (AT
keyboards and their controllers, splash screens, etc), that vt(4) does not.

Thanks,

Ravi

_______________________________________________
freebsd-hackers <at> freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe <at> freebsd.org"

Stefan Bethke | 1 Sep 12:47 2015
Picon

Which HDMI stick for info display?

I'm about to set up a TV as kind of a public info display, and I'm wondering what hardware might be best suited.

The system will show web pages using Chrome (remote controlled through chromedriver), so the hardware
requirements are moderate.  I think I need a system that:
- can drive 1920x1080 through HDMI
- can run Chrome smoothly for most web pages
- has good stability:
  - working watchdog
  - will turn on automatically after a power outage
  - will turn on when the TV is turned on
- stable Wifi as primary network connection
- can ideally play h264 video in Chrome without issues
- decent mounting option behind a wall-mounted TV

Since I will usually only be able to touch the system remotely, system stability and Wifi/network
stability are really important.

The Intel Compute Stick seems to be an obvious contender, also a NUC. Has anyone had practical experience
with such a system and can recommend hardware? ARM or MIPS are also acceptable, as long as the driver
situation is OK.

Quality is the major concern, price not so much (budget is about $500).

Thanks,
Stefan

--

-- 
Stefan Bethke <stb <at> lassitu.de>   Fon +49 151 14070811

_______________________________________________
(Continue reading)

Picon

GPL issues around OFED code in FreeBSD 9.1

[Sorry for cross posting]

Hi,

We are working on a product(FreeBSD based) that would require RDMA over iWARP and are considering using the
OFED stack in FreeBSD 9.1.
We will be making some changes to the OFED stack to customize it to our requirements.

The concern is regarding the implications of GPL licensing of OFED on our code base.
Has anyone worked with OFED in FreeBSD and/or is aware of the licensing issues around it?

Thanks in advance for your help.

Please include me in your replies as I am not subscribed to these lists.

Thanks,
Hrishi

_______________________________________________
freebsd-hackers <at> freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe <at> freebsd.org"

Larry Maloney | 31 Aug 09:54 2015

Hi!

Well, after years of wondering what you guys meant by "on the mailing
list", I finally found out. :)

WOOT! :)

/Larry

--

-- 
Thank you!

Larry P. Maloney, "Come to the Dojo."
Become a member: http://signup.hackerdojo.com/
-------------------------------------------------------------
LinkedIn: http://www.linkedin.com/in/larrymaloney
Cell: 408-893-0294
_______________________________________________
freebsd-hackers <at> freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe <at> freebsd.org"

David Wolfskill | 31 Aug 05:06 2015

Puzzle involving serial console and ...??!?

I may be going mad -- that's likely the simplest explanation, and
Occam's Razor would thus indicate that this hypothesis should be
accorded a degree of plausibility, at least.

As described in <http://www.catwhisker.org/~david/FreeBSD/upgrade.html>,
I have my own quirky ways of upgrading FreeBSD systems, the basics
of which remain fundamentally unchanged for the last dozen years
(well, a few more than that, but...).  In turn, much of that approach
was borrowed from one of my pre-FreeBSD experiences in an IBM
mainframe environment (as a "systems programmer").

What's causing me to question my tenuous grasp of reality is this:
Referencing the above-cited Web page, my build machine ("freebeast")
normally runs headless, and I use a cable to connect its serial
port to the serial port of one of my other machines ("albert").

By doing so, I have a working serial console (once the FreeBSD
loader gains control from the BIOS, at least)... half the time.

I have determined that whether or not I have a functioning serial
console for freebeast depends on whether I boot albert from slice
1 or slice 2:  if from slice 1, it doesn't work; if from slice 2,
it does.

Even when the contents of the 2 slices are functionally equivalent
(that is, the file systems of the 2 slices are as "the same" as a
"dump 0Lf | restore" pipeline can make them, except for a deliberate
difference in the contents of /etc/fstab (as the root and /usr file
systems are on different slices in the two cases)).

(Continue reading)

Vladimir Laskov | 30 Aug 08:17 2015
Picon

Freeze during boot process on Intel S1200RP Board

Hello, All.

I have a problem on Intel S1200RP Board.

boot process is freeze on boot stage

how to repeat?

1. launch system reboot
2. wait to start kernel initialization stage
3. system freeze on kernel initialization stage

screenshot here
http://oi62.tinypic.com/33d8jz5.jpg

please help me

P.S.  - if i reset system and boot linux, freebsd start without freeze

--
Vladimir Laskov
_______________________________________________
freebsd-hackers <at> freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe <at> freebsd.org"

Pavel Timofeev | 27 Aug 15:21 2015
Picon

How to control and setup service?

Hi! Good day!

let me declare something first:
HOPE="I just should know about that dir/sruff and hope that nothing
will change in future releases";

I'm trying to write some automation code to manipulate services.
There is no problem with installing service, I can just use pkg(8) to
search/install/remove service.
Like following:
# pkg install mysql56-server
No problem. pkg(8) covers pretty much everything.

But I have problems with starting and enabling services.

Ok, to start a service we have rc scripts. If it's a base system
service then it has rc script in /etc/rc.d dir.
If a service is installed from packages (ports) then an rc script is
in /usr/local/etc/rc.d dir.
So, first, I should check one dir then another. But how can I be sure
I'm looking in right directories?
Is there any way to ask FreeBSD "Hey! Where is you startup dirs?". I'd
say yes, but only partially.

/etc/rc.d dir is hardcoded everywhere. So $HOPE, which is not good IMO.

"/usr/local/etc/rc.d" is ${local_startup} var which is defined in
/etc/defaults/rc.conf.
I can actually ask FreeBSD about that by calling:
# sh -c '. /etc/rc.subr; load_rc_config "XXX"; echo $local_startup'
(Continue reading)

Picon

Get pci slot number in driver

Is it possible to find out the pci slot number on which the card is mounted in driver? I tried pci_get_slot but
it's always 0.Any ideas about doing this?
regards
_______________________________________________
freebsd-hackers <at> freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe <at> freebsd.org"

Slawa Olhovchenkov | 24 Aug 00:13 2015
Picon

How to application sample profiling?

I have multi-thread application fully utilise all CPU cores.
I am need to determine lines give mostly CPU loads.
How I can do this?

`pmcstat -P BU_CPU_CLK_UNHALTED -t application_pid -n 500000 -O sample.out`
consume to many CPU (performance drop x100 times) and mostly show
himself in kernel and pmc locks and none for application.
pmcstat -S BU_CPU_CLK_UNHALTED -- same here.

_______________________________________________
freebsd-hackers <at> freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe <at> freebsd.org"

Kurt Lidl | 20 Aug 15:34 2015
Picon

casperd default listen qlen

Greetings all.

A couple of months ago, we ran across a problem where the default
socket listen queue length in casperd was causing issues with
an application.

I increased the qlen to 16, which addressed the immediate problem,
and implemented a command line switch that allows the user to set
the length.

The problem report and patch are here:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202147

Could someone please review the patch?  I would like to see
this get committed so everyone can benefit from the change.

Thanks.

-Kurt
_______________________________________________
freebsd-hackers <at> freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe <at> freebsd.org"

Yuri | 18 Aug 21:41 2015

System briefly freezes every time when a very large UFS directory is filled with files

I have one directory that has ~1.2M files on UFS system.
Every time when the process that creates files there reaches a 
particular point (~0.9M files), system invariably freezes for ~10 
seconds, after which it continues and process succeeds.

I know that this is quite an extreme number of files but, other than 
this problem, it is usable in this setup.

Maybe someone can think of some fix or the immediate reason of such 
freezes? This isn't a good problem to have, even in the view of an 
extremity of this situation.

Yuri
_______________________________________________
freebsd-hackers <at> freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe <at> freebsd.org"


Gmane