/usr/share/examples/cvsup -> /usr/local/share/examples/cvsup

2000-05-01 Thread Nik Clayton

Folks,

Would anyone object to pulling /usr/share/examples/cvsup out of the base
system, and into /usr/local/share/examples/cvsup, to be installed by the
CVSup port?  There's no technical reason for the change, but it would be
more consistent with our other ports.

N
-- 
Internet connection, $19.95 a month.  Computer, $799.95.  Modem, $149.95.
Telephone line, $24.95 a month.  Software, free.  USENET transmission,
hundreds if not thousands of dollars.  Thinking before posting, priceless.
Somethings in life you can't buy.  For everything else, there's MasterCard.
  -- Graham Reed, in the Scary Devil Monastery


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



Re: /usr/share/examples/cvsup -> /usr/local/share/examples/cvsup

2000-05-01 Thread Peter Wemm

Nik Clayton wrote:
> Folks,
> 
> Would anyone object to pulling /usr/share/examples/cvsup out of the base
> system, and into /usr/local/share/examples/cvsup, to be installed by the
> CVSup port?  There's no technical reason for the change, but it would be
> more consistent with our other ports.

Which cvsup port would get it? There are two...

And what about the folks who ftp the binary and never install the ports
collection?  They use the /usr/share/examples stuff as a base.  I certainly
do not install the ports dist at sysinstall time and only do so eventually
after cvsup'ing the ncvs tree and checking source and ports out of there.

Also, the share/examples stuff is supposed to be preset for getting the
active branch that the release is from, when using checkout mode.  To
duplicate that in the port you'd need multiple versions of the files and be
sensitive on the OS version.

Cheers,
-Peter




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



Re: Yamaha DS-XG Sound Card or Chip?

2000-05-01 Thread Nate Williams

> Have anyone successfully configured this card on FreeBSD? I think it
> is an on board sound chip in my Dell desktop.

FWIW, the board I have in my wife's box is *very* unstable in Win98, so
we ended up sticking in a SoundBlaster-PCI board in the box and we've
not had a problem since.  I can't imagine it would be better in FreeBSD.


Nate


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



No Subject

2000-05-01 Thread Jad Kanji




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



Re: Yamaha DS-XG Sound Card or Chip?

2000-05-01 Thread Luigi Rizzo

> FWIW, the board I have in my wife's box is *very* unstable in Win98, so
> we ended up sticking in a SoundBlaster-PCI board in the box and we've
> not had a problem since.  I can't imagine it would be better in FreeBSD.

i have to say it is more a matter of driver's quality (including the
ability to sidestep bugs in the hw itself) than board's quality.

cheers
luigi

---+-
  Luigi RIZZO, [EMAIL PROTECTED]  . Dip. di Ing. dell'Informazione
  http://www.iet.unipi.it/~luigi/  . Universita` di Pisa
  TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy)
  Mobile   +39-347-0373137
---+-


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



Re: Yamaha DS-XG Sound Card or Chip?

2000-05-01 Thread Ted Faber

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Content-Type: text/plain; charset=us-ascii

Behcet Sarikaya wrote:
>Have anyone successfully configured this card on FreeBSD? I think it is
>an on board sound chip
>in my Dell desktop.

I'm running the OpenSound drivers on it under 3.4.  It seems to work
pretty well, but I don't press it very hard.

http://www.opensound.com/


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.1 (FreeBSD)
Comment: Exmh version 2.1.1 10/15/1999

iD8DBQE5DbitaUz3f+Zf+XsRApwzAKC8knHwsGf5vJdkQlyyOmn+p8/J1wCgyZ5P
hFW6RLfvQB9CK/tbOqwnBnE=
=blAu
-END PGP SIGNATURE-



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



Re: Xircom Card

2000-05-01 Thread Warner Losh

In message <[EMAIL PROTECTED]> FreeBSD MAIL writes:
: I just cvsuped and built a kernel as of Sun Apr 30 03:20:08 HST 2000.
: Despite the probing which goes on when I insert the card and somtimes
: shortly after I ifconfig it, the Xircom 16bit card seems to work fine.

Cool.  that's two reports of success.  Now, to fix the 56k combo card
problems...

: I also have a Card Buss Xircom card which I could also test with.

I have several of these.  It will be a while before you'll have
something to test.

Warner


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



Re: FreeBSD-4.0 PCMCIA broken ?

2000-05-01 Thread Warner Losh

In message <[EMAIL PROTECTED]> Darren Reed writes:
: Does FreeBSD-4.0 support IRQ sharing ?  Or rather, does pccardd support
: configuring devices in such a manner ?

No.  I've never had good luck getting it to work at all.

: pcic0:  at port 0x3e0 iomem 0xd irq 10 on isa0
: pcic0: management irq 11

That's the problem.  I think I've committed a fix that pays more
attention to the environment variables that set this.  When you try to
use the same IRQ (in this case 10) between the bridge manager and the
actual cards, bad things can happen.

: I've also got a 3Com 3CCM156B (modem) which pccardd shows as ""("")

Is this a cardbus card?

: when I insert it, never mind that it fails to notice any pcmcia
: events after popping it out and then puttint it back in.
: 
: It would also appear that pccardd fails to notice the 3c589D at boot
: time if the 3CCM156B is inserted.

Odd.


Warner


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



Re: Xircom cards

2000-05-01 Thread Warner Losh

In message <[EMAIL PROTECTED]> FreeBSD MAIL writes:
: Also with -current my second PCMCIA controller dosn't work so I have it 
: disabled in the kernel config.

Yes.  I think that I've broken this as part of the move to newbus.

Warner


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



Re: lpr: order of print requests

2000-05-01 Thread Warner Losh

LPR queues up the reuqests and prints them in order smallest to
largest to reduce the average wait time for a job at the expense of
having a larger standard deviation in the wait times for jobs.  Maybe
this is what you are running into.  I don't know if there's a way to
disable this behavior or not.  At least that's what I recall lpd doing
years ago when I ran a unix lab in school.  I didn't go check the code
to see if it still did that or not.

Warner


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



Re: Multithreaded server performance

2000-05-01 Thread Warner Losh

In message <[EMAIL PROTECTED]> "Brian O'Shea" writes:
: I was under the impression that, because user thread scheduling is done
: in user mode, a thread that goes to sleep calling a blocking read()
: system call will put the entire process to sleep until that read()
: returns (and so all user threads in the process will also be blocked).
: Is this correct?

No.  the pthreads wrappers only make you think that you are calling
read, when in fact it multiplexes things behind the scenes for you.
If one thread is reading, then another thread can be running.  All
this assumes that drivers implement select/poll correctly and
nonblocking I/O is supported as well.  Really a slick setup for when
you need to do lots of threading, a big pain when you don't due to
locking issues that come up when you trie to dice things into too many
threads.  But I digress.

Warner


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



Re: xe driver

2000-05-01 Thread Warner Losh

In message <[EMAIL PROTECTED]> FreeBSD MAIL writes:
: FYI I tried the xe driver in 4.0-Stable and could not get it to work.
: 

That's because I've not backported the code there yet :-)  Now that I
have reports of xe basically working on 5.0 (for non-copmbo cards
anyway), I'll go ahead and back port the mods to 4.x.

Warner


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



Re: Xircom Card

2000-05-01 Thread Scott Mitchell

Sorry if this appears multiple times; it didn't show up on -hackers after
24 hours, so I'm sending again...

- Forwarded message from Scott Mitchell  -
On Sun, Apr 30, 2000 at 03:44:46AM -1000, FreeBSD MAIL wrote:
> I just cvsuped and built a kernel as of Sun Apr 30 03:20:08 HST 2000.
> Despite the probing which goes on when I insert the card and somtimes
> shortly after I ifconfig it, the Xircom 16bit card seems to work fine.

Despite all those "couldn't allocate..." messages in your previous post?
That's weird, but I'm glad to see it working.

You'll probably get more feedback on this from -mobile or freebsd-xircom
(http://www.lovett.com/lists/freebsd-xircom/ for details of that list).
Myself and the rest of the Xircom developers definitely read those, I'm not 
sure that we're all on -hackers though.

> I also have a Card Buss Xircom card which I could also test with.

Don't bother -- it's based on very different hardware to the 16-bit models, 
with no driver support as yet.

Scott

-- 
===
Scott Mitchell  | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England  | 0x54B171B9 |  don't get sucked into jet engines"
[EMAIL PROTECTED] | 0xAA775B8B |  -- Anon


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



[Testers wanted] X11-based disk partitioning tool

2000-05-01 Thread Sebastian Lederer

Hi,

I've written an X11-based hard disk partitioning tool, called
DriveSetup, and am looking for fearless testers. It uses libdisk(3) for
slice/partition table mangling, so it is unlikely to wipe out your disk
due to a bug, but of course, I cannot be sure without more testing.
So please try it out, if you have a spare disk or box.
But beware, it's still possible that your disk gets trashed, so please
don't use it on disks with important data!

Features:
- create/delete slices
- create/delete partitions
- mount/unmount partitions
- run newfs on new partitions
- add swap partitions

Developed and tested on 4.0-RELEASE. It probably won't work on 3.x.

You can download the source at
http://pc-2n00.6lab.inf.fh-rhein-sieg.de/~sleder2s/DriveSetup.tar.gz

There's also a screenshot at
http://pc-2n00.6lab.inf.fh-rhein-sieg.de/~sleder2s/DriveSetup.png

Thanks in advance for your feedback!

- Sebastian Lederer


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



Re: FreeBSD-4.0 PCMCIA broken ?

2000-05-01 Thread Darren Reed

In some mail from Warner Losh, sie said:
> 
> In message <[EMAIL PROTECTED]> Darren Reed writes:
> : Does FreeBSD-4.0 support IRQ sharing ?  Or rather, does pccardd support
> : configuring devices in such a manner ?
> 
> No.  I've never had good luck getting it to work at all.
> 
> : pcic0:  at port 0x3e0 iomem 0xd irq 10 on isa0
> : pcic0: management irq 11
> 
> That's the problem.  I think I've committed a fix that pays more
> attention to the environment variables that set this.  When you try to
> use the same IRQ (in this case 10) between the bridge manager and the
> actual cards, bad things can happen.

Which file(s) do I need to update here ?

> : I've also got a 3Com 3CCM156B (modem) which pccardd shows as ""("")
> 
> Is this a cardbus card?

Yes.

> : when I insert it, never mind that it fails to notice any pcmcia
> : events after popping it out and then puttint it back in.
> : 
> : It would also appear that pccardd fails to notice the 3c589D at boot
> : time if the 3CCM156B is inserted.
> 
> Odd.
> 
> 
> Warner
> 



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



Re: FreeBSD-4.0 PCMCIA broken ?

2000-05-01 Thread Warner Losh

In message <[EMAIL PROTECTED]> Darren Reed writes:
: In some mail from Warner Losh, sie said:
: > 
: > In message <[EMAIL PROTECTED]> Darren Reed writes:
: > : Does FreeBSD-4.0 support IRQ sharing ?  Or rather, does pccardd support
: > : configuring devices in such a manner ?
: > 
: > No.  I've never had good luck getting it to work at all.
: > 
: > : pcic0:  at port 0x3e0 iomem 0xd irq 10 on isa0
: > : pcic0: management irq 11
: > 
: > That's the problem.  I think I've committed a fix that pays more
: > attention to the environment variables that set this.  When you try to
: > use the same IRQ (in this case 10) between the bridge manager and the
: > actual cards, bad things can happen.
: 
: Which file(s) do I need to update here ?

You set the irq for the management IRQ in the kernel config file.  You
should set it to 11.  It defaults to 10.  You'll also want to delete
the machdep.pccard.pcic_irq line from your /boot/loader.conf for now.
Also, you may want to try this in polling mode, in which case you'll
want to remove the irq XX clause from the config file.  That will free
up one more IRQ if you need it.

: > : I've also got a 3Com 3CCM156B (modem) which pccardd shows as ""("")
: > 
: > Is this a cardbus card?
: 
: Yes.

cardbus is completely broken in 4.0.  There's no support for it at
all, and the dev/cardbus files doesn't even compile, they are too
green.

Warner


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



Re: FreeBSD-4.0 PCMCIA broken ?

2000-05-01 Thread Darren Reed

In some mail from Warner Losh, sie said:
> 
> In message <[EMAIL PROTECTED]> Darren Reed writes:
> : In some mail from Warner Losh, sie said:
> : > 
> : > In message <[EMAIL PROTECTED]> Darren Reed writes:
> : > : Does FreeBSD-4.0 support IRQ sharing ?  Or rather, does pccardd support
> : > : configuring devices in such a manner ?
> : > 
> : > No.  I've never had good luck getting it to work at all.
> : > 
> : > : pcic0:  at port 0x3e0 iomem 0xd irq 10 on isa0
> : > : pcic0: management irq 11
> : > 
> : > That's the problem.  I think I've committed a fix that pays more
> : > attention to the environment variables that set this.  When you try to
> : > use the same IRQ (in this case 10) between the bridge manager and the
> : > actual cards, bad things can happen.
> : 
> : Which file(s) do I need to update here ?
> 
> You set the irq for the management IRQ in the kernel config file.  You
> should set it to 11.  It defaults to 10.  You'll also want to delete
> the machdep.pccard.pcic_irq line from your /boot/loader.conf for now.
> Also, you may want to try this in polling mode, in which case you'll
> want to remove the irq XX clause from the config file.  That will free
> up one more IRQ if you need it.

The "machdep.." line wasn't there, but was commented out in
/boot/defaults/loader.conf (so I left that was it was).

Hmmm, I changed the "pcic" irq to 11, but still get:

pcic-pci0: ... irq 10 ...
pcic-pci1: ... irq 10 ...
pcic0: management irq 11

No go.  I also commented out the USB device lines (uhci0 was also at irq 10)
in the kernel config file and what do I get ?

pccardd[45]: No card in database for "3COM"("3CCM156 B")
ep0: <3Com Etherlink III 3C589> at port 0x240-0x24f irq 10 slot 1 on pccard1
ep0: Ethernet address 00:10:4b:ed:e6:eb
ep0: supplying EUI64 00:10:4b:ff:fe:ed:e6:eb


ctrl-alt-esc shows more lines than fit on the screen, but the path is:
(off the screen bits)
pccard_beep_select
BUS_SETUP_INTR
bus_generic_setup_intr
BUS_SETUP_INTR
bus_setup_intr
ep_isa_match_id
DEVICE_ATTACH
device_probe_and_attach
pccard_alloc_slot
pccard_event
spec_vnoperate
...

If that is freezing because there is no speaker device (I copied my
config from GENERIC which has no sound driver configured), then config
should not allow this sort of configuration bogon.  I'm trying to
configure some sound devices with varying levels of success.

Darren


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



3Com's all-in-one XJack modem/NIC

2000-05-01 Thread Matt Peterson

I'm wondering if anyone has had luck with 3Com's new PC Card
, it's feature the
famous XJack connector along with 'autosencing technology' to determine it
the cable is ethernet or modem, hmm.  Also it apprantly flashes or some
for status.  I didn't see it menitoned on PAO (speaking of which, when can
we expect 4.0-RELEASE PAO floppies?).  Thx.

--
Matt Peterson another.geek.without.a.life
[EMAIL PROTECTED]   http://matt.peterson.org/
-



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