Re: WITNESS RELENG_6

2007-01-04 Thread Kostik Belousov
On Thu, Jan 04, 2007 at 06:07:27AM +0200, Kostik Belousov wrote: On Wed, Jan 03, 2007 at 04:01:04PM -0500, John Baldwin wrote: On Wednesday 03 January 2007 09:18, Eugene Grosbein wrote: Hi! I try to find bugs in 6.2-PRERELEASE by using it (q) :-) The question is: are kernel options

Re: WITNESS RELENG_6

2007-01-04 Thread Kostik Belousov
On Thu, Jan 04, 2007 at 06:43:27PM +0700, Eugene Grosbein wrote: On Thu, Jan 04, 2007 at 01:02:08PM +0200, Kostik Belousov wrote: Hmm, it needs 1.198 as well. Below is aggregated patch against RELENG_6. Index: kern_conf.c

Re: WITNESS RELENG_6

2007-01-04 Thread Kostik Belousov
On Thu, Jan 04, 2007 at 07:06:03PM +0700, Eugene Grosbein wrote: On Thu, Jan 04, 2007 at 01:48:49PM +0200, Kostik Belousov wrote: I've tried. Now machine just hangs if I try to switch from X to vty. It stays in graphics mode locked. Does it crash when exiting glxgears/some video

Re: WITNESS RELENG_6

2007-01-04 Thread Eugene Grosbein
On Thu, Jan 04, 2007 at 01:48:49PM +0200, Kostik Belousov wrote: I've tried. Now machine just hangs if I try to switch from X to vty. It stays in graphics mode locked. Does it crash when exiting glxgears/some video player ? It does not crash now when exiting glxgears but glxgears does not

Re: Successfully Unbreak Adobe Reader 7.0.8 for the New Linux Emulator

2007-01-04 Thread Alexander Leidinger
Quoting Intron is my alias on the Internet [EMAIL PROTECTED] (from Thu, 04 Jan 2007 06:05:25 +0800): 2. Apply my new patch for /sys/compat/linux/linux_file.c: http://ftp.intron.ac/tmp/linux_file.c.2.diff What about printing a message in the LINUX_O_NOATIME case (maybe only if

Re: Partially Unbreak Adobe Reader 7.0.8 for the New Linux Emulator

2007-01-04 Thread Alexander Leidinger
Quoting Divacky Roman [EMAIL PROTECTED] (from Wed, 3 Jan 2007 13:21:34 +0100): On Wed, Jan 03, 2007 at 07:47:28AM +0800, Intron is my alias on the Internet wrote: My patch for /sys/compat/linux/linux_file.c (7.0-CURRENT) can partially unbreak Adobe Reader 7.0.8 for Linux when the

Re: How to make an .so file for Linux binaries

2007-01-04 Thread Alexander Leidinger
Quoting Garrett Cooper [EMAIL PROTECTED] (from Wed, 03 Jan 2007 12:42:38 -0800): Trying to add Flashplayer 9 functionality to FreeBSD (via the Linux binary and www/linux-pluginwrapper) and I was wondering how I should go about determining which symbols need to be used in the .so file,

Re: WITNESS RELENG_6

2007-01-04 Thread Eugene Grosbein
On Thu, Jan 04, 2007 at 12:37:08PM +0200, Kostik Belousov wrote: The problem is revealed by INVARIANTS option, not by WITNESS, and is definitely the use-after-free. in src/nvidia_dev.c, nvidia_dev_close(), that is cdevsw.d_close proc, the destroy_dev() is called. Please, apply rev. 1.199

NVIDIA FreeBSD kernel feature requests

2007-01-04 Thread david cook
Hi I have got , a geforce 6600gt 256mb/ddr3 can you tell me ? if it will play hd games if ,I BUY a hd ready monitor, [EMAIL PROTECTED] your faithfully , d ___ freebsd-hackers@freebsd.org mailing list

Re: WITNESS RELENG_6

2007-01-04 Thread Eugene Grosbein
On Thu, Jan 04, 2007 at 01:02:08PM +0200, Kostik Belousov wrote: Hmm, it needs 1.198 as well. Below is aggregated patch against RELENG_6. Index: kern_conf.c === RCS file: /usr/local/arch/ncvs/src/sys/kern/kern_conf.c,v

Re: Init.c, making it chroot

2007-01-04 Thread Oliver Fromme
M. Warner Losh wrote: In message: [EMAIL PROTECTED] Doug Barton [EMAIL PROTECTED] writes: : Erik Udo wrote: : That's nice. But NetBSDs init.c executes /etc/rc before calling : chroot(), and that's what i'm looking for : : Sorry if I missed your rationale earlier, but

Re: Kernel hang on 6.x

2007-01-04 Thread Brian Dean
On Wed, Dec 27, 2006 at 11:50:43PM -0500, John Baldwin wrote: The 'traceall' seemed to miss several threads actually (like pid 18). Can you get a 'ps'? Also, are you able to get a kernel dump when this happens? I can't ps that particular session since it is no longer available, however I

Re: Init.c, making it chroot

2007-01-04 Thread Erik Udo
PERFECT! Just what i needed. Thanks :) Oliver Fromme wrote: M. Warner Losh wrote: In message: [EMAIL PROTECTED] Doug Barton [EMAIL PROTECTED] writes: : Erik Udo wrote: : That's nice. But NetBSDs init.c executes /etc/rc before calling : chroot(), and that's what i'm

Re: Init.c, making it chroot

2007-01-04 Thread John Baldwin
On Thursday 04 January 2007 09:32, Oliver Fromme wrote: M. Warner Losh wrote: In message: [EMAIL PROTECTED] Doug Barton [EMAIL PROTECTED] writes: : Erik Udo wrote: : That's nice. But NetBSDs init.c executes /etc/rc before calling : chroot(), and that's what i'm

Re: hptmv not compatible with WITNESS / INVARIANTS pointers required

2007-01-04 Thread John Baldwin
On Wednesday 03 January 2007 18:58, Steven Hartland wrote: I'm currently trying to debug an issue with Tyan s2892 based machine but when I enable WITNESS / INVARIANTS the Highpoint 182x driver panics the kernel with: panic: blocakble sleep lock ( sleep mutex ) 128 @ vm/uma_core.c: 1845 I

Re: Init.c, making it chroot

2007-01-04 Thread Erik Udo
Oh and i tested it on 6.1-RELEASE on my own livecd. It works! Oliver Fromme wrote: M. Warner Losh wrote: In message: [EMAIL PROTECTED] Doug Barton [EMAIL PROTECTED] writes: : Erik Udo wrote: : That's nice. But NetBSDs init.c executes /etc/rc before calling : chroot(),

Re: hptmv not compatible with WITNESS / INVARIANTS pointers required

2007-01-04 Thread Steven Hartland
Thanks john, I'll try applying that later tonight should apply cleanly even though I'm using v1.14 of the driver I dont think there are any changes in these areas. N.B. Already contacted Scott Long to get the v1.14 imported as it contains a number of critical fixes. Steve John Baldwin wrote:

Re: WITNESS RELENG_6

2007-01-04 Thread John Baldwin
On Wednesday 03 January 2007 23:07, Kostik Belousov wrote: On Wed, Jan 03, 2007 at 04:01:04PM -0500, John Baldwin wrote: On Wednesday 03 January 2007 09:18, Eugene Grosbein wrote: Hi! I try to find bugs in 6.2-PRERELEASE by using it (q) :-) The question is: are kernel options

Re: Kernel hang on 6.x

2007-01-04 Thread John Baldwin
On Thursday 04 January 2007 10:27, Brian Dean wrote: On Wed, Dec 27, 2006 at 11:50:43PM -0500, John Baldwin wrote: The 'traceall' seemed to miss several threads actually (like pid 18). Can you get a 'ps'? Also, are you able to get a kernel dump when this happens? I can't ps that

Re: WITNESS RELENG_6

2007-01-04 Thread Eugene Grosbein
On Thu, Jan 04, 2007 at 02:12:45PM +0200, Kostik Belousov wrote: I've tried. Now machine just hangs if I try to switch from X to vty. It stays in graphics mode locked. Does it crash when exiting glxgears/some video player ? It does not crash now when exiting glxgears but glxgears

/bin/dd fails with big disks containing bad sectors

2007-01-04 Thread James Risner
Hello, I filed this PR (http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/107443) and it was suggested I bring the issue to this list. If you have a defective disk larger than 2 gb with many bad sectors and attempt to use dd under FreeBSD to duplicate the disk, the operation will fail

Re: hptmv not compatible with WITNESS / INVARIANTS pointers required

2007-01-04 Thread Steven Hartland
This appears to fix the problem, no panic during init of the adapter or detection of da0. I say appears as now I'm still stuck with SMP cpu init issue I was originally looking at :( Thanks for the fix most appreciated. Steve Steven Hartland wrote: Thanks john, I'll try applying that later

Re: Init.c, making it chroot

2007-01-04 Thread John Baldwin
On Thursday 04 January 2007 13:03, Oliver Fromme wrote: John Baldwin wrote: Oliver Fromme wrote: I've created (and tested!) a new patch. I've tested on RELENG_6, but I think init(8) isn't very different on HEAD, so it should work there, too. Any comments are welcome. I

Re: Init.c, making it chroot

2007-01-04 Thread Oliver Fromme
John Baldwin wrote: Oliver Fromme wrote: I've created (and tested!) a new patch. I've tested on RELENG_6, but I think init(8) isn't very different on HEAD, so it should work there, too. Any comments are welcome. I particularly appreciate if others test this stuff. Some

Re: kern/89528: [jail] impossible to kill a jail

2007-01-04 Thread Ed Schouten
Hello everyone, I decided to investigate this bug because I think the bug is quite irritating. After adding some ddb show commands to the source and reading a lot of code, I think I understand the problem: The tty code doesn't leak any ucreds, it's the devfs code that crhold()'s an ucred

Re: kern/89528: [jail] impossible to kill a jail

2007-01-04 Thread Ed Schouten
* Ed Schouten [EMAIL PROTECTED] wrote: As long as pty's have been allocated that have been created by threads in a jail, the prison structure has more references, causing the zombie jails to exist. We could change the make_dev_credv() routine to crcopy() everything except the prison when we're

Re: kern/89528: [jail] impossible to kill a jail

2007-01-04 Thread Coleman Kane
On 1/4/07, Ed Schouten [EMAIL PROTECTED] wrote: * Ed Schouten [EMAIL PROTECTED] wrote: As long as pty's have been allocated that have been created by threads in a jail, the prison structure has more references, causing the zombie jails to exist. We could change the make_dev_credv() routine

Re: /bin/dd fails with big disks containing bad sectors

2007-01-04 Thread Julian Elischer
James Risner wrote: Hello, I filed this PR (http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/107443) and it was suggested I bring the issue to this list. If you have a defective disk larger than 2 gb with many bad sectors and attempt to use dd under FreeBSD to duplicate the disk, the

Re: SMP initialisation changes 6.1-PRERELEASE and 6.1-RELEASE?

2007-01-04 Thread Steven Hartland
Steven Hartland wrote: This now panics in the initial hpt driver init with: panic: blocakble sleep lock ( sleep mutex ) 128 @ vm/uma_core.c: 1845 This looks to me like a seperate issue as the driver is aquiring a spinlock MTX_SPIN instead of MTX_DEF? I'm quite out of my depth at this point so

Re: Reading in real time from a file without pipes

2007-01-04 Thread Matthew Hudson
Mon Dec 11 09:08:37 PST 2006 c0re dumped wrote: I wonder if is possible to read data from a certain file without using a pipe. Let me explain: I have a process already writing messages to a logfile. I want to read all written data (without neither stop nor interfere normal log process)

Re: kern/89528: [jail] impossible to kill a jail

2007-01-04 Thread Ed Schouten
* Coleman Kane [EMAIL PROTECTED] wrote: Does this behavior still occur if you set sysctl kern.pts.enable=1 ? Well, I haven't tested that, but it should be fixed as well, because it also calls make_dev_cred(). Is this at all related to why I have been experiencing zombies left behind for any

Re: Reading in real time from a file without pipes

2007-01-04 Thread Stephen Montgomery-Smith
Matthew Hudson wrote: Mon Dec 11 09:08:37 PST 2006 c0re dumped wrote: I wonder if is possible to read data from a certain file without using a pipe. Let me explain: I have a process already writing messages to a logfile. I want to read all written data (without neither stop nor interfere