Send freebsd-current mailing list submissions to
	freebsd-current@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.freebsd.org/mailman/listinfo/freebsd-current
or, via email, send a message with subject or body 'help' to
	freebsd-current-request@freebsd.org

You can reach the person managing the list at
	freebsd-current-owner@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-current digest..."


Today's Topics:

   1. Re: parallel port *slow* (and plip probs.) (Palle Girgensohn)
   2. Re: 5.3-RELEASE TODO (Brian Fundakowski Feldman)
   3. Re: acpi_video users needed  (Randy Bush)
   4. Thanks! Re: unionfs on CURRENT for read only OK?
      (Chad Leigh -- Shire.Net LLC)
   5. Re: plip usage/problems (Doug White)
   6. Re: install crashes on ThinkPad T41 (Tai-hwa Liang)
   7. Re: 5.3-RELEASE TODO (Scott Long)
   8. Re: consistent hard lockup with recent kernels (Jon Noack)
   9. Re: 5.3-RELEASE TODO (Scott Long)
  10. Re: ACPI degrading.. ? (Eric Anderson)
  11. Re: ACPI degrading.. ? (Jon Noack)
  12. Re: ACPI degrading.. ? (Robert Watson)
  13. Re: ACPI degrading.. ? (Jon Noack)
  14. Re: ACPI degrading.. ? (Jon Noack)
  15. HEADS UP: The sound drivers has been renamed (Seigo Tanimura)
  16. Re: 5.3-RELEASE TODO (Jon Noack)
  17. Re: 5.3-RELEASE TODO (Mayo)
  18. Re: 5.3-RELEASE TODO (Jon Noack)
  19. Re: acpi_video users needed (Niki Denev)
  20. RE: consistent hard lockup with recent kernels (Daniel Eriksson)
  21. Re: ACPI degrading.. ? (Jon Noack)
  22. Re: acpi_video users needed (Mark Santcroos)
  23. Re: 5.3-RELEASE TODO (Kris Kennaway)
  24. Re: 5.3-RELEASE TODO (Dan Nelson)
  25. acpi_video without suspending (Brad Davis)
  26. Re: HEADS UP: The sound drivers has been renamed (Seigo Tanimura)
  27. Re: plip usage/problems  (Poul-Henning Kamp)
  28. Re: HEADS UP: The sound drivers has been renamed (Daniel Eischen)
  29. Re: HEADS UP: The sound drivers has been renamed (Seigo Tanimura)
  30. [current tinderbox] failure on alpha/alpha (FreeBSD Tinderbox)
  31. Re: 5.3-RELEASE TODO (Bj?rn Gr?nvall)
  32. Kernel Build FAILURE -sound (Grover Lines)


----------------------------------------------------------------------

Message: 1
Date: Fri, 16 Jul 2004 03:10:06 +0200
From: Palle Girgensohn <girgen@pingpong.net>
Subject: Re: parallel port *slow* (and plip probs.)
To: Allan Fields <bsd@afields.ca>,	Antony T Curtis
	<antony.t.curtis@ntlworld.com>
Cc: current@freebsd.org
Message-ID: <042E9B710BB3EA9CFBC625DE@palle.girgensohn.se>
Content-Type: text/plain; charset=us-ascii; format=flowed



--On torsdag, juli 15, 2004 20.33.28 -0400 Allan Fields <bsd@afields.ca> 
wrote:

> On Thu, Jul 15, 2004 at 11:36:30PM +0100, Antony T Curtis wrote:
>> On Thu, 2004-07-15 at 22:07, Palle Girgensohn wrote:
>> > Only, the flags don't work, nothing seems to happen?
>
> Did you set to ECP mode in your BIOS?

ECP+EPP

didn't try ECP only together with 0x8 flag.

>> > $ kenv | grep  ppc
>> > hint.ppc.0.at="isa"
>> > hint.ppc.0.flags="0xc"
>> > hint.ppc.0.irq="7"
>> > $ dmesg | grep ppc
>> > ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
>> > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
>> > ppc0: FIFO with 16/16/16 bytes threshold
>> > ppbus0: <Parallel port bus> on ppc0
>>
>> I must admit - I have only had it work properly when the flags was
>> compiled in the kernel config:
>>
>> device ppc0 at isa? flags 0x08 irq 7 drq 3
>
> I've had ECP working in 5.1 & 5.2 using device.hints as I've been
> misusing a machine as PLIP router to provide old laptop w/ network
> since PCMCIA interface isn't working w/ installed kernel.
>
> dmesg:
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 flags 0x8 on isa0
> ppc0: Generic chipset (ECP-only) in ECP mode
> ppbus0: <Parallel port bus> on ppc0
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
>
> device.hints:
> hint.ppc.0.at="isa"
> hint.ppc.0.irq="7"
> hint.ppc.0.flags="0x8"
> hint.ed.0.at="isa"
>
>> <snip>
>>
>> --
>> Antony T Curtis <antony.t.curtis@ntlworld.com>
>
> --
>  Allan Fields, AFRSL - http://afields.ca
>  2D4F 6806 D307 0889 6125  C31D F745 0D72 39B4 5541

/Palle





------------------------------

Message: 2
Date: Thu, 15 Jul 2004 21:29:33 -0400
From: Brian Fundakowski Feldman <green@FreeBSD.org>
Subject: Re: 5.3-RELEASE TODO
To: Kris Kennaway <kris@obsecurity.org>
Cc: re@FreeBSD.org
Message-ID: <20040716012933.GC1626@green.homeunix.org>
Content-Type: text/plain; charset=us-ascii

On Thu, Jul 15, 2004 at 03:04:47PM -0700, Kris Kennaway wrote:
> On Thu, Jul 15, 2004 at 10:24:39AM -0400, Robert Watson wrote:
> 
> >  This is a list of open issues that need to be resolved for FreeBSD 5.3. I
f
> >  you have any updates for this list, please e-mail re@FreeBSD.org.
> > 
> > Show stopper defects for 5.3-RELEASE
> 
> These are the bugs I'm currently tracking (those I can remember right
> now, at least)
> [...]
> * ATA tends to panic the system when error conditions occur, e.g. 
> 
> ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=45113664
> ad0: DMA limited to UDMA33, non-ATA66 cable or device
> ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=45113664
> ad0: WARNING - removed from configuration
> ata0-master: FAILURE - WRITE_DMA timed out
> 
> Fatal trap 12: page fault while in kernel mode
> [...]
> 
> OTOH ATA on 4.x also gives panics with INVARIANTS when this kind of
> thing happens.

I would love to see this fixed, as it direly affects many people who
are trying to BOOT and cannot because of these ATA failure crashes.
Soeren really didn't seem very interested in the idea of ATA not
crashing and burning any time a device is forcibly detached (and reset).

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green@FreeBSD.org                               \  The Power to Serve! \

 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\


------------------------------

Message: 3
Date: Thu, 15 Jul 2004 18:36:32 -0700
From: Randy Bush <randy@psg.com>
Subject: Re: acpi_video users needed 
To: "Kevin Oberman" <oberman@es.net>
Cc: freebsd-current@freebsd.org
Message-ID: <16631.12576.788808.427842@ran.psg.com>
Content-Type: text/plain; charset=us-ascii

> Can you define "properly attaching"? Mine stopped working about 3
> weeks ago, but the .ko does load. I just don't get any hw.acpi.video
> sysctls and suspend no longer turns off the display.

same here, thinkpad t40p, current bios.

randy


------------------------------

Message: 4
Date: Thu, 15 Jul 2004 19:40:13 -0600
From: "Chad Leigh -- Shire.Net LLC" <chad@shire.net>
Subject: Thanks! Re: unionfs on CURRENT for read only OK?
To: <freebsd-current@freebsd.org> <freebsd-current@freebsd.org>
	<freebsd-current@freebsd.org>
Message-ID: <1525E347-D6C9-11D8-BE2C-003065A70D30@shire.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed


On Jul 15, 2004, at 4:57 PM, Daniel Eriksson wrote:

> Chad Leigh wrote:
>
>> The man pages for unionfs basically say to avoid it as it has
>> problems.
>>    However, I was wondering about people's experience with it
>> for read
>> only mounts.
>
> The nullfs man page says mostly the same thing, and I'm using it 
> extensively
> on one of my servers (200+ rw mounts) without any problems (yet). I've 
> been
> running like this for 10 days now using an up-to-date 5-CURRENT. 
> Writes are
> done both to the underlying filesystem and through the nullfs mount, 
> but
> most of the access is read (10-to-1 ratio for read-vs-write probably).
>
> And to make it even more interesting the underlying filesystems reside 
> on a
> mixture of "old" vinum arrays, ataraid arrays and single discs.
>
> I do have some problems, but I had them even before I started using
> mount_nullfs so they should not be related.

Thanks  to all who replied.  Yes, I was thinking of nullfs.  Sorry.  I 
will give it a try and I appreciate the responses from everyone.

Thanks
Chad


------------------------------

Message: 5
Date: Thu, 15 Jul 2004 18:43:31 -0700 (PDT)
From: Doug White <dwhite@gumbysoft.com>
Subject: Re: plip usage/problems
To: Allan Fields <bsd@afields.ca>
Cc: current@freebsd.org
Message-ID: <20040715184245.I22159@carver.gumbysoft.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Thu, 15 Jul 2004, Allan Fields wrote:

> What range of BSD machines should plip work between?
> In LPIP mode is it OK to use between FreeBSD and DragonFly for
> instance?

Its the same code so it should work, but I haven't tested it myself. I
have enough ethernet cards to populate all my machines :)

Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org

------------------------------

Message: 6
Date: Fri, 16 Jul 2004 10:01:56 +0800 (CST)
From: Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
Subject: Re: install crashes on ThinkPad T41
To: Dan Langille <dan@langille.org>
Cc: freebsd-current@freebsd.org
Message-ID: <0407161000349.87624@www.mmlab.cse.yzu.edu.tw>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Thu, 15 Jul 2004, Dan Langille wrote:
> On 15 Jul 2004 at 9:20, Dan Langille wrote:
>
> > Gidday,
> >
> > I've tried several -current snapshots on this IBM ThinkPad T41
> > (2004.05.24, 2004.06.11, 2004.07.07, and 2004.07.14).  All fail, but
> > at different steps.  I'll report upon 2004.07.14 but will provide
> > information for the others if requested.
> >
> >
> > 5.2.1-RELEASE is installed on this laptop.  It runs fine.  I have
> > attached the output of /var/run/dmesg.boot from that.
> >
> > I have also included the output of dmidecode.
> >
> > 2004.07.14 crashes during probing.  Details of the traceback are at:
> > http://www.langille.org/IBM-ThinkPad-T41-current-2004.07.14-trace.jpg
>
> Just in case that was an installer problem, I cvsup'd to 2004.07.06
> build world, made a kernel, and tried to boot it.  It got a fatal
> trap 12.  Details at
>
> http://www.langille.org/ibm-thinkpad-t41-current-2004-07-06-panic.jpg

  After applying following hacks, my T40 seems to survive from the
ADAPI_IDENTIFY failure(single user mode prompt at least). However,
it still crashed in multiuser mode(while the rc scripts were invoking
some programs such like usbd).

  Note that this patch was generated from an old -CURRENT, you may have to
tweak it before applying directly on recent -CURRENT.

--- /home/avatar/ncvs/src/sys/dev/ata/ata-all.c	Wed Jun 23 22:15:24 2004
+++ /sys/dev/ata/ata-all.c	Sat Jul  3 23:28:54 2004
@@ -572,6 +577,11 @@
 		ata_queue_request(request);
 		if (!(error = request->result))
 		    break;
+	    }
+	    if (error)
+	    {
+		ata_prtdev(atadev, "failing requests on channel unit %d\n", request->device
->channel->unit);
+		ata_fail_requests(request->device->channel, atadev);
 	    }
 	    ata_free_request(request);
 	}

------------------------------

Message: 7
Date: Thu, 15 Jul 2004 20:41:53 -0600
From: Scott Long <scottl@samsco.org>
Subject: Re: 5.3-RELEASE TODO
To: Tim Robbins <tjr@freebsd.org>
Cc: re@freebsd.org
Message-ID: <40F74071.70306@samsco.org>
Content-Type: text/plain; charset=us-ascii; format=flowed

Tim Robbins wrote:
> On Thu, Jul 15, 2004 at 03:20:19PM -0700, Colin Percival wrote:
> 
>>At 15:04 15/07/2004, Kris Kennaway wrote:
>>
>>>* linprocfs 
>>>[...]
>>>      if (pvd->pvd_pid != NO_PID) {
>>>               if ((proc = pfind(pvd->pvd_pid)) == NULL)
>>>                       PFS_RETURN (ENOENT);
>>>-->             vap->va_uid = proc->p_ucred->cr_ruid;
>>>
>>>rwatson has a patch that works around this particular null pointer
>>>deref, but the underlying cause is not addressed.
>>
>>This looks like the "embryonic processes are added to allproc and
>>p_hash too soon" bug (cf. kern/68364).  Last I heard, tjr was going
>>to fix this in the next few days.
> 
> 
> I was going to, but it turns out that my original solution of not
> putting "embryonic" processes on allproc would further break checkdirs() --

> there are already a few kinds of races that can happen there, and I don't
> want to add more.
> 
> 
> Tim

Please don't take this the wrong way, but would you consider using a
null-modem serial cable and SLIP or PPP instead?  PLIP has been
neglected nice it was first introduced, and I doubt that it has much
life left.  Setting up SLIP and PPP is trivially easy and has a much
better chance of working between OS's.

Scott

------------------------------

Message: 8
Date: Thu, 15 Jul 2004 22:18:11 -0500
From: Jon Noack <noackjr@alumni.rice.edu>
Subject: Re: consistent hard lockup with recent kernels
To: Sean McNeil <sean@mcneil.com>
Cc: freebsd-current@freebsd.org
Message-ID: <40F748F3.6020702@alumni.rice.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed

On 07/15/04 15:41, Sean McNeil wrote:
> I get a very repeatable hard freeze of the system when I use firefox and
> attempt to download a large iso image.  I've been trying to get a livecd
> image from a gentoo.org mirror (needed for something else, I'm a FreeBSD
> fan, honest!!) ;)
> 
> I suppose this is related to the preemption issues, but don't have
> anything to show for it except my dmegs.  I can't access the system at
> all to see why it is happening.

Yeah, it is most likely bugs uncovered by native preemption.  For now 
you can remask then by commenting out the "#define PREEMPTION" in 
src/sys/<ARCH>/include/param.h and rebuilding your kernel.  Robert 
Watson's comments on this:
"This results in a quite usable kernel, although quite probably more 
poor interrupt handling latency, etc."

You'll see the following warning on boot:
WARNING: Kernel preemption is disabled, expect reduced performance.

An example of this reduced performance is sound issues (slowdowns, pops, 
etc.) when the system is under load (most notably with disk load).

Jon

------------------------------

Message: 9
Date: Thu, 15 Jul 2004 21:18:29 -0600
From: Scott Long <scottl@samsco.org>
Subject: Re: 5.3-RELEASE TODO
To: Tim Robbins <tjr@freebsd.org>
Cc: re@freebsd.org
Message-ID: <40F74905.1080506@samsco.org>
Content-Type: text/plain; charset=us-ascii; format=flowed

Scott Long wrote:
> Tim Robbins wrote:
> 
>> On Thu, Jul 15, 2004 at 03:20:19PM -0700, Colin Percival wrote:
>>
>>> At 15:04 15/07/2004, Kris Kennaway wrote:
>>>
>>>> * linprocfs [...]
>>>>      if (pvd->pvd_pid != NO_PID) {
>>>>               if ((proc = pfind(pvd->pvd_pid)) == NULL)
>>>>                       PFS_RETURN (ENOENT);
>>>> -->             vap->va_uid = proc->p_ucred->cr_ruid;
>>>>
>>>> rwatson has a patch that works around this particular null pointer
>>>> deref, but the underlying cause is not addressed.
>>>
>>>
>>> This looks like the "embryonic processes are added to allproc and
>>> p_hash too soon" bug (cf. kern/68364).  Last I heard, tjr was going
>>> to fix this in the next few days.
>>
>>
>>
>> I was going to, but it turns out that my original solution of not
>> putting "embryonic" processes on allproc would further break 
>> checkdirs() --
>> there are already a few kinds of races that can happen there, and I don't
>> want to add more.
>>
>>
>> Tim
> 
> 
> Please don't take this the wrong way, but would you consider using a
> null-modem serial cable and SLIP or PPP instead?  PLIP has been
> neglected nice it was first introduced, and I doubt that it has much
> life left.  Setting up SLIP and PPP is trivially easy and has a much
> better chance of working between OS's.
> 
> Scott
> 

Ok, I've officially been in front of the computer for too long today.
This response was actually meant for a different message.  Sorry for the
confusion.

Scott

------------------------------

Message: 10
Date: Thu, 15 Jul 2004 22:30:34 -0500
From: Eric Anderson <anderson@centtech.com>
Subject: Re: ACPI degrading.. ?
To: Kevin Oberman <oberman@es.net>
Cc: freebsd-current@freebsd.org
Message-ID: <40F74BDA.2090408@centtech.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Kevin Oberman wrote:

>>Date: Thu, 15 Jul 2004 11:08:22 -0500
>>From: Eric Anderson <anderson@centtech.com>
>>Sender: owner-freebsd-current@freebsd.org
>>
>>Ok - On May13th, I was the happiest FreeBSD user on the planet.. All the 
>>ACPI stuff worked (the acpi_video stuff worked for my laptop, I had 
>>several 'cx_supported' modes, etc..), but then I cvsup'ed on July 8th 
>>(around there), and the acpi_video was broken, and no more cx modes 
>>(besides c1).  I backed up to 06/15 and the acpi_video magically came 
>>back, but still no cx modes.. 
>>
>>Is there a configuration option I need to adjust now, or is it just 
>>broken? Is there anything I can do to help?
>>    
>>
>
>The cx issue should be fixed. Nate put in a patch to fix it yesterday
>or today. I have also lost acpi_video, but the patch to fix cx may fix
>that, as well. I've been hesitant to update my laptop due to the native
>preemption triggered problems that forced me to roll several bits of the
>kernel back to 7/2. If I get just a little time, I'll cvsup and build a
>new system tomorrow and see how t works (or doesn't).
>  
>
Ahh, ok.. great.. Thanks Nate!  I'm also waiting for the preemption 
stuff to settle down.. killing my laptop 10 times in one day isn't my 
idea of fun.. :)  Although, it only ever happened when Firefox was 
running..

Thanks for the info!

Eric


-- 
------------------------------------------------------------------
Eric Anderson     Sr. Systems Administrator    Centaur Technology
Talk sense to a fool and he calls you foolish.
------------------------------------------------------------------


------------------------------

Message: 11
Date: Thu, 15 Jul 2004 22:48:33 -0500
From: Jon Noack <noackjr@alumni.rice.edu>
Subject: Re: ACPI degrading.. ?
To: Eric Anderson <anderson@centtech.com>
Cc: freebsd-current@freebsd.org
Message-ID: <40F75011.9010707@alumni.rice.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed

On 07/15/04 22:30, Eric Anderson wrote:
> Kevin Oberman wrote:
>> The cx issue should be fixed. Nate put in a patch to fix it yesterday
>> or today. I have also lost acpi_video, but the patch to fix cx may fix
>> that, as well. I've been hesitant to update my laptop due to the native
>> preemption triggered problems that forced me to roll several bits of the
>> kernel back to 7/2. If I get just a little time, I'll cvsup and build a
>> new system tomorrow and see how t works (or doesn't).
>>
> Ahh, ok.. great.. Thanks Nate!  I'm also waiting for the preemption 
> stuff to settle down.. killing my laptop 10 times in one day isn't my 
> idea of fun.. :)  Although, it only ever happened when Firefox was 
> running..

Come to think of it, all of my hard lockups were when Firefox was 
running.  I think (some of) the issues native preemption uncovered are 
related to threading.  In any case, I commented out "#define PREEMPTION" 
in src/sys/<ARCH>/include/param.h and rebuilt my kernel so it would stay 
up for more than 30 minutes.

Jon

------------------------------

Message: 12
Date: Thu, 15 Jul 2004 23:49:51 -0400 (EDT)
From: Robert Watson <rwatson@freebsd.org>
Subject: Re: ACPI degrading.. ?
To: Jon Noack <noackjr@alumni.rice.edu>
Cc: freebsd-current@freebsd.org
Message-ID:
	<Pine.NEB.3.96L.1040715234852.50858B-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Thu, 15 Jul 2004, Jon Noack wrote:

> Come to think of it, all of my hard lockups were when Firefox was
> running.  I think (some of) the issues native preemption uncovered are
> related to threading.  In any case, I commented out "#define PREEMPTION" 
> in src/sys/<ARCH>/include/param.h and rebuilt my kernel so it would stay
> up for more than 30 minutes. 

I've also drawn the same conclusion -- to trigger the hangs, I run MySQL
with a threaded benchmark.  Otherwise, things seem fairly stable on my
test boxes.  Could you try running with PREEMPTION and using libthr
instead of libkse and see if you get the same result?

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Principal Research Scientist, McAfee Research



------------------------------

Message: 13
Date: Thu, 15 Jul 2004 22:52:14 -0500
From: Jon Noack <noackjr@alumni.rice.edu>
Subject: Re: ACPI degrading.. ?
To: Eric Anderson <anderson@centtech.com>
Cc: freebsd-current@freebsd.org
Message-ID: <40F750EE.9080706@alumni.rice.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed

On 07/15/04 11:08, Eric Anderson wrote:
> Ok - On May13th, I was the happiest FreeBSD user on the planet.. All the 
> ACPI stuff worked (the acpi_video stuff worked for my laptop, I had 
> several 'cx_supported' modes, etc..), but then I cvsup'ed on July 8th 
> (around there), and the acpi_video was broken, and no more cx modes 
> (besides c1).  I backed up to 06/15 and the acpi_video magically came 
> back, but still no cx modes..
> Is there a configuration option I need to adjust now, or is it just 
> broken? Is there anything I can do to help?

An illuminating thread over on cvs-src (these are links to the most 
informative messages):
http://lists.freebsd.org/pipermail/cvs-src/2004-July/027545.html
http://lists.freebsd.org/pipermail/cvs-src/2004-July/027547.html

Jon

------------------------------

Message: 14
Date: Thu, 15 Jul 2004 22:59:29 -0500
From: Jon Noack <noackjr@alumni.rice.edu>
Subject: Re: ACPI degrading.. ?
To: Robert Watson <rwatson@freebsd.org>
Cc: freebsd-current@freebsd.org
Message-ID: <40F752A1.8020705@alumni.rice.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed

On 07/15/04 22:49, Robert Watson wrote:
> On Thu, 15 Jul 2004, Jon Noack wrote:
>> Come to think of it, all of my hard lockups were when Firefox was 
>> running. I think (some of) the issues native preemption uncovered
>> are related to threading. In any case, I commented out "#define
>> PREEMPTION" in src/sys/<ARCH>/include/param.h and rebuilt my kernel
>> so it would stay up for more than 30 minutes.
> 
> I've also drawn the same conclusion -- to trigger the hangs, I run MySQL
> with a threaded benchmark.  Otherwise, things seem fairly stable on my
> test boxes.  Could you try running with PREEMPTION and using libthr
> instead of libkse and see if you get the same result?

I'm rebuilding my kernel with PREEMPTION and will add the following 
"global" values to /etc/libmap.conf before I reboot:
libpthread.so.1       libthr.so.1
libpthread.so         libthr.so

I'll let you know how things pan out -- shouldn't be too long.

Jon

------------------------------

Message: 15
Date: Fri, 16 Jul 2004 13:10:58 +0900
From: Seigo Tanimura <tanimura@tanimura.dyndns.org>
Subject: HEADS UP: The sound drivers has been renamed
To: current@FreeBSD.org
Cc: Seigo Tanimura <tanimura@tanimura.dyndns.org>
Message-ID: <200407160410.i6G4AwT6006303@urban>
Content-Type: text/plain; charset=US-ASCII

On Mon, 12 Jul 2004 12:10:39 +0900,
  Seigo Tanimura <tanimura@tanimura.dyndns.org> said:

tanimura> I am planning to rename the sound drivers as follows:
tanimura> - `sound'

tanimura> The generic sound driver, including pcm and midi (to come).

tanimura> - `snd_*'

tanimura> The device-dependent drivers, named after the sound driver modules a
t
tanimura> this moment.


tanimura> This scheme eliminates unwanted device-dependent drivers (about 260K
B
tanimura> in my case) from your kernel.

tanimura> In addition, the module `snd_pcm' will be renamed to `sound', in ord
er
tanimura> to sync with the new naming convention.


tanimura> The patch is at:

tanimura> 	http://people.FreeBSD.org/~tanimura/patches/splitpcm-10jul2004.diff


tanimura> If there are no objection, I will commit on the evening of the next

tanimura> Wednesday.

The patch has now been committed.  If you have `pcm' in your kernel
configuration, move to the new scheme.  Consult NOTES for the detail
of the device-dependent drivers.


Example: (for my ThinkPad A30 w/ Intel ICH)

device	sound	# generic driver, mandatory
device	snd_ich	# for Intel ICH

-- 
Seigo Tanimura <tanimura@tanimura.dyndns.org> <tanimura@FreeBSD.org>

------------------------------

Message: 16
Date: Thu, 15 Jul 2004 23:19:04 -0500
From: Jon Noack <noackjr@alumni.rice.edu>
Subject: Re: 5.3-RELEASE TODO
To: re@FreeBSD.org
Cc: current@FreeBSD.org
Message-ID: <40F75738.2000604@alumni.rice.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed

On 07/15/04 09:24, Robert Watson wrote:
> Desired features for 5.3-RELEASE
> 
>  +------------------------------------------------------------------------+

>  |      Issue      |   Status    |  Responsible   |      Description      |

>  |-----------------+-------------+----------------+-----------------------|

>  |                 |             |                | A process cannot be   |

>  |                 |             |                | interrupted while     |

>  |                 |             |                | waiting on a lock.    |

>  | rpc.lockd(8)    |             |                | Fixing this requires  |

>  | stability       | --          | --             | that the RPC code be  |

>  |                 |             |                | taught how to deal    |

>  |                 |             |                | with lock             |

>  |                 |             |                | cancellation and      |

>  |                 |             |                | interruption events.  |

>  +------------------------------------------------------------------------+


Interesting note on this:
I have my home directory NFS mounted from another -CURRENT box.  If I 
enable NFS locking and am running a ULE kernel on the client, I am 
unable to log into KDE.  It accepts my password but hangs before the 
splash/loading screen appears.  I can switch to a console and login 
there without issues, so NFS isn't completely dead.  Strangely, using a 
4BSD kernel works fine.  This is repeatable on my box (at least it 
happened the 2 times I tried each kernel so far).

Hmm, it appears that rpc.lockd died on the server end (at some point, 
anyway).  I have a .core but it doesn't appear like it's finding any 
debug symbols.  I build everything with -g, so I don't know why it 
can't.  I'll keep the core around in case anyone cares.  Sounds like the 
problems may already be known, so if it's not useful please let me know.

Jon

$ gdb /usr/sbin/rpc.lockd rpc.lockd.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols 
found)...
Core was generated by `rpc.lockd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/librpcsvc.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/librpcsvc.so.2
Reading symbols from /lib/libutil.so.4...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libutil.so.4
Reading symbols from /lib/libc.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.5
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x0804ca84 in ?? ()
(gdb)

------------------------------

Message: 17
Date: Thu, 15 Jul 2004 21:34:18 -0700
From: Mayo <mayo@mayo.sk>
Subject: Re: 5.3-RELEASE TODO
To: current@FreeBSD.org
Message-ID: <1089952458.19391.13.camel@einstein.local.nfy>
Content-Type: text/plain; charset="us-ascii"

On Thu, 2004-07-15 at 21:19, Jon Noack wrote:
> On 07/15/04 09:24, Robert Watson wrote:
> > Desired features for 5.3-RELEASE
> > 
> >  +------------------------------------------------------------------------
+
> >  |      Issue      |   Status    |  Responsible   |      Description      
|
> >  |-----------------+-------------+----------------+-----------------------
|
> >  |                 |             |                | A process cannot be   
|
> >  |                 |             |                | interrupted while     
|
> >  |                 |             |                | waiting on a lock.    
|
> >  | rpc.lockd(8)    |             |                | Fixing this requires  
|
> >  | stability       | --          | --             | that the RPC code be  
|
> >  |                 |             |                | taught how to deal    
|
> >  |                 |             |                | with lock             
|
> >  |                 |             |                | cancellation and      
|
> >  |                 |             |                | interruption events.  
|
> >  +------------------------------------------------------------------------
+
> 
> Interesting note on this:
> I have my home directory NFS mounted from another -CURRENT box.  If I 
> enable NFS locking and am running a ULE kernel on the client, I am 
> unable to log into KDE.  It accepts my password but hangs before the 
> splash/loading screen appears.  I can switch to a console and login 
> there without issues, so NFS isn't completely dead.  Strangely, using a 
> 4BSD kernel works fine.  This is repeatable on my box (at least it 
> happened the 2 times I tried each kernel so far).
> 
> Hmm, it appears that rpc.lockd died on the server end (at some point, 
> anyway).  I have a .core but it doesn't appear like it's finding any 
> debug symbols.  I build everything with -g, so I don't know why it 
> can't.  I'll keep the core around in case anyone cares.  Sounds like the 
> problems may already be known, so if it's not useful please let me know.
> 
> Jon
> 
> $ gdb /usr/sbin/rpc.lockd rpc.lockd.core
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are

> welcome to change it and/or distribute copies of it under certain 
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.

> This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols 
> found)...
> Core was generated by `rpc.lockd'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/lib/librpcsvc.so.2...(no debugging symbols 
> found)...done.
> Loaded symbols for /usr/lib/librpcsvc.so.2
> Reading symbols from /lib/libutil.so.4...(no debugging symbols 
> found)...done.
> Loaded symbols for /lib/libutil.so.4
> Reading symbols from /lib/libc.so.5...(no debugging symbols found)...done.
> Loaded symbols for /lib/libc.so.5
> Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols 
> found)...done.
> Loaded symbols for /libexec/ld-elf.so.1
> #0  0x0804ca84 in ?? ()
> (gdb)

I have a core file as well, I get rpc.lockd crashes occasionaly when I
use Evolution extensively or do lots of file operations (nfs mounted
home directories)

I get pretty much the same output as the one listed above, with the
exception that I have nss_ldap so there is few of those libraries
mentioned, but it can't find any debugging symbols.

mayo

> ________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040715/
4ad5a128/attachment-0001.bin

------------------------------

Message: 18
Date: Fri, 16 Jul 2004 00:19:57 -0500
From: Jon Noack <noackjr@alumni.rice.edu>
Subject: Re: 5.3-RELEASE TODO
To: Mark Linimon <linimon@lonesome.com>
Cc: re@FreeBSD.org
Message-ID: <40F7657D.40708@alumni.rice.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed

On 07/15/04 23:31, Mark Linimon wrote:
> On Thu, 15 Jul 2004, Jon Noack wrote:
>> Hmm, it appears that rpc.lockd died on the server end (at some
>> point, anyway). I have a .core but it doesn't appear like it's
>> finding any debug symbols. I build everything with -g, so I don't
>> know why it can't. I'll keep the core around in case anyone cares.
>> Sounds like the problems may already be known, so if it's not
>> useful please let me know.
> 
> This may be the same as kern/61122, bin/61718, and/or bin/66837?

True enough.  Looks like I'm just one voice in the cacophony... ;-)

A modified version of the patch in kern/61122 has already been applied:
http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/rpc.lockd/lockd_lock.c#rev1
.7

I'm trying the patch from bin/61718 (after learning the joys of 
b64decode).  I'll report back on my findings.

Jon

------------------------------

Message: 19
Date: Fri, 16 Jul 2004 08:26:28 +0300
From: Niki Denev <nike_d@cytexbg.com>
Subject: Re: acpi_video users needed
To: Randy Bush <randy@psg.com>
Cc: freebsd-current@freebsd.org
Message-ID: <cone.1089955588.176391.648.1001@phobos.totalterror.net>
Content-Type: text/plain; charset="us-ascii"

Randy Bush writes:

>> Can you define "properly attaching"? Mine stopped working about 3
>> weeks ago, but the .ko does load. I just don't get any hw.acpi.video
>> sysctls and suspend no longer turns off the display.
> 
> same here, thinkpad t40p, current bios.
> 
> randy
> 

here too.
ThinkPad X31, latest BIOS. cvsupped yesterday.

dmesg, acpidump, devinfo output at : 
http://totalterror.net/freebsd/


--
Niki

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040716/
9ad90b13/attachment-0001.bin

------------------------------

Message: 20
Date: Fri, 16 Jul 2004 07:38:51 +0200
From: "Daniel Eriksson" <daniel_k_eriksson@telia.com>
Subject: RE: consistent hard lockup with recent kernels
To: <noackjr@alumni.rice.edu>
Cc: freebsd-current@freebsd.org
Message-ID:
	<!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA0VcX9IoJqUaXPS8MjT1PdsKAAAAQA
AAASwXyhQrhq0KvaGmo0/NC3gEAAAAA@telia.com>
	
Content-Type: text/plain; charset="us-ascii"

Jon Noack wrote:

> Yeah, it is most likely bugs uncovered by native preemption.  For now 
> you can remask then by commenting out the "#define PREEMPTION" in 
> src/sys/<ARCH>/include/param.h and rebuilding your kernel.  Robert 
> Watson's comments on this:
> "This results in a quite usable kernel, although quite probably more 
> poor interrupt handling latency, etc."

I just tried a new kernel (2004.07.16.01.00.00) with preemption turned on,
and my problems with interrupt storms and SATA still remains. With
preemption turned off the machine seems stable, but somewhat sluggish.

With preemption enabled I get interrupt storms and DMA problems with the
SATA devices like below when trying to access all discs at once (running
fsck on all 11 file systems simultaneously). ad20 is one of two SATA devices
in the system.

Interrupt storm detected on "irq20: atapci4"; throttling interrupt source
ad20: FAILURE - already active DMA on this device
ad20: setting up DMA failed

Attached is the dmesg.boot from the old kernel (2004.07.12.22.00.00) with
preemption turned off that seems to be stable.

I'm using HZ=2000, DEVICE_POLLING and ZERO_COPY_SOCKETS, plus device apic. I
also have net.isr enabled.

'vmstat -i' gives the following output:
interrupt                          total       rate
irq1: atkbd0                         248          0
irq0: clk                        8176853       1993
irq4: sio0                            12          0
irq6: fdc0                             6          0
irq8: rtc                         524902        127
irq13: npx0                            1          0
irq14: ata0                        33148          8
irq15: ata1                        24641          6
irq16: atapci0+                   867398        211
irq17: atapci2+                   296877         72
irq18: re0                             2          0
irq19: ahc0                        94035         22
irq20: atapci4                    184381         44
irq23: vr0                             2          0
Total                           10202506       2487

/Daniel Eriksson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.boot
Type: application/octet-stream
Size: 9879 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040716/
f45beba8/dmesg-0001.obj

------------------------------

Message: 21
Date: Fri, 16 Jul 2004 00:47:28 -0500
From: Jon Noack <noackjr@alumni.rice.edu>
Subject: Re: ACPI degrading.. ?
To: Robert Watson <rwatson@freebsd.org>
Cc: freebsd-current@freebsd.org
Message-ID: <40F76BF0.1000108@alumni.rice.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed

On 07/15/04 22:59, Jon Noack wrote:
> On 07/15/04 22:49, Robert Watson wrote:
>> On Thu, 15 Jul 2004, Jon Noack wrote:
>>> Come to think of it, all of my hard lockups were when Firefox was 
>>> running. I think (some of) the issues native preemption uncovered
>>> are related to threading. In any case, I commented out "#define
>>> PREEMPTION" in src/sys/<ARCH>/include/param.h and rebuilt my kernel
>>> so it would stay up for more than 30 minutes.
>>
>> I've also drawn the same conclusion -- to trigger the hangs, I run MySQL
>> with a threaded benchmark.  Otherwise, things seem fairly stable on my
>> test boxes.  Could you try running with PREEMPTION and using libthr
>> instead of libkse and see if you get the same result?
> 
> I'm rebuilding my kernel with PREEMPTION and will add the following 
> "global" values to /etc/libmap.conf before I reboot:
> libpthread.so.1       libthr.so.1
> libpthread.so         libthr.so
> 
> I'll let you know how things pan out -- shouldn't be too long.

Worked great with Firefox until I started XMMS.  Everything was fine 
when I started playing an mp3, but it locked up hard when I switched to 
another desktop (had a Firefox window on the desktop I was switching to; 
it painted the Firefox widgets but hadn't repainted the webpage I was 
viewing before the lockup).

Looks like it's thread library independent too.

Jon

------------------------------

Message: 22
Date: Fri, 16 Jul 2004 07:52:23 +0200
From: Mark Santcroos <marks@ripe.net>
Subject: Re: acpi_video users needed
To: Kevin Oberman <oberman@es.net>
Cc: freebsd-current@freebsd.org
Message-ID: <20040716055223.GA44355@laptop.6bone.nl>
Content-Type: text/plain; charset=us-ascii

On Thu, Jul 15, 2004 at 03:32:07PM -0700, Kevin Oberman wrote:
> Can you define "properly attaching"? 

Attaching to the device, not only loading the module.

But the problem was found already, thanks for the info though, a fix is
underway.

Mark

------------------------------

Message: 23
Date: Thu, 15 Jul 2004 23:03:12 -0700
From: Kris Kennaway <kris@obsecurity.org>
Subject: Re: 5.3-RELEASE TODO
To: Jon Noack <noackjr@alumni.rice.edu>
Cc: re@FreeBSD.org
Message-ID: <20040716060312.GA57223@xor.obsecurity.org>
Content-Type: text/plain; charset="us-ascii"

On Thu, Jul 15, 2004 at 11:19:04PM -0500, Jon Noack wrote:

> Hmm, it appears that rpc.lockd died on the server end (at some point, 
> anyway).  I have a .core but it doesn't appear like it's finding any 
> debug symbols.  I build everything with -g, so I don't know why it 
> can't.  I'll keep the core around in case anyone cares.  Sounds like the 
> problems may already be known, so if it's not useful please let me know.

Debug symbols are stripped by default when the binary is installed.  I
think setting STRIP= overrides this; you probably just want to do
cd /usr/src/usr.sbin/rpc.lockd && make install STRIP=

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040715/
c24e0187/attachment-0001.bin

------------------------------

Message: 24
Date: Fri, 16 Jul 2004 01:27:51 -0500
From: Dan Nelson <dnelson@allantgroup.com>
Subject: Re: 5.3-RELEASE TODO
To: Kris Kennaway <kris@obsecurity.org>
Cc: re@freebsd.org
Message-ID: <20040716062751.GG19036@dan.emsphone.com>
Content-Type: text/plain; charset=us-ascii

In the last episode (Jul 15), Kris Kennaway said:
> On Thu, Jul 15, 2004 at 11:19:04PM -0500, Jon Noack wrote:
> 
> > Hmm, it appears that rpc.lockd died on the server end (at some
> > point, anyway).  I have a .core but it doesn't appear like it's
> > finding any debug symbols.  I build everything with -g, so I don't
> > know why it can't.  I'll keep the core around in case anyone cares. 
> > Sounds like the problems may already be known, so if it's not
> > useful please let me know.
> 
> Debug symbols are stripped by default when the binary is installed. 
> I think setting STRIP= overrides this; you probably just want to do
> cd /usr/src/usr.sbin/rpc.lockd && make install STRIP=

I stick DEBUG_FLAGS=-g in the Makefiles of what I debug, since that
adds -g to the compile line and unsets STRIP during install.  A two for
one variable.

-- 
	Dan Nelson
	dnelson@allantgroup.com

------------------------------

Message: 25
Date: Fri, 16 Jul 2004 00:39:21 -0600 (MDT)
From: "Brad Davis" <so14k@so14k.com>
Subject: acpi_video without suspending
To: freebsd-current@freebsd.org
Message-ID: <46569.199.201.236.2.1089959961.squirrel@199.201.236.2>
Content-Type: text/plain;charset=iso-8859-1

Hi,

I have a Dell Inspirion 5150 running current from a few weeks ago and I'd
like to set it up so when I close the lid it doesn't go into suspend but
just turns off the display. I have set

hw.acpi.lid_switch_state=S0

Which effectively stops the machine from suspending. But since the display
doesn't go off its putting out quite a bit of heat into a very small
inclosed space.



Regards,
Brad Davis


------------------------------

Message: 26
Date: Fri, 16 Jul 2004 15:47:21 +0900
From: Seigo Tanimura <tanimura@tanimura.dyndns.org>
Subject: Re: HEADS UP: The sound drivers has been renamed
To: current@FreeBSD.org
Cc: Seigo Tanimura <tanimura@tanimura.dyndns.org>
Message-ID: <200407160647.i6G6lLxV013662@urban>
Content-Type: text/plain; charset=US-ASCII

On Fri, 16 Jul 2004 13:10:58 +0900,
  Seigo Tanimura <tanimura@tanimura.dyndns.org> said:

tanimura> I am planning to rename the sound drivers as follows:
tanimura> - `sound'

tanimura> The generic sound driver, including pcm and midi (to come).

tanimura> - `snd_*'

tanimura> The device-dependent drivers, named after the sound driver modules a
t
tanimura> this moment.


tanimura> This scheme eliminates unwanted device-dependent drivers (about 260K
B
tanimura> in my case) from your kernel.

tanimura> In addition, the module `snd_pcm' will be renamed to `sound', in ord
er
tanimura> to sync with the new naming convention.

Module users may want to do s/snd_pcm_load/sound_load/ against your
loader.conf.


tanimura> The patch is at:

tanimura> http://people.FreeBSD.org/~tanimura/patches/splitpcm-10jul2004.diff


tanimura> If there are no objection, I will commit on the evening of the next

tanimura> Wednesday.

tanimura> The patch has now been committed.  If you have `pcm' in your kernel

tanimura> configuration, move to the new scheme.  Consult NOTES for the detail

tanimura> of the device-dependent drivers.


tanimura> Example: (for my ThinkPad A30 w/ Intel ICH)

tanimura> device	sound	# generic driver, mandatory
tanimura> device	snd_ich	# for Intel ICH

-- 
Seigo Tanimura <tanimura@tanimura.dyndns.org> <tanimura@FreeBSD.org>

------------------------------

Message: 27
Date: Fri, 16 Jul 2004 08:51:41 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: plip usage/problems 
To: Allan Fields <bsd@afields.ca>
Cc: current@freebsd.org
Message-ID: <16369.1089960701@critter.freebsd.dk>

In message <20040716010304.GC12833@afields.ca>, Allan Fields writes:
>What range of BSD machines should plip work between?

>In LPIP mode is it OK to use between FreeBSD and DragonFly for
>instance?

If the speed difference between the machines is too big it may not
work.

Can't say anything about DragonFly.

>Any reason why a PLIP interface would fragment IP headers?

Check the MTU.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

------------------------------

Message: 28
Date: Fri, 16 Jul 2004 03:09:15 -0400 (EDT)
From: Daniel Eischen <eischen@vigrid.com>
Subject: Re: HEADS UP: The sound drivers has been renamed
To: Seigo Tanimura <tanimura@tanimura.dyndns.org>
Cc: current@freebsd.org
Message-ID:
	<Pine.GSO.4.10.10407160304250.17477-100000@pcnet5.pcnet.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 16 Jul 2004, Seigo Tanimura wrote:

> On Fri, 16 Jul 2004 13:10:58 +0900,
>   Seigo Tanimura <tanimura@tanimura.dyndns.org> said:
> 
> tanimura> I am planning to rename the sound drivers as follows:
> tanimura> - `sound'
> 
> tanimura> The generic sound driver, including pcm and midi (to come).
> 
> tanimura> - `snd_*'
> 
> tanimura> The device-dependent drivers, named after the sound driver modules
 at
> tanimura> this moment.
> 
> 
> tanimura> This scheme eliminates unwanted device-dependent drivers (about 26
0KB
> tanimura> in my case) from your kernel.
> 
> tanimura> In addition, the module `snd_pcm' will be renamed to `sound', in o
rder
> tanimura> to sync with the new naming convention.

What I liked about 'device pcm' was that it would just work regardless of
what sound device I had.  I didn't need to know that it was Intel ICH3
or whatever.



------------------------------

Message: 29
Date: Fri, 16 Jul 2004 16:15:26 +0900
From: Seigo Tanimura <tanimura@tanimura.dyndns.org>
Subject: Re: HEADS UP: The sound drivers has been renamed
To: Daniel Eischen <eischen@vigrid.com>
Cc: Seigo Tanimura <tanimura@tanimura.dyndns.org>
Message-ID: <200407160715.i6G7FQqq031777@urban>
Content-Type: text/plain; charset=US-ASCII

On Fri, 16 Jul 2004 03:09:15 -0400 (EDT),
  Daniel Eischen <eischen@vigrid.com> said:

eischen> On Fri, 16 Jul 2004, Seigo Tanimura wrote:
>> On Fri, 16 Jul 2004 13:10:58 +0900,
>> Seigo Tanimura <tanimura@tanimura.dyndns.org> said:
>> 
tanimura> I am planning to rename the sound drivers as follows:
tanimura> - `sound'
>> 
tanimura> The generic sound driver, including pcm and midi (to come).
>> 
tanimura> - `snd_*'
>> 
tanimura> The device-dependent drivers, named after the sound driver modules a
t
tanimura> this moment.
>> 
>> 
tanimura> This scheme eliminates unwanted device-dependent drivers (about 260K
B
tanimura> in my case) from your kernel.
>> 
tanimura> In addition, the module `snd_pcm' will be renamed to `sound', in ord
er
tanimura> to sync with the new naming convention.

eischen> What I liked about 'device pcm' was that it would just work regardles
s of
eischen> what sound device I had.  I didn't need to know that it was Intel ICH
3
eischen> or whatever.

In that case, copy the configuration of the sound drivers from NOTES
to your kernel configuration.


Would it be better if I added them to GENERIC, just like USB?

-- 
Seigo Tanimura <tanimura@tanimura.dyndns.org> <tanimura@FreeBSD.org>

------------------------------

Message: 30
Date: Fri, 16 Jul 2004 05:12:46 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on alpha/alpha
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
	<alpha@freebsd.org>
Message-ID: <20040716091246.4C24C7303F@freebsd-current.sentex.ca>

TB --- 2004-07-16 08:00:00 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-07-16 08:00:00 - starting CURRENT tinderbox run for alpha/alpha
TB --- 2004-07-16 08:00:00 - checking out the source tree
TB --- 2004-07-16 08:00:00 - cd /home/tinderbox/sandbox/CURRENT/alpha/alpha
TB --- 2004-07-16 08:00:00 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A 
src
TB --- 2004-07-16 08:04:56 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-07-16 08:04:56 - cd /home/tinderbox/sandbox/CURRENT/alpha/alpha/sr
c
TB --- 2004-07-16 08:04:56 - /usr/bin/make -B buildworld
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
TB --- 2004-07-16 09:11:43 - building generic kernel (COPTFLAGS=-O2 -pipe)
TB --- 2004-07-16 09:11:43 - cd /home/tinderbox/sandbox/CURRENT/alpha/alpha/sr
c
TB --- 2004-07-16 09:11:43 - /usr/bin/make buildkernel KERNCONF=GENERIC
>>> Kernel build for GENERIC started on Fri Jul 16 09:11:43 UTC 2004
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
[...]
In file included from /tinderbox/CURRENT/alpha/alpha/src/sys/contrib/dev/acpic
a/acpi.h:127,
                 from /tinderbox/CURRENT/alpha/alpha/src/sys/dev/fdc/fdc_acpi.
c:38:
/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/dev/acpica/actypes.h:168:2: #er
ror ACPI_MACHINE_WIDTH not defined
/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/dev/acpica/actypes.h:277:2: #er
ror unknown ACPI_MACHINE_WIDTH
In file included from /tinderbox/CURRENT/alpha/alpha/src/sys/contrib/dev/acpic
a/acpi.h:129,
                 from /tinderbox/CURRENT/alpha/alpha/src/sys/dev/fdc/fdc_acpi.
c:38:
/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/dev/acpica/acmacros.h:377:2: #e
rror unknown ACPI_MACHINE_WIDTH
mkdep: compile failed
*** Error code 1

Stop in /tinderbox/CURRENT/alpha/alpha/src/sys/modules/fdc.
*** Error code 1

Stop in /tinderbox/CURRENT/alpha/alpha/src/sys/modules.
*** Error code 1

Stop in /tinderbox/CURRENT/alpha/alpha/obj/alpha/tinderbox/CURRENT/alpha/alpha
/src/sys/GENERIC.
*** Error code 1

Stop in /tinderbox/CURRENT/alpha/alpha/src.
*** Error code 1

Stop in /tinderbox/CURRENT/alpha/alpha/src.
TB --- 2004-07-16 09:12:46 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-07-16 09:12:46 - ERROR: failed to build generic kernel
TB --- 2004-07-16 09:12:46 - tinderbox aborted


------------------------------

Message: 31
Date: Fri, 16 Jul 2004 11:17:19 +0200
From: Bj?rn Gr?nvall<bg@sics.se>
Subject: Re: 5.3-RELEASE TODO
To: noackjr@alumni.rice.edu
Cc: bg@sics.se
Message-ID: <20040716111719.198dde57@bg.sics.se>
Content-Type: text/plain; charset=ISO-8859-1

On Thu, 15 Jul 2004 23:19:04 -0500
Jon Noack <noackjr@alumni.rice.edu> wrote:

> Hmm, it appears that rpc.lockd died on the server end (at some point, 
> anyway).  I have a .core but it doesn't appear like it's finding any 
> debug symbols.  I build everything with -g, so I don't know why it 
> can't.  I'll keep the core around in case anyone cares.  Sounds > like the p
roblems may already be known, so if it's not useful please > let me know.

PR bin/61718 fixes a bunch of bugs in rpc.lockd, please try it.

Problem Report bin/61718
NFS: rpc.lockd dumps core

Cheers,
Bj�rn

-- 
  _     _                                           ,_______________.
Bjorn Gronvall (Bj�rn Gr�nvall)                    /_______________/|
Swedish Institute of Computer Science              |               ||
PO Box 1263, S-164 29 Kista, Sweden                | Schroedingers ||
Email: bg@sics.se, Phone +46 -8 633 15 25          |      Cat      |/
Cellular +46 -70 768 06 35, Fax +46 -8 751 72 30   '---------------'

------------------------------

Message: 32
Date: Fri, 16 Jul 2004 03:02:54 -0700
From: "Grover Lines" <grover@ceribus.net>
Subject: Kernel Build FAILURE -sound
To: <freebsd-current@freebsd.org>
Message-ID: <20040716100302.4AAF643D1D@mx1.FreeBSD.org>
Content-Type: text/plain;	charset="us-ascii"

install -o root -g wheel -m 555   sound.ko /boot/kernel
install: sound.ko: No such file or directory
*** Error code 71

Stop in /usr/src/sys/modules/sound/sound.
*** Error code 1

Stop in /usr/src/sys/modules/sound.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

-- 
Grover Lines


------------------------------

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

End of freebsd-current Digest, Vol 68, Issue 35
***********************************************


--
Evariste Galois:
    �����呛��樱������蔷������,����直前......


�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234]