Re: kernel compile fails...

2002-01-05 Thread Makoto Matsushita
coolvibe> What header file defines SWI_NOSWITCH? http://snapshots.jp.freebsd.org/tour/current/cgi-bin/global.cgi?pattern=SWI_NOSWITCH&id=&type=symbol SWI_NOSWITCH are used and/or defined by these files. You can easily find that this list have only one *.h file -- sys/sys/interrupt.h. % grep S

RE: ftpd STOR and STOU work the same ?

2002-01-05 Thread Mike Heffner
On 05-Jan-2002 Riccardo Torrini wrote: | On 05-Jan-2002 (19:47:53/GMT) Mike Heffner wrote: | |>> I noticed a strange behaviour, sending a file twice create |>> version even if sunique is off, on all versions I can test. | |> This is intentional... | | This is black magic. I hate it. I hope t

RE: ftpd STOR and STOU work the same ?

2002-01-05 Thread Riccardo Torrini
On 05-Jan-2002 (19:47:53/GMT) Mike Heffner wrote: >> I noticed a strange behaviour, sending a file twice create >> version even if sunique is off, on all versions I can test. > This is intentional... This is black magic. I hate it. I hope this would be (soon) documented _OR_ make configurable

Re: Why does bus_alloc_resource fail for sound and PCIC?

2002-01-05 Thread Michael Reifenberger
Hi, thanks for the tip. "options PCI_ENABLE_IO_MODES" did the trick (for snd_ich). But why? Where is PCI_ENABLE_IO_MODES different from: pci_enable_busmaster(dev); pci_enable_io(dev, SYS_RES_IOPORT); pci_enable_io(dev, SYS_RES_MEMORY); or data = pci_read_config(dev, PCIR_COMMAND

kernel compile fails...

2002-01-05 Thread Emiel Kollof
I upgraded a STABLE machine to CURRENT and while compiling the kernel for the first time, it barfed here: /usr/src/sys/cam/cam_xpt.c: In function `xpt_done': /usr/src/sys/cam/cam_xpt.c:4765: `SWI_NOSWITCH' undeclared (first use in this fu nction) /usr/src/sys/cam/cam_xpt.c:4765: (Each undeclared

Re: Why does bus_alloc_resource fail for sound and PCIC?

2002-01-05 Thread Michael Reifenberger
On Sat, 5 Jan 2002, Matthew N. Dodd wrote: ... > While the PCI bus code should enable these resources, only the driver > really knows if a PCI map will be used. It should enable it. See > pci_enable_io() Am I wrong or is: pci_enable_busmaster(dev); pci_enable_io(dev, SYS_RES_IOPORT);

Re: Why does bus_alloc_resource fail for sound and PCIC?

2002-01-05 Thread M. Warner Losh
You might want to try and enable PCI_ENABLE_IO_MODES in your kernel. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: Why does bus_alloc_resource fail for sound and PCIC?

2002-01-05 Thread Matthew N. Dodd
On Sat, 5 Jan 2002, Michael Reifenberger wrote: > map[10]: type 4, range 32, base 2400, size 8, port disabled > map[14]: type 4, range 32, base 2000, size 7, port disabled > ... > > Which I interpret as: > There are two ioports (type 4) which are disabled ( should get en

RE: ftpd STOR and STOU work the same ?

2002-01-05 Thread Mike Heffner
On 04-Jan-2002 Riccardo Torrini wrote: | On 29-Dec-2001 (16:49:06/GMT) Riccardo Torrini wrote: | |> I noticed a strange behaviour, sending a file twice create |> version even if sunique is off, on all versions I can test. | |> This includes: |> - FreeBSD 5.0-CURRENT #0: Sun Dec 9 08:37:55 CET

Five Dollar Reports

2002-01-05 Thread smr1tks
Dear Friend: AS SEEN ON NATIONAL TV: ''Making over half million dollars every 4 to 5 months from your home for an investment of only $25 U.S. Dollars expense one time'' THANKS TO THE COMPUTER AGE AND THE INTERNET! Before you say ''Bull'', please read the following. This is the letter you

Re: Another tweak to "burncd msinfo"

2002-01-05 Thread Stephen McKay
On Saturday, 5th January 2002, Søren Schmidt wrote: >I forgot to say that I already committed the change to current... :-) I try to keep up with -current, but that's too current for me! I'll hassle the REs tomorrow about permission to merge. Thanks, Stephen. To Unsubscribe: send mail to [EM

Re: Another tweak to "burncd msinfo"

2002-01-05 Thread Stephen McKay
On Saturday, 5th January 2002, Søren Schmidt wrote: >It seems Stephen McKay wrote: >> >> Are these changes intended for 4.5? I'm hoping the small change I >> proposed would be accepted into 4.5, before anybody starts using >> "burncd msinfo" in practice. I think this is sensible, even if >> a

Re: Another tweak to "burncd msinfo"

2002-01-05 Thread Søren Schmidt
It seems Søren Schmidt wrote: > It seems Stephen McKay wrote: > > > > Are these changes intended for 4.5? I'm hoping the small change I > > proposed would be accepted into 4.5, before anybody starts using > > "burncd msinfo" in practice. I think this is sensible, even if > > a much improved bur

Re: Another tweak to "burncd msinfo"

2002-01-05 Thread Søren Schmidt
It seems Stephen McKay wrote: > > Are these changes intended for 4.5? I'm hoping the small change I > proposed would be accepted into 4.5, before anybody starts using > "burncd msinfo" in practice. I think this is sensible, even if > a much improved burncd is scheduled for 4.6. You should ask

Re: Another tweak to "burncd msinfo"

2002-01-05 Thread Stephen McKay
On Saturday, 5th January 2002, Søren Schmidt wrote: >It seems Stephen McKay wrote: >> Now that "burncd msinfo" returns the correct values I noticed another small >> problem: it displays the result on stderr instead of stdout. > >Hmm, that was intentional... Could you explain why? The most obvio

Re: Another tweak to "burncd msinfo"

2002-01-05 Thread Søren Schmidt
It seems Stephen McKay wrote: > Now that "burncd msinfo" returns the correct values I noticed another small > problem: it displays the result on stderr instead of stdout. Hmm, that was intentional... > Since very few people (nobody?) would be using this option yet because > of the previous probl

Another tweak to "burncd msinfo"

2002-01-05 Thread Stephen McKay
Now that "burncd msinfo" returns the correct values I noticed another small problem: it displays the result on stderr instead of stdout. Since very few people (nobody?) would be using this option yet because of the previous problem, it seems like nobody would be adversely affected by changing the

Re: kernel build fails

2002-01-05 Thread Sheldon Hearn
On Thu, 03 Jan 2002 15:47:20 -0900, Beech Rintoul wrote: > I got the following trying to build -current today: > > NM=nm OBJFORMAT=elf sh /usr/src/sys/kern/genassym.sh genassym.o > assym.s > perl5 /usr/src/sys/kern/vnode_if.pl -h /usr/src/sys/kern/vnode_if.src > Global symbol "$FreeBSD" requir

Why does bus_alloc_resource fail for sound and PCIC?

2002-01-05 Thread Michael Reifenberger
Hi, here are some details for my previous message (A30p) (where the detailed dmesg output was attached): In the case of the snd_ich driver it seems that the following code fails: ... foo = bus_alloc_resource(dev,SYS_RES_IOPORT,0x10,0,~0,1,RF_ACTIVE); bar = bus_alloc_resource(dev,SYS_RES_IOPORT,0x