netbsd flag raising image - any high resolution version available?

2023-11-21 Thread Mayuresh Kathe
hello,
is there a high resolution version of the image (at link below) available?
http://netbsd.org/images/NetBSD-old.jpg
thanks.
-mayuresh


Re: is /bin/sh the almquist shell?

2022-03-29 Thread Mayuresh Kathe
> From k...@munnari.oz.au Wed Mar 30 02:55:37 2022
> From: Robert Elz 
> To: Mayuresh Kathe 
> cc: netbsd-users@netbsd.org
> Subject: Re: is /bin/sh the almquist shell?
> Content-ID: <4606.164860862...@jinx.noi.kre.to>
>
> Date:Tue, 29 Mar 2022 23:34:08 GMT
> From:Mayuresh Kathe 
> Message-ID:  <202203292334.22tny8vp027...@sdf.org>
>
>   | should i start a separate thread asking for information
>   | regarding netbsd's /bin/sh support for recursion?
>
> New thread?   Probably not needed.
>
> To actually answer the question depends exactly what you mean/need.
>
> But as a simple (possibly incorrect) interpretation, the
> original Bourne sh had no functions, so the only way it
> could do anything recursive was by having a script run itself,
> either as a standalone command, or via the '.' command.
>
> All modern shells have functions (they are part of the POSIX
> sh spec) and all shell functions have always supported recursion.
> Not all shells support local vars in functions however, they are
> not in posix.  Without them some recursive techniques can be
> more difficult.
>
> I believe that the original Almquist shell, and all descended
> from it (which includes dash incidentally) support functions
> and local variables.
>
>
> Please read the sh man page.
>
> kre
>

robert, thanks for responding, with the details. helped me.
about sophisticated recursion; it can be achieved using a
"y-combinator".
again, many thanks. :)


Re: is /bin/sh the almquist shell?

2022-03-29 Thread Mayuresh Kathe
> From bounces-netbsd-users-owner-mayuresh=sdf@netbsd.org Tue Mar 29 
> 15:44:08 2022
> From: Robert Elz 
> To: Mayuresh Kathe 
> cc: netbsd-users@netbsd.org
> Subject: Re: is /bin/sh the almquist shell?
> Content-ID: <23186.164856859...@jinx.noi.kre.to>
>
> Date:Tue, 29 Mar 2022 14:50:14 GMT
> From:Mayuresh Kathe 
> Message-ID:  <202203291450.22teoeql026...@sdf.org>
>
>   | could i get confirmation that the /bin/sh under netbsd is
>   | indeed the "almquist shell"?
>
> It is derived from that, yes.  As is the FreeBSD shell
>
> It would be a bit of a stretch thes days to say it (either) is
> the Almquist shell, but they both still contain quite a bit
> of Ken's original code, and certainly the basic design.
>
> But they really aren't "the" Almquist shell, any more than
> firefox is netscape.
>
> kre
>

robert, thanks for sharing that bit of information.
i asked the question because i needed to ascertain whether
/bin/sh supports recursion.
based on what i've read on the web (which has left me very
confused), it seems that the original unix "sh" did not
support recursion, and neither did bourne's "sh", and i
did not find any information regarding almquist's "sh"
other than the fact that it was mostly bourne "sh"
compatible with features added-in to better support
job-control.
should i start a separate thread asking for information
regarding netbsd's /bin/sh support for recursion?
thank you.


is /bin/sh the almquist shell?

2022-03-29 Thread Mayuresh Kathe
could i get confirmation that the /bin/sh under netbsd is
indeed the "almquist shell"?
thank you.


Re: pkgsrc : dependencies : determination : how?

2022-03-29 Thread Mayuresh Kathe
> From mar...@duskware.de Tue Mar 29 12:56:41 2022
> From: Martin Husemann 
> To: Mayuresh Kathe 
> Cc: netbsd-users@netbsd.org
> Subject: Re: pkgsrc : dependencies : determination : how?
>
> On Tue, Mar 29, 2022 at 12:45:35PM +, Mayuresh Kathe wrote:
> > the point i'm most concerned about is how pkgsrc manages to
> > figure out if a package has to be uninstalled or not, like
> > what if there are recursive dependencies shared amongst
> > multiple packages?
>
> That is very easy: on registering a package that depends on some other,
> the pkg adds itself to the +REQUIRED_BY list of the dependency.
>
> E.g. in my previous example xsane listed gimp as a dependency, and
> you can see this by:
>
>  > cat /usr/pkg/pkgdb/gimp-2.10.30/+REQUIRED_BY
> xsane-0.99.9nb19
>
> The more elegant way to query this (and a lot more) is via pkg_info
> (but I thought you would be asking about how it was implemented).
>
>
> Martin
>

yes, i was indeed very much leaning towards wanting to understand
how pkgsrc's package dependency management is implemented.
just an inane need to find out how things work on the inside.
apologies if i have been bothersome.
martin, again, thanks for responding. would appreciate more such
from you. and will definitely ask on that pkg list.
cheers.


pkgsrc : dependencies : determination : how?

2022-03-29 Thread Mayuresh Kathe
i would like to understand how pkgsrc determines the
dependencies for a given package, and how does it go
about handling them during installs, uninstalls, etc.
i've heard about some such systems using "sat solvers".
is there a similar sub-system being used by pkgsrc?
thank you.


RE: my self-training regimen : good enough?

2021-11-29 Thread Mayuresh Kathe
i only don't know anything about systems programming under
unix using c.

> From j...@criptext.com Tue Nov 30 03:32:01 2021
> From: Jay Patel 
> To: netbsd-users@netbsd.org, mayur...@sdf.org
> Subject: RE: my self-training regimen : good enough?
>
> _NmP-3839a168c2c21ff0-Part_1
> Content-Type: text/plain
> Content-Transfer-Encoding: quoted-printable
>
> Then you might find this more helpful
> https://www.edx.=
> org/course/introduction-computer-science-harvardx-cs50x
>
> On Tue, 30 Nov 2021 at 9:01 am Mayuresh Kathe wrote:
> >  thanks jay, but the problem is i don't know anything about
> systems programming. don't even know c all that well, only
> written a fibonacci generator and a prime number tester.
> hence, i would need to learn a whole lot before i jump-in
> to "advanced programming in the unix environment".
> also, isn't 'apue' more =
> of an 'api' level book presenting
> details about "posix"?
>
> > From j...@criptext.com [j...@criptext.com] Tue Nov 30 02:52:21 2021
> > From: Jay Patel 
> > To: netbsd-users@netbsd.org [netbsd-users@netbsd.org], mayur...@sdf.org
> [mayur...@sdf.org]
> > Subject: RE: my self-training regimen : good enough?
> >
> > _NmP-b28492ba9328f304-Part_1
> > Content-Type: text/plain
> > Content-Transfer-Encoding: quoted-printable
> >
> >
> > My suggestion =
> https://stevens.netmeister.org/631/netbsd.html
> [https://stevens.netmeister.=
> org/631/netbsd.html]
> >
> > On Tue, 30 Nov 2021 at 8:20 am Mayuresh Kathe =
> wrote:
> > > i intend to follow the self-training regimen mentioned below;
> > c primer plus (prata)
> > c programming: a modern approach (king)
> > c unleashed (heathfield, kirby)
> > pointers on c (reek)
> > foundations of computer science: c edition (aho, ullman)
> > algorithms in c: parts 1 - 5 (sedgewick)
> > computer systems: a =
> programmer's =3D
> > perspective (bryant, o'hallaron)
> > crafting a compiler with c (fischer, =3D
> > leblanc)
> > the practice of programming (kernighan, pike)
> > modern operating systems =
> (tanenbaum, bos)
> > computer networks (tanenbaum, =3D
> > wetherall)
> > understanding unix-linux programming: a guide to theory and =3D
> > practice (molay)
> > code reading (spinellis)
> > code quality (spinellis)
> > effective debugging (spinellis)
> > the art of unix programming (raymond)
> >
> > would it be good enough to get me started to studying how netbsd works
> > at the kernel and user levels?
> > thanks in advance for your opinions and =
> =3D
> > suggestions.
> >
> >
> >
> >
> > Sent with Criptext secure email[https://api.=
> criptext.=3D
> [https://api.criptext.=3D]
> > com/email/open/%3C1638240668512.=
> 393620%40criptext.=3D
> > com%3E]
> > _NmP-b28492ba9328f304-Part_1
> > Content-Type: text/html
> > Content-Transfer-Encoding: quoted-printable
> >
> > My =
> suggestionhttps://ste=3D
> [https://ste=3D]
> > vens.netmeister.=
> org/631/netbsd.html
> [http://vens.netmeister.org/631/netbsd.html] class=3D3D"criptext_quote">=3D
> > =
> On Tue, 30 Nov 2021 at 8:20 am =3D
> > Mayuresh Kathe =
> wrote: > 8ex;border-left:1px =
> #0091ff solid;padding-left:1ex">
> > =3D20
> > =3D20
> > i intend to follow =
> the self-training regimen mentioned below;c =3D
> > primer plus (prata)c programming: a modern approach (king)c =3D
> > unleashed (heathfield, kirby)pointers on c (reek)foundations of =
> =3D
> > computer science: c edition (aho, ullman)algorithms in c: parts 1=
>  - 5 =3D
> > (sedgewick)computer systems: a programmer's perspective =
> (bryant, =3D
> > o'hallaron)crafting a compiler with c (fischer, =
> leblanc)the =3D
> > practice of programming (kernighan, pike)modern =
> operating systems =3D
> > (tanenbaum, bos)computer networks (tanenbaum, =
> wetherall)understandi=3D
> > ng unix-linux programming: a guide to theory=
>  and practice (molay)code =3D
> > reading (spinellis)code quality =
> (spinellis)effective debugging =3D
> > (spinellis)the art of unix =
> programming (raymond)=3D20
> > would it be good enough to get me =
> started to studying how netbsd =3D
> > worksat the kernel and user levels=
> ?thanks in advance for your =3D
> > opinions and suggestions.
> > =3D20
> > =3D
> > Sent with Criptext secure =
> emailhttps://api.criptext.=3D
> [https://api.criptext.=3D]
> > com/email/open/%3C1638240668512.393620%40criptext.com [http://40criptext.=
> com]
> %3E&q

ifunc useful?

2021-11-29 Thread Mayuresh Kathe
would the ifunc capability be useful under netbsd?
https://jasoncc.github.io/gnu_gcc_glibc/gnu-ifunc.html
gnu/linux obviously has it, and freebsd have their own
implementation.
there's a similar but way more advanced technology
provided under solaris/illumos called sunw_cap.
do consider.


RE: my self-training regimen : good enough?

2021-11-29 Thread Mayuresh Kathe
thanks jay, but the problem is i don't know anything about
systems programming. don't even know c all that well, only
written a fibonacci generator and a prime number tester.
hence, i would need to learn a whole lot before i jump-in
to "advanced programming in the unix environment".
also, isn't 'apue' more of an 'api' level book presenting
details about "posix"?

> From j...@criptext.com Tue Nov 30 02:52:21 2021
> From: Jay Patel 
> To: netbsd-users@netbsd.org, mayur...@sdf.org
> Subject: RE: my self-training regimen : good enough?
>
> _NmP-b28492ba9328f304-Part_1
> Content-Type: text/plain
> Content-Transfer-Encoding: quoted-printable
>
>
> My suggestion https://stevens.netmeister.org/631/netbsd.html
>
> On Tue, 30 Nov 2021 at 8:20 am Mayuresh Kathe wrote:
> >  i intend to follow the self-training regimen mentioned below;
> c primer plus (prata)
> c programming: a modern approach (king)
> c unleashed (heathfield, kirby)
> pointers on c (reek)
> foundations of computer science: c edition (aho, ullman)
> algorithms in c: parts 1 - 5 (sedgewick)
> computer systems: a programmer's =
> perspective (bryant, o'hallaron)
> crafting a compiler with c (fischer, =
> leblanc)
> the practice of programming (kernighan, pike)
> modern operating systems (tanenbaum, bos)
> computer networks (tanenbaum, =
> wetherall)
> understanding unix-linux programming: a guide to theory and =
> practice (molay)
> code reading (spinellis)
> code quality (spinellis)
> effective debugging (spinellis)
> the art of unix programming (raymond)
>
> would it be good enough to get me started to studying how netbsd works
> at the kernel and user levels?
> thanks in advance for your opinions and =
> suggestions.
>
>
>
>
> Sent with Criptext secure email[https://api.criptext.=
> com/email/open/%3C1638240668512.393620%40criptext.=
> com%3E]
> _NmP-b28492ba9328f304-Part_1
> Content-Type: text/html
> Content-Transfer-Encoding: quoted-printable
>
> My suggestionhttps://ste=
> vens.netmeister.org/631/netbsd.html=
> On Tue, 30 Nov 2021 at 8:20 am =
> Mayuresh Kathe wrote: 8ex;border-left:1px #0091ff solid;padding-left:1ex">
> =20
> =20
>   i intend to follow the self-training regimen mentioned below;c =
> primer plus (prata)c programming: a modern approach (king)c =
> unleashed (heathfield, kirby)pointers on c (reek)foundations of =
> computer science: c edition (aho, ullman)algorithms in c: parts 1 - 5 =
> (sedgewick)computer systems: a programmer's perspective (bryant, =
> o'hallaron)crafting a compiler with c (fischer, leblanc)the =
> practice of programming (kernighan, pike)modern operating systems =
> (tanenbaum, bos)computer networks (tanenbaum, wetherall)understandi=
> ng unix-linux programming: a guide to theory and practice (molay)code =
> reading (spinellis)code quality (spinellis)effective debugging =
> (spinellis)the art of unix programming (raymond)=20
>   would it be good enough to get me started to studying how netbsd =
> worksat the kernel and user levels?thanks in advance for your =
> opinions and suggestions.
> =20
> =
> Sent with Criptext secure emailhttps://api.criptext.=
> com/email/open/%3C1638240668512.393620%40criptext.com%3E" width=3D"1" =
> height=3D"1">
> _NmP-b28492ba9328f304-Part_1--
>



my self-training regimen : good enough?

2021-11-29 Thread Mayuresh Kathe
i intend to follow the self-training regimen mentioned below;
c primer plus (prata)
c programming: a modern approach (king)
c unleashed (heathfield, kirby)
pointers on c (reek)
foundations of computer science: c edition (aho, ullman)
algorithms in c: parts 1 - 5 (sedgewick)
computer systems: a programmer's perspective (bryant, o'hallaron)
crafting a compiler with c (fischer, leblanc)
the practice of programming (kernighan, pike)
modern operating systems (tanenbaum, bos)
computer networks (tanenbaum, wetherall)
understanding unix-linux programming: a guide to theory and practice (molay)
code reading (spinellis)
code quality (spinellis)
effective debugging (spinellis)
the art of unix programming (raymond)

would it be good enough to get me started to studying how netbsd works
at the kernel and user levels?
thanks in advance for your opinions and suggestions.


internals study : prerequisite : book?

2021-11-28 Thread Mayuresh Kathe
would the book "modern operating systems" by tanenbaum and bos,
be good enough to prepare one to start study of the internals?


is c99 permitted within the kernel?

2021-11-27 Thread Mayuresh Kathe
if i remember correctly, c99 is not allowed
within the userland that is closest to the
kernel, i.e. those tools and utilities which
are required just after the kernel boots up.
given that, is c99 permitted within the
kernel?


systems administration tutorial/manual?

2021-11-27 Thread Mayuresh Kathe
quite some time back, there was a discussion where-in
a netbsd old-timer had mentioned that he had a draft
for an introduction to netbsd and it's administration
which he'd planned to release as a book.
i don't remember that person's name, but do remember
him to be the same person who had developed paperback
editions of the netbsd manuals.
has there been any progress on that front?


what is systems programming?

2021-11-27 Thread Mayuresh Kathe
i have been a programmer since 1991, but have
always written applications, mostly with c++.
i don't have any formal training in the field
of computer science, though i do have a
professional diploma in network centered
computing; something which would be called a
community college education is the united
states.
i have heard a lot of references to systems
programming throughout my time as a
programmer in the past 30 years, but even
on inquiring haven't received a clear and
simple answer to what makes a systems
programmer.
would you be kind enough to share your
views about what would make a systems
programmer under netbsd?
is a person who write kernel code to be
categorized as a systems programmer?
or is anyone who writes code interfacing
userland to the kernel called a systems
programmer?
thanks in advance.


skills to document the netbsd kernel?

2021-04-13 Thread Mayuresh Kathe
while i possess decent technical skills, i lack knowledge of
ansi-c which i believe would be a must to read the source of
the netbsd kernel and most of the userland.
my question is; what topics should i acquire command over to
understand the netbsd kernel source with the intent of
documenting it? i guess i should be well versed in operating
systems theory and practise, but what else?
thank you.


project primarily for experienced users?

2021-03-28 Thread Mayuresh Kathe
would netbsd be categorized as a project that is primarily meant for people
who are experienced at the unix way?
i haven't experienced any hostility out here (unlike at openbsd), but the
typical default install does feel scary.


why the c99 mandate?

2020-04-09 Thread Mayuresh Kathe
i read somewhere that the netbsd project now mandates that all new code be c99.
i believe that mandate stands true for updates to old code too.
may i know the rationale for insisting of c99 when c89 was just fine for so
many years? also if the change was inevitable, then why not a newer standard 
like c11?
thanks.


log-structured filesystem in netbsd : still there?

2019-08-05 Thread Mayuresh Kathe
there used to be a filesystem called the log-structured filesystem
which was a great idea but poorly implemented in 'bsd'.
i have heard that freebsd and openbsd have opted to remove it, but
netbsd kept it active and even continued development on it from
4.x onwards.
is it true? what is that filesystem called in netbsd source?
how do i get to read up more on it, other than reading the source?


csapp, really good?

2019-06-07 Thread Mayuresh Kathe
i stumbled upon "computer systems: a programmer's perspective"
(url: csapp.cs.cmu.edu) and it looks like a really interesting
book for a newbie to systems programming under unix.
is it really good to warrant a purchase (expensive), or would
the book by "maurice bach" be considered good enough, though
the style of "c" used in the book seems a bit strange.
thanks.


a decent wifi dongle?

2019-06-03 Thread Mayuresh Kathe
i am currently using a tp-link wifi dongle (thumbnail variety).
not only does the dongle heat-up big time, but it also overworks
my wifi access point to the point of failure. i have tested it
multiple times, with the same results.
would you know of a different wifi dongle which won't cause the
problems mentioned above?
thanks.


how come netbsd is so high-performant?

2019-05-27 Thread Mayuresh Kathe
in spite of having a "hardware abstraction layer", how come netbsd is
so much more higher performant than other bsd systems?
the whole system while using at the console feels so zippy and so
responsive that it's a joy to use, especially to someone like me who
is coming over from openbsd and has played around quite a lot with
freebsd. kudos to the netbsd developers for building such a system.


Re: porting mosix to netbsd

2019-05-17 Thread Mayuresh Kathe
> From mar...@duskware.de Fri May 17 07:52:13 2019
> From: Martin Husemann 
> To: Mayuresh Kathe 
> Cc: netbsd-users@netbsd.org
> Subject: Re: porting mosix to netbsd
>
> On Fri, May 17, 2019 at 07:23:40AM +, Mayuresh Kathe wrote:
> > i need to have an end-goal to focus on my studies, i have chosen one such by
> > wanting to have 'mosix' (http://www.mosix.org/) like functionality under
> > netbsd to be developed in the long term by me. since at my current, naive 
> > level
> > of understanding of netbsd internals i think i won't be touching anything 
> > below
> > the 'hal', wanted to know if i should really spend already low-time on 
> > learning
> > assembler. thank you.
>
> At quick glance it looks like you would not even be touching the
> kernel, nor the low level library interfaces - so I don't see why you
> would need to know assembler.
>
> Martin
>

thank you, one thing less to work through in already scarce time resource. :)


where are graph algorithms used under an operating system project?

2019-05-17 Thread Mayuresh Kathe
due to a lack of background in formal computer science, i was under the
impression that graph algorithms are only useful in networking related
applications/areas. just noticed that even scheduling requires some level
of graph algorithm knowledge. am i right in my reading/observation? if not
which areas of an operating system require a good grasp of graph algorithms?
thank you.


porting mosix to netbsd

2019-05-17 Thread Mayuresh Kathe
my last mail to the list was probably incorrectly worded, i am restating it now.
would writing code which works about the "hardware abstraction layer" of netbsd
require one to have a good grasp of assembler?
i need to have an end-goal to focus on my studies, i have chosen one such by
wanting to have 'mosix' (http://www.mosix.org/) like functionality under
netbsd to be developed in the long term by me. since at my current, naive level
of understanding of netbsd internals i think i won't be touching anything below
the 'hal', wanted to know if i should really spend already low-time on learning
assembler. thank you.


code above 'hal' : knowledge of assembler neccessary?

2019-05-07 Thread Mayuresh Kathe
if i wish to write code at the kernel level, but above the 'hal'
would it be necessary for me to have a good command over low
level assembler? or just a superficial introduction to assembler
be good enough?
thanks.


why 2 mails every time?

2019-04-21 Thread Mayuresh Kathe
why do i get 2 emails every time there's a reply to any email by me or
to me? earlier i thought it was my mail client (mailx) which was doing
something crazy, but it isn't so, a simply reply to netbsd-users goes
out and sends me 2 copies of that same mail. like clock-work.


Re: netbsd : internals : bach book : good to start-off?

2019-04-21 Thread Mayuresh Kathe
> From bounces-netbsd-users-owner-mayuresh=sdf@netbsd.org Mon Apr 22 
> 04:55:39 2019
> From: Robert Elz 
> To: Mayuresh Kathe 
> cc: netbsd-users@netbsd.org
> Subject: Re: netbsd : internals : bach book : good to start-off?
>
> Date:Mon, 22 Apr 2019 04:34:44 GMT
> From:Mayuresh Kathe 
> Message-ID:  <201904220434.x3m4yici026...@sdf.org>
>
>   | just nitpicking, isn't bach's book reasonable enough for unix internals? 
> :)
>
> You think there is just one "unix" to have internals?   Or that they are
> all really similar, or something?
>
> As I recall (it has been a long time since I looked, but I think I
> have a copy of that one, or some edition of it anyway somewhere) Bach's
> book mostly describes System V.
>
> Even in the early 90's (in the vintage of McKusick's 4.3BSD book)
> System V and BSD had diverged quite a lot internally.
>
> In the decades since, even moreso.   There is (that I know of anyway)
> no book that will come really close to describing NetBSD internals,
> with all the bus_map and mem management (incl UVM), and locking, and ...
> that are more or less unique to NetBSD - and yet are all fundamental
> to a true understanding of the internals.
>
> Even McKusick's FreeBSD book (as similar aas FreeBSD is to NetBSD in
> some ways) will contain much that is not relevant to NetBSD (including
> soft mounts, and all related to that) and be lacking much, but it
> is going to be much closer to NetBSD and so get you further than Bach's
> book would.
>
> But if all you want is a guide to how some arbitrary unix system might
> be implemented, or if you really want to know SysV internals, then yes,
> that one should be just fine.
>
> kre
>
> ps: if you're really looking for a user or programmer's guide, then you
> want something quite different.
>
>

i am not looking for a user or programmer's guide.
i have no knowledge of any operating system internals, leave alone unix.
so, since bach's book is so light (in terms of page count) and affordable
i thought it would be a good starting-off point into operating system
internals.
i know and fully acknowledge that i will have to work hard to understand
netbsd internals, and the currently, the only way to do so is by reading
the source, over and over again till i get comfortable with it.


Re: netbsd : internals : bach book : good to start-off?

2019-04-21 Thread Mayuresh Kathe
> From bounces-netbsd-users-owner-mayuresh=sdf@netbsd.org Mon Apr 22 
> 04:31:24 2019
> From: Robert Elz 
> To: Mayuresh Kathe 
> cc: netbsd-users@netbsd.org
> Subject: Re: netbsd : internals : bach book : good to start-off?
>
> Date:Mon, 22 Apr 2019 03:54:20 GMT
> From:Mayuresh Kathe 
> Message-ID:  <201904220354.x3m3skvh008...@sdf.org>
>
>   | would "the design of the unix operating system" by maurice bach
>   | be good as a starting off point to understand netbsd internals?
>   | of-course, there's no substitute to reading and re-reading the
>   | source, but just something to act as a spring-board!
>
> You'd probably be better with one of McKusick's books, on BSD internals
> (even the FreeBSD one) than that - though any (reasonable) unix internals
> book would at least get you started.
>
> kre
>
>

just nitpicking, isn't bach's book reasonable enough for unix internals? :)


Re: is netbsd actually a toolkit?

2019-04-21 Thread Mayuresh Kathe
thanks for that jay, looking at the netbsd using lynx prevents one from
going to a lot of places on the website.

> From jaypatel@gmail.com Mon Apr 22 04:19:08 2019
> From: Jay Patel 
> Subject: Re: is netbsd actually a toolkit?
> To: Mayuresh Kathe 
> Cc: "netbsd-users @ netbsd. org" 
>
> --c987ac058716c4d3
> Content-Type: text/plain; charset="UTF-8"
>
> Hi Mayuresh,
>
> This explains everything about NetBSD  http://netbsd.org/about/ hope that's
> what you are looking for.
>
> Regards,
> Jay
>
> On Mon 22 Apr, 2019, 9:46 AM Mayuresh Kathe,  wrote:
>
> > freebsd has an internal focus to become a good server operating system.
> > openbsd has an internal focus to become a highly secure operating system.
> > what is netbsd's internal focus? can't be just a highly portable operating
> > system! is it more to be a really good toolkit for people to build their
> > own operating systems for their desired hardware?
> >
>
> --c987ac058716c4d3
> Content-Type: text/html; charset="UTF-8"
> Content-Transfer-Encoding: quoted-printable
>
> Hi Mayuresh, >This explains everything about NetBSD=C2=A0 http://netbsd.org/a=
> bout/">http://netbsd.org/about/ hope thats what you are looking fo=
> r.=C2=A0Regards,=C2=A0<=
> /div>Jay ir=3D"ltr" class=3D"gmail_attr">On Mon 22 Apr, 2019, 9:46 AM Mayuresh Kathe=
> , mailto:mayur...@sdf.org;>mayur...@sdf.org wrote: r> -left:1px #ccc solid;padding-left:1ex">freebsd has an internal focus to bec=
> ome a good server operating system.
> openbsd has an internal focus to become a highly secure operating system. r>
> what is netbsds internal focus? cant be just a highly portable op=
> erating
> system! is it more to be a really good toolkit for people to build their >
> own operating systems for their desired hardware?
> 
>
> --c987ac058716c4d3--
>


is netbsd actually a toolkit?

2019-04-21 Thread Mayuresh Kathe
freebsd has an internal focus to become a good server operating system.
openbsd has an internal focus to become a highly secure operating system.
what is netbsd's internal focus? can't be just a highly portable operating
system! is it more to be a really good toolkit for people to build their
own operating systems for their desired hardware?


netbsd : internals : bach book : good to start-off?

2019-04-21 Thread Mayuresh Kathe
would "the design of the unix operating system" by maurice bach
be good as a starting off point to understand netbsd internals?
of-course, there's no substitute to reading and re-reading the
source, but just something to act as a spring-board!


concurrencykit in the kernel!

2019-04-12 Thread Mayuresh Kathe
heard about freebsd guys using the concurrency kit (concurrencykit.org)
in their kernel. anyone has any idea about how it could be useful from
a netbsd perspective too? i was under the impression that the kit would
be useful only for userland projects, wonder what role it would play at
the kernel level.


Re: how to use netbsd with ubuntu?

2019-04-12 Thread Mayuresh Kathe
running a netbsd vm on a google compute engine is a nice idea, but
that makes me dependent on the network, something which cannot be
trusted to not fail.

> From bsieg...@gmail.com Fri Apr 12 09:05:51 2019
> From: Benny Siegert 
> Subject: Re: how to use netbsd with ubuntu?
> To: Mayuresh Kathe 
> Cc: NetBSD Users 
>
> Another option would be to run Ubuntu as a Xen Dom0 and run NetBSD in
> a DomU, which is well-supported. Myself, I use the lazy solution,
> which is a NetBSD VM on Google Compute Engine that I spin up when
> needed.
>
> On Fri, Apr 12, 2019 at 9:33 AM Mayuresh Kathe  wrote:
> >
> > as in a previous email, i need to use ubuntu as my primary desktop.
> > i researched various options via googling around as well as asking
> > this mailing list and it looks like the best thing would be to run
> > netbsd in a virtual environment. for the same, would "qemu" be
> > considered good enough? if it is, should i upgrade my system memory
> > from 4gib to 8gib? i have a 1tib hard disk, would running with a
> > 256gib 'ssd' instead pose any unforeseen problems? thanks.
>
>
>
> -- 
> Benny
>


Re: how to use netbsd with ubuntu?

2019-04-12 Thread Mayuresh Kathe
> From er.abhinav.upadh...@gmail.com Fri Apr 12 07:45:24 2019
> From: Abhinav Upadhyay 
> Subject: Re: how to use netbsd with ubuntu?
> To: Mayuresh Kathe 
> Cc: NetBSD Users Mailing List 
>
> On Fri, Apr 12, 2019 at 1:03 PM Mayuresh Kathe  wrote:
> >
> > as in a previous email, i need to use ubuntu as my primary desktop.
> > i researched various options via googling around as well as asking
> > this mailing list and it looks like the best thing would be to run
> > netbsd in a virtual environment. for the same, would "qemu" be
> > considered good enough? if it is, should i upgrade my system memory
> > from 4gib to 8gib? i have a 1tib hard disk, would running with a
> > 256gib 'ssd' instead pose any unforeseen problems? thanks.
>
> What do you mean by running with Ubuntu, Is dual boot an option? If
> virtualization is the only option, I prefer VirtualBox over qemu when
> running NetBSD inside a VM.
>
> -
> Abhinav
>

no, dual boot is not an option, i need ubuntu for chrome to surf the
web, especially for a few websites which prefer chrome over chromium.
may i know your rationale for leaning towards virtualbox over qemu?


how to use netbsd with ubuntu?

2019-04-12 Thread Mayuresh Kathe
as in a previous email, i need to use ubuntu as my primary desktop.
i researched various options via googling around as well as asking
this mailing list and it looks like the best thing would be to run
netbsd in a virtual environment. for the same, would "qemu" be
considered good enough? if it is, should i upgrade my system memory
from 4gib to 8gib? i have a 1tib hard disk, would running with a
256gib 'ssd' instead pose any unforeseen problems? thanks.


Re: netbsd development on a raspberry pi

2019-04-02 Thread Mayuresh Kathe
> From bsieg...@gmail.com Tue Apr  2 09:30:51 2019
> From: Benny Siegert 
> Subject: Re: netbsd development on a raspberry pi
> To: Mayuresh Kathe 
> Cc: NetBSD Users 
>
> On Tue, Apr 2, 2019 at 10:55 AM Mayuresh Kathe  wrote:
> > the question that i don't have an answer to is whether it is possible
> > to do development on an 'rpi' running netbsd? development would not
> > be restricted to just userland, but would also spill over into
> > kernel zone too.
>
> Sure! NetBSD runs well on the RPi with the evbarm port. You'll want to
> run -current for best results. See http://invisible.ca/arm/ for images
> that you can just dd onto a memory card.
>
> Personally, I have an "OrangePi Plus 2E" that I bought based on
> jmcneill's recommendation. It is a bit faster than the RPi
> (particularly for storage and network), has been running super stable
> doing continuous builds and costs about the same as an RPi.
>
> -- 
> Benny
>

what could be an ideal storage size for the micro-sd card?


netbsd development on a raspberry pi

2019-04-02 Thread Mayuresh Kathe
hello, returning to netbsd after a long time, feels good to be back.
i am in a peculiar situation for which i can't figure out a solution.
i have my primary desktop, an 'hp-aio' based on a dual-core celeron.
i have to run ubuntu on it since i need to run "google chrome".
i tried "chromium" but that doesn't fit my needs as well, as chrome.
i intend to do netbsd specific development in the long term but due
to lack of desk space can't afford to setup another 'pc'.
i was musing about setting up a "raspberry pi 3 b+" to run netbsd.
i would be working with netbsd on the 'rpi' via a 'ssh' session.
the question that i don't have an answer to is whether it is possible
to do development on an 'rpi' running netbsd? development would not
be restricted to just userland, but would also spill over into
kernel zone too.


netbsd : internals : 4.4bsd book : good start?

2017-06-06 Thread Mayuresh Kathe
hello,
would the 4.4bsd book by mckusick, et all be a good start to begin understanding
netbsd internals?
thanks,
-mayuresh


amd64 : 6.1.5 : obj-c learning : what to install?

2014-10-24 Thread Mayuresh Kathe
hello,

i finally got the obj-c book by brad cox.

what are the bare minimum packages needed to start off with
learning obj-c under netbsd 6.1.5 (amd64)?

thanks,

~mayuresh



Re: hp aio : netbsd won't boot ...

2014-09-25 Thread Mayuresh Kathe

On 2014-09-25 14:15, Manuel Bouyer wrote:

On Thu, Sep 25, 2014 at 11:56:32AM +0530, Mayuresh Kathe wrote:

it says something along the lines of disk busy, can't be used.

This helps a bit (the exact error message would be better).
Are your trying to install NetBSD current, or a release ?

i am trying to install netbsd 6.1.4 amd64 via a cd.


Strange; the disk busy could be a known problem with recent -current,
but for 6.1.4 I can't see what it could be.
What is the output of 'fdisk wd0' and 'disklabel wd0' ?


`fdisk wd0` output below.
Disk: /dev/rwd0d
NetBSD disklabel disk geometry:
cylinders: 969021, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 976773168

BIOS disk geometry:
cylinders: 1023, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
total sectors: 976773168

Partitions aligned to 16065 sector boundaries, offset 63

Partition table:
0: GPT Protective MBR (sysid 238)
start 1, size 976773167 (476940 MB, Cyls 0/0/2-60801/80/63)
PBR is not  bootable: Bad magic number (0x)
1: UNUSED
2: UNUSED
3: UNUSED
No active partition.


`disklabel wd0` output below.
# /dev/rwd0d:
type: ESDI
disk: WDC WD5000AAKX-6
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 969021
total sectors: 976773168
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0  # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0

5 partitions:
#sizeoffsetfstype [fsize bsize cpg/sgs]
 d: 976773168 0unused  0 0# (Cyl. 0 - 
969020)
 e: 976773167 1   unknown # (Cyl. 0*- 
969020)

disklabel: boot block size 0
disklabel: super block size 0


well, that's all i got from the two commands you'd suggested.

i got them by dropping into the shell through the install menu.

thanks,

~mayuresh



Re: hp aio : netbsd won't boot ...

2014-09-25 Thread Mayuresh Kathe

On 2014-09-25 17:15, Manuel Bouyer wrote:

On Thu, Sep 25, 2014 at 05:11:37PM +0530, Mayuresh Kathe wrote:

nothing special, just followed the prompts.


I guess you did something special; like use existing partitions when
there's no existing parititon.
Anyway, the problem is there ...


nope, i'd chosen set sizes of netbsd partitions, and then followed the 
defaults.


~mayuresh



Re: hp aio : netbsd won't boot ...

2014-09-25 Thread Mayuresh Kathe

On 2014-09-25 17:41, Eric Haszlakiewicz wrote:

On Thu, Sep 25, 2014 at 04:35:05PM +0530, Mayuresh Kathe wrote:
`fdisk wd0` output below.

...

Partition table:
0: GPT Protective MBR (sysid 238)
start 1, size 976773167 (476940 MB, Cyls 0/0/2-60801/80/63)
PBR is not  bootable: Bad magic number (0x)


Does NetBSD 6.1.4 create GPT partitions?  If not, maybe this was
preexisting.  Try a dd if=/dev/zero of=/dev/rwd0d for a few seconds
to clear out the start of the disk, then start over.


yes...
your suggestion worked. :)

install proceeding smoothly, should take a few minutes to complete.
hope nothing new and strange crops up now. ;)

thanks eric.

~mayuresh



bootsplash for netbsd?

2014-09-25 Thread Mayuresh Kathe
hello,

perhaps my googling skills are bad, but i couldn't find a way
to present a bootsplash under netbsd.

does it exist?
if it does, where may i find more information about it's usage?

thanks,

-mayuresh



Re: hp aio : netbsd won't boot ...

2014-09-24 Thread Mayuresh Kathe
On Wed, Sep 24, 2014 at 10:59:01PM +0200, Manuel Bouyer wrote:
 On Thu, Sep 25, 2014 at 01:42:47AM +0530, Mayuresh Kathe wrote:
  okay, i finally got myself a low end machine at an affordable price.
  http://hpshopping.in/HP_18-5019il_All-in-One_Desktop_PC
  
  the problems started after unpacking the machine.
  
  netbsd 6.1.4 (amd64) install cd just won't boot.
  after fiddling around with the bios (which looks like uefi), it booted, but
  refused to install, after some more coaxing moved till the newfs execution
  phase and then barfed.
  
  i tested with a bunch of other operating systems (ubuntu 14.04 and omnios),
  which it install and boot up like a charm.
  
  at the moment, have upgraded the memory to 4gb, and run netbsd 6.1.4 via
  virtual box under ubuntu (desktop) 14.04, but the resource consumption is
  crazy, i can't even fire up firefox while running netbsd in that mode.
  
  any ideas about how i could make netbsd work on bare metal?
  or should i simply upgrade the memory to a total of 8gb (which is going to
  be quite difficult a proposition at the moment)?
 
 Without details on what failed while installing, it's hard to help ...

as i'd mentioned before, the newfs command failed to work during
installation process.
it says something along the lines of disk busy, can't be used.
is it because my system is 'uefi'?

~mayuresh



Re: something like linux-fb?

2014-09-10 Thread Mayuresh Kathe

On 2014-09-10 18:11, Mayuresh wrote:

On Tue, Sep 09, 2014 at 11:02:42PM +0530, Mayuresh Kathe wrote:

is there something under netbsd which provides capabilities similar
to the linux graphics framebuffer driver?


https://mail-index.netbsd.org/pkgsrc-wip-review/2012/02/26/msg001372.html


perfect! thanks for that tip. :)
is valeriy ushakov the same as uwe@?

~mayuresh



Re: something like linux-fb?

2014-09-10 Thread Mayuresh Kathe

On 2014-09-11 00:27, u...@stderr.spb.ru wrote:

Mayuresh Kathe mayur...@kathe.in wrote:

On 2014-09-10 18:11, Mayuresh wrote:

On Tue, Sep 09, 2014 at 11:02:42PM +0530, Mayuresh Kathe wrote:

is there something under netbsd which provides capabilities similar
to the linux graphics framebuffer driver?


https://mail-index.netbsd.org/pkgsrc-wip-review/2012/02/26/msg001372.html


perfect! thanks for that tip. :)
is valeriy ushakov the same as uwe@?


yes :)

Though I don't see how am I related to that mail...


hi uwe, thanks for responding. :)
you are related to that email indirectly.
aren't you the one who has something to do with making qt/e run with the 
graphics framebuffer under netbsd! ;)


~mayuresh



obj-c support : still on?

2014-09-09 Thread Mayuresh Kathe
hello, i have been reading up archives for the topic mentioned in the 
subject.
may i know the state of objective-c support under netbsd 6.1.4 as well 
as the

upcoming 7.0?

thanks,

~mayuresh



the bare necessities ...

2014-09-04 Thread Mayuresh Kathe

hello,

due to unforeseen circumstances, i need to cut down on my budget for a 
machine to run netbsd on.


intended use of the machine;
1. re-write as many of the base tree c++ tools/utils in c89 as required 
for a functional system.
2. work at getting as much of a functional system as possible using 
'pcc'.


i would prefer to go with an 64-bit system, but wouldn't mind going for 
a 32-bit machine either.


may i know what kind of compute power be required for the second task?
i have ample amount of time at my disposal but not enough financial 
resources, so, long compile times are okay. :)


thanks,

~mayuresh



Re: the bare necessities ...

2014-09-04 Thread Mayuresh Kathe

On 2014-09-05 04:00, Kamil Rytarowski wrote:

Hello Mayuresh Kathe,

You may be interested in ideas from MirBSD, they run for 10 years
without C++ in base.


yes, i have heard of them, and interacted with thorsten regarding mksh, 
seemed like a good guy.
i am also drawing inspiration from openbsd, though i disagree with the 
obnoxiousness of most people out there. :)



There is mostly no low-power minimum, just get something usable, more
power will help you.


would something like an amd64 single core @ 1.6ghz with 2gb ram and 
500gb hdd be considered good enough?



I like your idea of PCC and ANSI C. I think that NetBSD needs more
features not reworked things that are already in, enhanced PCC would
be a major one.


yes, netbsd needs more features, but, better to have a uniform language 
at the base layer.

simplicity can be marvelously powerful. :)


Good luck!


thanks. :)

~mayuresh



kernel+userland will become c99?

2014-06-25 Thread Mayuresh Kathe
hello,

i read that all new code in the netbsd tree has to be c99.

is that really a mandatory condition?
if yes, would that mean, over a period of time, all of the
netbsd userland would be converted to c99?

and would the kernel be brought up to that same standard?
if yes, wouldn't it be quite a painful task?

~mayuresh



netbsd website : xml, xslt and make?

2014-06-23 Thread Mayuresh Kathe
hello,

i apologise upfront if this is the wrong list for the question,
and would appreciate being pointed to the right one.

i just read on the netbsd projects list page that the website
infrastructure maintenance depends on a xml, xslt and make.

does that mean that the website is written primarily in xml
and then transformed into (x)html, either via some tools before
the pages are put on the website, or at runtime?

isn't that kind of very heavy and complicated?

best,

~mayuresh



Re: install fails at newfs

2014-06-22 Thread Mayuresh Kathe

On 2014-06-22 14:19, Martin Husemann wrote:

On Sun, Jun 22, 2014 at 11:04:15AM +0530, Mayuresh Kathe wrote:

it gave me the following error;
newfs: /dev/rwd0a: open for read: Device busy


You should check the output of mount in this case - it is probably 
already

mounted somewhere.


will do, just can't figure how it can get mounted somewhere without
being asked to.

~mayuresh



Re: specs for a netbsd build system?

2014-06-22 Thread Mayuresh Kathe
On Sun, Jun 22, 2014 at 08:34:10AM -0400, Greg Troxel wrote:
 
 Mayuresh Kathe mayur...@kathe.in writes:
 
  i have no idea about what kind of hardware would be required for
  performing an entire netbsd build within acceptable time-frames,
  say 1 hour (without x win).
 
  may i please get advice on rough specifications for the same?
  stuff like;
  1. preferable processor (intel! amd!),
  2. processing power (clock rate, number of cores, cache, etc),
  3. memory (size and type),
  4. hard disk (space and type),
 
  i have a budget of around us$600.
 
 Building all of NetBSD (with build.sh) takes some amount of time when
 starting from scratch.  Doing an update build (-u) means that most
 things don't get rebuilt if nothing has changed, and is much faster.
 
 At this point, given that you want something PCish, you definitely want
 to get something that can run in amd64 mode, so it can have more memory.
 
 I think as long as you have 50G of disk to devote to src/obj and 4G of
 RAM, and a processor from the last 5 years, you'll be fine, assuming you
 are just building only a few branch/arches.   I can't see you wanting
 more than 200G for NetBSD itself.  (pkgsrc bulk builds are piggier;
 there are ~1E4 packages.)
 
 As a concrete datapoint, I have a system (probably 1.5 years old):
 
   cpu0 at mainbus0 apid 0: Intel(R) Core(TM) i5-2310 CPU @ 2.90GHz, id 0x206a7
   cpu1 at mainbus0 apid 2: Intel(R) Core(TM) i5-2310 CPU @ 2.90GHz, id 0x206a7
   cpu2 at mainbus0 apid 4: Intel(R) Core(TM) i5-2310 CPU @ 2.90GHz, id 0x206a7
   cpu3 at mainbus0 apid 6: Intel(R) Core(TM) i5-2310 CPU @ 2.90GHz, id 0x206a7
   [hyperthreading disabled; note the even APID values]
   total memory = 3569 MB
   avail memory = 3497 MB
 
   running NetBSD/i386 for historical reasons, even though the box has
   16G of RAM.  That's a clue that using only 3.5 of 16G has not annoyed
   me enough to switch.  But you should definitely start out in amd64 mode.
 
   128G SSD for root/usr
   1T regular disk for other stuff
 
 This computer cost about $1100, with a nice case and power supply,
 already built/tested (it's at work), but I don't really remember - it
 might have been only $900.  It's far more than you need, though.
 
 It does a full release build (all the way to ISO), including X, with -u
 (and a previous build done) of the i386 sources in about 24 minutes.  My
 belief is that even if the very first time takes 8 hours, that's ok,
 because you'll be doing -u most of the time.  I think it takes one to a
 few hours to do the first build, but I don't really know/remember
 because it happens so rarely.  I just start a script to build several
 arches and check it the next day.
 
 I have source trees for 4/5/6/current, and obj/tooldir/destdir/releasedir
 for multiple architectures, a total of 16 combinations.  This is all
 fitting in a 1T disk without really noticing it.  My /usr/obj (which has
 releasedir/destdir/tooldir in it also) for NetBSD-current and 7
 architectures is 58G.  You definitely want to leave those and use -u.
 
 We also have a box with 12 real CPUs and 12G of RAM:
 
   cpu11 at mainbus0 apid 52: Intel(R) Xeon(R) CPU   X5675  @ 3.07GHz, 
 id 0x206c2
 
 and some SSD and some hardware raid scsi.  It's definitely a lot faster
 - I think it can do a full build with no objdir in 25 minutes -- but
 it's way too expensive for your price point, rackmount, power-hungry,
 etc.  and also totally unnecessary.
 
 A further datapoint is that I have also used a machine with 1 CPU (with
 hyperthreading) and 2G of RAM:
 
   cpu0 at mainbus0 apid 0: Intel 686-class, 3400MHz, id 0xf43
 
 This was new in 2006.   It would probably be a little too slow for you,
 but I bet it would do.  I built netbsd on it until a few years ago, and
 stopped because I wanted to maintain fewer source trees with my
 private tweaks, more than I wanted to avoid building on it.
 
 
 Given that you said $600, I would try to get a 1T disk, 8G of RAM, and a
 4-core processor, backing away from the very top speeds that seem to
 cost way extra, and put it together yourself.  I haven't priced things
 lately, so I don't know if that fits.  The increase in speed lately has
 been slowing, but newer motherboards do have faster memory that the
 older ones, and caches are often bigger.  But you may be able to get
 some gamer friend's 3 year old system which is probably just fine.
 
 
 The big question is getting a motherboard where the builtin graphics
 works well with X, if you want to run that.

thanks for the fantastic advice, your detailed mail is really helpful.

i will not be going with x-win, i dislike it to the point of once
leading a team which built a graphical operating environment running
atop the linux graphics framebuffer (directly).
we called it the nevyos effort. :)

thanks again,

~mayuresh



install fails at newfs

2014-06-21 Thread Mayuresh Kathe

hello,

i had to wipe out my system and reinstall 6.1.4 (for amd64) because my
constant tinkering messed up something somewhere and the system stopped
booting successfully.

during the install, at the point where newfs is run it stopped moving 
ahead.

it mentioned something about rwd0a being busy.

so i dropped into a shell and ran the following command;
/sbin/newfs -V2 -O 2 -b 32768 -f 4096 /dev/rwd0a

it gave me the following error;
newfs: /dev/rwd0a: open for read: Device busy

i ran a 'ps -aux' to see if something else was accessing that disk.
nothing was.

is there something i'm doing wrong (the installer usually doesn't allow 
for

much mistakes)?

best,

~mayuresh



Re: will netbsd be sticking with gcc?

2014-06-18 Thread Mayuresh Kathe
On Wed, Jun 18, 2014 at 08:19:04AM +0200, Martin Husemann wrote:
 On Wed, Jun 18, 2014 at 07:40:52AM +0530, Mayuresh Kathe wrote:
  i have heard good things about pcc, mostly, except for perhaps the
  fact that it doesn't yet support all the netbsd platforms which
  gcc does.
 
 And it has no C++ compiler.
 
 We live with several compilers in-tree and try to officialy support
 anything sane (even outside the tree, e.g. gcc 4.9 for playstation2
 support, but that part is broken currently) - the exact choice depends,
 as you note, on the architecture.
 
 If you are building NetBSD for x86 or arm you can choose clang/llvm as
 an alternative compiler, and you can compile big parts of NetBSD with pcc.
 We are especially looking at pcc for m68k, as some machines (e.g. sun2)
 are not able to execute modern gcc at all (or for anything  hello world
 type of programs). Gcc is nice for cross-building those ports, but not as
 a native compiler shipped with the system.

true, it has incomplete c++ support, but i think ragge is working on it.

i am looking to build as much of netbsd (without x11) with pcc as possible.
this is a purely tinkering and experimenting project.
may i know which parts of netbsd don't build with pcc? and why?

also, i'm still quite raw at netbsd, but, is it possible to eliminate
portions of the netbsd kernel and build a fresh, highly focused and optimised
system for amd64 architectures? and yet be able to tap into pkgsrc?

gcc is nice, but massive, on the other hand, pcc is quite nimble. :)

best,

~mayuresh



lua in kernel!

2014-06-18 Thread Mayuresh Kathe
hello,

while i was drawn to netbsd because of the upcoming lua
support in the kernel and userland, i am quite lost about
the probable use cases for real-world scenarios.

prima-face, it feels quite strange to have a scriptable
kernel and have that capability extended through out the
userland.

i have been googling (via lynx) and haven't found anything
which would suggest possible use cases for the lua-in-kernel
effort. might be because my google skills are poor.

can someone with access to such a document please share the
details?

also, if the lua-in-kernel effort does succeed, would there
be some mechanism to turn it off while doing a customized
build? can't figure how useful such a feature might be in
a production environment like web-app hosting or even an
embedded system.

thanks,

~mayuresh



any netbsd hosting providers?

2014-06-17 Thread Mayuresh Kathe
hello,

are there any web hosting providers specializing in netbsd?
would like to evalute some for my client who's expressed
interest in moving away from linux (centos).

thanks,

~mayuresh




Re: email management under netbsd : any simple strategies?

2014-06-17 Thread Mayuresh Kathe
On Tue, Jun 17, 2014 at 11:32:32PM +0200, Leonardo Taccari wrote:
 Hello Mayuresh,
 
 On Tue, Jun 17, 2014 at 06:18:35PM +, Mayuresh Kathe wrote:
  hello,
  
  i have been using mutt under various linux based systems as
  well as under freebsd.
  
  looks like the mutt under netbsd (via pkgin) doesn't support
  smtp (yet).
  
  may i know what kind of strategy mutt aficionados use to get
  mutt working well under netbsd?
  
  if there isn't a simple way, may i know what would be a good
  approach to email (imap + smtp) at the netbsd console?
 I personally use mail/msmtp for SMTP, mail/fdm for IMAP and
 mail/mutt-devel as MUA.
 
 As Manuel and Gary suggested you can use postfix(1) in base or build
 mail/mutt-devel with mutt-smtp option.
 
 I suggest you to use postfix(1) or configure something like mail/msmtp.
 If you do the latter remember to adjust /etc/mailer.conf (for more
 information please give a look to mailer.conf(5)), e.g. (for msmtp):
 
  [...]
  #sendmail/usr/libexec/postfix/sendmail
  mailq/usr/libexec/postfix/sendmail
  newaliases   /usr/libexec/postfix/sendmail
  
  sendmail /usr/pkg/bin/msmtp
  [...]
 
 ...mainly because in this way you can also send emails not only with
 mutt (for example with send-pr(1)).

okay, did it, i have now installed mutt and msmtp via pkgin and been
able to successfully configure them. :)

sending this mail via a local setup instead of logging onto a remote
system (just for emails).

thanks for the advice and tips.

~mayuresh



Re: email management under netbsd : any simple strategies?

2014-06-17 Thread Mayuresh Kathe
On Wed, Jun 18, 2014 at 10:14:54AM +0900, Ryo ONODERA wrote:
 From: Mayuresh Kathe mayur...@kathe.in, Date: Tue, 17 Jun 2014 18:18:35 
 +
 
  hello,
  
  i have been using mutt under various linux based systems as
  well as under freebsd.
  
  looks like the mutt under netbsd (via pkgin) doesn't support
  smtp (yet).
  
  may i know what kind of strategy mutt aficionados use to get
  mutt working well under netbsd?
  
  if there isn't a simple way, may i know what would be a good
  approach to email (imap + smtp) at the netbsd console?
 
 If you can accept emacs -nw on your console,
 Wanderlust (pkgsrc/mail/wl or pkgsrc/mail/wl-snapshot) that has full support
 for IMAP4 and SMTP may be solution especially when you will read/write
 multi-byte e-mails.

thanks for the note onodera-san, but i really lean more towards vi.

i have heard that mailx under netbsd is a lot more advanced than the vanilla
mailx found on most of the other unix-like systems!
is there any well formatted document (like the one by schoens) for the same?

~mayuresh



will netbsd be sticking with gcc?

2014-06-17 Thread Mayuresh Kathe
hello,

i just read a note somewhere on the web about netbsd folks trying
out an alternative compiler set (pcc).

did that not work out?

i have heard good things about pcc, mostly, except for perhaps the
fact that it doesn't yet support all the netbsd platforms which
gcc does.

so does that mean gcc would be the default compiler set for the
foreseeable future?

best,

~mayuresh



netbsd : books?

2014-06-15 Thread Mayuresh Kathe

hello,

are there any books which are specific to netbsd?
i saw a 2 volume set called netbsd system manager's manual by jeremy c 
reed on amazon.com, but it is from june 2010, infact, over 4 years old.


isn't there anything newer?

thanks,

~mayuresh



Re: netbsd : books?

2014-06-15 Thread Mayuresh Kathe
On Sun, Jun 15, 2014 at 04:07:06AM -0700, Edward M wrote:
 
 On 06/15/14 03:59, Mayuresh Kathe wrote:
 hello,
 
 are there any books which are specific to netbsd?
 i saw a 2 volume set called netbsd system manager's manual by
 jeremy c reed on amazon.com, but it is from june 2010, infact,
 over 4 years old.
 
 isn't there anything newer?
 
 thanks,
 
 ~mayuresh
 
 
  Hello,
 
   Have you read the NetBSD's handbooks(guide, internals, pkgsrc)?
 
 http://netbsd.org/docs/guide/en/
 http://netbsd.org/docs/internals/en/index.html
 http://netbsd.org/docs/pkgsrc/index.html
 

yes, i did browse through them online, but, it's always good to 
have a desk reference in the form of a book. :)

~mayuresh



switching between virtual terminals : difficult

2014-06-15 Thread Mayuresh Kathe
hello,

is there any reason why the right hand side ctrl and alt keys
on the keyboard don't work while attempting to switch virtual
terminals, eg. ctrl + alt + fnx?

i am now running 6.1.4 on an amd64.
should i be sending in the dmesg too?

thanks,

~mayuresh



6.1.4 : fresh install : boot device not found

2014-06-15 Thread Mayuresh Kathe
hello,

i messed up my 6.1.4 on amd64 system, so did a fresh install.
everything went well, but while first boot, it showed;
boot device: not found
root device 

it just stayed put till the point i installed another system
and then re-installed netbsd 6.1.4, this time, everything
went well, including the first boot.

i am sure i have performed every step, just can't go wrong with
netbsd. :)
makes me wonder why the system just stopped at root device.

is there anything i could have done to find out what went wrong?

thanks,

~mayuresh



netbsd : 6.1.4 : on lenovo m72e tiny : works well?

2014-06-14 Thread Mayuresh Kathe
hello,

i am new to netbsd, currently running 6.1.2 on my old
assembled desktop.

does anyone has any experience running netbsd 6.1.4 on
a lenovo m72e tiny machine?

would like to know if there are any issues like excessive
heating or anything else i should be aware of before going
ahead with the purchase.

thanks,

~mayuresh



Re: netbsd : 6.1.4 : on lenovo m72e tiny : works well?

2014-06-14 Thread Mayuresh Kathe
On Sat, Jun 14, 2014 at 07:50:31PM +0200, Ottavio Caruso wrote:
 On 14 June 2014 17:43, Mayuresh Kathe mayur...@kathe.in wrote:
  does anyone has any experience running netbsd 6.1.4 on
  a lenovo m72e tiny machine?
 
 I have experience of this machines running Windows 7 at the local
 library and they are very nice and powerful but no experience with
 Netbsd on them.
 
 I assume the latest versions come with Windows 8. I'd personally be
 very wary of anything that comes with Win 8. You might run into lack
 of drivers, proprietary
 hardware and what not.

thanks for responding.
the versions available out here (india) come with no operating system.
and they have a 3 year warranty on them, which is a major advantage.

is there any way to test hardware support without installing netbsd?
i could always convince the vendor to let me run a live cd or something!

~mayuresh