Re: Can I use NetBSD as a desktop system?

2017-08-20 Thread Byung-Hee HWANG (황병희, 黃炳熙)
In Article , Stephen Borrill writes: > On Thu, 20 Jul 2017, Riccardo Mottola wrote: > [snip] >> I also notice that the "bus LED" that thinkpads have that says you >> can remove the DVD from the module,

Re: Can I use NetBSD as a desktop system?

2017-07-25 Thread Stephen Borrill
On Thu, 20 Jul 2017, Riccardo Mottola wrote: [snip] I also notice that the "bus LED" that thinkpads have that says you can remove the DVD from the module, remains on... I don't remember if this happened with windows (don't have it anymore) but I don't feel this as correct, I will try to veriy

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread Riccardo Mottola
Hi, I applied: - uaudio patch - ral0 patch in latest version 3 you mention later in this thread - i915 patch, I used the first one which has a single line fix pci_enable_msi(dev->pdev); (the only patch I could find easily, maybe the last one is base64 encoded?) Kernel built and boots fine

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread coypu
mrg@ found that it jumps to NULL because it doesn't initialize if_stop. I've made it build with the power management code, too. care to try this? http://coypu.sdf.org/rt2860-3.diff

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread coypu
On Thu, Jul 20, 2017 at 06:58:05PM +, co...@sdf.org wrote: > Index: rt2860.c Oops, forgot to build test this one! it's commented out because it won't build. I'll try to fix it.

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread coypu
This diff makes uaudio claim to support suspend, does it work if you don't drvctl -d uaudio0 with this change? Index: uaudio.c === RCS file: /cvsroot/src/sys/dev/usb/uaudio.c,v retrieving revision 1.154 diff -u -r1.154 uaudio.c ---

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread Riccardo Mottola
Hi, co...@sdf.org wrote: Try also with this: # sysctl -w hw.acpi.sleep.vbios=0 I believe it did not get backported. and -8/-current have a separate bug that will prevent your suspend again still not committed. that doesn't help my Thinkpad R51. When I press the sleep button I get a black

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread coypu
On Thu, Jul 20, 2017 at 07:34:12PM +0200, Riccardo Mottola wrote: > Hi! > > it does help a lot! > Cool! I'll commit it. > I get a notice (without crash) in dmesg that uaudio doesn't support power > management. > > thus I did the trick... > > drvctl -d uaudio0 > > it detached properly, so I

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread Riccardo Mottola
Hi! it does help a lot! co...@sdf.org wrote: does this help? (I assume removing the free would work but not be ideal) I think the difference is that firmware_*'s allocator is kmem_alloc which should be kmem_free'd, not regular free. I detached the ral0 driver successfylly. I tried to issue

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread coypu
On Tue, Jul 18, 2017 at 08:09:28AM +0530, Mayuresh wrote: > - This may or may not matter: I use user space file system encryption with > incremental backup using cryfs which is not available on NetBSD. (There > is a thread on this on this list.) There are alternatives on NetBSD, but > they

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread coypu
On Wed, Jul 19, 2017 at 03:44:05PM +, Chavdar Ivanov wrote: > This is with unmodified GENERIC, so INSECURE should be present - as I said, > the same live USB system works fine with the Quadro 600 card on the > desktop. I know about userconf, but I chose to place several test and spare >

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread coypu
Thanks, does this help? (I assume removing the free would work but not be ideal) I think the difference is that firmware_*'s allocator is kmem_alloc which should be kmem_free'd, not regular free. Index: rt2860.c === RCS file:

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread Riccardo Mottola
Hi! thanks for investigating this. co...@sdf.org wrote: After reboot, look at your newest file in /var/crash/netbsd.*.core.gz If the newest is netbsd.123.core.gz, # cd /var/crash # gunzip netbsd.123.core.gz # gunzip netbsd.123.gz # crash -M netbsd.123.core -N netbsd.123 I am only at crash 21

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread John Halfpenny
On Mon, Jul 17, 2017 at 03:03:47PM -0300, SOUL_OF_ROOT 55 wrote: > Can I use NetBSD as a desktop system? Broadly speaking yes Success will depend upon Your goals and patience. (: -- j...@sdf.org SDF Public Access UNIX System - http://sdf.org

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread coypu
On Thu, Jul 20, 2017 at 10:37:14AM +0200, Riccardo Mottola wrote: > Hi, > > co...@sdf.org wrote: > > Even if there is no information ral(4) looks very suspicious in suspend. > > I am looking at the code. > > does drvctl -d ral0 before suspend make it get further? > > Issuing that command, causes

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread Riccardo Mottola
Hi, co...@sdf.org wrote: Even if there is no information ral(4) looks very suspicious in suspend. I am looking at the code. does drvctl -d ral0 before suspend make it get further? Issuing that command, causes a kernel panic and instant reboot. panic: kernel diagnostic assertion

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread Riccardo Mottola
Hi, Martin Husemann wrote: Indeed (mine works too). Please share dmesg output (or usbdevs output). With some of the updates, it started working. I just tried today with a couple of weeks old 8.99 version and it works! Very good and also very useful. Another step towards NetBSD world

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread Chavdar Ivanov
On Wed, 19 Jul 2017 at 18:32 Riccardo Mottola wrote: > Hi, > > Chavdar Ivanov wrote: > > On my T61p even the suspend key works (-current amd64). Now, only if > > the screen wasn't blank with nouveau.. > > That sounds nice! Does your "moon" light up? :) > Yes, it does

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread Riccardo Mottola
Hi, Chavdar Ivanov wrote: On my T61p even the suspend key works (-current amd64). Now, only if the screen wasn't blank with nouveau... my other NetBSD laptop is the trusty T30, where sleep works a little better than on the R51 and on the HP 620. Pressing the sleep button does this. I see

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread Riccardo Mottola
Hi, Chavdar Ivanov wrote: That sounds nice! Does your "moon" light up? :) Yes, it does light up indeed. that's nice. On my T30 I get something closer to sleep working, I get the moon up, but the display remains on (as written in the other mail). There was - at least once, I will

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread Izaac
On Mon, Jul 17, 2017 at 03:03:47PM -0300, SOUL_OF_ROOT 55 wrote: > Can I use NetBSD as a desktop system? I do. But if you're looking for a BSD-on-the-desktop on i386/x86_64 which doesn't involve routine fiddling and occasional disappointment, use FreeBSD. -- . ___ ___ . . ___ . \/ |\ |\ \ . _\_ /__ |-\ |-\ \__

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread coypu
Try also with this: # sysctl -w hw.acpi.sleep.vbios=0 I believe it did not get backported. and -8/-current have a separate bug that will prevent your suspend again still not committed.

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread Riccardo Mottola
Hi, Chavdar Ivanov wrote: On my T61p even the suspend key works (-current amd64). Now, only if the screen wasn't blank with nouveau... I tried that on my ThinkPad R51 running 7.1. I suppose you mean by suspend the "moon" key instead of the "mirror to disk" key which means hibernation I

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread coypu
Even if there is no information ral(4) looks very suspicious in suspend. I am looking at the code. does drvctl -d ral0 before suspend make it get further?

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread Riccardo Mottola
Hi, co...@sdf.org wrote: this causes a reset on my HP620. FIrst I see the screen getting black with a >cursor top-left, then a reset. Does dmesg scrollback say anything? which netbsd version, dmesg? I'm on 8.99, kernel is from July 5, below what I got I think relevant from "dmesg

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread Riccardo Mottola
Hi, Chavdar Ivanov wrote: On my T61p even the suspend key works (-current amd64). Now, only if the screen wasn't blank with nouveau.. That sounds nice! Does your "moon" light up? :) On my HP I tried to hit the sleep kep (actual function+F5 which has the small moon) and the only thing I get

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread coypu
On Wed, Jul 19, 2017 at 07:21:51PM +0200, Riccardo Mottola wrote: > Hi, > > co...@sdf.org wrote: > > > I have still not got this to work. Can you share your experience or URLs? > > sysctl -w hw.acpi.sleep.state=3 > > this causes a reset on my HP620. FIrst I see the screen getting black with a >

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread Riccardo Mottola
Hi, co...@sdf.org wrote: I have still not got this to work. Can you share your experience or URLs? sysctl -w hw.acpi.sleep.state=3 this causes a reset on my HP620. FIrst I see the screen getting black with a cursor top-left, then a reset. Riccardo

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread Chavdar Ivanov
This is with unmodified GENERIC, so INSECURE should be present - as I said, the same live USB system works fine with the Quadro 600 card on the desktop. I know about userconf, but I chose to place several test and spare kernels in / and modify boot.cfg accordingly. Chavdar On Wed, 19 Jul 2017 at

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread coypu
Are you building without options INSECURE? (config -x) You can also add 'userconf disable nouveau*' to boot.cfg to achieve the same, without needing a custom kernel.

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread Chavdar Ivanov
With nouveau(fb)0 the screen becomes black as soon as the kernel message about nouveaufb0 is dispayed. Earlier (7.99.42) version works fine. On -current Xorg is starting in the background (one can confirm the process list after a ssh login), but the screen remains black. I haven't yet come to see

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread Chavdar Ivanov
On my T61p even the suspend key works (-current amd64). Now, only if the screen wasn't blank with nouveau... Chavdar On Wed, 19 Jul 2017 at 11:46 wrote: > On Wed, Jul 19, 2017 at 04:04:02PM +0530, Mayuresh wrote: > > I have still not got this to work. Can you share your

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread Mayuresh
On Wed, Jul 19, 2017 at 12:13:16PM +, co...@sdf.org wrote: > There is wip/chromium, it needs a determined person to keep it up to > date and get patches upstream. > > Whenever they had to make something specific to windows, they would > split the code by #if OS_WINDOWS or #if OS_LINUX. and

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread coypu
On Tue, Jul 18, 2017 at 08:09:28AM +0530, Mayuresh wrote: > - This is a problem for some, wasn't for me: No chromium browser. I could > make do with firefox. I still use firefox though I use Linux now. There is wip/chromium, it needs a determined person to keep it up to date and get patches

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread Martin Husemann
On Wed, Jul 19, 2017 at 11:57:47AM +, co...@sdf.org wrote: > On Wed, Jul 19, 2017 at 12:39:58PM +0200, Riccardo Mottola wrote: > > I'd also love SD card reader support :) > > Mine works... might be just a matter of recognizing your device as a > valid one Indeed (mine works too). Please

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread coypu
On Wed, Jul 19, 2017 at 12:39:58PM +0200, Riccardo Mottola wrote: > I'd also love SD card reader support :) Mine works... might be just a matter of recognizing your device as a valid one

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread Riccardo Mottola
Hi, Can I use NetBSD as a desktop system? YES. The only issue may be, as with all open OS, Hardware support. So It won't be Mac or Windows. I cannot use Skype, for example. But this is true also for OpenBSD, FreeBSD and Linux too (it exists, but it doesn't work for me). So supposing

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread coypu
I had a very hard time with suspend working originally, but all the fixes for my laptop are in -8 at least. Since my laptop would hard reset on resume, I userconf disabled drivers until I found the offending one, and it was fixed. Things were easier to identify on my desktop - drvctl -d hdaudio0

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread coypu
On Wed, Jul 19, 2017 at 04:04:02PM +0530, Mayuresh wrote: > I have still not got this to work. Can you share your experience or URLs? sysctl -w hw.acpi.sleep.state=3

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread Mayuresh
On Wed, Jul 19, 2017 at 10:08:38AM +, co...@sdf.org wrote: > - I only accidentally discovered how to suspend I have still not got this to work. Can you share your experience or URLs? Mayuresh.

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread coypu
Sure. Except for my phone, I don't use anything but NetBSD. I've got it on my laptop and desktop. my desktop is an i7-5280k which I use with an nvidia gtx 770, and the (outdated) laptop is a dell inspiron n4030 with many parts replaced. I usually run firefox listening to youtube for music or

Re: Can I use NetBSD as a desktop system?

2017-07-18 Thread Wes Fraizer
On Mon, Jul 17, 2017 at 03:03:47PM -0300, SOUL_OF_ROOT 55 wrote: > Can I use NetBSD as a desktop system? I use it as a desktop system. XFCE / Firefox / LibreOffice all run fine. Though ive switched to OpenBox recently, XFCE was just fine if one needs a full desktop environment.

Re: Can I use NetBSD as a desktop system?

2017-07-18 Thread Patrick Welche
On Mon, Jul 17, 2017 at 09:02:57PM +0200, Jan Danielsson wrote: >I do most of my office work on NetBSD, though there are a few issues > I use Macs for (printing, when people insist on sending Microsoft Office > documents, and a few other things). I bit the bullet and added cups to

Re: Can I use NetBSD as a desktop system?

2017-07-17 Thread Mayuresh
On Mon, Jul 17, 2017 at 03:03:47PM -0300, SOUL_OF_ROOT 55 wrote: > Can I use NetBSD as a desktop system? I used it for a few years, starting with NetBSD 4, and was pretty happy about it. Now I don't use because: - My wifi is not supported, after my hardware changed. (NetBSD has b

Re: Can I use NetBSD as a desktop system?

2017-07-17 Thread Jan Danielsson
On 07/17/17 20:03, SOUL_OF_ROOT 55 wrote: > Can I use NetBSD as a desktop system? That obviously depends on your needs. I do most of my office work on NetBSD, though there are a few issues I use Macs for (printing, when people insist on sending Microsoft Office documents, and a few ot

Re: Can I use NetBSD as a desktop system?

2017-07-17 Thread Michael Huff
066> On Jul 17, 2017, at 1:31 PM, SOUL_OF_ROOT 55 <soulofroo...@gmail.com <mailto:soulofroo...@gmail.com>> wrote: Can I use NetBSD as a desktop system?

Re: Can I use NetBSD as a desktop system?

2017-07-17 Thread Edgar Pettijohn
Depends on the desk. ⁣Sent from BlueMail ​ On Jul 17, 2017, 1:31 PM, at 1:31 PM, SOUL_OF_ROOT 55 <soulofroo...@gmail.com> wrote: >Can I use NetBSD as a desktop system?

Can I use NetBSD as a desktop system?

2017-07-17 Thread SOUL_OF_ROOT 55
Can I use NetBSD as a desktop system?