Broken sound with 4.4-RC

2001-09-15 Thread Eugene Grosbein

Hi!

I was running old 4.3-STABLE and sound worked fine.
After updating to 4.4-RC via cvsup (past 4.4RC4-STATE)
audo playback suffers of frequent breakages: instead of music
I hear metallic jar within less then a second. Then music
continues, then another jar etc. Very annoying.
I use pcm driver.

$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm) Sep  2 2001 21:38:50
Installed devices:
pcm0: Yamaha OPL-SAx at io 0x530 irq 5 drq 0:1 (1p/1r/0v channels duplex)

I will be happy to supply as much additional information as it needs.
My card is ISA PnP Yamaha OPL3-SA2.

Eugene Grosbein

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: Cross-building and mergemaster

2001-09-15 Thread Danny Braniss

 In message [EMAIL PROTECTED] Danny Braniss writes:
 : i ran the following
 : mergemaster -D /v1/4.4 -m /v0/src/etc
 : and when asked to run MAKEDEV i said yes, it ran in /dev!
 
 Yuck!  I ran into similar problems, so I did a boot into single user
 mode to run mergemaster.
 
 Warner

well, in my case, even though i saw the error early on, i forgot, so when
i took the disk over to a new host, i was left with no devs in /dev :-(
(these hot swap disks are not so bad :-)

danny



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: freebsd4.4-stable

2001-09-15 Thread j mckitrick

On Sat, Sep 15, 2001 at 12:34:19PM -0700, Jordan Hubbard wrote:
| He's probably referring to the fact that the RELENG_4 branch now
| indicates that it is 4.4-STABLE, since the release branch tag has
| already been laid down and the code freeze on src-stable lifted.
| 
| I suspect he simply needs to wait for his cvsup mirror to catch up.
| 
| - Jordan

I *hate* to ask this, but did I miss an announcement?  The RELEASE tag was
laid down today?  I must have missed your usual jovial announcement.  ;-)



jm
-- 
My other computer is your windows box.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



4.4RC5: snd module testing (Test #1)

2001-09-15 Thread Kenneth Mays

Hi,

1. Downloaded and installed the 4.4RC5 ISO image.
2. Booted as root.

Test: kldload (sound modules)
1. kldload snd_pcm : shows no errors
2. kldload snd_mss : shows sio1: configured irq 3 not in bitmap of probed 
irqs 3
3. kldload snd_sbc : shows sio1: configured irq 3 not in bitmap of probed 
irqs 3
4. kldstat : shows kernel,linux,snd_pcm,snd_mss,snd_sbc.ko loaded.

Note: Should this information be correct? I trying to test this method 
instead of recompiling the kernel. I need to check to see if sound works 
next.

Next test: kldunload

1. kldunload snd_sbc : no errors
2. kldunload snd_mss : no errors
3. kldunload snd_pcm : no errors
4. kldstat : kernel,linux.ko loaded only.

Note: I have seen a system crash during this test in 4.4RC4. I will the main 
test.

1. kldload snd : loads all snd modules (errors below)

Note: I get errors about device_probe_and_attach: csa0 attach returned 6 
and /kernel: sio1: configured irq 3 not in bitmap of probed irqs 0.

Also, I get /kernel: csa: card is unknown/invalid SSID (CS4610) and 
/kernel: csa0: CS4610/CS4611 mem 
0x5000-0x500f,0x5010-0x5010f irq 11 at device 6.0 on pci0.

- I have a Thinkpad 600e (2645-4au) with the CS4610 PCI Accelerator and a 
CS4239 ISA audio sound chip.

2. kldstat : shows kernel.ko,linux.ko, and all the snd modules loaded.
3. kldunload snd : No errors
4. kldstat : shows kernel.ko, linux.ko only

No systems crashes using the GENERIC kernel and testing loading and 
unloading of sound modules. Will try a custom kernel next.


Ken Mays
4.4RC5

P.S. Forget my traceroute testing until its documented the same way.


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: 4.4RC5: snd module testing (Test #1)

2001-09-15 Thread Cameron Grant

 Also, I get /kernel: csa: card is unknown/invalid SSID (CS4610) and
 /kernel: csa0: CS4610/CS4611 mem
 0x5000-0x500f,0x5010-0x5010f irq 11 at device 6.0 on
pci0.

 - I have a Thinkpad 600e (2645-4au) with the CS4610 PCI Accelerator and a
 CS4239 ISA audio sound chip.

we do not support the cs46xx with an isa codec rather than an ac97 codec.
this configuration is not documented, and while i or one of the other sound
coders may be able to figure it out, none of us have hardware with this
setup.

unless such hardware makes it into our hands, support is unlikely.

i should add that as far as i know you are the first person with this setup
to run freebsd.

-cg



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: make -j4 vs -j8... 4 works, but 8 does not

2001-09-15 Thread Garance A Drosihn

At 12:38 PM -0400 9/15/01, Mike Tancsa wrote:
Should a parallel build always work ? I was just trying to stress
a new series of MB we are evaluating and to my suprise, -j4 works,
but not -j8

Well, in a philosophical sense, yes it should always work.  Bugs
creep into the process from time-to-time.  I can not say that I
know how to pin down such problems when they occur.  I do know
that earlier this year I had some problem I was checking, and as
a tangent to that problem I did several fresh 'make buildworld's,
going from -j2 to -j10 on my dual 650-MHz pentium machine.  I then
did md5 comparisons of the resulting obj-tree results, and they all
came out the same.  Of course, I wasn't getting any errors at build
time, either.

What happens if you remove all of /usr/obj/usr/src before trying
to build with -j8?

=== usr.sbin/boot0cfg
rm -f .depend
mkdep -f .depend -a-I/usr/obj/usr/src/i386/usr/include 
/usr/src/usr.sbin/boot0cfg/boot0cfg.c
cd /usr/src/usr.sbin/boot0cfg; make _EXTRADEPEND
echo boot0cfg: /usr/obj/usr/src/i386/usr/lib/libc.a   .depend
1 error
*** Error code 2
1 error
*** Error code 2

the thing which interests me about the above is that  'make'  aborts
with error code 2, but I don't see any error message as to what the
error was.  I wonder if this is another case in /bin/sh -e where an
error return is NOT being ignored when it should be ignored.  I fixed
two similar bugs last summer last summer.

[aside on those multiple builds that I did:  It was interesting that
even though it was on a dual-processor system, there was not much of
a speed improvement (on 4.3-stable) when going from -j4 to -j10.  Big
improvement going from -j1 to -j4, but after that it didn't help much]


-- 
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: make -j4 vs -j8... 4 works, but 8 does not

2001-09-15 Thread Mike Tancsa

At 06:06 PM 9/15/2001 -0400, Garance A Drosihn wrote:
What happens if you remove all of /usr/obj/usr/src before trying
to build with -j8?

I did each time.

One poster pointed out, the CPU type was wrong. It should be i686, not 
686.  This is on a DURON 900 with AOPen Duron specific MB.  I just did 
another build/installworld with the correct CPU type. I will reboot and try 
again to see if that was the problem.

BTW, what CPUTYPE are people using for the AMD DURON ?

 ---Mike





Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,[EMAIL PROTECTED]
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Latest cvsup of RELENG_4 does not build...

2001-09-15 Thread George V. Neville-Neil

I'm trying to buildworld on a cvsup I just did (15:00 Pacific time) and cannot 
get
past /usr/src/bin/csh due to the error:

In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:393,
   from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:3
7:
/usr/include/netinet/in.h:233: syntax error before `in_addr_t'
*** Error code 1

Later,
George



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: make -j4 vs -j8... 4 works, but 8 does not

2001-09-15 Thread mikea

On Sat, Sep 15, 2001 at 06:06:10PM -0400, Garance A Drosihn wrote:
 At 12:38 PM -0400 9/15/01, Mike Tancsa wrote:
 Should a parallel build always work ? I was just trying to stress
 a new series of MB we are evaluating and to my suprise, -j4 works,
 but not -j8
 
 Well, in a philosophical sense, yes it should always work.  Bugs
 creep into the process from time-to-time.  I can not say that I
 know how to pin down such problems when they occur.  I do know
 that earlier this year I had some problem I was checking, and as
 a tangent to that problem I did several fresh 'make buildworld's,
 going from -j2 to -j10 on my dual 650-MHz pentium machine.  I then
 did md5 comparisons of the resulting obj-tree results, and they all
 came out the same.  Of course, I wasn't getting any errors at build
 time, either.

In my experience with a 2-CPU box, the problems with -j 5 or
bigger are exclusively with module (or include file, etc.) A not
being built by the time that process B needs it to complete a
compile or link or whatever. These failures, in general, don't
recur if the make is rerun from the failure point -- even with
-j 8 or more. I frequently run with -j 16 when I'm doing kernel
builds and buildworlds, and I haven't had any of those fail in a
longish time.

-- 
Mike Andrews
[EMAIL PROTECTED]
Tired old sysadmin since 1964

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: Make buildworld compile errors

2001-09-15 Thread Kris Kennaway

On Sat, Sep 15, 2001 at 07:07:44AM -0700, [EMAIL PROTECTED] wrote:
 Hello, I've recenly installed FreeBSD 4.1 and cvsup-ed to 4.4 (which is now stable 
as far as i know) and when i run make buildworld the following errors occured (the 
following text is from taken after doing make -j4 buildworld, when the errors occur) :

FAQ: source upgrades from 4.1-R do not work.

Kris

 PGP signature


Re: Latest cvsup of RELENG_4 does not build...

2001-09-15 Thread Kris Kennaway

On Sat, Sep 15, 2001 at 03:19:05PM -0700, George V. Neville-Neil wrote:
 I'm trying to buildworld on a cvsup I just did (15:00 Pacific time) and cannot 
 get
 past /usr/src/bin/csh due to the error:
 
 In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:393,
from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:3
 7:
 /usr/include/netinet/in.h:233: syntax error before `in_addr_t'
 *** Error code 1

I don't think anything has changed there, it sounds like a local
problem.

Kris

 PGP signature


$MANPATH problem.

2001-09-15 Thread uid0


Greetings,

I decided to build a toolkit for myself that I'd be able to port around
to various boxes. In doing so, I'd also like to port my man pages around
as well.

However, I noticed a problem here under 4.3-RELEASE. It follows...

   $ echo $MANPATH
   /path/to/alternate/man:

   $ man -d foo
   ctype locale env: Invalid argument

   using less as pager

   using i386 architecture
   found mandatory man directory /usr/share/man
   found mandatory man directory /usr/share/perl/man
   found optional man directory /usr/local/lib/perl5/5.00503/man
   found manpath map /usr/bin -- /usr/share/man
   found manpath map /usr/local/bin -- /usr/local/man
   found manpath map /usr/X11R6/bin -- /usr/X11R6/man

   search path for pages determined by manpath is
   /path/to/alternate/man

   Warning: couldn't stat file /path/to/alternate/man!
   Warning: couldn't stat file !
   No manual entry for foo

   $ man -v
   man: illegal option -- v
   man, version 1.1
   [snip]

Basically anytime that I have MANPATH set to a variable, I
don't even get system man pages.

I couldn't find bug report info for `man'. Any help is appreciated.

- #0


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: make -j4 vs -j8... 4 works, but 8 does not

2001-09-15 Thread Erik Trulsson

On Sat, Sep 15, 2001 at 06:06:10PM -0400, Garance A Drosihn wrote:

 [aside on those multiple builds that I did:  It was interesting that
 even though it was on a dual-processor system, there was not much of
 a speed improvement (on 4.3-stable) when going from -j4 to -j10.  Big
 improvement going from -j1 to -j4, but after that it didn't help much]

That sounds exactly like what I would expect. More than 2 (or maybe 3)
jobs per CPU is normally not going to make things go faster but might
actually slow it down.

Increasing the number of jobs running in parallell up to the number of
CPUs will naturally increase performance. (Since otherwise you have
some unused processors.)

The reason why running more than one job/CPU might be good is that the
processes uses a mixture of I/O and CPU. If you run two jobs in
parallell then one can use the CPU while the other waits for I/O. This
increases the efficiency in total resource usage.

If you run more than that things will not improve much since you can
only have one process using a CPU at a particular time. And if you have
several processes trying to access a disk at the same time the disk
will spend a lot of time seeking back and forth which is a sure way of
making a system slow.

So for a system with P processors the speed improvements for using -jN
with N  2*P is normally going to be fairly small.  (While the speed
improvments when increasing N from 1 up to 2*P can often be noticable,
especially when going from 1 to P.)

-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: VINUM PANIC ON -STABLE

2001-09-15 Thread Bill Moran

[EMAIL PROTECTED] wrote:
 
 I posted a message to -hackers several days ago, complete with a kernel
 backtrace.The panic is 100% reproducible on my machine running the
 latest -stable.
 
 Does anyone care?  My message to Greg Lehey was rejected by his mail server,
 but I am pretty sure he reads both -hackers and -stable.

If you've got something that's a reproducable error, you should file
a PR. Use send-pr(1) or the web version (http://www.FreeBSD.org/send-pr.html)

-- 
Where's the robot to pat you on the back?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: Making a bootable disk2 from a make release?

2001-09-15 Thread Peter Radcliffe

Jordan Hubbard [EMAIL PROTECTED] probably said:
 There's nothing like that, either in docs or tools.  Contributions
 always accepted. :)

 From: Chad R. Larson [EMAIL PROTECTED]
  Is there a write up or a cookbook on creating custom, bootable CDs?

The last time I made up some custom bootable CDs I built the image on
a disk to test it, created a custom kernel and edited the image of the
2.88mb boot floppy to use my custom kernel and not do any config
things, then put the whole thing (including boot floppy image) on a CD
with cdrecord as I would with any other x86 bootable CD ...

P.

-- 
pir[EMAIL PROTECTED] [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message