Re: recent current panic

2003-11-28 Thread Yuriy Tsibizov
>> It looks very similar to
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=59576. You can revert to
>> version 1.28 of net/bpf.h if you need tcpdump on lo, tun, ic, plip,
>> disc or gif interface right now.

> just to note: I ran tcpdump on tunN (which was a pppoe interface) w/o
> problems two days ago (with a recent world) while debugging and
> testing other net related things.

Do you have "options INVARIANTS" in your kernel configuration?
M_ASSERTVALID(..) (that was added to BPF_MTAP macro) do nothing if you
don't have INVARIANTS enabled.

Yuriy.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: recent current panic

2003-11-27 Thread Yuriy Tsibizov
>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,c095c9e0,d629d9fc) at panic+0x156
> if_simloop(c2cace00,c168bd00,2,0,1) at if_simloop+0xc5
> looutput(c2cace00,c168bd00,c2c86290,c2f31400,14b) at looutput+0xde
[]

It looks very similar to http://www.freebsd.org/cgi/query-pr.cgi?pr=59576.
You can revert to version 1.28 of net/bpf.h if you need tcpdump on lo,
tun, ic, plip, disc or gif interface right now.

Yuriy.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: audigy 2

2003-06-25 Thread Yuriy Tsibizov
> On Tue, Jun 24, 2003 at 10:39:09AM +0400, Yuriy Tsibizov wrote:
> > My PCM-only driver is commitable. Diff to emu10k1.c in 
> -current is small
> > and clear (at least to me). It's stable enought to be 
> commited. But it
> > will not be commited because sound@ decided to use another 
> driver that
> > is better than mine. 
> 
> Where is the "sound@" list?
sound @ freebsd.org. It's not a public mailing list. 

>  I looked at the 2003 
> freebsd-multimedia list
> archives and couldn't find any real discussion on this.  
> Where can I get
> your your PCM-only driver patch?
It's not available as a diff to -current, but I can make a diff on weekend (I don't 
have any FreeBSD machine at work).
You can also try to do it yourself, driver package is available from 
http://chibis.persons.gfk.ru/audigy/stable/emu10k1k.tar.gz. This driver does not 
include Audigy2 support, but adding it is very easy (about 10 lines of additional 
code). It also have very strange mixer (I have to emulate some of AC97 mixer registers 
to get volume control on Audigy). 

Yuriy.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: audigy 2

2003-06-23 Thread Yuriy Tsibizov
> >> Unfortunately your driver isn't very committable -- unfortunately
> >> you took it upon himself to totally reformat our emu10k1.c file in
> >> addition to embellishing it.  So it is impossible to see what
> >> changes you really made to the driver.  I don't suppose you've got
> >> a patch with the minimal number of changes to support audigy and
> >> audigy2?
> > 
> > Old driver (emu10k1.c) was too big for me to work on it and was
> > difficult to add MIDI support. I know that my driver will never go
> > into the tree - sound@ decided to use Orlando Bassotto's work. His
> > driver is much closer to original emu10k1.c that mine.
> 
> that is a pity, I'd really like to see Audigy support in the tree.

> 
> People create patches all the time and maintain them 
> separately for some 
> time, but the eventual goal should be inclusion in the main tree. 
> Juggling a number of third-party patches when building a kernel is a 
> pain (even though I understand the Linux folks do this a lot.)
> 
> You would make many of us happy if your patch could be made 
> committable.

My PCM-only driver is commitable. Diff to emu10k1.c in -current is small
and clear (at least to me). It's stable enought to be commited. But it
will not be commited because sound@ decided to use another driver that
is better than mine. 

PCM&MIDI driver is not commitable at this time.
I'm not going to make it commitable in near future because a lot of
things are broken or unstable.
But I can merge all files into emu10kx.c, emu10kx-pcm.c and
emu10kx-midi.c when I fix it (get MIDI to work, fix PCM recording) and
add all features I want (dynamic routing, DSP resource allocation,
better mixer). 

FYI:

-Original Message-
From: Orion Hodson [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 22, 2003 7:47 PM
To: Orlando Bassotto
Cc: Yuriy Tsibizov
Subject: Re: Audigy patch


/-- Orlando Bassotto wrote:
| On Fri, Feb 21, 2003 at 08:13:19PM -0800, Orion Hodson wrote:
|  
| > We've also had another audigy module submitted to -sound.  It might
be
| > useful to counter check the other work - it's available under
| > http://chibis.persons.gfk.ru/audigy.  I have not looked at this at
all
| 
| Ciao Orion,
| 
| I give it a look, the patch is lacking of Audigy 2 initialization,
| but has better FX bus routing than mine, it does not include the
emu10k
| mixer... if everyone agrees I can merge down all these patches.

I haven't heard back from Yuriy, but with timezones and the weekend that
is 
not too surprising.  Merging the patches sounds like a great idea.  Go
ahead 
and do it, and when you are happy with the result, I'll do the commit.

Kind Regards
- Orion

-Original Message Ends-


Yuriy Tsibiozv,
http://chibis.persons.gfk.ru/audigy

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: audigy 2

2003-06-22 Thread Yuriy Tsibizov
> On Tue, Jun 10, 2003 at 09:55:18AM +0400, Yuriy Tsibizov wrote:
> > > it?s just another question about audigy 2!
> > > does someone have  audigy 2 working well in freebsd??
> > > i don?t have sound since november 2002.:(
> ..snip..
> > or wait for 2-3 days, I have Audigy 2 support in my drivers
> > (http://chibis.persons.gfk.ru/audigy/) but I forgot to put them on
> > website ;-)
> 
> Unfortunately your driver isn't very committable -- unfortunately you
> took it upon himself to totally reformat our emu10k1.c file 
> in addition
> to embellishing it.  So it is impossible to see what changes 
> you really
> made to the driver.  I don't suppose you've got a patch with 
> the minimal
> number of changes to support audigy and audigy2?
Old driver (emu10k1.c) was too big for me to work on it and was difficult to add MIDI 
support. I know that my driver will never go into the tree - sound@ decided to use 
Orlando Bassotto's work. His driver is much closer to original emu10k1.c that mine. 



Yuriy

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: audigy 2

2003-06-09 Thread Yuriy Tsibizov
> From: Andro [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 10, 2003 12:37 AM
> To: [EMAIL PROTECTED]
> Subject: audigy 2
> 
> 
> it´s just another question about audigy 2!
> does someone have  audigy 2 working well in freebsd??
> i don´t have sound since november 2002.:(
Right now you can use drivers from Orlando Bassotto (http://mad.ieo-research.it/) or 
wait for 2-3 days, I have Audigy 2 support in my drivers 
(http://chibis.persons.gfk.ru/audigy/) but I forgot to put them on website ;-)


Yuriy Tsibizov,
http://chibis.persons.gfk.ru/audigy/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Audigy Support?

2003-06-08 Thread Yuriy Tsibizov
> I've been using the OSS drivers for my Audigy "Gamer" sound 
> card for quite
> some time now, and would like to switch away from OSS.  I vaguely
> remember, after searching Google, that someone had gotten this to work
> after a recent cvsup.  Unfortunately, I cannot seem to get 
> this to work
> natively.
> 
> I've tried the usual emu_10k1 kernel module with no luck.  I was just
> wondering if perhaps I'm not doing something correctly, or I 
> should just
> stick with the OSS drivers for the time being.
You can try a patch posted here (it's based on Orlando's work) or try my drivers 
(http://chibis.persons.gfk.ru/audigy/).

Yuriy Tsibizov,
http://chibis.persons.gfk.ru/audigy/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: MIDI

2003-04-02 Thread Yuriy Tsibizov
> From: Peter Schultz [mailto:[EMAIL PROTECTED]
> 
>One interesting thing to note from that thread, is that Yuriy Tsibizov 
>is into the development of this stuff, but does not have all the 
>equipment needed to conduct testing.  I don't know what hardware you 
>have, but this is what he's been working on:
>http://chibis.persons.gfk.ru/audigy/


No! I'm not a MIDI subsystem developer! The only thing I do is an attempt to add MIDI 
I/O to Live/Audigy cards. If MIDI subsystem is not compllete I'll stop this work. I'm 
going to do only card-specific drivers, not to fix possible broken in-kernel MIDI.

Yuriy

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: MIDI on SB Live! ?

2003-03-24 Thread Yuriy Tsibizov
> From: Julian St. [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 24, 2003 3:26 PM
> > > just out of curiosity: Is someone working in MIDI support for 
> > > Creative EMU10K1
> > > based sound cards (aka Soundblaster Live!) ?
> > Nobody. Our target for nearest future is Audigy/Audigy2 support. 
> 
> Your page says:
> "0. It works for SB Live! and Audigy. Not for Audigy2." 
> and MIDI is on the TODO-list
Yes, MIDI I/O is in my TODO list, but I'm not working on it now.

> So, guess there is still some hope for SB Live! MIDI in the 
> not-so-near  future. :) 
I can't promise that I start to code MIDI I/O in nearest future 
Mostly because I don't need it. I don't have any MIDI device at home or at work. 

> Or are the differences between an EMU10K2 (as 
> seen in the dmesg,
> I guess Audigy?) and EMU10K1 that big?
EMU10K2=Audigy

MIDI I/O should be almost the same between EMU10Kx cards... But I don't have any MIDI 
devices (other than AudigyDrive remote control, it should act as a MIDI controller on 
second MIDI port, AFAIK) to check it. 

Yuriy


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


RE: MIDI on SB Live! ?

2003-03-24 Thread Yuriy Tsibizov
> just out of curiosity: Is someone working in MIDI support for 
> Creative EMU10K1
> based sound cards (aka Soundblaster Live!) ?
Nobody. Our target for nearest future is Audigy/Audigy2 support. 

Yuriy Tsibizov,
http://chibis.persons.gfk.ru/audigy/


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


pass0: 3224652.361MB/s transfers

2003-03-05 Thread Yuriy Tsibizov
can anyone explain why FreeBSD think that my scanner can provide over 3TB/s data 
rate??? 
Or it's just a (-1) incorrectly formatted as unsigned on printf() ?

boot -v dmesg:

Calibrating clock(s) ... TSC clock: 400897760 Hz, i8254 clock: 1193149 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
Timecounter "TSC"  frequency 400911576 Hz
CPU: AMD-K6(tm) 3D processor (400.91-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
  Features=0x8021bf
  AMD Features=0x8800


found-> vendor=0x1022, dev=0x2020, revid=0x10
bus=0, slot=12, func=0
class=01-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0087, statreg=0x0200, cachelnsz=0 (dwords)
lattimer=0x20 (960 ns), mingnt=0x04 (1000 ns), maxlat=0x28 (1 ns)
intpin=a, irq=11

amd0:  port 0xb000-0xb07f irq 11 at 
device 12.0 on pci0

pass0 at amd0 bus 0 target 1 lun 0
pass0:  Fixed Scanner SCSI-2 device 
pass0: Serial Number I
pass0: 3224652.361MB/s transfers
Mounting root from ufs:/dev/ad1s1a
Be nice to each other, mmmkay?


Yuriy Tsibizov,
http://chibis.persons.gfk.ru


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


RE: Witness problem with sound

2003-03-04 Thread Yuriy Tsibizov
> -Original Message-
> From: Pete Carah [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 2:43 AM
> To: [EMAIL PROTECTED]
> Subject: Witness problem with sound
> 
> 
> I don't know how system-specific this problem is, but:
it's not system-specifiv
> Problem:
> ..
> Mar  4 14:56:27 port2 kernel: 
> /usr/src/sys/vm/uma_core.c:1330: could sleep with
> "pcm0:play:0" locked from /usr/src/sys/dev/sound/pcm/dsp.c:748
this problem is in last (1.27->1.28) changes in /usr/src/sys/dev/sound/pcm/feeder.c 
(if I remember correctly)
You can revert to previous version (1.27) if you don't want to see witness messages.

Yuriy Tsibizov,
http://chibis.persons.gfk.ru/


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


Ultra-fast Acer (Benq) ScanWit 2720S SCSI scanner

2003-02-10 Thread Yuriy Tsibizov
-CURRENT kernel seems to be too optimistic about my scanner speed... from 3224652.361 
to 3260358.656 MB/s (that's about 3TB/s), It's too fast for any scanning device in the 
universe... especially for async SCSI-2 device

FreeBSD 5.0-CURRENT #4: Sun Feb  9 11:18:32 MSK 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FREE
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0463000.
Preloaded elf module "/boot/kernel/snd_emu10k1.ko" at 0xc04630a8.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0463158.
Preloaded elf module "/boot/kernel/firewire.ko" at 0xc0463204.
Calibrating clock(s) ... TSC clock: 400897760 Hz, i8254 clock: 1193149 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
Timecounter "TSC"  frequency 400911576 Hz
CPU: AMD-K6(tm) 3D processor (400.91-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
  Features=0x8021bf
  AMD Features=0x8800
[part of dmesg skipped]
amd0:  port 0xb000-0xb07f irq 11 at 
device 12.0 on pci0
pass0 at amd0 bus 0 target 1 lun 0
pass0:  Fixed Scanner SCSI-2 device 
pass0: Serial Number I
pass0: 3224652.361MB/s transfers
^
pass1 at amd0 bus 0 target 3 lun 0
pass1:  Removable CD-ROM SCSI-2 device 
pass1: Serial Number '
pass1: 10.000MB/s transfers (10.000MHz, offset 7)
pass0 at amd0 bus 0 target 1 lun 0
pass0:  Fixed Scanner SCSI-2 device 
pass0: Serial Number I
pass0: 3260358.656MB/s transfers
^
cd0 at amd0 bus 0 target 3 lun 0
cd0:  Removable CD-ROM SCSI-2 device 
cd0: Serial Number '
cd0: 10.000MB/s transfers (10.000MHz, offset 7)
cd0: cd present [51814 x 2048 byte records]


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