Re: Can not Download NetBSD 8.0 i386 USB Install Image

2019-02-01 Thread JingYuan Chen
I have downloaded it from ftp.netbsd.org and reported this problem to
NetBSD's web site.

Thank you !

On Thu, Jan 31, 2019 at 11:23 PM Martin Husemann  wrote:
>
> On Thu, Jan 31, 2019 at 11:28:11PM +0800, JingYuan Chen wrote:
> > The URL is as follows :
> > https://cdn.netbsd.org/pub/NetBSD/NetBSD-8.0/images/NetBSD-8.0-i386-install.img.gz
>
> Indeed something is wrong - notifying admins...
>
> Slightly unrelated: I would strongly suggest to use 8.0_STABLE instead,
> you can use this URL:
>
> http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-8/latest/images/NetBSD-8.0_STABLE-i386-install.img.gz
>
> (and this actually works)
>
> Martin


FOSDEM 2019 - Embedded FreeBSD on a five-core RISC-V processor using LLVM

2019-02-01 Thread Dinesh Thirumurthy
Hi,

This talk

https://fosdem.org/2019/schedule/event/testing_freebsd_risc_v5/

is being presented at 1130 UTC Sat Feb 2nd. You can view via streaming.

The BSD track is at https://fosdem.org/2019/schedule/track/bsd/

The RISC-V track is at https://fosdem.org/2019/schedule/track/risc_v/

Thanks.
Regards
Dinesh


Re: Video Driver for Intel - resolution stuck at 800x600

2019-02-01 Thread Ron Georgia
Thank you all for helping me out. I decided to go with current. My main desire 
is to really work on a NetBSD desktop, one that I can use and one that others 
would find appealing as well. I started digging into the light-desktop project. 
Seems like all the other BSDs have desktop projects, GhostBSD, Trident, OpenBSD 
has good stuff... but my love has always rested with NetBSD.

Again. Thank you guys so much.

On 2/1/19, 10:57 AM, "Sad Clouds"  wrote:

On Fri, 01 Feb 2019 07:36:19 -0500
Ron Georgia  wrote:

> " Why not just run NetBSD-current if that works with your card?"
> A most excellent question, with a relatively embarrassing answer: I
> am not sure how to keep NetBSD-current, current. I am part of the
> NetBSD-current mailing list and read about different issues others
> are experiencing; however, I do not really know how to update the
> base OS or apply a particular (suggested) patch. I did read the "
> Tracking NetBSD-current" page, but it seems confusing to me.

Don't really need to update it, it's not like you're running a mission
critical server. Get latest daily NetBSD-current, if it works OK, just
keep it, until you get bored and feel like you need to update.

The actual update can be quite simple:

1. Download NetBSD binary sets

2. Extract kernel, copy to /netbsd and make sure it boots OK

3. 'cd /' and then for each set (except etc.tgz and xetc.tgz) do 'tar
-zxpf $set.tgz'

4. Run 'etcupdate' and follow instructions, see man page.

Alternatively you can backup your data, wipe out NetBSD on disk and do
new install. NetBSD installer is very quick, not like Linux or Solaris. 





Re: Video Driver for Intel - resolution stuck at 800x600

2019-02-01 Thread Sad Clouds
On Fri, 01 Feb 2019 07:36:19 -0500
Ron Georgia  wrote:

> " Why not just run NetBSD-current if that works with your card?"
> A most excellent question, with a relatively embarrassing answer: I
> am not sure how to keep NetBSD-current, current. I am part of the
> NetBSD-current mailing list and read about different issues others
> are experiencing; however, I do not really know how to update the
> base OS or apply a particular (suggested) patch. I did read the "
> Tracking NetBSD-current" page, but it seems confusing to me.

Don't really need to update it, it's not like you're running a mission
critical server. Get latest daily NetBSD-current, if it works OK, just
keep it, until you get bored and feel like you need to update.

The actual update can be quite simple:

1. Download NetBSD binary sets

2. Extract kernel, copy to /netbsd and make sure it boots OK

3. 'cd /' and then for each set (except etc.tgz and xetc.tgz) do 'tar
-zxpf $set.tgz'

4. Run 'etcupdate' and follow instructions, see man page.

Alternatively you can backup your data, wipe out NetBSD on disk and do
new install. NetBSD installer is very quick, not like Linux or Solaris. 



Re: Clock Unsynchronized

2019-02-01 Thread Michael van Elst
pr...@cam.ac.uk (Patrick Welche) writes:

>Feb  1 12:09:51 warbler ntpd[327]: kernel reports TIME_ERROR: 0x41: Clock 
>Unsynchronized

>Hardware problem?

It's a regular message telling that your clock isn't synchronized.
This may happen after synchronization is lost and regained, but may also
before time is synchronized for the first time.

See also the ntp_adjtime man page:

 Possible states of the clock are:
   TIME_OK Everything okay, no leap second warning.
   TIME_INS``insert leap second'' warning.
   TIME_DEL``delete leap second'' warning.
   TIME_OOPLeap second in progress.
   TIME_WAIT   Leap second has occurred.
   TIME_ERROR  Clock not synchronized.

There are many reasons to lose synchronisation, a hardware error is only
one possibility.

-- 
-- 
Michael van Elst
Internet: mlel...@serpens.de
"A potential Snark may lurk in every tree."


Re: Clock Unsynchronized

2019-02-01 Thread Patrick Welche
> On Mon, 28 Jan 2019 at 15:51, Patrick Welche  wrote:
> >
> > Just noticed (NetBSD-8.99.26/amd64):
> >
> > ntpd[1575]: kernel reports TIME_ERROR: 0x4041: Clock Unsynchronized
> >
> > This is after a ntpdate which succeeded in catching up the 3/4 hour
> > that clock was behind by. I haven't seen this error before...
> >
> > Is ACPI-Fast a good choice? (I didn't choose...)
> >
> > # sysctl kern.timecounter
> > kern.timecounter.choice = TSC(q=-100, f=2666902400 Hz) clockinterrupt(q=0, 
> > f=100 Hz) ichlpcib0(q=1000, f=3579545 Hz) ACPI-Fast(q=1000, f=3579545 Hz) 
> > lapic(q=-100, f=266767233 Hz) i8254(q=100, f=1193182 Hz) dummy(q=-100, 
> > f=100 Hz)
> > kern.timecounter.hardware = ACPI-Fast
> > kern.timecounter.timestepwarnings = 0

On Mon, Jan 28, 2019 at 07:17:23PM +, Chavdar Ivanov wrote:
> I remember having problems sometimes ago when my NetBSD machines were
> around 8.99.25 or so (my timeserver is an RPI Model B still on
> 8.99.2). I haven't had these problems for a while, but all my -current
> machines are on 8.99.32.

I just updated to Wednesday's 8.99.32, and saw it again:

Feb  1 12:09:51 warbler ntpd[327]: kernel reports TIME_ERROR: 0x41: Clock 
Unsynchronized

Hardware problem?


Cheers,

Patrick


Re: Video Driver for Intel - resolution stuck at 800x600

2019-02-01 Thread David Brownlee
On Fri, 1 Feb 2019 at 12:36, Ron Georgia  wrote:
>
> " Why not just run NetBSD-current if that works with your card?"
> A most excellent question, with a relatively embarrassing answer: I am not 
> sure how to keep NetBSD-current, current. I am part of the NetBSD-current 
> mailing list and read about different issues others are experiencing; 
> however, I do not really know how to update the base OS or apply a particular 
> (suggested) patch. I did read the " Tracking NetBSD-current" page, but it 
> seems confusing to me.
>
> Thank you for responding. I'll try current again.

You might want to try just running a current kernel first - I'm
running stock netbsd-8 userland and packages and just a current kernel
on my T530...

I setup boot.cfg to default to a new option (boot '/current') then
have this quickly hacked up script I run every so often to update the
current kernel

#!/bin/sh -e
TMPDIR=$HOME/.cache/tmp
mkdir -p $TMPDIR
TMPFILE=$TMPDIR/current.$$
ftp -o $TMPFILE
http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/latest/amd64/binary/kernel/netbsd-GENERIC.gz
if ! gzip -t $TMPFILE ; then
   echo " Downloaded file fails gzip test"
   rm -f $TMPFILE
   exit 1
fi
if cmp -s $TMPFILE /current ; then
echo "Unchanged"
rm -f $TMPFILE
else
sudo chown root:wheel $TMPFILE
sudo mv /current /ocurrent
sudo mv $TMPFILE /current
fi
stat -f "%9Z %Sm %N%SY" /ocurrent /current

David


Re: Video Driver for Intel - resolution stuck at 800x600

2019-02-01 Thread Chavdar Ivanov
On Fri, 1 Feb 2019 at 12:36, Ron Georgia  wrote:
>
> " Why not just run NetBSD-current if that works with your card?"
> A most excellent question, with a relatively embarrassing answer: I am not 
> sure how to keep NetBSD-current, current. I am part of the NetBSD-current 
> mailing list and read about different issues others are experiencing; 
> however, I do not really know how to update the base OS or apply a particular 
> (suggested) patch. I did read the " Tracking NetBSD-current" page, but it 
> seems confusing to me.

It is very easy. Install from pkgsrc sysutils/sysbuild and
sysutils/sysupgrade and follow the description. Basically you have a
new user - sysbuild - whose home folder contains src and xsrc; I also
make the usual softlinks from /usr/[x]src. By default it creates a
cron job running cvs update overnight; in the morning you can update
the system using sysupgrade. I usually stop the cron job and run the
update manually whenever there is something of interest, perhaps 3-4
times a week. There are a few quirks running -current as opposed to
released or stable version, but in my view they are worth it.
Generally -current has been very reliable for me, the periods when one
cannot build it or there are some other - driver or kernel level -
problems are fairly rare. From time to time you may have to clean the
obj folder as the process doesn't account for all possible changes. I
don't remember the last time I ran build.sh manually; also on the same
machine I do builds for amd64, i386 and evbarm. So far inplace upgrade
with sysutils/sysupgrade hasn't failed for me, and I do it on systems
which I need daily (like the one I use for my invoice issuing
website).

>
> Thank you for responding. I'll try current again.
>
> On 2/1/19, 7:22 AM, "Sad Clouds"  wrote:
>
> On Thu, 31 Jan 2019 20:46:17 -0500
> Ron Georgia  wrote:
>
> > All,
> > Here is my dmesg for my machine: https://pastebin.com/RdmGu29k
> > Here is my Xorg.0.log: https://pastebin.com/xQw4rwsx
> >
> > clement$ uname -a
> > NetBSD clement.ronverbs.dev 8.0 NetBSD 8.0 (GENERIC) #0: Tue Jul 17
> > 14:59:51 UTC 2018
> > mkre...@mkrepro.netbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
> > amd64
> >
> > I installed NetBSD 8.0, using the UEFI install image. Install went
> > smoothly; however, the video driver fails. I did X -configure and
> > copied the resulting xorg.conf.new file to /etc/X11/xorg.conf... but
> > that fails as well. The driver is intel.
> >
> > Section "Device"
> > Identifier  "Card0"
> > Driver  "intel"
> > BusID   "PCI:0:2:0"
> > EndSection
> >
> > If I change the driver to "wsfb" it works, but only with 800x600
> > resolution. I tried to build the xf86-video-wsfb driver from source
> > but got the following error:
> >
> > Package dependency requirement 'randrproto >= 1.6.0' could not be
> > satisfied. Package 'randrproto' has version '1.5.0', required version
> > is '>= 1.6.0'
> > Honestly, I am not sure how to upgrade randrproto. What's in pkgsrc
> > is version 1.5.0.
> >
> > I did install NetBSD 8.99.30 and the video worked perfectly.
> > Maybe two question then:
> >
> > How do I update randrproto?
> > Or, how do I pull in the video drivers used by NetBSD current?
> >
> > Ron Georgia
> > “90% of my problems are due to ignorance, the other 10% is because I
> > just don’t know any better.”
> >
>
> Maybe NetBSD-8 does not support your graphics card? Why not just run
> NetBSD-current if that works with your card?
>
>
>


-- 



Re: Video Driver for Intel - resolution stuck at 800x600

2019-02-01 Thread Ron Georgia
" Why not just run NetBSD-current if that works with your card?"
A most excellent question, with a relatively embarrassing answer: I am not sure 
how to keep NetBSD-current, current. I am part of the NetBSD-current mailing 
list and read about different issues others are experiencing; however, I do not 
really know how to update the base OS or apply a particular (suggested) patch. 
I did read the " Tracking NetBSD-current" page, but it seems confusing to me.

Thank you for responding. I'll try current again.

On 2/1/19, 7:22 AM, "Sad Clouds"  wrote:

On Thu, 31 Jan 2019 20:46:17 -0500
Ron Georgia  wrote:

> All,
> Here is my dmesg for my machine: https://pastebin.com/RdmGu29k
> Here is my Xorg.0.log: https://pastebin.com/xQw4rwsx
> 
> clement$ uname -a
> NetBSD clement.ronverbs.dev 8.0 NetBSD 8.0 (GENERIC) #0: Tue Jul 17
> 14:59:51 UTC 2018
> mkre...@mkrepro.netbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
> amd64
> 
> I installed NetBSD 8.0, using the UEFI install image. Install went
> smoothly; however, the video driver fails. I did X -configure and
> copied the resulting xorg.conf.new file to /etc/X11/xorg.conf... but
> that fails as well. The driver is intel.
> 
> Section "Device"
> Identifier  "Card0"
> Driver  "intel"
> BusID   "PCI:0:2:0"
> EndSection
> 
> If I change the driver to "wsfb" it works, but only with 800x600
> resolution. I tried to build the xf86-video-wsfb driver from source
> but got the following error:
> 
> Package dependency requirement 'randrproto >= 1.6.0' could not be
> satisfied. Package 'randrproto' has version '1.5.0', required version
> is '>= 1.6.0' 
> Honestly, I am not sure how to upgrade randrproto. What's in pkgsrc
> is version 1.5.0.
> 
> I did install NetBSD 8.99.30 and the video worked perfectly. 
> Maybe two question then:
> 
> How do I update randrproto?
> Or, how do I pull in the video drivers used by NetBSD current?
> 
> Ron Georgia
> “90% of my problems are due to ignorance, the other 10% is because I
> just don’t know any better.” 
> 

Maybe NetBSD-8 does not support your graphics card? Why not just run
NetBSD-current if that works with your card?





Re: Video Driver for Intel - resolution stuck at 800x600

2019-02-01 Thread Sad Clouds
On Thu, 31 Jan 2019 20:46:17 -0500
Ron Georgia  wrote:

> All,
> Here is my dmesg for my machine: https://pastebin.com/RdmGu29k
> Here is my Xorg.0.log: https://pastebin.com/xQw4rwsx
> 
> clement$ uname -a
> NetBSD clement.ronverbs.dev 8.0 NetBSD 8.0 (GENERIC) #0: Tue Jul 17
> 14:59:51 UTC 2018
> mkre...@mkrepro.netbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
> amd64
> 
> I installed NetBSD 8.0, using the UEFI install image. Install went
> smoothly; however, the video driver fails. I did X -configure and
> copied the resulting xorg.conf.new file to /etc/X11/xorg.conf... but
> that fails as well. The driver is intel.
> 
> Section "Device"
> Identifier  "Card0"
> Driver  "intel"
> BusID   "PCI:0:2:0"
> EndSection
> 
> If I change the driver to "wsfb" it works, but only with 800x600
> resolution. I tried to build the xf86-video-wsfb driver from source
> but got the following error:
> 
> Package dependency requirement 'randrproto >= 1.6.0' could not be
> satisfied. Package 'randrproto' has version '1.5.0', required version
> is '>= 1.6.0' 
> Honestly, I am not sure how to upgrade randrproto. What's in pkgsrc
> is version 1.5.0.
> 
> I did install NetBSD 8.99.30 and the video worked perfectly. 
> Maybe two question then:
> 
> How do I update randrproto?
> Or, how do I pull in the video drivers used by NetBSD current?
> 
> Ron Georgia
> “90% of my problems are due to ignorance, the other 10% is because I
> just don’t know any better.” 
> 

Maybe NetBSD-8 does not support your graphics card? Why not just run
NetBSD-current if that works with your card?