Can not dump on raid dev?

2003-09-29 Thread Kang Liu
Hi, I'm trying to save a crashdump into /var/crash but it fails. Here is my config files: # dmesg | grep amr amr0: LSILogic MegaRAID mem 0xf000-0xf7ff irq 3 at device 0.0 on pci3 amr0: LSILogic PERC 3/DC Firmware 1.92, BIOS 3.31, 128MB RAM amrd0: LSILogic MegaRAID logical drive on

Re: Can not dump on raid dev?

2003-09-29 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Kang Liu writes: Hi, I'm trying to save a crashdump into /var/crash but it fails. # dumpon -v /dev/amrd0s1b kernel dumps on /dev/amrd0s1b The AMR device driver does not support dumping. A missing check meant that dumpon didn't warn you about this. I have

RE: Can not dump on raid dev?

2003-09-29 Thread Kang Liu
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Poul-Henning Kamp Sent: Monday, September 29, 2003 3:46 PM To: Kang Liu Cc: [EMAIL PROTECTED] Subject: Re: Can not dump on raid dev? The AMR device driver does not support dumping. A missing

Re: has anyone installed 5.1 from a SCSI CD?

2003-09-29 Thread Peter Jeremy
On Sun, Sep 28, 2003 at 06:14:25PM -0400, Sergey Babkin wrote: BTW, I have another related issue too: since at least 4.7 all the disk device nodes have charcater device entries in /dev. As of December 1999 - which is before 4.0-RELEASE. This was well advertised and discussed at the time. Your

Re: [PATCH] : libc_r/uthread/uthread_write.c

2003-09-29 Thread Dan Langille
On 18 Sep 2003 at 7:50, Daniel Eischen wrote: On Wed, 17 Sep 2003, Dan Langille wrote: On 16 Sep 2003 at 20:49, Daniel Eischen wrote: On Tue, 16 Sep 2003, Dan Langille wrote: I've had preliminary success with this patch. More testing needs to be done, but in the meantime,

Bug in if_spppsubr.c ?

2003-09-29 Thread Jacques Fourie
Hi, I've come across what I believe to be a bug in if_spppsubr.c. I have verified that it also exists in 4-STABLE. When using PPP encapsulation and header compression, m-m_pkthdr.len is never adjusted after the call to sl_compress_tcp(). Included is a patch against 4-STABLE that seems to fix

Re: [PATCH] : libc_r/uthread/uthread_write.c

2003-09-29 Thread Daniel Eischen
On Mon, 29 Sep 2003, Dan Langille wrote: On 18 Sep 2003 at 7:50, Daniel Eischen wrote: Right, this seems correct to me. All our testing on this patch has been successful. I'm going to do a few more tests on different hardware under 4.8-stable. What's the next step? Commit it?

Re: [PATCH] : libc_r/uthread/uthread_write.c

2003-09-29 Thread Dan Langille
On 29 Sep 2003 at 9:02, Daniel Eischen wrote: On Mon, 29 Sep 2003, Dan Langille wrote: On 18 Sep 2003 at 7:50, Daniel Eischen wrote: Right, this seems correct to me. All our testing on this patch has been successful. I'm going to do a few more tests on different hardware

user malloc from kernel

2003-09-29 Thread earthman
hi how to allocate some memory chunk in user space memory from kernel code? how to do it correctly? -- Best regards, earthmanmailto:[EMAIL PROTECTED] icq: 145680330 ___ [EMAIL

Re: user malloc from kernel

2003-09-29 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], earthman writes: hi how to allocate some memory chunk in user space memory from kernel code? how to do it correctly? You shouldn't and it would be very trick to do right if at all. Try to tell us what you're trying to do and maybe we can find a better way to do

Re: user malloc from kernel

2003-09-29 Thread Pawel Jakub Dawidek
On Mon, Sep 29, 2003 at 05:22:47PM +0300, earthman wrote: + how to allocate some memory chunk + in user space memory from kernel code? + how to do it correctly? Here you got sample kernel module which do this: http://garage.freebsd.pl/usmalloc.tgz

Re: user malloc from kernel

2003-09-29 Thread Peter Pentchev
On Mon, Sep 29, 2003 at 05:47:41PM +0200, Pawel Jakub Dawidek wrote: On Mon, Sep 29, 2003 at 05:22:47PM +0300, earthman wrote: + how to allocate some memory chunk + in user space memory from kernel code? + how to do it correctly? Here you got sample kernel module which do this:

Re: user malloc from kernel

2003-09-29 Thread Pawel Jakub Dawidek
On Mon, Sep 29, 2003 at 06:56:13PM +0300, Peter Pentchev wrote: + I mean, won't the application's memory manager attempt to allocate the + next chunk of memory right over the region that you have stolen with + this brk(2) invocation? Thus, when the application tries to write into + its

Re: Can not dump on raid dev?

2003-09-29 Thread Andrew Kinney
On 29 Sep 2003, at 15:35, Kang Liu wrote: Hi, I'm trying to save a crashdump into /var/crash but it fails. Here is my config files: # dmesg | grep amr amr0: LSILogic MegaRAID mem 0xf000-0xf7ff irq 3 at device 0.0 on pci3 amr0: LSILogic PERC 3/DC Firmware 1.92, BIOS 3.31, 128MB

nVidia nForce2 potential owners please read (take two)

2003-09-29 Thread Tony A, Fields
Thanks for your effort to get the nVidia folks to pony up the documentation. I unfortunately purchased a system that has a motherboard that uses the MCP2 network adapter chip set. I now have to rethink how I am going to configure the system as a file server that straddles the enterprise wide

Reminder: Call for FreeBSD status reports!

2003-09-29 Thread Scott Long
All, Don't forget to submit your FreeBSD status reports by Oct 1, 2003! These reports are open to not only official project memebers, but also to anyone who is engaged in the development of projects that relate to FreeBSD. Kernel, userland, ports, documentation, installation, integration, etc,

Re: user malloc from kernel

2003-09-29 Thread Brian O'Shea
--- Peter Pentchev [EMAIL PROTECTED] wrote: Here you got sample kernel module which do this: http://garage.freebsd.pl/usmalloc.tgz http://garage.freebsd.pl/usmalloc.README E... but won't this interfere *badly* with userland programs which attempt to allocate memory after

Re: has anyone installed 5.1 from a SCSI CD?

2003-09-29 Thread Sergey Babkin
Peter Jeremy wrote: On Sun, Sep 28, 2003 at 06:14:25PM -0400, Sergey Babkin wrote: BTW, I have another related issue too: since at least 4.7 all the disk device nodes have charcater device entries in /dev. As of December 1999 - which is before 4.0-RELEASE. This was well advertised and

Re: nVidia nForce2 potential owners please read (take two)

2003-09-29 Thread Greg 'groggy' Lehey
On Monday, 29 September 2003 at 12:45:35 -0700, Tony A, Fields wrote: Thanks for your effort to get the nVidia folks to pony up the documentation. I unfortunately purchased a system that has a motherboard that uses the MCP2 network adapter chip set. I now have to rethink how I am going to

ps,libkvm,ls malloc/free

2003-09-29 Thread Allan Fields
Hi, While trying to debug issues with libkvm access from an experimental tool (quick-hack) I've been working on, I've come across a segfault that occurs in _kvm_malloc(). This is a stock install of FreeBSD 5.1-RELEASE but the code invoking libkvm is originally taken from bin/ps/ps.c in the

USB2.0 external hub and ehci question

2003-09-29 Thread Barry Bouwsma
[Drop hostname part of IPv6-only address above to obtain IPv4-capable e-mail, or just drop me from the recipients and I'll catch up from the archives] Hallo Hackers, I suppose I should post this to -current as the code in question is derived from there, but I'm running it on RELENG_4, so...

nForce MCP network driver - working

2003-09-29 Thread Q
Hi, I am in the final stages of porting the NVidia Linux nForce MCP network driver to FreeBSD-5.1 and am after some experienced users/developers with access to this hardware to do some testing to find out what breaks, and what doesn't work. My driver makes use of the Linux nvnetlib.o API library,