Re: Re HDMI transmitter interface

2014-09-23 Thread Christoph Egger
Am 23.09.14 um 17:26 schrieb Matt Thomas: On Sep 23, 2014, at 6:47 AM, Taylor R Campbell riastr...@netbsd.org wrote: Date: Tue, 23 Sep 2014 15:41:25 +0200 From: Martin Husemann mar...@duskware.de On Tue, Sep 23, 2014 at 01:38:53PM +, Taylor R Campbell wrote: If it's GPL, we can

Re: Re HDMI transmitter interface

2014-09-23 Thread Christoph Egger
Am 23.09.14 um 21:52 schrieb Matt Thomas: On Sep 23, 2014, at 11:24 AM, Christoph Egger christoph_eg...@gmx.de wrote: Am 23.09.14 um 17:26 schrieb Matt Thomas: On Sep 23, 2014, at 6:47 AM, Taylor R Campbell riastr...@netbsd.org wrote: Date: Tue, 23 Sep 2014 15:41:25 +0200 From: Martin

Re: UVM crash in NetBSD/i386 PAE with 32 GB of RAM

2014-01-21 Thread Christoph Egger
Am 21.01.14 20:54, schrieb David Laight: On Tue, Jan 21, 2014 at 10:31:08AM +, Emmanuel Dreyfus wrote: On Mon, Jan 20, 2014 at 04:18:38PM +, Emmanuel Dreyfus wrote: Changing memory fixed the problem. The machine now boots 6.0 i386 PAE with SMP enabled and 128 GB of RAM installed, and

hang on boot

2012-10-26 Thread Christoph Egger
Hi, this machine (-current, amd64, xen dom0) hangs at boot. dmesg snippet: svwsata0 at pci1 dev 14 function 0: ServerWorks HT-1000 SATA Controller (rev. 0x00) svwsata0: using ioapic0 pin 7, event channel 7 for native-PCI interrupt atabus0 at svwsata0 channel 0 atabus1 at svwsata0 channel 1

Re: introduce device_is_attached()

2012-04-17 Thread Christoph Egger
On 04/16/12 19:41, Christoph Egger wrote: On 16.04.12 19:12, Matt Thomas wrote: On Apr 16, 2012, at 9:52 AM, Christoph Egger wrote: Hi, I want to introduce a new function to sys/devices.h: bool device_is_attached(device_t parent, cfdata_t cf); I'd prefer device_is_attached_p Ok, I

Re: introduce device_is_attached()

2012-04-17 Thread Christoph Egger
On 04/16/12 19:37, David Young wrote: On Mon, Apr 16, 2012 at 06:52:28PM +0200, Christoph Egger wrote: Hi, I want to introduce a new function to sys/devices.h: bool device_is_attached(device_t parent, cfdata_t cf); The purpose is for bus drivers who wants to attach children and ensure

introduce device_is_attached()

2012-04-16 Thread Christoph Egger
Hi, I want to introduce a new function to sys/devices.h: bool device_is_attached(device_t parent, cfdata_t cf); The purpose is for bus drivers who wants to attach children and ensure that only one instance of it will attach. 'parent' is the bus driver and 'cf' is the child device as passed

Re: introduce device_is_attached()

2012-04-16 Thread Christoph Egger
On 16.04.12 19:12, Matt Thomas wrote: On Apr 16, 2012, at 9:52 AM, Christoph Egger wrote: Hi, I want to introduce a new function to sys/devices.h: bool device_is_attached(device_t parent, cfdata_t cf); I'd prefer device_is_attached_p Ok, I will rename it. The purpose is for bus

Re: maximum number of CPUs

2012-02-25 Thread Christoph Egger
On 25.02.12 10:29, Sad Clouds wrote: On Thu, 23 Feb 2012 20:58:45 + Mindaugas Rasiukevicius rm...@netbsd.org wrote: Brook Milligan br...@nmsu.edu wrote: I understand that at least on the i386/amd64 ports CPUs are tracked with a 32-bit mask and thus at most 32 CPUs may be active. How

Re: kernel crash at ibm x3850

2012-01-13 Thread Christoph Egger
On 01/13/12 13:34, Patrick Welche wrote: On Fri, Jan 13, 2012 at 11:54:58AM +0100, 6b...@6bone.informatik.uni-leipzig.de wrote: if I boot the netbsd-5-1-1 install media at an ibm x3850 the kernel crashs. You can find the screenshot at https://suse.uni-leipzig.de/ibm-x3850.jpg Any ideas what

Re: USB contigmalloc()

2011-12-02 Thread Christoph Egger
On 12/02/11 10:20, matthew green wrote: On Fri, Dec 02, 2011 at 01:51:42AM +0900, Izumi Tsutsui wrote: Anyway, currently our udl(4) doesn't require such allocation, It's also a problem for radeondrm (no USB involved). freebsd implemented a different fix for this, which i think involved

Re: dom0 lockdebug panic

2011-09-22 Thread Christoph Egger
On 09/22/11 02:00, Jean-Yves Migeon wrote: On 21.09.2011 17:47, Christoph Egger wrote: Hi, when I boot latest -current dom0 kernel I get this panic: Mutex error: lockdebug_barrier: spin lock held lock address : 0xa00023604790 type : spin initialized : 0x803276c0 shared holds

Re: NFS server problems (lockup) on netbsd-5

2011-04-27 Thread Christoph Egger
On 04/26/11 18:31, Manuel Bouyer wrote: Hello, I tried upgrading a NFS server to today's netbsd-5 branch, without success. The previous kernel (netbsd-5 from 7 feb 2010) is rock solid. I tried a kernel from before the recent nfs-related pullups, it shows the same symptoms. After a few hours of

Re: diff: ddb: gather common code for x86

2011-04-06 Thread Christoph Egger
On 04/06/11 13:44, Vladimir Kirillov wrote: Hello, tech-kern@! Here's the diff for ddb(4): - reuse the common code for stack traces (and rely on sizeof(long) in most cases) - use db_read_* api to be usable from crash(8). I need this for crash(8) amd64 support

Re: extent-patch and overview of what is supposed to follow

2011-04-01 Thread Christoph Egger
On 04/01/11 08:35, Lars Heidieker wrote: Hi, this is a part of the changes to the kernel memory management. It's a changing the subr_extent to use kmem(9) instead of malloc(9) essentially removing the MALLOC_TYPE from it. The next steps will provide the changes to the kmem(9)/pool(9) and the

Re: high sys time, very very slow builds on new 24-core system

2011-03-24 Thread Christoph Egger
On 03/23/11 22:24, Thor Lancelot Simon wrote: I have a new machine with 24 2Ghz Opteron cores. It has 32GB of RAM. Building with sources on a fast SSD (preloaded into the page cache before the build using tar /dev/null) and obj, dest, and rel dirs on tmpfs, system builds are extraordinarily

Re: rump is complete

2011-03-21 Thread Christoph Egger
On 21.03.11 16:45, Antti Kantee wrote: Hi, I have accomplished everything I want to with rump and plan to declare it stable in NetBSD 6. This implies adding new interfaces will slow down, and changing old old ones will require backward compat. If you are interested in the unique

Re: IEEE80211_IOC_MLME ioctl failure

2011-03-07 Thread Christoph Egger
On 03/04/11 09:21, Christoph Egger wrote: On 21.02.11 18:44, David Young wrote: On Mon, Feb 21, 2011 at 05:55:28PM +0100, Christoph Egger wrote: Hi! I configured my wlan with wpa_supplicant. When I do wpa_supplicant -dd -i ath0 -c /etc/wpa_supplicant/wpa_supplicant.conf I get this output

Re: IEEE80211_IOC_MLME ioctl failure

2011-03-04 Thread Christoph Egger
On 21.02.11 18:44, David Young wrote: On Mon, Feb 21, 2011 at 05:55:28PM +0100, Christoph Egger wrote: Hi! I configured my wlan with wpa_supplicant. When I do wpa_supplicant -dd -i ath0 -c /etc/wpa_supplicant/wpa_supplicant.conf I get this output: [...] State: SCANNING - ASSOCIATING

Re: xorg pci probing

2011-01-19 Thread Christoph Egger
On 19.01.11 00:22, Christoph Egger wrote: On 19.01.11 00:09, David Young wrote: On Wed, Jan 19, 2011 at 08:18:40AM +1100, matthew green wrote: David Young wrote: On Tue, Jan 18, 2011 at 11:22:33AM +0100, Christoph Egger wrote: Moving that function into wsdisplay.c will add bus dependencies

Re: xorg pci probing

2011-01-19 Thread Christoph Egger
On 19.01.11 03:02, Michael wrote: Hello, On Jan 18, 2011, at 3:31 AM, Christoph Egger wrote: On 15.01.11 22:26, Christoph Egger wrote: Hi! I have a machine with two PCI graphic cards: 1x Radeon HD 4200 1x Radeon HD 5600 Starting X fails with the error message Primary device

Re: xorg pci probing

2011-01-19 Thread Christoph Egger
On 19.01.11 09:19, Michael wrote: Hello, On Jan 19, 2011, at 3:08 AM, Christoph Egger wrote: On 19.01.11 00:22, Christoph Egger wrote: On 19.01.11 00:09, David Young wrote: On Wed, Jan 19, 2011 at 08:18:40AM +1100, matthew green wrote: David Young wrote: On Tue, Jan 18, 2011 at 11:22

Re: xorg pci probing

2011-01-19 Thread Christoph Egger
On 19.01.11 09:28, Christoph Egger wrote: On 19.01.11 09:19, Michael wrote: Hello, On Jan 19, 2011, at 3:08 AM, Christoph Egger wrote: On 19.01.11 00:22, Christoph Egger wrote: On 19.01.11 00:09, David Young wrote: On Wed, Jan 19, 2011 at 08:18:40AM +1100, matthew green wrote: David Young

Re: xorg pci probing

2011-01-18 Thread Christoph Egger
On 16.01.11 11:44, Martin Husemann wrote: On Sat, Jan 15, 2011 at 10:26:13PM +0100, Christoph Egger wrote: Hi! I have a machine with two PCI graphic cards: 1x Radeon HD 4200 1x Radeon HD 5600 Starting X fails with the error message Primary device is not PCI Per discussion with macallen

Re: xorg pci probing

2011-01-18 Thread Christoph Egger
i like this look of this much better than prior patches. thanks for doing this properly. i just have one minor suggestion. i don't see the point in the two new files with one function proto and a 5 line function. can you please move them into wsdisplay.c and wsdisplayvar.h? thanks.

Re: xorg pci probing

2011-01-18 Thread Christoph Egger
One nit: +wsdisplayio_busid_pci(device_t self, pci_chipset_tag_t pc, +pcitag_t tag, void *data) +{ + struct wsdisplayio_bus_id *busid = data; + + busid-bus_type = WSDISPLAYIO_BUS_PCI; + busid-ubus.pci.domain = device_unit(device_parent(self)); Please add a

Re: xorg pci probing

2011-01-18 Thread Christoph Egger
So everything is fine, nothing to see here - carry on! Ok thanks. I am waiting for green light to commit. Christoph

xorg pci probing

2011-01-15 Thread Christoph Egger
: $ */ +/* + * Copyright (c) 2008 The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Christoph Egger. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted

panic on xen guest shutdown

2010-12-16 Thread Christoph Egger
Hi! When I start a xen guest I get this message: xbdback backend/vbd/1/832: can't VOP_OPEN device 0xe13: 16 And when I shutdown the guest I get this panic: panic: kernel diagnostic assertion vp == vp-v_specnode-sn_dev-sd_bdevvp failed: file sys/miscfs/specfs/spec_vnops.c, line 1013 panic()

Re: panic on xen guest shutdown

2010-12-16 Thread Christoph Egger
On Thu, Dec 16, 2010 at 03:13:33PM +0100, Christoph Egger wrote: Hi! When I start a xen guest I get this message: xbdback backend/vbd/1/832: can't VOP_OPEN device 0xe13: 16 16 is EBUSY. is it a HVM guest, or a PV guest ? HVM guest Also, you didn't mention which NetBSD

Re: panic on xen guest shutdown

2010-12-16 Thread Christoph Egger
Hi! When I start a xen guest I get this message: xbdback backend/vbd/1/832: can't VOP_OPEN device 0xe13: 16 16 is EBUSY. is it a HVM guest, or a PV guest ? HVM guest So it looks like qemu has the device already open, which prevents the backend to opening it

Re: panic on xen guest shutdown

2010-12-16 Thread Christoph Egger
On Thu, Dec 16, 2010 at 05:29:00PM +0100, Christoph Egger wrote: Hi! When I start a xen guest I get this message: xbdback backend/vbd/1/832: can't VOP_OPEN device 0xe13: 16 16 is EBUSY. is it a HVM guest, or a PV guest ? HVM guest So

Re: acpivga(4) v. MI display controls

2010-10-14 Thread Christoph Egger
On 15.10.10 01:50, David Young wrote: It's important to be able to control display switching and brightness, but I don't think that those functions should reside in acpivga(4) and acpiout(4) devices under acpi(4). For example, I read in somebody's dmesg today: acpivga0 at acpi0 (GFX0):

16 year old bug

2010-08-23 Thread Christoph Egger
... has been found by OpenBSD: Their commit message: Fix a 16 year old bug in the sorting routine for non-contiguous netmasks. For masks of identical length rn_lexobetter() did not stop on the first non-equal byte. This leads rn_addroute() to not

Re: Balloon driver.

2010-07-09 Thread Christoph Egger
On Thursday 08 July 2010 17:42:46 Cherry G. Mathew wrote: Hi Christoph, On 7 July 2010 14:30, Christoph Egger christoph_eg...@gmx.de wrote: [...] Though I have to report a bug: I have an amd64 Dom0 kernel w/o XEN_BALLOONING in the kernel config. Boot the xen kernel with dom0_mem

Re: PAT pmap(9) changes (was Re: CVS commit: src)

2010-07-08 Thread Christoph Egger
On Wednesday 07 July 2010 22:49:51 David Young wrote: On Tue, Jul 06, 2010 at 08:50:36PM +, Christoph Egger wrote: Module Name:src Committed By: cegger Date: Tue Jul 6 20:50:36 UTC 2010 Modified Files: src/share/man/man9: pmap.9 src/sys/arch

Re: PAT pmap(9) changes (was Re: CVS commit: src)

2010-07-08 Thread Christoph Egger
On Thursday 08 July 2010 14:33:12 Thor Lancelot Simon wrote: On Thu, Jul 08, 2010 at 12:12:57PM +0200, Christoph Egger wrote: No comments on this last version. Some of us scarcely have had time to reply to the second version. :-/ It was enough time for code review. I thought

Re: PAT pmap(9) changes (was Re: CVS commit: src)

2010-07-08 Thread Christoph Egger
On Thursday 08 July 2010 15:08:07 Thor Lancelot Simon wrote: On Thu, Jul 08, 2010 at 03:03:06PM +0200, Christoph Egger wrote: On Thursday 08 July 2010 14:33:12 Thor Lancelot Simon wrote: On Thu, Jul 08, 2010 at 12:12:57PM +0200, Christoph Egger wrote: No comments on this last version

Re: Balloon driver.

2010-07-07 Thread Christoph Egger
On Tuesday 06 July 2010 17:02:08 Cherry G. Mathew wrote: On 6 July 2010 09:19, Cherry G. Mathew cherry.g.mat...@gmail.com wrote: jym@ and I made a few more changes to this. Have a look here: ftp://ftp.netbsd.org/pub/NetBSD/misc/cherry/balloon/ Any feedback would be much appreciated. If

Re: MP locking?

2010-07-01 Thread Christoph Egger
On Thursday 01 July 2010 11:13:12 Manuel Bouyer wrote: On Wed, Jun 30, 2010 at 05:15:53PM -0400, der Mouse wrote: I have some kernel code which was written for a pre-MP kernel; it uses spl*() for locking. I'd like to roll this forward to something at least slightly more modern -

Re: PAT support

2010-06-30 Thread Christoph Egger
Wed, 19 May 2010 11:46:30 +0200, Andrew Doran wrote: On Wed, May 19, 2010 at 01:28:26AM +0200, Christoph Egger wrote: Attached patch adds PAT support to x86. I implement BUS_SPACE_MAP_PREFETCHABLE with it. Note, this patch adds MI pmap flags to uvm_pmap.h. Please review if they fit

Re: re: PAT support

2010-05-19 Thread Christoph Egger
what's PAT? Sorry for my cryptic mail. It was 1:30am. I just wanted to send out the patch and go to bed. PAT stands for Page-Attribute Table that extends the page-table entry format to provide memory caching capabilities on memory page-level. There is one PAT MSR which contains eight

Re: PAT support

2010-05-19 Thread Christoph Egger
On 20.05.10 01:15, David Young wrote: On Wed, May 19, 2010 at 11:43:00AM +0200, Christoph Egger wrote: The following memory types exist: - Uncacheable (UC) - Write-Combining (WC) - Write-Protect (WP) - Write-Through (WT) - Writeback (WB) - Uncacheable Minus (UC-) IIUC

PAT support

2010-05-18 Thread Christoph Egger
@@ +/* $NetBSD: $*/ + +/* + * Copyright (c) 2010 The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Christoph Egger. + * + * Redistribution and use in source and binary forms, with or without

patch: move PMAP_KMPAGE into flags

2010-05-13 Thread Christoph Egger
Hi! Attached is a patch which moves PMAP_KMPAGE into the flags argument of pmap_kenter_pa. Any comments? Christoph Index: sys/arch/arm/arm32/pmap.c === RCS file: /cvsroot/src/sys/arch/arm/arm32/pmap.c,v retrieving revision 1.212

patch: PMAP_CANFAIL corrections

2010-05-13 Thread Christoph Egger
Hi! Attached patch corrects use of PMAP_CANFAIL to not be or'd with protection. Pass protection to the protection parameter of pmap_enter instead. Any comments? Christoph diff -r f0002006fa5e sys/arch/xen/xen/privcmd.c --- a/sys/arch/xen/xen/privcmd.cThu May 13 17:30:37 2010 +0200 +++

Re: hang in tstile with Samsung Galaxy

2010-04-09 Thread Christoph Egger
On 09.04.10 11:06, Manuel Bouyer wrote: On Fri, Apr 09, 2010 at 10:46:32AM +0200, Christoph Egger wrote: Hi! When I plug my Samsung Galaxy mobile phone via USB, I get this dmesg output: umodem0 at uhub1 port 2 configuration 2 interface 0 umodem0: Qualcomm Incorporated Samsung Android USB

Re: hang in tstile with Samsung Galaxy

2010-04-09 Thread Christoph Egger
On 09.04.10 14:55, Manuel Bouyer wrote: On Fri, Apr 09, 2010 at 11:36:44AM +0200, Christoph Egger wrote: sleepq_block+0xcd turnstile_block+0x2dd mutex_enter+0x26b Its it waiting on sd-sc_dk.dk_openlock ? What does sdopen+0x7a point to ? It points to sys/dev/scsipi/sd.c:409 if (sd

Re: hang in tstile with Samsung Galaxy

2010-04-09 Thread Christoph Egger
On 09.04.10 15:12, Andrew Doran wrote: On Fri, Apr 09, 2010 at 03:03:06PM +0200, Christoph Egger wrote: On 09.04.10 14:55, Manuel Bouyer wrote: On Fri, Apr 09, 2010 at 11:36:44AM +0200, Christoph Egger wrote: sleepq_block+0xcd turnstile_block+0x2dd mutex_enter+0x26b Its it waiting on sd

Re: (Semi-random) thoughts on device tree structure and devfs

2010-03-08 Thread Christoph Egger
On 07.03.10 13:02, Masao Uebayashi wrote: The good news: dyoung@ and I started with prototyping pmem(9) that provides an MI physical address space management. The bad news: We had no time to continue on this for more than a year now. What have you achieved?

Re: removing aiboost(4) as redundant

2010-03-05 Thread Christoph Egger
On 06.03.10 07:47, Constantine Aleksandrovich Murenin wrote: Hi, The attached patch completely disconnects aiboost(4) from the tree. Also removed will be files src/sys/dev/acpi/aiboost.c and src/share/man/man4/aiboost.4. The aiboost(4) driver has become redundant since the introduction of