archive-org.com » ORG » N » NETBSD.ORG

Total: 1243

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Kyua: An introduction for NetBSD users
    programs are those that just return 0 or non 0 to indicate the success or failure of the test respectively This feature will allow the NetBSD test suite to transparently execute third party test suites such as the IPF or GCC test suites without having to implement ATF based wrappers It will also lower the barrier of entry to writing test programs for NetBSD as using the ATF libraries will become optional These interfaces are implemented as independent binaries called testers that are fully scriptable The testers are provided in the kyua testers package The idea behind having these as independent programs is to restrict the OS specific code to a small subset of Kyua written in C and thus to allow the higher level layers to be written in other languages possibly Lua Lua configuration files Kyua has two kind of configuration files the Kyuafiles which are the files shipped with a test suite that describe what test programs need to be run and the user configuration files which specify the run time settings of Kyua and the test suites ATF had this same split of configuration files and they were written in a custom language with a custom parser The Kyua configuration files are all Lua scripts The major advantage of this at the moment is that their syntax will be familiar to end users and that the parser for these files is well tested In the future the use of Lua will allow the implementation of more intelligent test and maybe even build scripts Direct HTML output All of the NetBSD continous build and testing systems provide status reports through the releng web interface In the case of ATF this has traditionally been tricky because ATF cannot generate HTML contents directly instead atf report generates XML output which later must be postprocessed with xsltproc to create the HTML pages Kyua has the ability to generate HTML reports straight from the tool without having to go through any XML toolchain This means that NetBSD out of the box can generate such reports and publish them with the builtin httpd 8 server Heavier code base If you take a look at the Kyua distribution file you may notice that it is about the same size as the distribution file of ATF yet Kyua does not currently replace the ATF libraries This may be surprising because it seems to imply that the codebase of Kyua is bigger because it just reimplements atf run and atf report i e by just reimplementing parts of ATF it is already as big as the whole of ATF This is true for two reasons The first is that Kyua is more featureful and flexible the features outlined above have a cost in terms of implementation and the codebase of Kyua is more carefully crafted to allow for later growth In particular all OS specific details have been abstracted for easier portability and the SQLite and Lua libraries have been wrapped for safety The second

    Original URL path: http://wiki.netbsd.org/kyua/ (2016-02-01)
    Open archived version from archive


  • Kyua: The way into NetBSD
    approval Even though this will have been discussed at length in tech userlevel as per the previous step the final decider on this issue will be core The corollary of this is that if no consensus can be reached in tech userlevel regarding this plan core will be asked to come up with a decision If core approves the plan the next steps shall start immediately If core disagrees core will be asked to provide advice on the corrections that should be made before the plan can be approved It is hard to tell how long this step will last but possibly account for 2 to 4 weeks Address feedback as a new release Publish a new Kyua release that collects all the feedback from the reviews above The list of issues to be addressed can be found by querying the bug tracker In particular the following are the issues that have arisen from the review Issue 36 Fix the help command to not fail if the configuration file is bogus DONE Issue 37 Simplify the syntax definition of configuration and Kyuafile files by removing the format name DONE Issue 40 Provide manpages instead of an info document DONE Issue 47 Implement independent testers which reduces the amount of C code and avoids the need of modifying bsd dep mk DONE Issue 57 Generalized support for all metadata properties to plain test programs This is to make plain test programs more versatile by bringing them closer to feature parity with ATF test programs DONE Import Kyua into src As the introductory page to Kyua describes Kyua has been available in pkgsrc for a while and can be readily installed and used to run the tests from usr tests However because ATF lives in src and because NetBSD aims to provide the best environment for testing out of the box Kyua should be imported into src just like ATF was The major reasons for this as have been explained in the past are first to allow any new deployment of NetBSD to be validated right after installation and continuously afterwards and second to permit the execution of tests during development without having to install any additional software The specific steps to perform this import are Import Lutok into external bsd lutok This is a shared library that wraps the native Lua C interface in C Lutok was originally part of Kyua and was split into its own package per the request of some users that found this component useful on its own Import the Kyua testers into external bsd kyua testers This yields two new binaries in usr libexec kyua atf tester and kyua plain tester and a bunch of tests in usr tests kyua testers Import the Kyua frontend into external bsd kyua cli This yields a new kyua binary in usr bin a lot of test programs in usr tests kyua cli around 100 and some auxiliary files in usr share kyua Protect all products of Lutok and Kyua with a new MKKYUA knob Set MKKYUA no by default Once the ATF tools are removed the existence of both the MKATF and MKKYUA knows will probably be confusing When that happens we can revisit this decision by possibly replacing both with an MKTESTS Update bsd test mk to generate Kyuafile s in addition to Atffile s There is no real need to do this import in a branch given that this import only adds new functionality without touching existing stuff and the new code is disabled by default All the preparatory work for the import can be done offline in about two weeks at most given that I have mot of this ready Aside from the code changes this will involve the validation of NetBSD amd64 NetBSD i386 and NetBSD macppc builds which are the ports I have access to If you consider that some other tricky architecture should be build tested sparc64 let me know and I ll include it in the list The submission to CVS will be prepared locally and performed on a package basis i e lutok kyua testers and kyua cli in this order These are to be imported separately to simplify the review of the changes and to allow me to better test every individual change locally There may be an arbitrary amount of time between the submission of each package this should not be a problem because these modules are still disabled due to MKKYUA being set to no by default Adjust continuous testing systems to use Kyua With kyua being part of the release sets it is possible to adjust the continuous test systems to make use of this tool in the test environments without having to take any additional step I ll work with gson and pgoyette to adapt their continuous testing machines to use the new built in kyua binary instead of atf run and atf report I m planning to do the necessary work to change anita myself and I expect to help them deploy the changes to their own systems Because Kyua and ATF will cohexist in the base system at this point migrating the continuous testing systems to Kyua can happen at its own peace It might happen that Kyua misses some little detail needed by these systems In that case this may require a new release of Kyua and a reimport into the tree Incremental imports with new features are much easier than the original import described in here Also it will be possible to cherry pick any external changes into the tree without a reimport as has often been done in ATF This step can take a few weeks of time mostly due to the back and forth between different people in different timezones Flip MKKYUA to yes The previous steps imported Kyua but didn t enable its build by default so that proper testing can be performed by the only people that care Once basic testing particularly build testing on a variety of

    Original URL path: http://wiki.netbsd.org/kyua/import/ (2016-02-01)
    Open archived version from archive

  • laptops
    current on MacBook Air 11 inch mid 2012 Dell Dell Latitude D610 NetBSD i386 5 0 0 Audio works i82801FB ICH6 Wireless with iwi vendor 0x8086 product 0x4220 For X11 using xf86 video intel 2 2 1nb1 package Fujitsu Fujitsu FMV BIBLO LOOX P70WN NetBSD i386 5 99 55 Wireless with wpi works properly only when ACPI is disabled with boot netbsd 2 HP Hewlett Packard HP nc6120 5 1 did not have a working X Almost everything works with current sound wireless X11 Did not try resume suspend Did not try the memory card slot recently 5 1 and current have wired ethernet stability problems It gets watchdog timeouts and resets X11 has a stability problem where a program can make total garbage on the screen except the mouse pointer and lock up the server Repeatable with a certain image viewer which shows very big images The machine does not freeze power off button powers down smoothly but can not switch consoles to try to kill the X server HP Pavilion laptop dv9750 NetBSD 5 1 audio webcam Ethernet kb touchpad work fine Broadcom Wireless 4312 does not work HP ProBook 4310s NetBSD i386 5 99 55 Audio works ADI AD1984A Wireless with iwn vendor 0x8086 product 0x4232 No ethernet vendor 0x11ab product 0x436c SDHC at sd Bluetooth Doesn t work with NetBSD 5 IBM Lenovo ThinkPad T22 Works perfect sound display all devices infrared port not tested ThinkPad T61 Used it since NetBSD 4 x With Intel GMA X works great In netbsd 5 there is a patch to make trackpoint touchpad initialize correctly Requires hdaudio 4 instead of azalia 4 to make headphones work Cardbus port doesn t work properly Expresscard not tested tried Lenovo ThinkPad T61p Following current for the last 18 months or so 2012 12 As close to perfect as one gets Suspend resume didn t work at the time not tried it since Lenovo ThinkPad T500 in the version with ATI graphics Has a tendency to run hot and then to not reboot cleanly gets stuck after printing the mainbus line at boot 5min off for cool down usually fix this This doesn t usually occur when only the Intel on board graphics get used No known errors while running ThinkPad X60s Everything works Requires PCI BUS FIXUP and PCI ADDR FIXUP options 4 ThinkPad X41 Works fine sound display all devices bluetooth modem not tested Standby is broken for me in current 2012 01 12 but worked in 5 1 ThinkPad X61s Everything works Requires PCI BUS FIXUP and PCI ADDR FIXUP options 4 Thinkpad X201 Running current since March 2011 Working graphics with the vesa driver audio trackpoint wired and wireless LAN Does not wake up after suspend drives spin up but the display stays black and the LED indicating a sleep state stays lit Lenovo ThinkPad Edge E130 With NetBSD amd64 6 0 Bluetooth adapter is recognized as ugen0 should be patched like MacBook Air mid 2012 11 inch s

    Original URL path: http://wiki.netbsd.org/laptops/ (2016-02-01)
    Open archived version from archive

  • light-desktop
    of this it has very low hardware requirements The goal is to provide a consistent standard desktop that is tuned for NetBSD and supported and maintained by NetBSD Lubuntu s desktop was chosen because It works for a known audience Ubuntu s popularity contest shows 16037 installations and 2779 very recent uses It is a simpler case than maintaining Gnome KDE or XFce It is considered lightweight versus more popular alternatives By using outsider s choices it alleviates bikesheds Let s stay with this decision for at least six months No bikeshedding until mid November 2012 The two main packages in pkgsrc wip include netbsd light desktop default settings this provides NetBSD themed default configurations and startup script light desktop meta package to bring in the entire environment The main components lxsession LXDE session manager and Xsettings daemon lxpanel menu taskbar launcher and notification area openbox window manager pcmanfm file manager that also manages icons on desktop The meta package has many dependencies even though it is called light It uses cups foomatic filters dbus abiword dejavu ttf liberation ttf elementary icon theme leafpad xpad audacious gnome system tools no GNOME libraries evince file roller gnumeric galculator scrot pidgin and

    Original URL path: http://wiki.netbsd.org/light-desktop/ (2016-02-01)
    Open archived version from archive

  • light-desktop-todo
    files too The key tasks to do now are update pcmanfm currently using wip version but has bugs include all on a LiveCD GUI around pkgin complete the netbsd light desktop artwork package complete the netbsd icon theme package split nautilus into nautilus extensions which is used by gnome system tools test the gnome system tools including superuser access via GUI test system config printer gnome package guvcview but is very Linux specific so test mplayer or xine with tv package chromium use firefox for now package software properties gtk package xfburn port simple scan it uses udev or find alternative package xfce4 power manager or alternative package network manager gnome or alternative using dhcpcd gtk for now test lightdm or lxdm Upstream Bugs Several bugs were found and reported to the upstream maintainers right click in menu stays open https sourceforge net tracker func detail aid 3527766 group id 180858 atid 894869 lxpanel abort pthread mutex unlock https sourceforge net tracker func detail aid 3527777 group id 180858 atid 894869 workaround in glib2 until fixed http ftp netbsd org pub NetBSD misc reed light desktop patch glib2 gthread posix txt lxsession edit core dump on exit https sourceforge net tracker func detail aid 3527778 group id 180858 atid 894869 lxsession logout doesn t stop lxde https sourceforge net tracker func detail aid 3527786 group id 180858 atid 894869 Closed bugs PAM XAUTHDATA and PAM XDISPLAY not defined https bugs launchpad net bugs 999709 LC ALL needs locale h https bugs launchpad net bugs 999438 SIGPOLL undeclared https sourceforge net tracker func detail aid 3528311 group id 156956 atid 801864 no pcmanfm file change monitoring https sourceforge net tracker func detail aid 3527773 group id 156956 atid 801864 solved needed glib2 built with kqueue or glib2 gio fam installed and

    Original URL path: http://wiki.netbsd.org/light-desktop/light-desktop-todo/ (2016-02-01)
    Open archived version from archive

  • light-desktop-usage
    rc d rpcbind start etc rc d famd start Run it via your xinitrc or xsession start netbsd light desktop One known issue depends on glib2 version An unlock of already unlocked mutex Reported upstream See light desktop todo Test it Install xephyr or xnest and run it with the 5 ac switches export DISPLAY 127 0 0 1 5 start netbsd light desktop Introduction The pcmanfm file manager controls the desktop Files in Desktop are displayed as icons desktop files in the Desktop are used as application launchers The window manager is openbox but right click menu is controlled by pcmanfm by default Right click on desktop can choose Desktop Preferences which can change wallpaper and more The taskbar aka panel is on the bottom Left button on taskbar is the menu Right clicking on a menu entry gives you the option to add to the desktop desktop files installed on system should be automatically used for menu entries To add menu entry just add foo desktop file to local share applications To change menu entries or categories go to menu of applications and right click on item and choose Properties This runs the lxshortcut editor The Run command will change icon and do type ahead if it recognizes beginning of command entered Right click on the panel for Panel Settings Panel settings allow you to resize and position the panel change its appearance added choices to the panel and more You can have multiple Application Launch Bars on the panel which can be configured to add various applications for quick launch via button on panel The panel also has launchers for file manager and browser minimize all button pager taskbar clock and shutdown button The Monitor Settings via Preferences on menu offers a xrandr based GUI Running programs

    Original URL path: http://wiki.netbsd.org/light-desktop/light-desktop-usage/ (2016-02-01)
    Open archived version from archive

  • lighttpd on netbsd
    Installation We will install it from pkgsrc because we need some fetures which are not enabled in the binary First of all let s use gamin as the default file alteration monitor instead of fam FAM DEFAULT gamin Of course you can stick with fam if you d like After that we will enable fam support in lighty echo PKG OPTIONS lighttpd fam etc mk conf Now the good old magic words cd usr pkgsrc www lighttpd make install clean clean depends Install the rc d files if you dont do that automaticaly cp usr pkg share examples rc d lighttpd etc rc d The lighttpd user By default there is no user created for lighttpd thus you will have to create one groupadd lighttpd useradd s sbin nologin g lighttpd lighttpd Configuration Set the docroot whereever you want server document root srv lighttpd htdocs Set the default location for logs server errorlog var log lighttpd error log accesslog filename var log lighttpd access log You need to create the directory var log lighttpd with proper permissions install d o lighttpd g lighttpd var log lighttpd Let s use the user we have created for lighttpd server username lighttpd server groupname lighttpd Enable kqueue server event handler kqueue Enable fam server stat cache engine fam Testing the setup You can start the webserver with etc rc d lighttpd start Check your logs if you encounter any problem Setting up authentication Directory server We will use OpenLdap First of all deploy a working ldap server and populate it with the the users For more information on this read OpenLDAP Authentication on NetBSD Be sure to load mod auth and include the following in your lighttpd conf file ldap authentication auth backend ldap auth backend ldap hostname grimnismal local auth backend ldap

    Original URL path: http://wiki.netbsd.org/lighttpd_on_netbsd/ (2016-02-01)
    Open archived version from archive

  • mailing-lists
    Manual pages Wiki Support Problem report guide Report a bug Query bug database Security Community Blogs Mailing lists List archives Developers Browse source Cross reference Release engineering Projects list Ports History Emulators Packages Browse packages Release engineering Wiki Home Edit Comment Source History New RecentChanges NetBSD Wiki mailing lists put FAQs or discussion point collections for mailing lists NetBSD org below this point tech repository Add a comment Last edited

    Original URL path: http://wiki.netbsd.org/mailing-lists/ (2016-02-01)
    Open archived version from archive