Re: Fixed modular kernel path and different kernels

2017-01-18 Thread Christos Zoulas
On Jan 19, 6:48am, p...@whooppee.com (Paul Goyette) wrote: -- Subject: Re: Fixed modular kernel path and different kernels | | Well, yes, that's what I said above regarding modules "pushed from the | boot loader." :-) | | It seems to me that we have a similar restriction on where the boot | lo

Re: Fixed modular kernel path and different kernels

2017-01-18 Thread Christos Zoulas
In article , Paul Goyette wrote: >-=-=-=-=-=- > >On Wed, 18 Jan 2017, Paul Goyette wrote: > >>> One obvious and trivial way to allow for testing like this is to have >>> boot -a also ask for an override of the module path. >> >> This should not be too difficult, although it would (continue to) ha

Re: [PATCH] Linux pselect6() implementation

2017-01-02 Thread Christos Zoulas
On Jan 2, 8:18am, m...@netbsd.org (Emmanuel Dreyfus) wrote: -- Subject: Re: [PATCH] Linux pselect6() implementation | On Mon, Jan 02, 2017 at 01:26:25AM +, Christos Zoulas wrote: | > This looks ok. I don't know if the code is different enough to drop the | > comment, that is

Re: [PATCH] Linux pselect6() implementation

2017-01-01 Thread Christos Zoulas
In article <1mz6oz7.vasmawiih0ham%m...@netbsd.org>, Emmanuel Dreyfus wrote: >Hello > >I seek comment regarding Linux's pselect6() implementation, which seems >required to run Matlab R2016a on NetBSD/amc64: >https://ftp.espci.fr/shadow/manu/pselect6.patch' > >1) The syscall has a 6th argument which

Re: Another kvm user can go away?

2016-12-30 Thread Christos Zoulas
In article , Paul Goyette wrote: >I have managed to provide access to all of the kernel history data via >sysctl, and I've come up with a modified version of vmstat(1) that can >read the data from sysctl rather than having to use kvm. > >Diffs for sys/sys/kernhist.h and sys/kern/kern_history.c

Re: spkr vs spkr_synth module

2016-12-12 Thread Christos Zoulas
> On Dec 12, 2016, at 4:38 PM, Manuel Bouyer wrote: > > > I feel that this should be more flexible. Maybe each audio device should > have its spkr_synth (in addition to the pcppi one where is exists); > then we just need a way to configure which one to use This is what I am going to try to d

Re: spkr vs spkr_synth module

2016-12-12 Thread Christos Zoulas
On Dec 12, 10:21pm, n...@netbsd.org (Nathanial Sloss) wrote: -- Subject: Re: spkr vs spkr_synth module | As for the module I think more platforms have audio than pcppi, so that spkr | synth should be the prominent one. | | And as for wskbd I was thinking that the bell function should use the spe

Re: spkr vs spkr_synth module

2016-12-12 Thread Christos Zoulas
On Dec 12, 6:01pm, p...@whooppee.com (Paul Goyette) wrote: -- Subject: Re: spkr vs spkr_synth module | You already did this, right? Yes. | > Why does speaker_attach_mi exists? when autoconf calls spkrattach in | > the spkr_sync case, the parent is audio0... | > | > Also the wskbd code can just

Re: Change vnode free lists to lru lists

2016-12-11 Thread Christos Zoulas
In article <1f2c31e0-c86e-4ba7-9cc3-848df5a5c...@eis.cs.tu-bs.de>, J. Hannken-Illjes wrote: >Vnodes are kept on freelists which means every vget() has to remove >them from the list and the last vrele() has to put them back. > >Changing the lists to lrulists removes the operation from vget() >and s

Re: spkr vs spkr_synth module

2016-12-10 Thread Christos Zoulas
On Dec 10, 9:02am, p...@whooppee.com (Paul Goyette) wrote: -- Subject: spkr vs spkr_synth module | I'm not sure if it's really correct to have the modules/spkr_synth.kmod | file contain a module named "spkr". It makes the modload/modunload | asymmetrical (modload spkr_synth vs modunload spkr),

Re: CPUs and processes not evenly assigned?!

2016-11-27 Thread Christos Zoulas
In article , Michael van Elst wrote: >hub...@feyrer.de (Hubert Feyrer) writes: > >>a) leave the situation as-is and wait for research to get a perfect formula >>b) commit the patch we have and wait for the research to be done > >>Given that the existing patch in PR kern/43561 and PR kern/51615 doe

Re: acpi & AcpiGbl_DsdtIndex not set?

2016-11-14 Thread Christos Zoulas
In article <87twbb0zbj@gmx.com>, scole_mail wrote: >I'm having an issue with ia64/ski and acpi, and would like to add the >patch below. > >I'm not sure if it is a just a ia64/ski issue, but it seems like >AcpiGbl_DsdtIndex is never getting set. From nxr, it looks like only >AcpiTbInstallFixe

Re: CPUs and processes not evenly assigned?!

2016-11-10 Thread Christos Zoulas
In article , Hubert Feyrer wrote: >On Thu, 10 Nov 2016, Michael van Elst wrote: Can you try this? >> >>> Tried it, and it seems to help with both 2 and 4 CPUs. >>> Codebase: -current >> >> Great, so the problem was just the rounding error. > >Yes. I've also played with it a bit more, and the

Re: netbsd32 syscalls sy_flags

2016-10-28 Thread Christos Zoulas
On Oct 29, 12:47am, co...@sdf.org (co...@sdf.org) wrote: -- Subject: Re: netbsd32 syscalls sy_flags | Hurray, it works! | I can continue building Firefox, which has hand-written o32 code. Well, you found out what was wrong, my part way easy :-) christos

Re: vioscsi cmd target id

2016-09-06 Thread Christos Zoulas
On Sep 6, 3:04pm, desai.p.ro...@gmail.com (Rohan Desai) wrote: -- Subject: Re: vioscsi cmd target id | Do you mean target 0? Isn't that the virtual bus target? The probing code | (see scsi_probe_bus in scsiconf.c) should skip this target since it matches | the channel id set by vioscsi. Yes... I

Re: vioscsi cmd target id

2016-09-01 Thread Christos Zoulas
In article , Rohan Desai wrote: >-=-=-=-=-=- > >Having an issue with vioscsi in GCE. vioscsi decrements the target id in >commands it sends to virtio. This means that the upper layers notion of the >target id is off by 1. This is especially problematic when presented a lun >on the last target of

Re: qsort_r again

2016-08-28 Thread Christos Zoulas
In article <20160827201952.gb6...@netbsd.org>, David Holland wrote: >(Cc: tech-kern because of kheapsort()) > >Some time back I made a set of patches for qsort_r(), that is, a >version of qsort that allows passing a data pointer through, along >with corresponding mergesort_r() and heapsort_r(). >

Re: UVM and the NULL page

2016-07-31 Thread Christos Zoulas
In article <29bc17a0-924a-9eb3-ea57-196853642...@m00nbsd.net>, Maxime Villard wrote: >Le 31/07/2016 à 15:39, Christos Zoulas a écrit : >> In article <311df12c-d620-1c09-92f5-72783f392...@m00nbsd.net>, >> Maxime Villard wrote: >>> >>> My first propo

Re: UVM and the NULL page

2016-07-31 Thread Christos Zoulas
In article <311df12c-d620-1c09-92f5-72783f392...@m00nbsd.net>, Maxime Villard wrote: > >My first proposion did not take care of the sysctl, because I didn't think it >was relevant. My last one does. Here is a patch for it. I believe it is safe >then to remove the va0_disable check in uvm_map. > >

Re: GSoC-2016

2016-07-26 Thread Christos Zoulas
In article , HRISHIKESH GOYAL wrote: >-=-=-=-=-=- > >Hi > >I am trying all the ways to get htree write fixed. But there are few things >in code that conceptually seems wrong like while loading a vnode for a >given inode-number, code doesn't load all the informations in the struct >inode. Specifi

Re: GSoC-2016

2016-07-24 Thread Christos Zoulas
On Jul 24, 5:52pm, hrishi.go...@gmail.com (HRISHIKESH GOYAL) wrote: -- Subject: Re: GSoC-2016 | Hello, | | sir, I am still struggling with htree index directory write support. The | problem that I am facing currently is in reading a directory file before | writing a new entry. During reading a

Re: CVS commit: src/sys

2016-07-14 Thread Christos Zoulas
In article <20160714105820.ga16...@homeworld.netbsd.org>, Martin Husemann wrote: >On Mon, Jul 11, 2016 at 07:37:00AM +, Ryota Ozaki wrote: >> Module Name: src >> Committed By:ozaki-r >> Date:Mon Jul 11 07:37:00 UTC 2016 >> >> Modified Files: >> src/sys/net: route

Re: GSoC-2016

2016-07-14 Thread Christos Zoulas
On Jul 14, 4:13pm, dholland-t...@netbsd.org (David Holland) wrote: -- Subject: Re: GSoC-2016 | On Thu, Jul 14, 2016 at 08:50:26AM -0400, Christos Zoulas wrote: | > | On Wed, Jul 13, 2016 at 02:39:37PM -0400, Christos Zoulas wrote: | > | > great, are we doing something abo

Re: GSoC-2016

2016-07-14 Thread Christos Zoulas
On Jul 14, 12:10pm, mar...@duskware.de (Martin Husemann) wrote: -- Subject: Re: GSoC-2016 | On Thu, Jul 14, 2016 at 12:09:38PM +0200, Martin Husemann wrote: | > On Wed, Jul 13, 2016 at 02:39:37PM -0400, Christos Zoulas wrote: | > > great, are we doing something about tunefs? | >

Re: GSoC-2016

2016-07-14 Thread Christos Zoulas
On Jul 14, 12:09pm, mar...@duskware.de (Martin Husemann) wrote: -- Subject: Re: GSoC-2016 | On Wed, Jul 13, 2016 at 02:39:37PM -0400, Christos Zoulas wrote: | > great, are we doing something about tunefs? | | You mean fsck_ext2fs ? Tunefs so we can adjust superblock flags. christos

Re: GSoC-2016

2016-07-14 Thread Christos Zoulas
ed the ext4fs in write mode. > > 4. Currently working on fixing some issues of Htree directory write support. > > Regards > Hrishikesh > > >> On Sun, Jul 10, 2016 at 12:27 AM, Christos Zoulas >> wrote: >> On Jul 9, 10:15pm, hrishi.go...@gmail.com (HRISHI

Re: GSoC-2016

2016-07-09 Thread Christos Zoulas
On Jul 9, 10:15pm, hrishi.go...@gmail.com (HRISHIKESH GOYAL) wrote: -- Subject: Re: GSoC-2016 | Hello sir | I have partially included the code for the htree indexing write support | with no build errors. But I am in a doubt that when will my code will run | if file-system is only allowed to mount

Re: dump to cgdNb device

2016-06-16 Thread Christos Zoulas
On Jun 16, 7:18am, al...@yandex.ru (Alexander Nasonov) wrote: -- Subject: Re: dump to cgdNb device | Christos Zoulas wrote: | > That means that either cpu_dump or the next function returned ENXIO. | > The code is very careful to dump only on partitions that are marked as | > swap and o

Re: dump to cgdNb device

2016-06-15 Thread Christos Zoulas
In article <20160615224955.GA2440@neva>, Alexander Nasonov wrote: >Hi, > >I setup an encrypted disk cgd1 (aes-cbc 256 on top of wd0g, disklabel >verification) with a dump device cgd1b but I can't dump to it (I enter >ddb and type sync to dump). It prints "device bad". > >If I enable CGDDEBUG and

Re: GSoC-2016

2016-06-10 Thread Christos Zoulas
= | r if it is not then why (i_flag&EXT4_INDEX) value is false. | Regards | Hrishikesh | On Sun, Jun 5, 2016 at 8:09 PM, Christos Zoulas <mailto:chris...@zoulas.com"; target=3D"_bl= | ank">chris...@zoulas.com> wrote:On Jun 5,=C2=A0 7= | :44am, mailto:hrishi.go...@gmail.c

Re: gets in the kernel

2016-06-07 Thread Christos Zoulas
On Jun 7, 3:20pm, dholland-t...@netbsd.org (David Holland) wrote: -- Subject: Re: gets in the kernel | On Tue, Jun 07, 2016 at 12:36:54PM +0200, Maxime Villard wrote: | > >I noticed that gets_s (a bounded version of gets) was added in the kernel. | > >While this iis nice, it conflicts with the

gets in the kernel

2016-06-05 Thread Christos Zoulas
Hi, I noticed that gets_s (a bounded version of gets) was added in the kernel. While this iis nice, it conflicts with the c-11 "Annex K" which has a different prototype (takes rsize_t instead of size_t). Perhaps we should rename this to kgets() or getl() now before it causes problems. Opinions?

Re: GSoC-2016

2016-06-02 Thread Christos Zoulas
On Jun 2, 11:48am, hrishi.go...@gmail.com (HRISHIKESH GOYAL) wrote: -- Subject: Re: GSoC-2016 | Alright sir. I will send you queries on Email. :) | At present I am able to read files having extents based files. | But I need to call bmap routine for extents based files explicitly. I want | to invo

Re: Improvements in amd64

2016-05-13 Thread Christos Zoulas
In article <5735b242.5010...@m00nbsd.net>, Maxime Villard wrote: >I've committed several improvements in amd64 these last days. > >In chronological order, for the record: > - I cleaned up the asm code and fixed several comments, which makes the >boot process much easier to understand. > - I

Re: MP-safe ifnet with psz & psref

2016-05-11 Thread Christos Zoulas
In article , Ryota Ozaki wrote: >On Wed, May 11, 2016 at 4:18 AM, matthew green wrote: >> Thor Lancelot Simon writes: >>> I do not think you should do any extra work to support kvm grovelling. > >Actually I do nothing other than leaving the original list >as it is. I thinks it's reasonable as wh

Re: MP-safe ifnet with psz & psref

2016-05-11 Thread Christos Zoulas
In article <11591.1462907...@splode.eterna.com.au>, matthew green wrote: >Thor Lancelot Simon writes: >> I do not think you should do any extra work to support kvm grovelling. > >existing tool functionality should not be broken, however. the >netstat -i groveller code should be either updated to

Re: bridge(4): BRIDGE_MPSAFE by default and applying psref(9)

2016-04-15 Thread Christos Zoulas
On Apr 15, 12:02pm, ozak...@netbsd.org (Ryota Ozaki) wrote: -- Subject: Re: bridge(4): BRIDGE_MPSAFE by default and applying psref(9) | +#ifdef NET_MPSAFE | + int s __unused; | +#else | int s; | +#endif | | for each function. Is there another way to deal with the error? |

Re: ddb: rename show arptab to show routes

2016-04-12 Thread Christos Zoulas
On Apr 13, 9:51am, ozak...@netbsd.org (Ryota Ozaki) wrote: -- Subject: Re: ddb: rename show arptab to show routes | On Tue, Apr 12, 2016 at 8:31 PM, Christos Zoulas wrote: | > In article , | > Ryota Ozaki wrote: | >>Hi, | >> | >>show arptab command of ddb is now inap

Re: ddb: rename show arptab to show routes

2016-04-12 Thread Christos Zoulas
In article , Ryota Ozaki wrote: >Hi, > >show arptab command of ddb is now inappropriate >because it actually dumps routes but arp entries >aren't routes anymore. Though, the feature is useful. >So I'd like to remain it as renamed to show routes >and move the code from if_arp.c to route.c. > >How

Re: DTrace on Xen?

2016-04-08 Thread Christos Zoulas
In article <20160409012248.ga27...@panix.com>, Thor Lancelot Simon wrote: >Next try: is DTrace (particularly FBT) expected to work on NetBSD/xen? > >I'm struggling to get some grasp on why I/O to SCSI disks uses *25X* more >CPU in "interrupt" time on the same system under NetBSD/xen than under >N

Re: RFC: nexthop cache separation

2016-04-07 Thread Christos Zoulas
On Apr 7, 3:42pm, ozak...@netbsd.org (Ryota Ozaki) wrote: -- Subject: Re: RFC: nexthop cache separation | On Thu, Apr 7, 2016 at 12:52 AM, Christos Zoulas wrote: | > On Apr 6, 11:53pm, ozak...@netbsd.org (Ryota Ozaki) wrote: | > -- Subject: Re: RFC: nexthop cache separation | > | >

Re: RFC: nexthop cache separation

2016-04-06 Thread Christos Zoulas
On Apr 6, 11:53pm, ozak...@netbsd.org (Ryota Ozaki) wrote: -- Subject: Re: RFC: nexthop cache separation | I set up an nfs client on NetBSD and an nfs server was Linux | (that I can set up quickly :-/). | | So you set up an nfs server and nfs client(s) and | the panic happens on the server, right

Re: RFC: nexthop cache separation

2016-04-06 Thread Christos Zoulas
In article , Ryota Ozaki wrote: >On Wed, Apr 6, 2016 at 1:57 AM, Christos Zoulas wrote: >> Since these changes, my machine crashes doing ufs lookups in /var/run >> for any daemons... This happens only if I turn nfs_client=YES in rc.conf. >> >> Seems something is corru

Re: RFC: nexthop cache separation

2016-04-05 Thread Christos Zoulas
Since these changes, my machine crashes doing ufs lookups in /var/run for any daemons... This happens only if I turn nfs_client=YES in rc.conf. Seems something is corrupting memory related to nfs. christos

Re: Adding sc_pid to SCM_CREDS

2016-03-30 Thread Christos Zoulas
In article <56fab3ec.4070...@marples.name>, Roy Marples wrote: >-=-=-=-=-=- > >Hi List > >For AF_UNIX SOCK_DGRAM sockets, the only way of obtaining credentials is >via LOCAL_CREDS which returns SCM_CREDS as a cmsg. >However, struct sockcred lacks the process id of the sender which is of >use to m

Re: Project: Convert printf() to aprint_*() and log()

2016-03-19 Thread Christos Zoulas
In article , Shalom Ray wrote: >Dear Concerned, > >Good day! Hope you are doing fine. I am an aspiring kernel programmer >and a newbie to open source community. I'm interested in doing the >project "Convert kernel printf() to aprint_*() or log()" link: >http://wiki.netbsd.org/projects/project/apr

Re: GSoC 2016

2016-03-14 Thread Christos Zoulas
In article , Hrishikesh goyal wrote: >-=-=-=-=-=- > >Hello Sir, > >Alright, I started some ext2fs specific thing, and trying to understand the >code. And I refer to Linux docs for understanding of ext4fs. The heading in >my ext4fs understanding includes documentation >For "extents" and "block gr

Re: Fwd: GSoC 2016

2016-03-11 Thread Christos Zoulas
In article , Hrishikesh goyal wrote: >-=-=-=-=-=- > >Hi sir, >I am pursuing BTech (branch CSE) at National Institute of Technology >Warangal, (India). I have implemented a basic unix file system(system V fs) >with limited functionality for linux-kernel-3.13.0.48. Now I am interested >in contribut

Re: UVM wait states

2016-02-24 Thread Christos Zoulas
On Feb 24, 5:37pm, p...@whooppee.com (Paul Goyette) wrote: -- Subject: Re: UVM wait states | > It is 6 now because of /... | | Hmmm. I still have a 24-core machine (dual AMD 12-core processors) | sitting in my too-expensive-to-run-and-cool pile. If I were to fire | this beast up, would top(1

Re: UVM wait states

2016-02-23 Thread Christos Zoulas
In article <20160224031758.7a34b60...@jupiter.mumble.net>, Taylor R Campbell wrote: > Date: Wed, 24 Feb 2016 00:08:46 + (GMT) > From: Robert Swindells > > Would there be any objection to the following patch, it makes it easier > to see in top(1) which thing a process is waiting for.

Re: UVM wait states

2016-02-23 Thread Christos Zoulas
In article <20160224000846.a48bd302...@ren.fdy2.co.uk>, Robert Swindells wrote: > >Would there be any objection to the following patch, it makes it easier >to see in top(1) which thing a process is waiting for. go for it :-) christos

Re: Fixing Netbsd Issue:: Convert kernel printf() to aprint_*() or log()

2016-02-20 Thread Christos Zoulas
In article , Usama Mehboob wrote: >-=-=-=-=-=- > >Hi, > >I am a newbie kernel hacker :) and trying to fix this issue first to get >involved with complex tasks later. > >*My current NetBsd Setup:* >VirtualBox, HDD7GB, RAM 1GB Netbsd7.0 > >I have updated the /usr/src with latest NetBsd-release bran

Re: kernel memory allocation failures

2016-02-15 Thread Christos Zoulas
In article <20160215212942.ga7...@spathi.chuq.com>, Chuck Silvers wrote: >-=-=-=-=-=- > >On Fri, Dec 11, 2015 at 12:16:19PM -0500, Christos Zoulas wrote: >> On Dec 11, 8:54am, c...@chuq.com (Chuck Silvers) wrote: >> -- Subject: Re: kernel memory allocation failures &g

Re: DTrace "sched" provider - reviews?

2016-02-01 Thread Christos Zoulas
In article <56afd5bc.1000...@netbsd.org>, Jeff Rizzo wrote: >-=-=-=-=-=- > >I've taken a stab at implementing the DTrace "sched" provider, for most >of the probes listed here which made sense: >http://dtrace.org/guide/chp-sched.html#tbl-sched > >Please note that this was my first foray into the

Re: dbcool, envsys, powerd shutting down my machine

2016-02-01 Thread Christos Zoulas
In article <56af205f.2030...@marples.name>, Roy Marples wrote: >On 30/01/2016 19:39, Constantine A. Murenin wrote: >> In general, I personally don't think it ever makes sense to shutdown >> by default when the temperature is exceeded, since most of these >> sensors aren't really all that reliable

Re: I can't generate a kernel crash core.

2016-01-28 Thread Christos Zoulas
In article , Michael van Elst wrote: >chris...@astron.com (Christos Zoulas) writes: > >>It is not easy to go from dev_t -> device_t to exclude... > >Ideally its impossible because both aren't related. But >the common idiom is to search for the device with the

Re: I can't generate a kernel crash core.

2016-01-28 Thread Christos Zoulas
In article , Michael van Elst wrote: >bou...@antioche.eu.org (Manuel Bouyer) writes: > >>> The driver gets detached in config_detach_all() during a >>> regular reboot unless you use the RB_NOSYNC flag. Unfortunately >>> this also prevents unmounting and syncing the filesystems. > >>RB_DUMP should

Re: I can't generate a kernel crash core.

2016-01-28 Thread Christos Zoulas
In article , Jose Luis Rodriguez Garcia wrote: >I have been debuging this problem with gdb and printfs in the source >for locate the path. > >I have found it fails in: > >arch/amd64/amd64/machdep.c:dodumpsys does: psize = bdev_size(dumpdev); >kern/subr_devsw.c:bdev_size calls rv = (*d->d_psize)(d

Re: cookies and kmem_alloc

2016-01-26 Thread Christos Zoulas
On Jan 26, 6:17am, dholland-t...@netbsd.org (David Holland) wrote: -- Subject: Re: cookies and kmem_alloc | On Mon, Jan 25, 2016 at 02:31:15PM -0500, Christos Zoulas wrote: | > The directory functions pass around ap_cookies, and ap_ncookies, | > but if one uses kmem_alloc() instead of

cookies and kmem_alloc

2016-01-25 Thread Christos Zoulas
Hi, The directory functions pass around ap_cookies, and ap_ncookies, but if one uses kmem_alloc() instead of malloc(), there is no way to kmem_free() the buffer, since we don't pass the size. I suggest that we add a new field called ap_acookies, which holds the size we allocated with kmem_alloc()

Re: EFI and ACPI

2016-01-22 Thread Christos Zoulas
In article , Sheda wrote: >On Fri, Jan 22, 2016 at 1:46 AM, Christos Zoulas wrote: >> In article >> , >> Sheda wrote: >>>The patch (grub-knetbsd-efi-systbl.patch) I submitted to the GRUB team >>>in 2014 was commited. So it would be great to integrate i

Re: EFI and ACPI

2016-01-21 Thread Christos Zoulas
In article , Sheda wrote: >Hi, > >The patch (grub-knetbsd-efi-systbl.patch) I submitted to the GRUB team >in 2014 was commited. So it would be great to integrate its >NetBSD-counterpart (efi.patch) or at least discuss it. >The problem this patches solve consist in booting NetBSD/amd64 on an >EFI

Re: vnd.c 1.254

2016-01-16 Thread Christos Zoulas
On Jan 16, 10:36pm, bou...@antioche.eu.org (Manuel Bouyer) wrote: -- Subject: Re: vnd.c 1.254 | On Sat, Jan 16, 2016 at 04:27:20PM -0500, Christos Zoulas wrote: | > On Jan 16, 8:52pm, bou...@antioche.eu.org (Manuel Bouyer) wrote: | > -- Subject: Re: vnd.c 1.254 | > | > | yes. | >

Re: vnd.c 1.254

2016-01-16 Thread Christos Zoulas
On Jan 16, 8:52pm, bou...@antioche.eu.org (Manuel Bouyer) wrote: -- Subject: Re: vnd.c 1.254 | yes. | I don't know what vnd_cd.cd_ndevs is supposed to be when the | number of pseudo-device is not hardcoded in the kernel It is supposed to be 4 or the max allocated so far if that's bigger. christ

Re: vnd.c 1.254

2016-01-16 Thread Christos Zoulas
On Jan 16, 7:21pm, bou...@antioche.eu.org (Manuel Bouyer) wrote: -- Subject: vnd.c 1.254 | Hello, | what problem are you trying to solve with this commit to sys/dev/vnd.c ? | revision 1.251 | date: 2015/11/09 17:41:24; author: christos; state: Exp; lines: +3 -5 | Return ENXIO if the get ioctl

Re: Patch: CPU RNG framework with stub x86 implementation

2016-01-12 Thread Christos Zoulas
In article <20160112133034.gh18...@pony.stderr.spb.ru>, Valery Ushakov wrote: >On Mon, Jan 11, 2016 at 21:59:20 -0500, Thor Lancelot Simon wrote: > >> On Mon, Jan 11, 2016 at 07:58:09PM -0500, Andrew Cagney wrote: >> > On 10 January 2016 at 21:08, Thor Lancelot Simon wrote: >> > > As requested -

Re: amd64 profiling kernel build failure

2016-01-08 Thread Christos Zoulas
In article <20160108173359.a539f1cc...@yaml.nerv.org>, Ryo Shimizu wrote: > >Hi all > >>Hi, >> >>On 2016/01/08 16:00, David Holland wrote: >>> On Fri, Jan 08, 2016 at 06:50:02AM +, David Holland wrote: >>> > > --- a/sys/kern/subr_prof.c >>> > > +++ b/sys/kern/subr_prof.c >>> > > @@ -48,

Re: acpi without pci, and pci bridges

2015-12-30 Thread Christos Zoulas
In article <20151230161150.GA29981@dstar>, scole_mail wrote: >The ia64 GENERIC kernel won't compile anymore: > >[snipped...] ># link GENERIC/netbsd >/home/scole/nbsd/src/obj/tooldir.NetBSD-7.0.0_PATCH-i386/bin/ia64--netbsd-ld >-Map netbsd.map --cref -T netbsd.ldscript -e start -X -o netbsd

Re: RFC: gif(4) MP-ify

2015-12-27 Thread Christos Zoulas
On Dec 28, 10:25am, k-nakah...@iij.ad.jp (Kengo NAKAHARA) wrote: -- Subject: Re: RFC: gif(4) MP-ify | I thought leaving a cache alignment to the API might be better than | modifying the variable with __cacheline_aligned manually. Yes, that has the complexity of extra allocation/free management th

Re: RFC: gif(4) MP-ify

2015-12-25 Thread Christos Zoulas
In article <567d031f.90...@iij.ad.jp>, Kengo NAKAHARA wrote: >Hi, > >I MP-ify gif(4) interface and ip_encap which is required by gif(4). > >Here is the patch >http://www.netbsd.org/~knakahara/gif-mp-ify/gif-mp-ify.patch > >Could you comment this patch? > Looks fine; nits: - there are spaces

Re: tmpfs race conditions

2015-12-22 Thread Christos Zoulas
On Dec 22, 4:45pm, dholland-t...@netbsd.org (David Holland) wrote: -- Subject: Re: tmpfs race conditions | On Tue, Dec 22, 2015 at 04:15:47PM +, Christos Zoulas wrote: | > 1. Do we have a PR for the MFS umount hang? | | Don't think so. | | > 2. Do we have a PR for the

Re: tmpfs race conditions

2015-12-22 Thread Christos Zoulas
In article <20151222142704.ga3...@britannica.bec.de>, Joerg Sonnenberger wrote: >On Mon, Oct 12, 2015 at 09:40:09PM +0200, Joerg Sonnenberger wrote: >> I have a build machine building pkgsrc where I see some very strange >> issues. The individual chroots share a read-only null-mounted base >> dir

Re: Freeze with BPF BIOCSFEEDBACK

2015-12-17 Thread Christos Zoulas
On Dec 17, 11:28pm, rhia...@falu.nl (Rhialto) wrote: -- Subject: Re: Freeze with BPF BIOCSFEEDBACK | Thanks! That fixes this problem. | | Interestingly enough, I still can't seem to communicate (I tried with | telnet) between the host system and the emulated system. | | As before, it works betwe

Re: Freeze with BPF BIOCSFEEDBACK

2015-12-16 Thread Christos Zoulas
In article <20151216223612.ga1...@falu.nl>, Rhialto wrote: >-=-=-=-=-=- > >I just had a freeze which likely was caused by BPF. This was with a >distributed GERNERIC version of 7.0/amd64. > >I was running a PDP-10 emulator, klh10, https://github.com/Rhialto/klh10 >which I configured to use BPF to

Re: kernel memory allocation failures

2015-12-11 Thread Christos Zoulas
On Dec 11, 7:30pm, dholland-t...@netbsd.org (David Holland) wrote: -- Subject: Re: kernel memory allocation failures | On Fri, Dec 11, 2015 at 11:00:06AM -0500, Christos Zoulas wrote: | > Fixing kmem_alloc() and friends not to fail under certain conditions might | > be possible, but it

Re: kernel memory allocation failures

2015-12-11 Thread Christos Zoulas
On Dec 11, 8:54am, c...@chuq.com (Chuck Silvers) wrote: -- Subject: Re: kernel memory allocation failures | I haven't looked see exactly what the internal conditions are that lead to | kmem_alloc(KM_SLEEP) returning NULL, so it's not clear whether having | kmem_alloc() retry or panic in that situ

Re: kernel memory allocation failures

2015-12-11 Thread Christos Zoulas
On Dec 11, 7:25am, buh...@nfbcal.org (Brian Buhrow) wrote: -- Subject: Re: kernel memory allocation failures | Hello. I'm coming to this rather late, but my understanding is that | if you use malloc() in the kernel, you need to check to make sure you have | actually gotten that memory on r

Re: kernel memory allocation failures

2015-12-11 Thread Christos Zoulas
On Dec 11, 6:44am, dholland-t...@netbsd.org (David Holland) wrote: -- Subject: Re: kernel memory allocation failures | > how about instead we fix the kmem_alloc() implementation to match | > the man page? that seems much more practical to me. adding | > failure checks and recovery code to th

Re: thousands of callout_cpu0

2015-11-23 Thread Christos Zoulas
In article <47472dbca84.64566...@mail.owl.de>, Frank Wille wrote: >Hi! > >While debugging a different problem I checked the callout list with ddb(4) >on my Amiga and saw this: > >db> callout >hardclock_ticks now: 825 >ticks wheel arg func > -26 -1/-256

Re: kern_sig.c

2015-11-21 Thread Christos Zoulas
In article , Masao Uebayashi wrote: >On Sat, Nov 21, 2015 at 8:21 PM, Masao Uebayashi wrote: >> On Sat, Nov 21, 2015 at 8:13 PM, Masao Uebayashi wrote: >>> I'm too young to understand how signal works in kernel. But I guess >>> I'm not alone. >>> >>> I think that renaming things a bit would he

Re: WAPBL panic

2015-11-20 Thread Christos Zoulas
In article , Stephen Borrill wrote: >On Fri, 20 Nov 2015, Christos Zoulas wrote: >> On Nov 20, 1:45pm, m...@netbsd.org (Emmanuel Dreyfus) wrote: >> -- Subject: Re: WAPBL panic >> >> | On Fri, Nov 20, 2015 at 08:06:02AM -0500, Christos Zoulas wrote: >> | >

Re: Use lltable/llentry for NDP

2015-11-20 Thread Christos Zoulas
In article , Ryota Ozaki wrote: >Hi, > >As I promised somewhere, I'm trying to use >lltable/llentry, which were introduced for ARP >while ago, for NDP as well. > >Here is a patch: >http://www.netbsd.org/~ozaki-r/lltable-ndp.diff > > >Unlike ARP case, the old data structure (llinfo_nd6) >is simil

Re: WAPBL panic

2015-11-20 Thread Christos Zoulas
On Nov 20, 1:45pm, m...@netbsd.org (Emmanuel Dreyfus) wrote: -- Subject: Re: WAPBL panic | On Fri, Nov 20, 2015 at 08:06:02AM -0500, Christos Zoulas wrote: | > I don't know. Can you reproduce it? Removing a very large file or tree? | | Well I would rather prefer to not reproduce it si

Re: WAPBL panic

2015-11-20 Thread Christos Zoulas
On Nov 20, 4:51am, m...@netbsd.org (Emmanuel Dreyfus) wrote: -- Subject: Re: WAPBL panic | Christos Zoulas wrote: | | > >A fsck was run two days ago. Any idea of what can be wrong? Is it a | > >known problem? Would updating to netbsd-7 help? | > | > This is DIAGNOSTIC in c

Re: Xen, Bridge, VLANs

2015-11-19 Thread Christos Zoulas
In article <20151119105018.gq23...@caravaggio.net.espci.fr>, wrote: >-=-=-=-=-=- > >Hi, > >I submit the attached patch to your consideration for inclusion >(possibly with amendments) to the kernel source. > >It deals with an old issue raised on the port-xen ML on the 2008/06/21 >(http://mail-inde

Re: WAPBL panic

2015-11-19 Thread Christos Zoulas
In article <20151119142135.gb26...@homeworld.netbsd.org>, Emmanuel Dreyfus wrote: >Hi > >On NetBSD 6.1.5/amd64, I get > >panic: wapbl_flush: current transaction too big to flush > >^Mcpu1: Begin traceback... >^Mprintf_nolog() at netbsd:printf_nolog >^Mwapbl_begin() at netbsd:wapbl_begin >^Mwapbl

Re: POSIX.1 semaphores vs message queues

2015-11-13 Thread Christos Zoulas
In article , Masao Uebayashi wrote: > >I have tried to explain the need of kctors, instead of hardcoded >sequence of xxx_init() functions in init_main.c:main(), generated by >dependency. We need both constructors to handle dependencies and event handlers to notify subsystems about modules being

Re: arch/mips (and arch/alpha) pmap.c dependency on SYSVSHM

2015-11-04 Thread Christos Zoulas
In article , Paul Goyette wrote: >On Thu, 5 Nov 2015, Paul Goyette wrote: > >> Following up on my earlier modularization of the SYSV IPC code, I have >> discovered that mips's pmap.c includes some SYSVSHM size in the calcs >> for the system map sizes. At line 516 in arch/mips/mips/pmap.c we have

Re: Questions regarding 'struct modstat'

2015-11-03 Thread Christos Zoulas
In article , Paul Goyette wrote: >In sys/sys/module.h, we have the following definition of the 'struct >modstat' structure, (used by modctl(MODCTL_STAT, ...) to return kernel >data to userland): > >... >/* > * This structure intentionally has the same layout for 32 and 64 > * bit builds. > */

Re: compat linux futex problem

2015-10-29 Thread Christos Zoulas
In article <20151029002500.7a356302...@ren.fdy2.co.uk>, Robert Swindells wrote: > >I'm trying to run a fairly large Linux application that is a mixture of >Java and native code, it spawns off several threads but all of them >end up waiting on futex and not using any cpu time. > >I have run it wit

Re: Programmatically using NetBSD Version in ELF binaries

2015-10-23 Thread Christos Zoulas
On Oct 23, 5:54pm, sfis...@panix.com (Stephen Fisher) wrote: -- Subject: Re: Programmatically using NetBSD Version in ELF binaries | > $ readelf -n /bin/ls | > | > Notes at offset 0x01dc with length 0x0018: | > Owner Data size Description | > NetBSD

Re: Programmatically using NetBSD Version in ELF binaries

2015-10-23 Thread Christos Zoulas
In article <20151023214718.cd1b12e...@panix3.panix.com>, Stephen Fisher wrote: >While learning how to write assembly code on NetBSD, I decided to extend >readelf.c (from GNU binutils) to show the NT_VERSION value in an ELF >header, which is the NetBSD version in the format of the >__NetBSD_Version

Re: Change do_sys_mount()

2015-10-22 Thread Christos Zoulas
In article <56276e75.7000...@m00nbsd.net>, Maxime Villard wrote: >Hi, >here is a patch I must have written after fixing the bugs in mount one or >two years ago. It changes do_sys_mount() so that it only takes as argument >the type of the drive instead of its associated vfsops. > >It does change t

Re: Anomalies while handling p_nstopchild count

2015-10-10 Thread Christos Zoulas
On Oct 10, 3:27pm, campbell+netbsd-tech-k...@mumble.net (Taylor R Campbell) wrote: -- Subject: Re: Anomalies while handling p_nstopchild count | proc_lock may be held by another thread even if the caller is | guaranteed not to hold it. The other thread may furthermore be | waiting on p->p_lock,

Re: Anomalies while handling p_nstopchild count

2015-10-10 Thread Christos Zoulas
On Oct 10, 2:37pm, campbell+netbsd-tech-k...@mumble.net (Taylor R Campbell) wrote: -- Subject: Re: Anomalies while handling p_nstopchild count |Date: Sat, 10 Oct 2015 13:49:52 + (UTC) |From: chris...@astron.com (Christos Zoulas) | |In article , |Paul Goyette wrote

Re: Anomalies while handling p_nstopchild count

2015-10-10 Thread Christos Zoulas
In article , Paul Goyette wrote: >-=-=-=-=-=- >+ >+ if (!mutex_tryenter(proc_lock)) { >+ mutex_exit(p->p_lock); >+ mutex_enter(proc_lock); >+ mutex_enter(p->p_lock); >+ } Can you find out where exit1() is ca

Re: PCI extended configuration support

2015-10-01 Thread Christos Zoulas
On Oct 1, 7:21pm, msai...@execsw.org (Masanobu SAITOH) wrote: -- Subject: Re: PCI extended configuration support | pci_conf_read() have to call chip dependent function. I think | it's not good idea to call chip dependent function in pci_conf_size() | and ((c)->pci_conf_read)() twice. And, NOT al

Re: Brainy: UAF in iscsi_ioctl.c

2015-09-28 Thread Christos Zoulas
In article <57077d1c-4c77-4f82-adc5-723fa1e6f...@gmail.com>, Rich Neswold wrote: > >> On Sep 19, 2015, at 10:27 PM, Roy Marples wrote: >> >> But then you would miss out on the Found by Brainy advertisements! ;) > >You may have meant that in a friendly, teasing manner, but it comes >across as un

Re: PCI extended configuration support

2015-09-28 Thread Christos Zoulas
On Sep 28, 7:51pm, msai...@execsw.org (Masanobu SAITOH) wrote: -- Subject: Re: PCI extended configuration support | On 2015/09/27 11:03, Christos Zoulas wrote: | > In article <5604d1be.3080...@execsw.org>, | > Masanobu SAITOH wrote: | >> On 2015/09/11 19:44, Mas

Re: PCI extended configuration support

2015-09-26 Thread Christos Zoulas
In article <5604d1be.3080...@execsw.org>, Masanobu SAITOH wrote: >On 2015/09/11 19:44, Masanobu SAITOH wrote: > >More machines support the extended configuration area than before. > > Is it OK to commit? LGTM, but since this is not performance critical can't we centralize the range test and do

<    1   2   3   4   5   6   7   8   9   >