netbsd-tech-kern mailing list

FromSubjectsort iconDate
George Georgalis
new hardware, dmesg question
I'm evaluating a new hardware, which the manufacture (supermicro) has demonstrated to work with the following dmesg. But a few lines concern me: NVIDIA product 0x0369 (RAM memory, revision 0xa2) at pci0 dev 0 function 0 not configured pcib0 at pci0 dev 1 function 0 pcib0: NVIDIA product 0x0364 (rev. 0xa3) NVIDIA MCP55 SMBus (SMBus serial bus, revision 0xa3) at pci0 dev 1 function 1 not configured NVIDIA product 0x036a (RAM memory, revision 0xa3) at pci0 dev 1 function 2 not configured ohci0 at ...
Mar 2, 3:46 pm 2007
Blair Sadewitz
virtual audio devices a la /dev/pts
I'd like to hear if anyone has any thoughts/comments/etc on the code in the attachment. The name of the project is the "ethernet speaker system" (see google). Basically, what I'm thinking is that--using this code as a starting point--the MI audio system could be extended to provide allocation of virtual audio devices in the same way as ttys are allocated. In theory, it could even be implemented as a puffs filesystem (using symlinks for the multiple devices) for greater flexibility. Now ...
Mar 2, 1:36 pm 2007
George Georgalis
DOS on private network, and pf bug
I lost all shell access to my netbsd 3.1 box yesterday. it's on a secure network where only trusted users can access it. they might connect by a wired switch, wifi + vpn to that switch (locally or remote) or they may have a vpn wired remote connection. the host does very little, network protocol wise, internet and mail gw, lan dns and sshd. it's running pf and pflogd (though I'm not listening to pflogd atm) with fairly simple pf rules, other than nat, pass and block lines we have the following ...
Mar 2, 2:20 pm 2007
Andrew Reilly
(unknown)
On Fri, 2 Mar 2007 22:00:25 +0100 The link above contains the following link to the paper: http://cm.bell-labs.com/sys/doc/lexnames.html That goes to a page that says that the document was not found. Do you have a more recent/active link? (Should update the netbsd projects page with it, too.) Cheers, -- Andrew
Mar 2, 8:16 pm 2007
Jean-Baptiste Campesato
Fix “..” semantics project
Hello, I've finished to implement a "first draft" of a Plan 9-like getcwd as described in Rob Pike's paper: http://www.netbsd.org/contrib/projects.html#dotdot I added a char[] called cwdi_cwd in cwdinfo. cwdi_cwd is modified by a chdir, a fchdir, a chroot, a fchroot, or after a mount modifying cwdi_cdir (checkdirs()). If the pwd isn't modified by a chdir, I set cwdi_cwd to "." (In this case getcwd will use the old method: getting the path from the vnode). I modified init to put "." in ...
Mar 2, 2:00 pm 2007
Stephen Borrill
/dev/ksyms not configured?
I'm trying to modload -s a lkm and I'm getting modload: /dev/ksyms: Device not configured (I need the symbol table loading for use by another lkm). This is GENERIC 3.1_STABLE with the lkm compiled up against the same source tree. The same lkm source and NetBSD tree code yields a loadable lkm elsewhere (not tried the same kernel, but GENERIC has "options LKM"). I can't see what's different except for this machine is using grub to dual boot with Linux. I'm doing a kernel load with "kernel ...
Mar 2, 1:49 pm 2007
Quentin Garnier
Re: /dev/ksyms not configured?
You're loading the NetBSD kernel directly with GRUB. That breaks ksyms, because GRUB hasn't been taught how to boot a NetBSD kernel posterior to the 1.4 release (and thus gives bogus information about the layout of the ELF sections). You have to chainload the NetBSD bootloader. The Multiboot stuff works just fine, but AFAIK it's not available on netbsd-3. --=20 Quentin Garnier - cube@cubidou.net - cube@NetBSD.org "You could have made it, spitting out benchmarks Owe it to yourself not ...
Mar 2, 2:22 pm 2007
Matthew Mondor
Re: /dev/ksyms not configured?
On Fri, 2 Mar 2007 20:49:31 +0000 (GMT) Hmm odd, I do see in GENERIC: pseudo-device ksyms # /dev/ksyms You also should have: cr--r--r-- 1 root wheel 101, 0 Oct 5 2004 /dev/ksyms However I wonder if this could be related (from ksyms(4) man page): BUGS No LKM modules can be loaded or unloaded while /dev/ksyms is open. Although the proper error shouldn't be "not configured" in this case normally, and I'm not sure what could be holding the device open if ...
Mar 2, 2:53 pm 2007
Sami Kantoluoto
Debugging / SPL-levels / AT91RM9200 success
Hi, I'm porting NetBSD to run our embedded hardware and it has Atmel's AT91RM9200 CPU. So far I've following running: - debug uart - interrupt controller - timer - ethernet mac - OHCI - CF ("PCMCIA") - multiuser With current the system was quite unstable (paniced quite often under heavy load) so I tried netbsd-4 and it looked stable. But I do have problems with Compact Flash "driver" or it looks like so. I'm currently using AT91RM9200's pin change interrupt to capture ...
Mar 2, 7:30 am 2007
Jason Thorpe
Re: 4.0BETA_2 vs -current
So long as it can be done without an ABI change. -- thorpej
Mar 2, 10:12 am 2007
Andrew Doran
4.0BETA_2 vs -current
Hi, Someone asked me to post benchmarks. I don't have a lot of free time at the moment so they are fairly basic. The first is of single runs of make cleandir on an empty source tree, and shows nothing unexpected: http://www.netbsd.org/~ad/misc/cleandir.png The second is the MySQL supersmack benchmark, but only the select test. The select/update test locks my machine up solidly when running 4.0BETA_2 with PTHREAD_CONCURRENCY > 1. http://www.netbsd.org/~ad/misc/mysql.png The ...
Mar 2, 8:40 am 2007
Edgar
ahd(4) problems: ahd_timeout, transmission error
Sorry for having sent this with a bogus address yesterday. Also, i got another error plus those mentioned yesterday continued after the parity rebuild finished. Yesterday, I got the following error while rebuilding RAID parity. Even after the rebuild finished, the errors contiued, apperantly once per minute. ahd1: ahd_timeout ahd1: Timedout SCB already complete. Interrupts may not be functioning. After reboot, I got another one while reconstructing a hosed component: ahd1: Transmission ...
Mar 2, 5:49 am 2007
Edgar
LFS related(?) ioflush and vnlock lockup issues
Sorry for having sent this with a bogus address yesterday. I've no idea whether this problem is actually LFS related or I was just hitting a coincidence. We have performance problems on our mySQL server. As analysis showed that disk I/O, in particular seeks, were the problem, I thought it might be worth to try LFS. So we dumped the database, set up an LFS partition on a development server and fed the dump into mysql. First, everything went as expected (mysqld being CPU bound). Then, as most of the ...
Mar 2, 5:41 am 2007
Jason Thorpe
Re: M:N and blocking ops without SA, AIO
Yes. I would like to have a single callback mechanism based on continuations. Softintrs and callout should go away as an API. -- thorpej
Mar 2, 10:54 am 2007
Izumi Tsutsui
Re: bus_dmamap_sync() in ti(4) or the lack thereof
Hmm. I'm afraid no one tried ti(4) on big endian machines. ti(4) seems to have some BYTESWAP functions, but I have seen few boards which handle byteswap properly by hardware and I have had to add htole32()/le32toh() etc. around all DMA descriptor accesses. --- Izumi Tsutsui
Mar 2, 6:41 pm 2007
Tobias Nygren
Re: bus_dmamap_sync() in ti(4) or the lack thereof
Yeah, I've noticed it still doesn't work right. It's gone from non-functional to usable, but tcpdump still shows bogus packets with invalid checksums and performance is bad. I'll try the changes you suggested. -Tobias
Mar 2, 3:41 pm 2007
Izumi Tsutsui
Re: bus_dmamap_sync() in ti(4) or the lack thereof
PREREAD sync calls are required after new mbufs are allocated, not where dmamaps are reused, I think. On POSTREAD sync ops, you can use cur_rx->ti_len for sync length to avoid unneeded (possible) cache flush ops (or copy from bounce buffer) for small packets. BTW, we should also have more TI_CD*SYNC() and TI_CE*SYNC() With a quick glance, ti(4) allocates its own buffer and uses MEXTADD(9) for jumbo frames so we don't have to call bus_dmamap_load() and bus_dmamap_unload() for each ...
Mar 2, 2:50 pm 2007
Dieter Baron
Re: CVS commit: src/sys/dev/usb
Possibly, and also add the variant used by HFS+, if it is not exactly equivalent to any of the above. However, since these conversion tables are large, maybe we should limit ourselves to the IN need not be NUL-terminated, in which case OUT will not be eiter. Neither the pathname component passed to VOP_LOOKUP, nor the on disk structure of at leaset HFS+ are NUL-terminated, so it makes little Omitting outlen? Actually, I don't care much about the order of arguments. I patterned it ...
Mar 2, 6:29 am 2007