Getting USB detach events enabled in time for 5.2-R?

2003-11-26 Thread Johny Mattsson
Hi all, I was wondering if there's any possibility in getting USB detach events working in time for the 5.2 release? The PR in question is kern/46488, and I submitted patches for this issue quite a while ago (Oct 24). Unfortunately jmg appears to be busy with other things as I have been unable

Re: panic on 5.2 BETA: blockable sleep lock

2003-11-26 Thread Don Lewis
On 26 Nov, Stefan Ehmann wrote: > I got the following panic twice when starting xawtv using 5.2 BETA (CVS > from Oct 23) > panic: blockable sleep lock (sleep mutex) sellck > @/usr/src/sys/kern/sys_generic.c:1145 > > I don't think it is directly related to bktr since the last commit there > was ~3

Re: pcm(4) related panic

2003-11-26 Thread Mathew Kanner
On Nov 25, Don Lewis wrote: > On 25 Nov, Don Lewis wrote: > > On 25 Nov, Artur Poplawski wrote: > >> Artur Poplawski <[EMAIL PROTECTED]> wrote: > >> > >>> Hello, > >>>

current freezing with sendmail-msp sumitting to ipv6 ::1.25

2003-11-26 Thread Michael Weiser
Hi, yesterday I tried to make the system's sendmail-msp submit to ::1.25 instead of 127.0.0.1:25 on an up-to-date FreeBSD-current installation . When injecting a lot of messages via bsmtp (rsmtp command) the system freezes solid after putting about 10 to 20 into the mail queue and doesn't even g

Re: How to fix this in 5.1-REL??

2003-11-26 Thread David O'Brien
On Tue, Nov 25, 2003 at 09:14:10PM -0700, M. Warner Losh wrote: > We recommend > > make buildworld > make buildkernel > make installkernel > reboot -s -> single user > make installworld "make buildkernel ; make installkernel" can be shortened to just "make kernel". ___

Re: [PATCH] libc_r bug: successful close(2) sets errno to ENOTTY

2003-11-26 Thread Maxime Henrion
Terry Lambert wrote: > Stefan Farfeleder wrote: > > On Mon, Nov 24, 2003 at 07:05:02PM +0100, boyd, rounin wrote: > > > From: "Jacques A. Vidrine" <[EMAIL PROTECTED]> > > > > The application is broken. You must only check errno if you get an > > > > error indication from the library call. > > > >

Re: [PATCH] libc_r bug: successful close(2) sets errno to ENOTTY

2003-11-26 Thread boyd, rounin
> Wrong, strtol() can set errno in two cases, when the value is outside > the range of representable values or when no conversion could be > performed. well 'natch. it's trying to do math.h style hacks and overloads errno. iirc those sorts of things stem from V6/V7 on the PDP/11 when you may hav

Re: 40% slowdown with dynamic /bin/sh

2003-11-26 Thread Terry Lambert
Brad Knowles wrote: > At 2:48 PM -0800 2003/11/25, Matthew Dillon wrote: > > What I am advocating is that FreeBSD-5 not marginalize and > > restrict (make less flexible) basic infrastructure in order to get other > > infrastructure working. > > If you've got working,

Re: 40% slowdown with dynamic /bin/sh

2003-11-26 Thread Garance A Drosihn
At 12:23 AM -0500 11/26/03, Michael Edenfield wrote: Just to provide some real-world numbers, here's what I got out of a buildworld: I have reformatted the numbers that Michael reported, into the following table: Static /bin/sh: Dynamic /bin/sh: real385m29.977s real455m44.852s

Fatal Trap 1: priviliged instruction fault while in kernel mode

2003-11-26 Thread Willem Jan Withagen
Instruction pointer: 0x8:0c021B8C0 And then the box was frozen solid The trap occured while compiling world over NFS V3/UDP. FreeBSD 5.1-RELEASE-p10 #0: Tue Oct 28 22:09:12 CET 2003 [EMAIL PROTECTED]:/mnt2/obj/usr/src51/src/sys/FILES Preloaded elf kernel "/boot/kernel/kernel" at 0xc04b60

recent current panic

2003-11-26 Thread Дейтер Александр Валериевич
i got a panic on recent -CURRENT: # tcpdump -i lo0 port 23 & [1] 507 listening on lo0 # telnet localhost Trying ::1... Wed Nov 26 14:51:23 MSK 2003 Debugger+0x55: xchgl %ebx,in_Debugger.0 db> tr Debugger(c0898daf,0,c087197f,d629d8dc,100) at Debugger+0x55 panic(c087197f,c0854d72,c168bd00,c095c

Re: rtld + static linking

2003-11-26 Thread Terry Lambert
Marcel Moolenaar wrote: > On Tue, Nov 25, 2003 at 05:44:18PM -0800, Terry Lambert wrote: > > "E.B. Dreger" wrote: > > > Dynamic linking works by the kernel running the dynamic linker, > > > which loads shared objects and fixes the symbol tables, yes? > > > > No. > > > > Dynamic linking works becaus

Re: rc scripts run double on boot?

2003-11-26 Thread Bruce M Simpson
On Tue, Nov 25, 2003 at 09:35:29AM -0800, Nate Lawson wrote: > With a recent -current, I've noticed double prints for the last few rc > scripts, like this: > > Starting cron. > Local package initialization:. > Local package initialization:. > Additional TCP options:. > Additional TCP options:. >

Re: 40% slowdown with dynamic /bin/sh

2003-11-26 Thread andy-freebsd
obrien wrote @ Tue, 25 Nov 2003 18:55:05 -0800: > On Tue, Nov 25, 2003 at 03:07:55PM +1030, Daniel O'Connor wrote: > > What about the newer version of gcc? That is considerably slower than > > previous versions, but I don't see people screaming to have it removed. > > Uh... you must not know what

Re: [PATCH] libc_r bug: successful close(2) sets errno to ENOTTY

2003-11-26 Thread Terry Lambert
Maxime Henrion wrote: > Terry Lambert wrote: > > > Wrong, counter-example: strtol(). > > > > Wrong; the standard specifies that the errno shall only be > > checked when the return value is -1. The exception in the > > strtol() case is only for presetting errno to 0 before you > > make the call, an

Re: NSS and PAM, dynamic vs. static (was: 40% slowdown with dynamic /bin/sh)

2003-11-26 Thread Jacques A. Vidrine
On Wed, Nov 26, 2003 at 02:00:08AM +0100, Matthias Andree wrote: > Matthew Dillon <[EMAIL PROTECTED]> writes: > > > How much do you intend to use NSS for? I mean, what's the point of > > adopting this cool infrastructure if all you are going to do with it > > is make a better PAM out

wi driver reads wrong first 8 bytes when in monitor mode in data packets

2003-11-26 Thread Andrea Bittau (sorbo)
If I am not wrong, it seems that the wi driver, when in monitor mode, will skip 8 bytes of data input (filling it in with random values). We notice in if_wi.c: case 7: switch (rx_frame->wi_whdr.i_fc[0] & IEEE80211_FC0_TYPE_MASK) { case IEEE80211_FC0_TYPE_DA

Re: rtld + static linking

2003-11-26 Thread Mark Murray
Terry Lambert writes: > Since I have patches to make dlopen work with static binaries, and : [ snip ] : > As to inevitable "where are the patches?", please check the -current > list archives, you will find at least one set there. I've looked without much success. Could you give a timeframe, a subj

Re: pcm(4) related panic

2003-11-26 Thread Artur Poplawski
Mathew Kanner <[EMAIL PROTECTED]> wrote: > On Nov 25, Don Lewis wrote: > > On 25 Nov, Don Lewis wrote: > > > On 25 Nov, Artur Poplawski wrote: > > >> Artur Poplawski <[EMAIL PROTECTED]> wrote: > > >> > > >>> Hello, > > >>>

5.2 STABLE?

2003-11-26 Thread Thomas T. Veldhouse
Will 5.2-RELEASE mark the beginning of the new STABLE branch? If not, do we know approximately when this branch is planned? Thanks in advance, Tom Veldhouse ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current T

Re: 5.2 STABLE?

2003-11-26 Thread Sergey A. Osokin
On Wed, Nov 26, 2003 at 08:19:59AM -0600, Thomas T. Veldhouse wrote: > Will 5.2-RELEASE mark the beginning of the new STABLE branch? If not, do we > know approximately when this branch is planned? http://www.freebsd.org/doc/en_US.ISO8859-1/articles/5-roadmap/schedule.html -- Rgdz,

Re: 5.2 STABLE?

2003-11-26 Thread Ryan Sommers
Document of interest to you: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/5-roadmap/index.html The schedule can be found at (when RELENG_5 is scheduled to be branched): http://www.freebsd.org/doc/en_US.ISO8859-1/articles/5-roadmap/schedule.html Thomas T. Veldhouse writes: Will 5.2-RELE

Re: 40% slowdown with dynamic /bin/sh

2003-11-26 Thread Michael Edenfield
* M. Warner Losh <[EMAIL PROTECTED]> [031126 00:43]: > In message: <[EMAIL PROTECTED]> > Michael Edenfield <[EMAIL PROTECTED]> writes: > : * M. Warner Losh <[EMAIL PROTECTED]> [031125 12:07]: > : > In message: <[EMAIL PROTECTED]> > : > "boyd, rounin" <[EMAIL PROTECTED]> writ

Re: 40% slowdown with dynamic /bin/sh

2003-11-26 Thread Michael Edenfield
* Garance A Drosihn <[EMAIL PROTECTED]> [031126 06:56]: > At 12:23 AM -0500 11/26/03, Michael Edenfield wrote: > > > >Just to provide some real-world numbers, here's what I got > >out of a buildworld: > > I have reformatted the numbers that Michael reported, > into the following table: > > >Stati

Re: Modem(PCMCIA) works on 4.8, hangs machine on 5.2-BETA

2003-11-26 Thread Larry Rosenman
On Tue, 25 Nov 2003, M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > Larry Rosenman <[EMAIL PROTECTED]> writes: > : sio2 at port 0x2f8-0x2ff irq 11 flags 0x4 slot 0 on pccard0 > : sio2: type 16550A > : sio2: unable to activate interrupt in fast mode - using normal mode >

5.2-BETA + netatalk = crash

2003-11-26 Thread Michael L. Squires
On my dual CPU P6DGH the 11/22 cvsup of 5.2-BETA and netatalk crashes on boot. Stopping netatalk from starting stops the crash. I wasn't able to catch any crash information, but am currently recompiling with sources from last night to see if it's repeatable. Mike Squires

USB lpt and NOPRIME

2003-11-26 Thread Thomas T. Veldhouse
I have had the problem listed in the article below for years (4.x and 5.x). I have been unable to use my Lexmark Optra 312 (USB) with FreeBSD (w/cups) because there is so often a page of "trash" printed before a print job begins. This ONLY happens on FreeBSD and not on Linux 2.4 (w/cups). I have

Announcing 5.2-BETA

2003-11-26 Thread Scott Long
All, It's my pleasure to announce the availability of 5.2-BETA ISO images and ftp install sets for i386 and alpha. Amd64, sparc64, ia64, and pc98 sets will be available shortly. Please test this as much as possible and let us know of the problems that you find. Some known problems to watch out

UFS lockups

2003-11-26 Thread Sławek Żak
I observe UFS lockups under heavy I/O. To reproduce the problem run around 10 copies of cp -Rp /usr/some-random-dir. All cp's after some time are hanging on getblk. du's running concurrently are hanging in ufs state. The filesystems are UFS2. The Server is running 5.2-BETA on SMP Dell 2650. Filesys

Re: USB lpt and NOPRIME

2003-11-26 Thread Stefan Eßer
On 2003-11-26 08:54 -0600, "Thomas T. Veldhouse" <[EMAIL PROTECTED]> wrote: > I have had the problem listed in the article below for years (4.x and 5.x). > I have been unable to use my Lexmark Optra 312 (USB) with FreeBSD (w/cups) > because there is so often a page of "trash" printed before a print

Re: HEADS UP: /bin and /sbin are now dynamically linked

2003-11-26 Thread Matthew D. Fuller
On Tue, Nov 25, 2003 at 01:41:53PM -0500 I heard the voice of Garance A Drosihn, and lo! it spake thus: > > It is a bit more complicated than that, because programs may > include embedded references to other files. So, I think > some developer would *have* to do a little up-front work for > any p

Re: HEADS UP: /bin and /sbin are now dynamically linked

2003-11-26 Thread Matthew D. Fuller
On Tue, Nov 25, 2003 at 02:17:02PM -0500 I heard the voice of slave-mike, and lo! it spake thus: > Would it be possible to get a copy of this script? > > Please! :) Oh, it's pretty simplistic. It's actually on a box that's in the closet right now, but I think this is an older working version: --

Re: How to fix this in 5.1-REL??

2003-11-26 Thread Matthew D. Fuller
On Tue, Nov 25, 2003 at 08:57:10AM -0800 I heard the voice of Kevin Oberman, and lo! it spake thus: > > While UPDATING contain details on updating a system, the Makefile in > /usr/src (actually Makefile.inc1) contains a target of 'world' and, > through V3 of FreeBSD, this was considered the approp

Re: requesting vinum help

2003-11-26 Thread Joel M. Baldwin
Geeze! Not only aren't there any emails, but I've started a full blown thread! --On Tuesday, November 25, 2003 8:39 AM -0800 "Joel M. Baldwin" <[EMAIL PROTECTED]> wrote: Could a vinum guru please contact me via email? I've lost 2 vinum volumes as a result of the latest fiasco and naturally am ea

Re: Sound stop'd working after upgrade ...

2003-11-26 Thread Melvyn Sopacua
On Wednesday 26 November 2003 01:24, Marc G. Fournier wrote: > pcm0: port 0xe400-0xe43f,0xe000-0xe0ff mem > 0xe0102000-0xe01020ff,0xe0101000-0xe01011ff irq 17 at device 31.5 on pci0 > pcm0: > > and, from what I can tell, the proper devices are being built in /dev, but > try and play music using

Re: USB lpt and NOPRIME

2003-11-26 Thread Thomas T. Veldhouse
Stefan Eßer wrote: > > Have you tried using /dev/unlpt0 instead of /dev/ulpt0 ? > > See man 4 ulpt ... > > Regards, STefan Yes, the problem occurs with both. One just takes longer to start the printjob than the other, but both will spew out a bad page prior to the first page of the job. It is no

Re: requesting vinum help

2003-11-26 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, "Joel M. Baldwin" writes: >I was trying to use some restraint and not rant and rave in public like >I wanted to do. I'm rather miffed that nothing appeared in UPDATING. >Rather than an unproductive public RANT I thought I'd ask for private assistance. >I can post a

Re: rtld + static linking

2003-11-26 Thread Marcel Moolenaar
On Wed, Nov 26, 2003 at 04:16:06AM -0800, Terry Lambert wrote: > > > > Dynamic linking works because the kernel loads and runs the dynamic > > linker when it sees that the executable defines an interpeter. > > Since I have patches to make dlopen work with static binaries, and > it doesn't work th

Re: HEADS UP: /bin and /sbin are now dynamically linked

2003-11-26 Thread David O'Brien
On Wed, Nov 26, 2003 at 10:16:37AM -0600, Matthew D. Fuller wrote: > The advantage of this method is it's simple, cheap, automatic, and lets > us say "You can try setting ADDITIONAL_RESCUE=usr.sbin/foo in make.conf > and it may work", Please send a tested patch for this. :-) If ADDITIONAL_RESCUE

Nvidia problem fixed in current?

2003-11-26 Thread Justin Smith
1. Was the problem with the nvidia driver ever fixed? (I reported this more than a month ago --- the kernel nvidia driver only works with parameters set to lower the speed of the interface, and even then failed with some OpenGL programs like OpenUniverse). 2. Can one upgrade to 5.2 beta by cvsu

Re: requesting vinum help

2003-11-26 Thread Cosmin Stroe
On Wed, 26 Nov 2003, Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, "Joel M. Baldwin" writes: > > >I was trying to use some restraint and not rant and rave in public like > >I wanted to do. I'm rather miffed that nothing appeared in UPDATING. > >Rather than an unproductive public RAN

Re: HEADS UP: /bin and /sbin are now dynamically linked

2003-11-26 Thread Tim Kientzle
Matthew D. Fuller wrote: On Tue, Nov 25, 2003 at 01:41:53PM -0500 I heard the voice of Garance A Drosihn, and lo! it spake thus: It is a bit more complicated than that, because programs may include embedded references to other files. So, I think some developer would *have* to do a little up-front

Recent ATA drivers giving problems with SATA

2003-11-26 Thread Joe Marcus Clarke
About a month ago, I bought a new SATA controller and a 160 GB Seagate SATA drive for my -CURRENT machine. All was working fine until about a week ago. Then, the drive started experiencing hard, unrecoverable DMA errors. I RMA'd the drive, then bought a new Maxtor 80 GB SATA drive (just yesterda

Re: Sound stop'd working after upgrade ...

2003-11-26 Thread Marc G. Fournier
On Wed, 26 Nov 2003, Melvyn Sopacua wrote: > On Wednesday 26 November 2003 01:24, Marc G. Fournier wrote: > > > pcm0: port 0xe400-0xe43f,0xe000-0xe0ff mem > > 0xe0102000-0xe01020ff,0xe0101000-0xe01011ff irq 17 at device 31.5 on pci0 > > pcm0: > > > > and, from what I can tell, the proper devices

Re: Sound stop'd working after upgrade ...

2003-11-26 Thread Marc G. Fournier
On Wed, 26 Nov 2003, Melvyn Sopacua wrote: > On Wednesday 26 November 2003 01:24, Marc G. Fournier wrote: > > > pcm0: port 0xe400-0xe43f,0xe000-0xe0ff mem > > 0xe0102000-0xe01020ff,0xe0101000-0xe01011ff irq 17 at device 31.5 on pci0 > > pcm0: > > > > and, from what I can tell, the proper devices

Re: Nvidia problem fixed in current?

2003-11-26 Thread Harald Schmalzbauer
On Wednesday 26 November 2003 18:40, Justin Smith wrote: > 1. Was the problem with the nvidia driver ever fixed? (I reported this > more than a month ago --- the kernel nvidia driver only works with > parameters set to lower the speed of the interface, and even then failed > with some OpenGL progra

df: negative overflow?

2003-11-26 Thread Melvyn Sopacua
Hi, cvs as of Sunday ~11:00am GMT. Filesystem  1M-blocks Used             Avail Capacity  Mounted on /dev/ad0s2a       484   70               374    16%    / devfs               0    0                 0   100%    /dev /dev/md0           62    0                57     0%    /tmp /dev/ad0s2d      49

Re: Recent ATA drivers giving problems with SATA

2003-11-26 Thread Soren Schmidt
It seems Joe Marcus Clarke wrote: > atapci1: port > 0x14b0-0x14bf,0x14c0-0x14c3,0x14c8-0x14cf,0x14c4-0x14c7,0x14d0-0x14d7 > mem 0xe800a000-0xe800a1ff irq 9 at device 16.0 on pci0 > GEOM: create disk ad4 dp=0xc5246460 > ad4: 78167MB [158816/16/63] at ata2-master UDMA133 > > Nothing else was chang

5.2-BETA: giving up on 4 buffers (ata)

2003-11-26 Thread Matthias Andree
Hi, when I rebooted my 5.2-BETA (kernel about 24 hours old), it gave up on flushing 4 dirty blocks. I had three UFS1 softdep file systems mounted on one ATA drive, one ext2 file system on another ATA drive and one ext2 file system on a SCSI drive. Both ext2 file systems had been mounted read-onl

Re: HEADS UP: /bin and /sbin are now dynamically linked

2003-11-26 Thread Tim Kientzle
David O'Brien wrote: ... lets agree that the FTP client will be the last thing added to /rescue that is outside the original charter. I sincerely hope it will be. Mostly because I have a large chunk of new code to contribute that's broken and sitting in pieces all over my hard disk at the moment.

Dynamic slowdown -- sometimes, sometimes not

2003-11-26 Thread dyson
Gang: The problem with measuring the dynamic slowdown is that some of the overhead can be hidden by the kernel (e.g. prezeroing.) (Sorry for not directly replying -- my email filtering is wierd.) John ___

IPv6 locking crash (recursion)

2003-11-26 Thread Brian Fundakowski Feldman
Has anyone else tried out the most basic IPv6 test: ndp -I and then ping6 fe80:: extension>? I was greeted by recursion on a non-recursive lock. After some sleuthing, I tried to determine what conditions could be tested for that would indicate "this must not call the nd6_is_addr_neighbor() call be

Re: 5.2-BETA: giving up on 4 buffers (ata)

2003-11-26 Thread Kevin Oberman
> Date: Wed, 26 Nov 2003 19:37:45 +0100 > From: Matthias Andree <[EMAIL PROTECTED]> > Sender: [EMAIL PROTECTED] > > Hi, > > when I rebooted my 5.2-BETA (kernel about 24 hours old), it gave up on > flushing 4 dirty blocks. > > I had three UFS1 softdep file systems mounted on one ATA drive, one ex

Re: df: negative overflow?

2003-11-26 Thread Michael Edenfield
* Melvyn Sopacua <[EMAIL PROTECTED]> [031126 13:23]: > /dev/ad0s2e ? 989M ? 947M -36.4M ? 104% ? ?/var This is normal. Each filesystem has a chunk of reserved space for root-only, for disaster recovery and such. Your /var filesystem is full, and has begun overflowing into that reserved space by

Re: 5.2-BETA: giving up on 4 buffers (ata)

2003-11-26 Thread Andy Farkas
Matthias Andree wrote: > when I rebooted my 5.2-BETA (kernel about 24 hours old), it gave up on > flushing 4 dirty blocks. This is easy to reproduce, but apparently uninteresting to the developers: Reboot to single user, run full fsck, halt. -- :{ [EMAIL PROTECTED] Andy Farkas Sy

please test pcm patch

2003-11-26 Thread Mathew Kanner
Hello All, Please test a pcm patch that releases the channel lock around calls to uio move. This is a more complete patch than the previous one as it also does the _read routine. I will ask the RE to commit this if I hear a couple of "it works". Pointed out by: Artur Poplawski Explained

Re: 5.2-BETA: giving up on 4 buffers (ata)

2003-11-26 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, "Kevin Oberman" writes: >> Date: Wed, 26 Nov 2003 19:37:45 +0100 >> From: Matthias Andree <[EMAIL PROTECTED]> >> Sender: [EMAIL PROTECTED] >> >> Hi, >> >> when I rebooted my 5.2-BETA (kernel about 24 hours old), it gave up on >> flushing 4 dirty blocks. >> >> I ha

Re: 5.2-BETA: giving up on 4 buffers (ata)

2003-11-26 Thread Sławek Żak
"Kevin Oberman" <[EMAIL PROTECTED]> writes: >> Date: Wed, 26 Nov 2003 19:37:45 +0100 >> From: Matthias Andree <[EMAIL PROTECTED]> >> Sender: [EMAIL PROTECTED] >> >> Hi, >> >> when I rebooted my 5.2-BETA (kernel about 24 hours old), it gave up on >> flushing 4 dirty blocks. >> >> I had three UFS

Re: df: negative overflow?

2003-11-26 Thread Melvyn Sopacua
On Wednesday 26 November 2003 19:52, Michael Edenfield wrote: > * Melvyn Sopacua <[EMAIL PROTECTED]> [031126 13:23]: > > /dev/ad0s2e ? 989M ? 947M -36.4M ? 104% ? ?/var > > This is normal. Each filesystem has a chunk of reserved space for > root-only, Yes, sorry I wasn't too clear (I thought the

Re: 5.2-BETA: giving up on 4 buffers (ata)

2003-11-26 Thread Leo Bicknell
In a message written on Thu, Nov 27, 2003 at 04:52:04AM +1000, Andy Farkas wrote: > Matthias Andree wrote: > > > when I rebooted my 5.2-BETA (kernel about 24 hours old), it gave up on > > flushing 4 dirty blocks. > > This is easy to reproduce, but apparently uninteresting to the developers: > >

acpi_cpu changes complete

2003-11-26 Thread Nate Lawson
I believe this completes the changes to acpi_cpu for 5.2. Please test on SMP boxes and laptops and if you were disabling it before, please re-enable it to test. (To do that, remove debug.acpi.disable from loader.conf). Thanks, Nate -- Forwarded message -- Date: Wed, 26 Nov 2003

Panic with ugen

2003-11-26 Thread Martin
Hi, I'm still trying to write a webcam application for my "Creative Videoblaster Webcam Go". I have not much luck, but I accidently discovered how to cause panic with few lines of code while using ugen. Here is the code: >--< #include #include #include

Re: Recent ATA drivers giving problems with SATA

2003-11-26 Thread Joe Marcus Clarke
On Wed, 2003-11-26 at 13:28, Soren Schmidt wrote: > It seems Joe Marcus Clarke wrote: > > atapci1: port > > 0x14b0-0x14bf,0x14c0-0x14c3,0x14c8-0x14cf,0x14c4-0x14c7,0x14d0-0x14d7 > > mem 0xe800a000-0xe800a1ff irq 9 at device 16.0 on pci0 > > GEOM: create disk ad4 dp=0xc5246460 > > ad4: 78167MB [15

Re: panic: NULL softc for 0

2003-11-26 Thread Nate Lawson
This should be completely resolved by the commit I just made. Please test. -Nate ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: 5.2-BETA: giving up on 4 buffers (ata)

2003-11-26 Thread Arjan van Leeuwen
On Wednesday 26 November 2003 19:37, Matthias Andree wrote: > Hi, > > when I rebooted my 5.2-BETA (kernel about 24 hours old), it gave up on > flushing 4 dirty blocks. > > I had three UFS1 softdep file systems mounted on one ATA drive, one ext2 > file system on another ATA drive and one ext2 file s

RE: 4 -> 5 Problem

2003-11-26 Thread Lawrence Farr
I'm still getting this with fresh sources. Has anyone else done 4->5 in the last few days? Is it worth filing a PR? Lawrence Farr EPC Direct Limited > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Lawrence Farr > Sent: 25 November 2003 16:27 > T

Re: please test pcm patch

2003-11-26 Thread Harald Schmalzbauer
On Wednesday 26 November 2003 19:54, Mathew Kanner wrote: > Hello All, > Please test a pcm patch that releases the channel lock around > calls to uio move. This is a more complete patch than the previous > one as it also does the _read routine. I will ask the RE to commit > this if I hear a

Re: recent current panic

2003-11-26 Thread Sam Leffler
On Wednesday 26 November 2003 04:00 am, Дейтер Александр Валериевич wrote: > i got a panic on recent -CURRENT: > > # tcpdump -i lo0 port 23 & > [1] 507 > listening on lo0 > > # telnet localhost > Trying ::1... > > Wed Nov 26 14:51:23 MSK 2003 > Debugger+0x55: xchgl %ebx,in_Debugger.0 > db> tr >

Re: Panic with ugen

2003-11-26 Thread Jay Cornwall
Martin wrote: Run it once, you'll get an error. The second run will cause a panic. Additional info: 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Tue Nov 18 00:30:15 CET 2003 i386 usb0: on uhci0 ugen0: WINBOND W9967CF, rev 1.10/1.10, addr 3 This sounds similar to a bug which (I thought) I fixed earlier in

Re: Recent ATA drivers giving problems with SATA

2003-11-26 Thread Joe Marcus Clarke
On Wed, 2003-11-26 at 13:28, Soren Schmidt wrote: > It seems Joe Marcus Clarke wrote: > > atapci1: port > > 0x14b0-0x14bf,0x14c0-0x14c3,0x14c8-0x14cf,0x14c4-0x14c7,0x14d0-0x14d7 > > mem 0xe800a000-0xe800a1ff irq 9 at device 16.0 on pci0 > > GEOM: create disk ad4 dp=0xc5246460 > > ad4: 78167MB [15

Re: 40% slowdown with dynamic /bin/sh

2003-11-26 Thread Matthew Dillon
:At 00:23 26/11/2003 -0500, Michael Edenfield wrote: :>Static /bin/sh: :> real385m29.977s :> user111m58.508s :> sys 93m14.450s :> :>Dynamic /bin/sh: :> real455m44.852s :> user113m17.807s :> sys 103m16.509s : : Given that user+sys << real in both cases, it look

Re: 40% slowdown with dynamic /bin/sh

2003-11-26 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Michael Edenfield <[EMAIL PROTECTED]> writes: : time make -j 4 buildworld Hmmm, more jobs. : They were on a single CPU Athlon 500 with 320MB of RAM. 320MB is not enough RAM not to swap. I did some preliminary testing last night (which I lost due to a

Re: Announcing 5.2-BETA

2003-11-26 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Scott Long <[EMAIL PROTECTED]> writes: : Please help us make 5.2 the best FreeBSD release ever! Well Done! Thanks for all your (both personally and the whole re@ team) efforts in making this happen! Warner __

Re: Hanging at boot

2003-11-26 Thread Manfred Lotz
On Mon, 24 Nov 2003 08:00:49 +0100, Manfred Lotz wrote: > Hi there, > > Last time (around middle of October) when I tried out a new current kernel > it was hanging at boot time at acd1 > > ata1 is: > acd1: DVD-ROM at ata1-slave UDMA33 > > > I tried it again yesterday. Now acd1 seems to be fi

Re: 40% slowdown with dynamic /bin/sh

2003-11-26 Thread Matthew Dillon
: > That seems to have the most impact. We can also expend our efforts : > to improve dynamic linking performance, since that will improve the : > performance of the other 99.9% of the universe. : > : :What happened to mdodd's prebinding efforts? : :Drew Prebinding was put into DFly but the

Re: Sound stop'd working after upgrade ...

2003-11-26 Thread Melvyn Sopacua
On Wednesday 26 November 2003 19:14, Marc G. Fournier wrote: > On Wed, 26 Nov 2003, Melvyn Sopacua wrote: > > On Wednesday 26 November 2003 01:24, Marc G. Fournier wrote: > > > pcm0: port 0xe400-0xe43f,0xe000-0xe0ff mem > > > 0xe0102000-0xe01020ff,0xe0101000-0xe01011ff irq 17 at device 31.5 on > >

Re: Sound stop'd working after upgrade ...

2003-11-26 Thread Marc G. Fournier
On Wed, 26 Nov 2003, Melvyn Sopacua wrote: > On Wednesday 26 November 2003 19:14, Marc G. Fournier wrote: > > On Wed, 26 Nov 2003, Melvyn Sopacua wrote: > > > On Wednesday 26 November 2003 01:24, Marc G. Fournier wrote: > > > > pcm0: port 0xe400-0xe43f,0xe000-0xe0ff mem > > > > 0xe0102000-0xe0102

Re: Updated acpi_cpu patch

2003-11-26 Thread Nate Lawson
On Fri, 21 Nov 2003, Lukas Ertl wrote: > On Fri, 21 Nov 2003, Nate Lawson wrote: > > > > On Tue, 18 Nov 2003, Lukas Ertl wrote: > > > > > I'm gonna try some "buildkernelstones" with the different settings. If > > > > > you have some special benchmarks in mind I'd be happy to run them. > > > > > >

Re: Recent ATA drivers giving problems with SATA

2003-11-26 Thread Soren Schmidt
It seems Joe Marcus Clarke wrote: > > There are some early issues of the SiI3112 chips that has problems that > > can cause datacorruption etc etc.. > > You can try the following patch (which btw re@ has for approval), > > otherwise I'd try another controller as there seem to be no end of the > >

Re: 40% slowdown with dynamic /bin/sh

2003-11-26 Thread Michael Edenfield
* M. Warner Losh <[EMAIL PROTECTED]> [031126 14:51]: > In message: <[EMAIL PROTECTED]> > Michael Edenfield <[EMAIL PROTECTED]> writes: > : They were on a single CPU Athlon 500 with 320MB of RAM. > > 320MB is not enough RAM not to swap. > > However, having said that, I think everybody

Re: 40% slowdown with dynamic /bin/sh

2003-11-26 Thread Robert Watson
On Wed, 26 Nov 2003, Terry Lambert wrote: > I don't know what Matt is planning on delivering, but... > > http://developer.apple.com/darwin/projects/opendirectory/ > > [...] > lookupd is included with the Darwin project and is > documented online in Apple's Support database and >

ISO IMAGES

2003-11-26 Thread Jesse Guardiani
Will ISO images be released for 5.2-BETA i386? Or is that strictly an -RC thing? Thanks. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net

Re: 40% slowdown with dynamic /bin/sh

2003-11-26 Thread E.B. Dreger
MD> Date: Tue, 25 Nov 2003 11:50:25 -0800 (PST) MD> From: Matthew Dillon MD> (B) the authentication code access an IPC service which *ONLY* allows MD> challenge/response, does *NOT* give you direct access to the MD> encrypted contents of the password file, and which limits the challeng

Re: ISO IMAGES

2003-11-26 Thread Scott Long
The availability of ISO images was announced to this mailing list this morning. Please check your local mirror; i386, alpha, and amd64 should be available on most mirrors now. Scott On Wed, 26 Nov 2003, Jesse Guardiani wrote: > Will ISO images be released for 5.2-BETA i386? > Or is that strict

Re: IPFW2 verrevpath issue (IPv4 TCP, fresh kernel)

2003-11-26 Thread Sean Chittenden
> > Is my expectation wrong or is there a pertinent IPFW2 bug in a current > > 5.2-BETA kernel? > > You're alone in this, though cjc hasn't been able to reproduce this. ^^^ not > Are you on a multi-homed system? -sc Ack! If ever there was a missing word to change the meaning of a

Re: ISO IMAGES

2003-11-26 Thread Claus Guttesen
Hi. > Will ISO images be released for 5.2-BETA i386? > Or is that strictly an -RC thing? Ftp'ed to ftp.freebsd.org using a freebsd-ftp-client but couldn't find the ISO-image for 5.2 beta. Using OS X's finder found the folder and files. Peculiar. Permissions? regards Claus Yahoo! Mail (http://

Re: ISO IMAGES

2003-11-26 Thread Simon L. Nielsen
On 2003.11.26 22:53:26 +0100, Claus Guttesen wrote: > Hi. > > > Will ISO images be released for 5.2-BETA i386? > > Or is that strictly an -RC thing? > > Ftp'ed to ftp.freebsd.org using a freebsd-ftp-client > but couldn't find the ISO-image for 5.2 beta. Using OS > X's finder found the folder and

Re: Updated acpi_cpu patch

2003-11-26 Thread Lukas Ertl
On Wed, 26 Nov 2003, Nate Lawson wrote: > It's possible the fan is under BIOS control so make sure you have an > up-to-date bios. If not, you should get a console printout when acpi > switches the fan on. sysctl hw.acpi.thermal Nope, no ACPI messages, and I can't find a FAN device in my ASL. (A

Re: Updated acpi_cpu patch

2003-11-26 Thread Nate Lawson
On Wed, 26 Nov 2003, Lukas Ertl wrote: > On Wed, 26 Nov 2003, Nate Lawson wrote: > > It's possible the fan is under BIOS control so make sure you have an > > up-to-date bios. If not, you should get a console printout when acpi > > switches the fan on. sysctl hw.acpi.thermal > > Nope, no ACPI mess

Re: Updated acpi_cpu patch

2003-11-26 Thread Lukas Ertl
On Wed, 26 Nov 2003, Nate Lawson wrote: > On Wed, 26 Nov 2003, Lukas Ertl wrote: > > On Wed, 26 Nov 2003, Nate Lawson wrote: > > > It's possible the fan is under BIOS control so make sure you have an > > > up-to-date bios. If not, you should get a console printout when acpi > > > switches the fan

zone(9) is broken on SMP?!

2003-11-26 Thread Max Laier
If I build attached kmod and kldload/-unload it on a GENERIC kernel w/ SMP & apic it'll error out: "Zone was not empty (xx items). Lost X pages of memory." w/o SMP & apic the problem disappears. This is on a p4 HTT, but seems reproducible on "proper" SMP systems as well. UP systems don't show it

Re: requesting vinum help

2003-11-26 Thread Greg 'groggy' Lehey
On Wednesday, 26 November 2003 at 12:04:52 -0600, Cosmin Stroe wrote: > > I am using vinum atm, and I am having serious problems with it. After > about 16 hrs of writing data to a vinum volume via NFS at a constant data > stream of 200k/sec and reading at 400k/sec at the same time, the whole > mac

Re: IPFW2 verrevpath issue (IPv4 TCP, fresh kernel)

2003-11-26 Thread Sam Leffler
On Wednesday 26 November 2003 01:40 pm, Sean Chittenden wrote: > > > Is my expectation wrong or is there a pertinent IPFW2 bug in a current > > > 5.2-BETA kernel? > > > > You're alone in this, though cjc hasn't been able to reproduce this. > >^^^ >not > > > Are you on a multi-homed

Re: Panic with ugen

2003-11-26 Thread Martin
On Wed, 2003-11-26 at 20:44, Jay Cornwall wrote: > Can you (or someone) provide a backtrace to help trace the cause? OK. Here is what I found out, I didn't write down any register contents and stuff, sorry. It looks like this: WARNING: Driver mistake: destroy_dev on 114/1 panic: don't do that d

Re: zone(9) is broken on SMP?!

2003-11-26 Thread Florian C. Smeets
Max Laier wrote: If I build attached kmod and kldload/-unload it on a GENERIC kernel w/ SMP & apic it'll error out: "Zone was not empty (xx items). Lost X pages of memory." This is on a p4 HTT, but seems reproducible on "proper" SMP systems as well. UP systems don't show it however. Can somebody p

Re: Panic with ugen

2003-11-26 Thread Jay Cornwall
Martin wrote: It looks like this: panic() destroy_dev() ugen_destroy_devnodes() ugen_set_config() Yes, that's the one, and I think I can see why. The existing code fixed devfs problems for normal ugen_set_config calls, but doesn't account for what happens when an error occurs (which is presumab

Re: zone(9) is broken on SMP?!

2003-11-26 Thread Jeff Roberson
On Thu, 27 Nov 2003, Florian C. Smeets wrote: > Max Laier wrote: > > If I build attached kmod and kldload/-unload it on a GENERIC kernel w/ > > SMP & apic it'll error out: > > "Zone was not empty (xx items). Lost X pages of memory." > > > > This is on a p4 HTT, but seems reproducible on "proper"

Debugging 5.2 Beta

2003-11-26 Thread Benjamin Close
Hi All, Just grabbed the 5.2Beta mini iso. Sadly the machine I tried it on caused a panic during kernel boot. A boot -v shows the last lines as (hand transcribed): PNP0700: ading dma mask 0x4 pnpbios: handle 10 device ID PNP0700 (0007d041) Fatal trap 9: general protection falut while in kern

Change install-order? (upgrade from static to dynamic root)

2003-11-26 Thread Garance A Drosihn
I just installed 5.1-release on a sparc64, and then cvsup'ed to the latest snapshot of -current. Since that update is such a large jump in time, I was going from a system which had no /rescue or /libexec to one which builds everything dynamically. This gets one into a mess in the middle of install

Update to 5.2 beta from 5.1-current didn't work right

2003-11-26 Thread Derek Ragona
I did a binary update from 5.1-current, created with a mid October snapshot, to 5.2 beta. The installer had trouble, at one point reporting negative disk space available when of course there is plenty of space. This server has a single SATA drive with three slices for FreeBSD, a 5 GB /, and 4

  1   2   >