Re: volumecontrol does not work on 5.2

2004-02-01 Thread Sebastian Kutsch
On Mon, 2 Feb 2004 00:39:27 +0100
Melvyn Sopacua <[EMAIL PROTECTED]> wrote:

> On Sunday 01 February 2004 21:59, Sebastian Kutsch wrote:
> > On Sun, 1 Feb 2004 20:49:11 +0100
> >
> > Melvyn Sopacua <[EMAIL PROTECTED]> wrote:
> > > On Sunday 01 February 2004 16:17, Sebastian Kutsch wrote:
> > > > I have a onboard soundcard with a sis 7012 soundchipset.
> > > > I have compiled the kernel with the pcm device-driver and the
> > > > chipset gets recogniced as you can see at the dmesg output:
> > > >
> > > > pcm0:  port 0xd800-0xd87f,0xdc00-0xdcff irq 18 at
> > > > device 2.7 on pci0
> > > > pcm0: 
> > > >
> > > > I get sound but can't control the volume. I can turn the volume
> > > > off or on, but that all I can do.
> > > >
> > > > Has anyone an Idea what the problem is?
> > >
> > > What is the output of the mixer command without any arguments?
> >
> > I have got all mixer-devices and they have the standard values.
> >
> > -- begin of shelloutput 
> >
> > Mixer vol  is currently set to  20:20
> > Mixer pcm  is currently set to  20:20
> > Mixer speaker  is currently set to  10:10
> > Mixer line is currently set to  75:75
> > Mixer mic  is currently set to   0:0
> > Mixer cd   is currently set to  75:75
> > Mixer rec  is currently set to   0:0
> > Mixer ogainis currently set to  50:50
> > Mixer line1is currently set to  75:75
> > Mixer phin is currently set to   0:0
> > Mixer phoutis currently set to   0:0
> > Mixer videois currently set to  75:75
> >
> > --end of shelloutput --
> >
> > Changing "mixer pcm" to 0 turns the volume off. Changing "mixer vol"
> > does nothing.
> 
> These values are very device dependant. For instance, mixer vol does
> nothing if I plugin the headphone on this laptop, I should use mixer
> ogain for the headphone. ogain, vol, speaker are all output volume
> controllers and pcm is for volume control for the input stream,
> generated by the computer. So try ogain and speaker and see if they
> work for you.

My problem is that none but pcm does anything. With the following mixer
values I have the max. volume I can get. setting "mixer pcm" to 0 would
turn the volum off.

--- begin of shelloutput ---
 Mixer vol  is currently set to   0:0
Mixer pcm  is currently set to   1:1
Mixer speaker  is currently set to   0:0
Mixer line is currently set to   0:0
Mixer mic  is currently set to   0:0
Mixer cd   is currently set to   0:0
Mixer rec  is currently set to   0:0
Mixer ogainis currently set to   0:0
Mixer line1is currently set to   0:0
Mixer phin is currently set to   0:0
Mixer phoutis currently set to   0:0
Mixer videois currently set to   0:0
--- end of shelloutput -


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


Re: Grub problem

2004-02-01 Thread Robert Storey
Use the chainloader command to start FBSD, like this:

  root (hd0,2,a)
  chainloader +1
  boot

best regards,
Robert

On Mon, 02 Feb 2004 01:42:02 -0300
"Roy Fokker" <[EMAIL PROTECTED]> wrote:

> 
>Hi, i have installed in my computer FBSD 5.1, and RH9. The thing
>is, when i try to get GRUB to boot FBSD, i get the following error
>message: root (hd0,2,a) Filesystem type unknown, partition type
>0xa5 Then, in the GRUB-shell, i get this from auto-completion.
>Partition num: 2, [BSD sub-partitions immediately follow] BSD
>Partition num:'a', Filesystem type unknown, partition type 0xa5 BSD
>Partition num:'b', Filesystem type unknown, partition type 0xa5 BSD
>Partition num:'d', Filesystem type unknown, partition type 0xa5 BSD
>Partition num:'e', Filesystem type unknown, partition type 0xa5 BSD
>Partition num:'f', Filesystem type unknown, partition type 0xa5 And
>i'm guessing that it is because of this, it then grub> kernel
>/boot/loader ro root=/dev/hda3 Error 17: Cannot mount selected
>partition This is an extract of my grub.conf. I looked for info
>about this, and found no other reference. title FreeBSD 5.1 Release
>root (hd0,2,a) kernel/boot/loader ro root=/dev/hda3 I will
>appreciate any input. Thanks. Alejandro, from BA, Argentina.
>  _
> 
>Nuevo MSN Messenger [1]Una forma rápida y divertida de enviar
>mensajes
> 
> References
> 
>1. http://g.msn.com/8HMBESAR/2728??PS=
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Adding Packages and Ports

2004-02-01 Thread Roop Nanuwa
Krikket wrote:

Err...  Excuse me while I'm a little bull-headed here, and attempting to
adjust from the linux world.  The reason I was thinking of using the -r
option is because it pulls from the ftp site.
 

It does. You should realize though that what you pull from the FTP site 
is no different/newer
than what would be on the 4.9 release CD. It also isn't any different 
that the version you
would install via the ports tree.

Please correct me if I'm wrong, but the various versions of freeBSD (3.x,
4.x, and 5.x) are still being worked.  Needless to say, 5.x is the
bleeding edge, but 4.x hasn't been left to go stale.  (Or else how would
security patches get done, when needed?)
 

4.9-RELEASE is actually only a couple of weeks old, so hardly 'stale' by 
any stretch of the imagination.

Therefore, the thought was to get the latest and greatest from the
net.  No, it's not as bleeding edge as the 5.2 stuff, but if a patch was
done since the 4.9 iso's were made, it would be a good idea to have that
on hand.  So I thought it would be a good thing to use -r as a default
option.  Or am I just using an incorrect line of thinking, due to the flux
that I got used to (and wish to avoid) from when I was dealing with the
Linux world?
 

I think you're confusing the differences between third party package 
versions, FreeBSD versions
and what is bleeding edge or not.

You can update your ports tree via cvsup (read the handbook for a guide) 
and after that your ports
tree will contain all the latest available versions of different 
software. Whether you're running 4.9 or
5.2, when you update to the latest version of the ports tree it's the 
same either way.

So, given that I should have the ports installed from my initial install
phase, all I have to do is the make install clean?  Too cool.  Thank you
for the pointer!
 

Yep, that's right. Keep in mind, though, that most of the ports probably 
have newer versions out
by now though. So you might want to look into the cvsup I mentioned 
above so that when you
make install clean, it's not installing an 'old' version of that port.

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


Grub problem

2004-02-01 Thread Roy Fokker

   Hi, i have installed in my computer FBSD 5.1, and RH9. The thing is,
   when i try to get GRUB to boot FBSD, i get the following error
   message: root (hd0,2,a) Filesystem type unknown, partition type 0xa5
   Then, in the GRUB-shell, i get this from auto-completion. Partition
   num: 2, [BSD sub-partitions immediately follow] BSD Partition num:
   'a', Filesystem type unknown, partition type 0xa5 BSD Partition num:
   'b', Filesystem type unknown, partition type 0xa5 BSD Partition num:
   'd', Filesystem type unknown, partition type 0xa5 BSD Partition num:
   'e', Filesystem type unknown, partition type 0xa5 BSD Partition num:
   'f', Filesystem type unknown, partition type 0xa5 And i'm guessing
   that it is because of this, it then grub> kernel /boot/loader ro
   root=/dev/hda3 Error 17: Cannot mount selected partition This is an
   extract of my grub.conf. I looked for info about this, and found no
   other reference. title FreeBSD 5.1 Release root (hd0,2,a) kernel
   /boot/loader ro root=/dev/hda3 I will appreciate any input. Thanks.
   Alejandro, from BA, Argentina.
 _

   Nuevo MSN Messenger [1]Una forma rápida y divertida de enviar mensajes

References

   1. http://g.msn.com/8HMBESAR/2728??PS=
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Adding Packages and Ports

2004-02-01 Thread Krikket
On Sun, 1 Feb 2004, Andrew L. Gould wrote:
> Krikket wrote:
>
 > I was able to do a "pkg_add -r cvsup" on the first try.  But I ended up
> > with the same problem -- not being able to find the package once it was
> > installed.  Needless to say, I can't add any ports as a result.
>
> Why are you using the '-r' option?  If you're using the install 4.9 CDROM,
> just cd to /cdrom/packages/All and:
>
> pkg_add cvsup-16.1h.tgz
>
> If you're using ports, cd to /usr/ports/net/cvsup and execute:
>
> make install clean

Err...  Excuse me while I'm a little bull-headed here, and attempting to
adjust from the linux world.  The reason I was thinking of using the -r
option is because it pulls from the ftp site.

Please correct me if I'm wrong, but the various versions of freeBSD (3.x,
4.x, and 5.x) are still being worked.  Needless to say, 5.x is the
bleeding edge, but 4.x hasn't been left to go stale.  (Or else how would
security patches get done, when needed?)

Therefore, the thought was to get the latest and greatest from the
net.  No, it's not as bleeding edge as the 5.2 stuff, but if a patch was
done since the 4.9 iso's were made, it would be a good idea to have that
on hand.  So I thought it would be a good thing to use -r as a default
option.  Or am I just using an incorrect line of thinking, due to the flux
that I got used to (and wish to avoid) from when I was dealing with the
Linux world?

So, given that I should have the ports installed from my initial install
phase, all I have to do is the make install clean?  Too cool.  Thank you
for the pointer!

Krikket


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


RE: Adding Packages and Ports

2004-02-01 Thread JJB
installing an package
pkg_add -rv  cvsup-without-gui
rehash

you have to do rehash command so your shell will search all /bin
directories and build shell hash table. Then issue command for
installed package.  Or of course, reboot will fix it also.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Krikket
Sent: Sunday, February 01, 2004 10:29 PM
To: [EMAIL PROTECTED]
Subject: Adding Packages and Ports

I've done a brand-new install of FreeBSD (4.9), and am a fresh user
to
this flavor of *nix.

The install went more or less without a hitch.  For some reason ldap
(part
of the default package selection) didn't want to install.

While I can ssh to the box, it won't accept the password for users
and/or
root.  (IE:  It makes the connection, gives a login prompt, but the
correct password is rejected.  I'm sshing from a Fedora box.)

But the big problem that I'm having, that's turning into a
show-stopper
has to deal with installing packages and/or ports, once the base OS
is
installed.

To test things out, I tried installing mozilla.  It failed due to a
dependancy, so I checked out the website to see what was available,
found
a version that was there, adn installed it.

But when I type "mozilla" to start the program, it's not found.
(Nor was
it added to the KDE Menu.)

I was able to do a "pkg_add -r cvsup" on the first try.  But I ended
up
with the same problem -- not being able to find the package once it
was
installed.  Needless to say, I can't add any ports as a result.

I figure there's something basic that I'm missing, but I'll be
damned if I
can figure it out, despite the help of the handbook and FAQ...

Can anyone give me a pointer in the right direction?  Please?

Thanks in advance,

Krikket

(I will say that compared to some flavors of Linux, this install was
absolutely painfree.  I did have to start over on some occasions,
due to
minor user errors, but assuming the perfect user during the install
process, it went rather well.  After dealing with the alsa hell of
Linux,
gettign sound working on FreeBSD was a very pleasent surprise!)

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

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


Re: Adding Packages and Ports

2004-02-01 Thread Krikket
On Sun, 1 Feb 2004, Roop Nanuwa wrote:
> Krikket wrote:
>
> >I've done a brand-new install of FreeBSD (4.9), and am a fresh user to
> >this flavor of *nix.
> >
> Welcome, we hope you enjoy your stay :).

Thank you!

> >The install went more or less without a hitch.  For some reason ldap (part
> >of the default package selection) didn't want to install.
> >
> Could you be a bit more specific? What happened during the install? Did
> it give you any
> error messages?

A generic compile error message, nothing specific.  And unfortunately, I
didn't take notes.  (No, I wasn't expecting help with troubleshooting that
point, it was said more in the way of a commentary than anything else.  I
figured that when I got to the point of needing it, I could always install
it at a later time, and if needed ask questions then.)

> >To test things out, I tried installing mozilla.  It failed due to a
> >dependancy, so I checked out the website to see what was available, found
> >a version that was there, adn installed it.
>
> How are you installing mozilla? There shouldn't be any dependency
> problems in either of the two main ways to install packages on FreeBSD.
> Whether you install via the ports tree or through the package system all
> the dependencies should be handled for you. I think the reason that
> you're having dependency issues is because you're attempting to install
> binaries that you've downloaded that aren't packaged for FreeBSD
> specifically.

I attempted to do a "pkg_add -r mozilla".  After checking the on-line
database of software at freebsd.org, I know I tried some versons of the
command lile "... -r linux-mozilla" and sometimes with version numbers.  I
forget the exact one that did work.

> >But when I type "mozilla" to start the program, it's not found.  (Nor was
> >it added to the KDE Menu.)
> >I was able to do a "pkg_add -r cvsup" on the first try.  But I ended up
> >with the same problem -- not being able to find the package once it was
> >installed.  Needless to say, I can't add any ports as a result.
> >
> Which shell are you running? You might have to run 'rehash' to refresh
> your shell's cache of available programs. Logging in/out would do the
> same but running 'rehash' is simpler/quicker.

bash.  I'll give that a shot.  I'm not at home at the moment, and for some
reason ssh doesn't want to allow me to login.

(I get a login prompt, but it's not accepting the correct password for
either myself or the root accounts.  Even after I called home and had the
roommate reboot the system, just in case something flakey got into
memory.  I'm thinking it may be time to pull out the rubber chicken.)

Krikket

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


Re: Adding Packages and Ports

2004-02-01 Thread Andrew L. Gould
On Sunday 01 February 2004 09:29 pm, Krikket wrote:
> I've done a brand-new install of FreeBSD (4.9), and am a fresh user to
> this flavor of *nix.
>
> The install went more or less without a hitch.  For some reason ldap (part
> of the default package selection) didn't want to install.
>
> While I can ssh to the box, it won't accept the password for users and/or
> root.  (IE:  It makes the connection, gives a login prompt, but the
> correct password is rejected.  I'm sshing from a Fedora box.)
>
> But the big problem that I'm having, that's turning into a show-stopper
> has to deal with installing packages and/or ports, once the base OS is
> installed.
>
> To test things out, I tried installing mozilla.  It failed due to a
> dependancy, so I checked out the website to see what was available, found
> a version that was there, adn installed it.

Dependencies should be taken care of if you installed via ports or using 
pkg_add and the install cd, or pkg_add and the ftp server.  Exactly how did 
you try to install mozilla?

>
> But when I type "mozilla" to start the program, it's not found.  (Nor was
> it added to the KDE Menu.)

Try executing 'rehash' after installing an application and before attempting 
to execute it.

Also, if you installed mozilla-firebird, I think the command is 
'mozilla-firebird'.  Since certain app's help programs call mozilla, you 
might want to make a link called mozilla to your browser command.

>
> I was able to do a "pkg_add -r cvsup" on the first try.  But I ended up
> with the same problem -- not being able to find the package once it was
> installed.  Needless to say, I can't add any ports as a result.

Why are you using the '-r' option?  If you're using the install 4.9 CDROM, 
just cd to /cdrom/packages/All and:

pkg_add cvsup-16.1h.tgz

If you're using ports, cd to /usr/ports/net/cvsup and execute:

make install clean

>
> I figure there's something basic that I'm missing, but I'll be damned if I
> can figure it out, despite the help of the handbook and FAQ...
>
> Can anyone give me a pointer in the right direction?  Please?
>
> Thanks in advance,
>
> Krikket

Best of luck,

Andrew Gould

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


Re: Adding Packages and Ports

2004-02-01 Thread Roop Nanuwa
Krikket wrote:

I've done a brand-new install of FreeBSD (4.9), and am a fresh user to
this flavor of *nix.
 

Welcome, we hope you enjoy your stay :).

The install went more or less without a hitch.  For some reason ldap (part
of the default package selection) didn't want to install.
 

Could you be a bit more specific? What happened during the install? Did 
it give you any
error messages?

To test things out, I tried installing mozilla.  It failed due to a
dependancy, so I checked out the website to see what was available, found
a version that was there, adn installed it.
 

How are you installing mozilla? There shouldn't be any dependency 
problems in either of
the two main ways to install packages on FreeBSD. Whether you install 
via the ports tree
or through the package system all the dependencies should be handled for 
you. I think the
reason that you're having dependency issues is because you're attempting 
to install binaries
that you've downloaded that aren't packaged for FreeBSD specifically.

But when I type "mozilla" to start the program, it's not found.  (Nor was
it added to the KDE Menu.)
I was able to do a "pkg_add -r cvsup" on the first try.  But I ended up
with the same problem -- not being able to find the package once it was
installed.  Needless to say, I can't add any ports as a result.
 

Which shell are you running? You might have to run 'rehash' to refresh 
your shell's cache of available
programs. Logging in/out would do the same but running 'rehash' is 
simpler/quicker.

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


Adding Packages and Ports

2004-02-01 Thread Krikket
I've done a brand-new install of FreeBSD (4.9), and am a fresh user to
this flavor of *nix.

The install went more or less without a hitch.  For some reason ldap (part
of the default package selection) didn't want to install.

While I can ssh to the box, it won't accept the password for users and/or
root.  (IE:  It makes the connection, gives a login prompt, but the
correct password is rejected.  I'm sshing from a Fedora box.)

But the big problem that I'm having, that's turning into a show-stopper
has to deal with installing packages and/or ports, once the base OS is
installed.

To test things out, I tried installing mozilla.  It failed due to a
dependancy, so I checked out the website to see what was available, found
a version that was there, adn installed it.

But when I type "mozilla" to start the program, it's not found.  (Nor was
it added to the KDE Menu.)

I was able to do a "pkg_add -r cvsup" on the first try.  But I ended up
with the same problem -- not being able to find the package once it was
installed.  Needless to say, I can't add any ports as a result.

I figure there's something basic that I'm missing, but I'll be damned if I
can figure it out, despite the help of the handbook and FAQ...

Can anyone give me a pointer in the right direction?  Please?

Thanks in advance,

Krikket

(I will say that compared to some flavors of Linux, this install was
absolutely painfree.  I did have to start over on some occasions, due to
minor user errors, but assuming the perfect user during the install
process, it went rather well.  After dealing with the alsa hell of Linux,
gettign sound working on FreeBSD was a very pleasent surprise!)

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


Solution to "Zip drive failed to install".

2004-02-01 Thread al plant
Solution to failed ZIP drive install

The BIOs setting was the fault.

I cleared it by disabling the BIOs internal motherboard settings and
installing a printer card that I set to run at IRQ 7  - 0278 .
This brought up the zip drive with no problem.

Then I removed the card and reset the internal motherboard back to IRQ 7
and 0378. 
This brought up the zip drive with no problem. I did set also the BIOs
to EPP.

 
My original problem.


> 
> I have a FreeBSD 4.4 box that works fine with Zip drives. I have
> another
> 4.4 that I can't get to configure the /zip drive.
> 
> I am now building another box using 4.9 and can't get the zip drive
> to
> work on it either.
> snd module installs and works fine BTW on all three boxes.
> 
> The error messages I get are /dev/da0s4  Device not configured.
> and trying to unload the kernel module to reload it gives the same
> message.
> 
> I am doing this vpo install  from old notes and I can't figure out
> what's causing the configuration failure. 
> I also tried entering  /etc/fstab parameters same as the other box
> that
> works.
> /dev/da0s4   /zip  msdos rw,noauto  0   0
>  
> Suggestions appreciated or point me clearer to a How To. I looked on
> the
> FreeBSD.org and that section is what I follow. 
> 
> Thanks.

-- 
Aloha! Al Plant - Webmaster http://hawaiidakine.com
Providing FAST DSL Service for $28.00 /mo. Member Small Business Hawaii.
Running FreeBSD 4.5 UNIX & Caldera Linux 2.4 & RedHat 7.2
Support OPEN SOURCE in Business Computing. Phone 808-622-0043
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What kind of crash is this ? (kernel ? userland ? )

2004-02-01 Thread Melvyn Sopacua
On Sunday 01 February 2004 03:40, Joe Schmoe wrote:

> I can ssh to the system, it gives me the BSD copyright and the uname
> message, but never ever gives me a prompt.  What is going on in this
> scenario ?  What kind of things have you seen that cause a crash like this
> ?

Prolly not a crash, but an SSH problem or very busy system. If you press 
CTRL-C, what happens?
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: ports question

2004-02-01 Thread Gary Kline
On Sun, Feb 01, 2004 at 04:12:47PM -0800, Gary Kline wrote:
> On Mon, Feb 02, 2004 at 10:23:33AM +1100, Gautam Gopalakrishnan wrote:
> > On Sun, 1 Feb 2004 13:42:24 -0800
> > Gary Kline <[EMAIL PROTECTED]> wrote:
> > 
> > > 
> > >   People,
> > > 
> > >   Since I managed to upgrade this system's ports tree, 
> > >   I keep things up to date.  Recently, been having trouble
> > >   fetching some ports. openldap is one such.  Upgrading 
> > >   or trying tomake install clean by hand keeps giving me:
> > > 
> > >   .
> > > fetch: invalid size ( 2042658)
> > > >> Couldn't fetch it - please try to retrieve 
> > 
> > fetch is tring to resume the download, but the size on disk (2042658) is
> > larger than the actual size of the file. Try deleting from
> > /usr/ports/distfiles. It should work.
> > 
> 
> 
>   This is exactly what has worked previously--or whenever 
>   a port tarball hasn't fetched correctly.  This time I 
>   mv'd the distfile/* tarball and deleted (pkg_delete -f)
>   the port.  No joy.  I'll look further.   
> 

Well, to answer my own posting, I hacked the
/distfile and removed the "(SIZE) =" line.
Now openldap21-* is flowing across.  Dunno 
why the port assumed the file or parts of it
were here.  Next to rm the old version and
update... .  --Well, once it builds and installs!

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: named question...

2004-02-01 Thread Melvyn Sopacua
On Sunday 01 February 2004 22:41, Xpression wrote:
> Hi list, I have running named/BIND as DNS server, recently I have
> some problems and I don't know the source of it, I have checked the logs
> and config files but there is nothing unusual, here is my configs files,
> any suggestion ???

It might help to define "some problems".
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: UFS2 filesystem structure

2004-02-01 Thread Kris Kennaway
Try asking on the freebsd-fs list.

Kris

On Sun, Feb 01, 2004 at 05:42:27PM -0600, greg wrote:
> I am sorry for asking this question a second time. At the time I was not
> finished the process of signing up to this mailing list and as we all
> know, the web archives have not been updated since Monday.
> 
> I am looking for resources that describe the UFS2 filesystem structure.
> I want to write some code that will pull a UFS2 filesystem back from the
> dead. It has a bad Super Block, and no good Super Blocks can be found.
> However, I sifted through the raw data on the disk, and my data is still
> there.
> 
> Could somebody point me to documentation on this subject. I have tried
> googling through the BSD filter. I recieved no useful results.
> 
> If the tools I write are any good, I will make the source code available
> under a BSD style licence.
> 
> Thank You,
> -- 
> greg <[EMAIL PROTECTED]>
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"


pgp0.pgp
Description: PGP signature


Re: An idea

2004-02-01 Thread Melvyn Sopacua
On Sunday 01 February 2004 22:27, Jorn Argelo wrote:


> If you like the idea, feel free to sign up at www.wcborstel.nl/forum/ (note
> the last / is required). If you don't like it, I'd like to hear that as
> well.

Well - I don't think it's a good idea to start a forum, with a 'vs' topic :). 
Probably the best thing about BSD's, is that there is no quest for world 
domination, no war on some Redmond-based company, but just a desire to get 
the best out of a computer, where best is defined clearly and kept in mind 
during development.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: ports question

2004-02-01 Thread Gary Kline
On Mon, Feb 02, 2004 at 10:23:33AM +1100, Gautam Gopalakrishnan wrote:
> On Sun, 1 Feb 2004 13:42:24 -0800
> Gary Kline <[EMAIL PROTECTED]> wrote:
> 
> > 
> > People,
> > 
> > Since I managed to upgrade this system's ports tree, 
> > I keep things up to date.  Recently, been having trouble
> > fetching some ports. openldap is one such.  Upgrading 
> > or trying tomake install clean by hand keeps giving me:
> > 
> > .
> > .
> > .
> > .
> > >> Attempting to fetch from
> > http://openldap.cdpa.nsysu.edu.tw/OpenLDAP/openldap-release/.
> > fetch: invalid size ( 2042658)
> > >> Attempting to fetch from
> > ftp://ftp.plig.org/pub/OpenLDAP/openldap-release/.
> > fetch: invalid size ( 2042658)
> > >> Attempting to fetch from
> > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
> > fetch: invalid size ( 2042658)
> > >> Couldn't fetch it - please try to retrieve 
> 
> fetch is tring to resume the download, but the size on disk (2042658) is
> larger than the actual size of the file. Try deleting from
> /usr/ports/distfiles. It should work.
> 


This is exactly what has worked previously--or whenever 
a port tarball hasn't fetched correctly.  This time I 
mv'd the distfile/* tarball and deleted (pkg_delete -f)
the port.  No joy.  I'll look further.   

thanks much,

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: KDE on 5.2-Release

2004-02-01 Thread Melvyn Sopacua
On Sunday 01 February 2004 02:09, mj001 wrote:

> I downloaded and installed 5.2-RELEASE.  KDE comes up with its
> blue background, shows the login dialog, apparently accepts
> the login, but then hangs.  The central splash-screen image
> never appears.
>
> Any similar experience, suggestions of how to diagnose the
> problem, please? Anything else I can post that would help?

I suppose you're using kdm. Disable it, then create an .xinitrc, with like so:
echo 'exec /usr/local/bin/startkde' > ~/.xinitrc

then type 'startx'.

WARNING: Backup your files when needed and if you fear losing settings, 
consider setting up a virgin user account first.

If this works properly, this narrows down the problem to kdm. If it doesn't, 
then CTRL-ALT_BACKSPACE to stop X and KDE and start x via:
nohup startx

Exit the same way when it hangs and examine nohup.out for errors and oddities.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


UFS2 filesystem structure

2004-02-01 Thread greg
I am sorry for asking this question a second time. At the time I was not
finished the process of signing up to this mailing list and as we all
know, the web archives have not been updated since Monday.

I am looking for resources that describe the UFS2 filesystem structure.
I want to write some code that will pull a UFS2 filesystem back from the
dead. It has a bad Super Block, and no good Super Blocks can be found.
However, I sifted through the raw data on the disk, and my data is still
there.

Could somebody point me to documentation on this subject. I have tried
googling through the BSD filter. I recieved no useful results.

If the tools I write are any good, I will make the source code available
under a BSD style licence.

Thank You,
-- 
greg <[EMAIL PROTECTED]>

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


RE: line-in recorder

2004-02-01 Thread Paul Hamilton
Hi Brian,

You can use ecasound from ports.  Here's a few notes I have made on using
and playing around with audio:




http://eca.cx/  ; ECASOUND Web site

Add to kernel:  “device pcm”
cd /dev
./MAKEDEV snd0
cat /dev/sndstat;to see if it’s configured properly

pkg_add ecasound-1.8.5d15
pkg_add nmixer-2.0b17
pkg_add mpg123-x.x.x
pkg_add festival-x.x.x  : text to voice sythasizer

Sound Recording:-

Set nmixer
Set Mic to 3
Set rec to 3
Run:ecasound –I:/dev/dsp0 –o test.wav
Or: ecasound –t: -f:”s16_1e”,”1”,”11000”,”i” –I:/dev/dsp0 –o
   
 ; no
extension!
/root/bin/recsnd.sh 1800 sun_1600_news


# cat /root/bin/recsnd.sh

#! /bin/sh
# This will record audio input from the "Line Input" channel of the sound
card, and save it into
#  a mp3 file in the /home/music/ dir.
#
#  Usage:  recsnd.sh  
#
TERM=vt100
export TERM

CMDFILEPATH=/usr/local/bin
OUTFILEPATH=/home/music

# Test to see if there are two cmd line arguments


# First set the mixer to the correct values
echo ""
date
echo ""
echo
# echo "Setting nmixer settings"
# $CMDFILEPATH/nmixer -q vol=100 pcm=100 rec=50

# Now record the sound into a mp3 file
echo "Now recording the program"
$CMDFILEPATH/ecasound -t:$1 -f:"s16_le","1","11000","i" -i:/dev/dsp0 -o
$OUTFILEPATH/$2.mp3

#list the contents of the output dir.
ls -la $OUTFILEPATH
echo
echo ""
date
echo ""


---

To Play:-

The nmixer can be autoset via:  nmixer –q vol=100 pcm=100 rec=50
Run:mpg123 –b 1024 

Festival
You can have festival read text files and convert them to spoken voice (male
or female):
festival –tts /etc/rc.conf  ; to output the contents of rc.conf!



Cheers,

Paul Hamilton



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Brian H
Sent: Friday, 30 January 2004 2:35 AM
To: [EMAIL PROTECTED]
Subject: line-in recorder


is there some software for freebsd that I could use to record what i have
coming in on the line-in on my sound card?

_
There are now three new levels of MSN Hotmail Extra Storage!  Learn more.
http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1

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



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


Re: volumecontrol does not work on 5.2

2004-02-01 Thread Melvyn Sopacua
On Sunday 01 February 2004 21:59, Sebastian Kutsch wrote:
> On Sun, 1 Feb 2004 20:49:11 +0100
>
> Melvyn Sopacua <[EMAIL PROTECTED]> wrote:
> > On Sunday 01 February 2004 16:17, Sebastian Kutsch wrote:
> > > I have a onboard soundcard with a sis 7012 soundchipset.
> > > I have compiled the kernel with the pcm device-driver and the
> > > chipset gets recogniced as you can see at the dmesg output:
> > >
> > > pcm0:  port 0xd800-0xd87f,0xdc00-0xdcff irq 18 at device
> > > 2.7 on pci0
> > > pcm0: 
> > >
> > > I get sound but can't control the volume. I can turn the volume off
> > > or on, but that all I can do.
> > >
> > > Has anyone an Idea what the problem is?
> >
> > What is the output of the mixer command without any arguments?
>
> I have got all mixer-devices and they have the standard values.
>
> -- begin of shelloutput 
>
> Mixer vol  is currently set to  20:20
> Mixer pcm  is currently set to  20:20
> Mixer speaker  is currently set to  10:10
> Mixer line is currently set to  75:75
> Mixer mic  is currently set to   0:0
> Mixer cd   is currently set to  75:75
> Mixer rec  is currently set to   0:0
> Mixer ogainis currently set to  50:50
> Mixer line1is currently set to  75:75
> Mixer phin is currently set to   0:0
> Mixer phoutis currently set to   0:0
> Mixer videois currently set to  75:75
>
> --end of shelloutput --
>
> Changing "mixer pcm" to 0 turns the volume off. Changing "mixer vol"
> does nothing.

These values are very device dependant. For instance, mixer vol does nothing 
if I plugin the headphone on this laptop, I should use mixer ogain for the 
headphone. ogain, vol, speaker are all output volume controllers and pcm is 
for volume control for the input stream, generated by the computer.
So try ogain and speaker and see if they work for you.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: -CURRENT panic in kmem_malloc (?)

2004-02-01 Thread Kris Kennaway
On Sun, Feb 01, 2004 at 04:54:57PM -0500, Robert Huff wrote:

> Panicstring: kmem_malloc(-791617536): kmem_map too small: 20107264
> total allocated

> maxusers  48

This is probably incorrectly sized, causing you to run out of kernel
memory.  Why not just let the kernel autosize it (maxusers 0)?

Kris


pgp0.pgp
Description: PGP signature


Re: Booting Release 5.2 and XP

2004-02-01 Thread greg
On Sat, 2004-01-31 at 16:05, Jud wrote:
[... snip ...]
> BootIt, which I used for a long time, works quite nicely and  
> automagically; so does GAG, and GAG is
> 
> - not Windows-dependent, for those who care about such things
> 
> - free as in beer *and* speech, for those who care about such things  :)
> 
> It also works great - I'm running 5 OSs (including -CURRENT on UFS2) on a  
> 3-drive system (2 in RAID-0, one standalone), and GAG has never had the  
> slightest trouble.
> 
> http://gag.sourceforge.net/>
> 
> Enjoy.
> 
> Jud

Thank you Jud. GAG works wonderfully with my setup. 

-- 
greg <[EMAIL PROTECTED]>

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


Re: ports question

2004-02-01 Thread Gautam Gopalakrishnan
On Sun, 1 Feb 2004 13:42:24 -0800
Gary Kline <[EMAIL PROTECTED]> wrote:

> 
>   People,
> 
>   Since I managed to upgrade this system's ports tree, 
>   I keep things up to date.  Recently, been having trouble
>   fetching some ports. openldap is one such.  Upgrading 
>   or trying tomake install clean by hand keeps giving me:
> 
>   .
>   .
>   .
>   .
> >> Attempting to fetch from
> http://openldap.cdpa.nsysu.edu.tw/OpenLDAP/openldap-release/.
> fetch: invalid size ( 2042658)
> >> Attempting to fetch from
> ftp://ftp.plig.org/pub/OpenLDAP/openldap-release/.
> fetch: invalid size ( 2042658)
> >> Attempting to fetch from
> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
> fetch: invalid size ( 2042658)
> >> Couldn't fetch it - please try to retrieve 

fetch is tring to resume the download, but the size on disk (2042658) is
larger than the actual size of the file. Try deleting from
/usr/ports/distfiles. It should work.

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


Re: Problem booting WinXP from second drive

2004-02-01 Thread greg
On Sun, 2004-02-01 at 15:36, Relayer wrote:
[... snip ...]
> Then I hook up the primary drive again and reboot.  I see the following at boot time:
> 
> F1: FreeBSD
> F2: FreeBSD
> F5: Drive 1
> 
> I hit F5.  Then I see
> 
> F1: DOS
> F5: Drive 0
> 
> When I hit F1, I expect WinXP to boot.  But nothing happens.  The machine just sits 
> there.  I have scanned a lot of material in the Handbook and on google today and 
> yesterday, but I cannot figure out what I did wrong.  Does anybody have any ideas 
> that don't involve using grub or gag or something else?
> 
> Thanks
> 
> OP

I have the same setup.

With that setup, you pretty much have to use GRUB or GAG (I suggest GAG,
it works wonderfully). The issue is that Windows needs to think it is
the first hard drive. GRUB and GAG can fool windows into thinking it is
on the first drive.

If you do not wish to install these boot loaders, you will have to
change your cabling so that Windows is on the first drive and change
your BIOS to boot off the second. Then the BSD loader will be able to
boot Windows (AFAIK).

PS: Sorry about miss-interpreting the message the first time I responded
to you personally.
-- 
greg <[EMAIL PROTECTED]>

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


mod-clamav errors with apxs -q CFLAGS_SHLIB ?

2004-02-01 Thread Karl M. Joch
i try to run FreeBSD 4.7, Apache 2.0.48 with mod_clamav (0.13) from 
http://software.othello.ch/mod_clamav/. this looks like a solution for a 
real time scanner/proxy.

anybody knows how to fix this apxs error:

Global symbol "$CFG_CFLAGS_SHLIB" requires explicit package name at 
(eval 27) line 2.
Global symbol "$CFG_LDFLAGS_SHLIB" requires explicit package name at 
(eval 27) line 2.

it happens when configure/make runs:

apxs -q CFLAGS_SHLIB

so far it compiles, but when starting apache i always get a core dump (10).

i try to setup a port with this makefile:

NO_CHECKSUM=yes  ## test. no checksum
PORTNAME=   mod_clamav
PORTVERSION=0.13
CATEGORIES= www
MASTER_SITES=   http://software.othello.ch/mod_clamav/
MAINTAINER= xx
COMMENT=Real Time Scanner for Apache2 Proxy Module running with clamav
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
USE_LIBTOOL=yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS=	--with-apxs=/usr/local/sbin/apxs 
--libdir=/usr/local/lib/apache2
CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS}"

.include 
.include 


many thanks for any hints how to get it to run.

--
Best regards / Mit freundlichen Gruessen,
Karl M. Joch

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


Re: << SOLVED >> Re: PORTS: What is "Makefile broken" ?

2004-02-01 Thread Kris Kennaway
On Sun, Feb 01, 2004 at 05:06:16PM -0500, Payam wrote:
> I solved the problem (I think, I'm compiling new ports as we speak).
> 
> I found my solution in another post.
> 
> In /usr/local/sbin/make_describe_pass1
> 
> Change:
> open("|cd #{dir} && make -k -j3 -f -", 'w') do |w|
> To:
> open("|cd #{dir} && make -k -f -", 'w') do |w|
> 
> (IE: Remove the -j3)
> 
> Then I did
> # portsdb -uU
> 
> And now libexif doesn't b**ch when I do a make. yay.

That should have no effect, because port makes don't use the INDEX.

Kris


pgp0.pgp
Description: PGP signature


Re: VIA OnBoard NIC problems

2004-02-01 Thread Luke Johannsen
I'm running 5.2 right now with a VIA EPIA 800 setup. It uses that same 
card, vr0, and it seems to work so far, then again I don't have 
anything that's much of load for it.

Luke

On Feb 1, 2004, at 3:17 PM, Jorn Argelo wrote:

Your onboard card isn't in the supported hardware list (from 5.2 that 
is) and
your Intel one is, so I guess that explains your problem. I know you 
don't
want to hear it, but you got no other choice then putting an new 
network card
in it if you want your network to be stable.

Cheers,

Jorn

On Monday 02 February 2004 01:34, [EMAIL PROTECTED] wrote:
Hi everybody..
I have problem with onboard NIC on VIA EPIA Mini ITX mainboard 5000 
series.
(this is small part from dmesg)

vr0:  port 0xe800-0xe8ff mem
0xe410-0xe410 00ff irq 11 at device 18.0 on pci0
.
If i try rsync to synchronize large ISO files (~700MB) from internet 
(mw
192 kBit) thru this card the md5 signature is allways invalid.

Also if i use the machine as samba server with 6 clients and havy 
traffic,
the samba hangs after 10-30 min.

If I use other PCI NIC
.
fxp0:  port 0xec00-0xec1f mem
0xe400-0xe40 f,0xe4101000-0xe4101fff irq 15 at device 20.0 on 
pci0
.
ewerything is OK.

But I NEED this PCI slot (there is only one) for another card (SCSI).

The same happens with 4.9 and 5.2..

Any Idea??
Dont tell me I need other board.
Sorry for my "inglis"
TomBA

___
EuroWeb Webmail, http://www.euroweb.sk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"

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


Re: OT: sed problem

2004-02-01 Thread greg
On Sun, 2004-02-01 at 13:52, Daniela wrote:
> On Sunday 01 February 2004 18:10, Chris Pressey wrote:
[... snip ...]
> >
> > Or you could avoid sh variables and do whatever processing you have to
> > do entirely in awk (or perl.)
> 
> I really like csh programming. Everyone says that csh is crap for scripting, 
> but it isn't. I think Perl is harder than csh.
> But let's not start another holy war.

I think shell scripting is great to. But what makes it so powerful is
the ability to use tools and executables from your path. That would
include tools like awk, sed, grep and perl.
-- 
greg <[EMAIL PROTECTED]>

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


Re: Cvsup and RELENG_4 or RLENG_4_9

2004-02-01 Thread Erik Trulsson
On Sun, Feb 01, 2004 at 04:07:46PM -0500, Bob Collins wrote:
> I have read through the keeping current section of the book a few times
> and I am a bit lost. If I read correctly, to upgrade source(I am running
> RELEASE-4.9) I can use either RELENG_4 or RELENG_4_9. Although I am not
> sure if I need one, the other, or both. And if both, which order, if it
> matters?

You should use one of them - not both.

> 
> Further reading indicates that cvsuping with RLENEG_4_9 will update only
> critical items. Again, if I am reading this correctly, should I then
> cvsup both so I have all the sources corrected, or is RELENG_4_9 enough
> for a production machine?

Either RELENG_4 or RELENG_4_9 will get you complete sources.
The differences is that RELENG_4 is the development branch leading up
to the next 4.x release, while RELENG_4_9 is essentially 4.9-RELEASE +
critical fixes. (With 4.9-RELEASE being essentially a snapshot of the
RELENG_4 branch at a particular moment in time.)

RELENG_4 can potentially contain a large number of differences from
4.9-RELEASE, while RELENG_4_9 will only have minor (if any) differences
to the sources used for 4.9-RELEASE.


> 
> Thanks for your patience with this. I have also searched a bit about it
> and I am on the right track, I just think I need some clarification as
> to which one is `best' for a production machine.
> 
> FWIW, this will be for a dual processed server.

RELENG_4_9 is much less likely to introduce *new* bugs to the code, but
it will not get all the bugfixes or new features that get added to
RELENG_4.
Most of the time RELENG_4 (aka 4-STABLE) is quite stable and safe, but
occasionaly things break badly. (An example of that is back in August
2003, when RELENG_4 was quite unstable and crash-prone for a period of
about three weeks, until a bug had been fixed that had been introduced
when support for machines with more than 4GB RAM had been added.)

If you currently do not have any problems with 4.9-RELEASE and follow
the "if it ain't broke don't fix it" school of thought then RELENG_4_9
is probably right for you.

Personally I use RELENG_4, but then it is not crucial that my machines
stay up all the time, so if they crash due to some new bug introduced
in RELENG_4 it is not a major catastrophy.



-- 

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


Re: nVidia Riva TNT2 M64 problem on FreeBSD4.9

2004-02-01 Thread Yuri Grebenkin
On Sun, 1 Feb 2004 20:21:18 +0100, Marco Trentini <[EMAIL PROTECTED]> 
wrote:

On Sun, Feb 01, 2004 at 08:45:45PM +0300, Yuri Grebenkin wrote:
On Sun, 1 Feb 2004 17:28:04 +0100, Marco Trentini <[EMAIL PROTECTED]>
wrote:
>
>
>I don't see any attachments, anyway this could be a
>SGRAM/SDRAM TNT cards problem.
>
>Try (before run X)
>
>sysctl hw.nvidia.registry.VideoMemoryTypeOverride=SDRAM or
>SGRAM (according to your card memory type)
>
I've attached again - configs_logs.tgz

And here I try sysctl:

Script started on Sun Feb  1 20:30:39 2004

# sysctl -a -o | grep nvidia

hw.nvidia.agp.card.rates: 4x 2x 1x
hw.nvidia.agp.card.fw: not supported
hw.nvidia.agp.card.sba: not supported
hw.nvidia.agp.card.registers: 0x1f07:0x
hw.nvidia.agp.status.status: disabled
hw.nvidia.agp.status.driver: n/a
hw.nvidia.agp.status.rate: n/a
hw.nvidia.agp.status.fw: n/a
hw.nvidia.agp.status.sba: n/a
hw.nvidia.version: NVIDIA FreeBSD x86 nvidia.ko Kernel Module  1.0-4365
Wed May 28 09:20:25 PDT 2003
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.registry.UpdateKernelAGP: 1
hw.nvidia.cards.0.model: RIVA TNT2 Model 64/Model 64 Pro
hw.nvidia.cards.0.irq: 11
hw.nvidia.cards.0.vbios: ??.??.??.??.??
hw.nvidia.cards.0.type: AGP
# sysctl hw.nvidia.registry.VideoMemoryTypeOverride=SDRAM

sysctl: unknown oid 'hw.nvidia.registry.VideoMemoryTypeOverride'

It's stange ... I've noted that trick in the nvidia
README (for freebsd). It has become probably obsolete.
Try to add a BusID entry in your XF86Config file
(Device section ...see XF86Config(5) for more
details).
See README.linux (/usr/X11R6/share/doc/) also
(research tnt key).
I've already tryed BusID - the same as ever.

In README.Linux I found next interesting things:

(1)
HARDWARE ISSUES
This section describes problems that will not be fixed.  Usually, the
source of the problem is beyond the control of NVIDIA.  Following is
the list of problems:
...
   o VIA KX133 and 694X Chip sets with AGP 2x
 On Athlon motherboards with the VIA KX133 or 694X chip set, such
 as the ASUS K7V motherboard, NVIDIA drivers default to AGP 2x mode
 to work around insufficient drive strength on one of the signals.

But I used my card (on motherboard Acorp 694XA with VIA chipset) on 
Windows with AGP 4x normally.

(2)
APPENDIX H: TNT SPECIFIC ISSUES
Most issues pertaining to SGRAM/SDRAM TNT cards should be resolved.
There is the rare chance, however, that your video card has the wrong
BIOS installed, and that this driver will continue to fail for you.
If this driver fails for you, do the following:
   o watch your monitor as the system boots. The very first, brief screen
 will identify the type of video memory your card has. This will be
 either SGRAM or SDRAM.
   o edit the file "os-registry.c" from the kernel module sources.  Look
 for the variable "NVreg_VideoMemoryTypeOverride".  Set the value of
 the variable to the type of memory you have (numerically, see the
 line just above it).
   o since we don't normally use this variable, change the "#if 0" that is
 about 10 lines above the variable to "#if 1".
   o rebuild and reinstall the new driver ("make")
About rare chance - I used this card on RH Linux with this sort of drivers 
and it worked.
What they mean by this rare chance? Who that people that install the wrong 
BIOS? And who is responsible for it? It can be treated by me like a 
product malfunction...

At first when computer reboots I see only 16.0M RAM without any mention of 
SDRAM or SGRAM. At second I have no os-registry.c on my computer (probably 
it should be only in linux distro of drivers). I issued grep and found 
that variable is in nvidia_os_registry.c. I opened it and saw that there 
is no #if directive at all. After some time I guesed that activation of 
variables was in tail of the file and in a vary different way than 
described in docs (by setting '1' in structure). Strange... I compiled 
with SGRAM (value 2) and was trashed to hang up and reboot as ever. But 
when I restored my machine I noticed that now the key 
hw.nvidia.registry.VideoMemoryTypeOverride exist!!! I set it to SDRAM and 
was punished by rebooting. Maybe I go crazy?

And could anyone receive my attachments, is it possible or I'm in trouble? 
Hell... |:-)

Yuri

(CC to my email)___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


<< SOLVED >> Re: PORTS: What is "Makefile broken" ?

2004-02-01 Thread Payam
I solved the problem (I think, I'm compiling new ports as we speak).

I found my solution in another post.

In /usr/local/sbin/make_describe_pass1

Change:
open("|cd #{dir} && make -k -j3 -f -", 'w') do |w|
To:
open("|cd #{dir} && make -k -f -", 'w') do |w|
(IE: Remove the -j3)

Then I did
# portsdb -uU
And now libexif doesn't b**ch when I do a make. yay.

I plan on doing a portupgrade -a in a little while. If it doesn't work, 
I'll post the new status.

-Payam



Payam wrote:

angela root # ident /usr/bin/make
/usr/bin/make:
 $FreeBSD: src/lib/libc/i386/sys/pipe.S,v 1.8 1999/08/27 23:59:42 
peter Exp $
 $FreeBSD: src/lib/libc/i386/sys/Ovfork.S,v 1.11.2.1 2002/10/15 
19:46:46 fjoe Exp $
 $FreeBSD: src/lib/libc/i386/string/strrchr.S,v 1.5 1999/08/27 
23:59:35 peter Exp $
 $FreeBSD: src/lib/libc/i386/string/strncmp.S,v 1.6 1999/08/27 
23:59:35 peter Exp $
 $FreeBSD: src/lib/libc/i386/string/index.S,v 1.5 1999/08/27 
23:59:30 peter Exp $
 $FreeBSD: src/lib/libc/i386/string/strcpy.S,v 1.5 1999/08/27 
23:59:34 peter Exp $
 $FreeBSD: src/lib/libc/i386/string/strcat.S,v 1.5 1999/08/27 
23:59:33 peter Exp $
 $FreeBSD: src/lib/libc/i386/string/strcmp.S,v 1.5 1999/08/27 
23:59:33 peter Exp $
 $FreeBSD: src/lib/libc/i386/string/strchr.S,v 1.5 1999/08/27 
23:59:33 peter Exp $
 $NetBSD: bcopy.S,v 1.6 1996/11/12 00:50:06 jtc Exp $
 $FreeBSD: src/lib/libc/i386/string/memchr.S,v 1.8 1999/08/27 
23:59:31 peter Exp $
 $NetBSD: bcopy.S,v 1.6 1996/11/12 00:50:06 jtc Exp $
 $FreeBSD: src/lib/libc/i386/string/memset.S,v 1.5 1999/08/27 
23:59:32 peter Exp $
 $NetBSD: bcopy.S,v 1.6 1996/11/12 00:50:06 jtc Exp $
 $FreeBSD: src/lib/libc/i386/sys/brk.S,v 1.7 1999/08/27 23:59:38 
peter Exp $
 $FreeBSD: src/lib/libc/i386/sys/sbrk.S,v 1.7.2.2 2002/08/22 
20:21:17 kan Exp $
 $FreeBSD: src/lib/libc/i386/sys/cerror.S,v 1.10 1999/08/27 23:59:38 
peter Exp $
 $FreeBSD: src/usr.bin/make/arch.c,v 1.15.2.1 2001/02/13 03:13:57 
will Exp $
 $FreeBSD: src/usr.bin/make/buf.c,v 1.11 1999/09/11 13:08:01 hoek Exp $
 $FreeBSD: src/usr.bin/make/compat.c,v 1.16.2.2 2000/07/01 12:24:21 
ps Exp $
 $FreeBSD: src/usr.bin/make/cond.c,v 1.12.2.1 2003/07/22 08:03:13 ru 
Exp $
 $FreeBSD: src/usr.bin/make/dir.c,v 1.10.2.2 2003/10/08 08:14:22 ru 
Exp $
 $FreeBSD: src/usr.bin/make/for.c,v 1.10 1999/09/11 13:08:01 hoek Exp $
 $FreeBSD: src/usr.bin/make/hash.c,v 1.9 1999/09/11 13:08:01 hoek Exp $
 $FreeBSD: src/usr.bin/make/job.c,v 1.17.2.2 2001/02/13 03:13:57 
will Exp $
 $FreeBSD: src/usr.bin/make/main.c,v 1.35.2.9 2003/04/15 14:37:35 ru 
Exp $
 $FreeBSD: src/usr.bin/make/make.c,v 1.11 1999/09/11 13:08:01 hoek 
Exp $
 $FreeBSD: src/usr.bin/make/parse.c,v 1.22.2.1 2002/12/26 14:36:38 
ru Exp $
 $FreeBSD: src/usr.bin/make/str.c,v 1.12.2.1 2002/06/17 04:30:48 
jmallett Exp $
 $FreeBSD: src/usr.bin/make/suff.c,v 1.12.2.1 2001/03/09 01:13:24 
tmm Exp $
 $FreeBSD: src/usr.bin/make/targ.c,v 1.10 1999/09/11 13:08:02 hoek 
Exp $
 $FreeBSD: src/usr.bin/make/var.c,v 1.16.2.3 2002/02/27 14:18:57 cjc 
Exp $
 $FreeBSD: src/lib/libc/stdtime/strftime.c,v 1.25.2.4 2002/03/12 
17:24:54 phantom Exp $
 $FreeBSD: src/lib/libc/string/strcspn.c,v 1.1.1.1.14.1 2001/07/09 
23:30:06 obrien Exp $
 $FreeBSD: src/lib/libc/gen/err.c,v 1.6 1999/08/27 23:58:33 peter Exp $
 $FreeBSD: src/lib/libc/string/strcoll.c,v 1.11.2.1 2001/07/09 
23:30:06 obrien Exp $
 $FreeBSD: src/lib/libc/string/strsep.c,v 1.2.12.1 2001/07/09 
23:30:07 obrien Exp $
 $FreeBSD: src/lib/libc/string/strncpy.c,v 1.1.1.1.14.1 2001/07/09 
23:30:07 obrien Exp $
 $FreeBSD: src/lib/libc/string/strdup.c,v 1.2.14.1 2001/07/09 
23:30:06 obrien Exp $
 $FreeBSD: src/lib/libc/string/strlcpy.c,v 1.2.4.1 2001/07/09 
23:30:06 obrien Exp $
 $FreeBSD: src/lib/libc/string/strlcat.c,v 1.2.4.2 2001/07/09 
23:30:06 obrien Exp $
 $FreeBSD: src/lib/libc/i386/gen/isinf.c,v 1.6 1999/08/27 23:59:21 
peter Exp $
 $FreeBSD: src/usr.bin/make/util.c,v 1.5.2.2 2001/02/13 03:13:58 
will Exp $
 $FreeBSD: src/lib/libc/stdtime/timelocal.c,v 1.8.2.4 2002/08/12 
11:20:24 ache Exp $
 $FreeBSD: src/lib/libc/locale/collate.c,v 1.21.2.4 2002/10/11 
10:36:47 ache Exp $
 $FreeBSD: src/lib/libc/string/strerror.c,v 1.2.14.3 2003/01/17 
13:39:32 mike Exp $
 $FreeBSD: src/lib/libc/locale/ldpart.c,v 1.7.2.3 2002/08/12 
11:17:37 ache Exp $
 $FreeBSD: src/lib/libc/locale/lnumeric.c,v 1.10.2.2 2002/08/12 
11:17:38 ache Exp $
 $FreeBSD: src/lib/libc/locale/lmonetary.c,v 1.12.2.2 2002/08/12 
11:17:37 ache Exp $


-Payam

Kris Kennaway wrote:

On Sun, Feb 01, 2004 at 04:40:10PM -0500, Payam wrote:

=
angela root # uname -a
FreeBSD angela 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Sun Jan 11 
21:28:14 EST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL4  i386
=

I'm not sure how to get the 

Re: ports question

2004-02-01 Thread Jorn Argelo

Ahh, I see. Sorry, I guess I misunderstood. I can't really come up with
something 123 then, I'm afraid.

Cheers,

Jorn.

PS: Thanks, I hope it'll become active one day. And my name is Jorn, not
 John, but that's all right, no worries :-)

On Sunday 01 February 2004 22:55, you wrote:
> On Sun, Feb 01, 2004 at 10:46:48PM +0100, Jorn Argelo wrote:
> > Why don't you use cvsup to sync your ports-tree? That's allot easier.
> > Some ports aren't working now since the distfile isn't in sync with the
> > make-file. If you use cvsup it will be solved.
>
>   Hi John,
>
>   I guess my posting wasn't very clear.  I cvsup nightly.
>   I upgrade my ports via portupgrade.  That's what's failng;
>   that, or by-hand.
>
>   gary
>
>   PS: I like your idea of a BSD community of some kind;
>   maybe a 'webring' of some kind

---

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


-CURRENT panic in kmem_malloc (?)

2004-02-01 Thread Robert Huff

I upgraded to -CURRENT:

FreeBSD 5.2-CURRENT #1: Sun Feb  1 15:53:50 EST 2004

 and have since been getting panics, possibly in kmem_malloc:

Panicstring: kmem_malloc(-791617536): kmem_map too small: 20107264
total allocated

Kernel config file and stacktrace are appended.


Robert Huff


kernel config

#
# JERUSALEM
#
# For more information read the handbook part System Administration -> 
# Configuring the FreeBSD Kernel -> The Configuration File. 
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server 
# http://www.FreeBSD.ORG/>
#
# An exhaustive list of options and more detailed explanations of the 
# device lines is present in the ./LINT configuration file. If you are 
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
#   $Id: GENERIC,v 1.125 1998/10/16 01:30:11 obrien Exp $

machine i386
#cpu"I386_CPU"
#cpu"I486_CPU"
#cpu"I586_CPU"
cpu I686_CPU
ident   JERUSALEM
maxusers48
options CPU_ENABLE_SSE

#optionsMATH_EMULATE#Support for x87 emulation

options SCHED_ULE

options INET#InterNETworking
options INET6   #IPv6 communications protocols

options MAXDSIZ="(1024*1024*1024)"
options MAXSSIZ="(256*1024*1024)"

options IPX
#optionsNCP #NetWare Core protocol

options FFS #Berkeley Fast Filesystem
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
#optionsNWFS#NetWare filesystem

options SOFTUPDATES #Enable FFS soft updates support
options UFS_ACL #Support for access control lists
options UFS_DIRHASH #Improve performance on big directories
options SCSI_DELAY=100  #Be pessimistic about Joe SCSI
#  note: value is in 
milliseconds
#optionsSAFETY

# Debugging for use in -current
options DDB #Enable the kernel debugger
makeoptions DEBUG=-g
options INVARIANTS  #Enable calls of extra sanity checking
options INVARIANT_SUPPORT   #Extra sanity checks of internal structures, 
required by INVARIANTS
options WITNESS #Enable checks to detect deadlocks and cycles
#optionsWITNESS_SKIPSPIN#Don't run witness on spinlocks for speed

options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 #Compatible with FreeBSD4
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores

options COMPAT_AOUT

options COMPAT_LINUX
#optionsLINPROCFS
options PSEUDOFS


#   For StarOffice

#options P1003_1B
#options _KPOSIX_PRIORITY_SCHEDULING
#options _KPOSIX_VERSION=199309L

#optionsMD5

#   For Mars-nwe NetWare server

options IPX


#   for WINE

#optionsUSER_LDT#allow user-level control of i386 ldt

#
#

#config kernel  root on da0
device  isa
device  eisa
device  pci

#device fdc0at isa? port IO_FD1 irq 6 drq 2c
device  fdc

#device fd  at fdc drive 0
#disk   fd1 at fdc drive 1

# Unless you know very well what you're doing, leave ft0 at drive 2, or
# remove the line entirely if you don't need it.  Trying to configure
# it on another unit might cause surprises, see PR kern/7176.
#tape   ft0 at fdc0 drive 2

#options"CMD640"# work around CMD640 chip deficiency
#controller wdc0at isa? port "IO_WD1" bio irq 14 vector wdintr
#disk   wd0 at wdc0 drive 0
#disk   wd1 at wdc0 drive 1

#controller wdc1at isa? port "IO_WD2" bio irq 15 vector wdintr
#disk   wd2 at wdc1 drive 0
#disk   wd3 at wdc1 drive 1

#optionsATAPI   #Enable ATAPI support for IDE bus
#optionsATAPI_STATIC#Don't do it as an LKM
#device wcd0#IDE CD-ROM
#device wfd0#IDE Floppy (e.g. LS-120)

# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
# sufficient for any number of installed devices.
#controller ncr0
#controller amd0
#controller ahb0
device  ahc
#controller isp0

# This controller offers a number of configuration options, too many to
# document 

Re: ports question

2004-02-01 Thread Gary Kline
On Sun, Feb 01, 2004 at 10:46:48PM +0100, Jorn Argelo wrote:
> Why don't you use cvsup to sync your ports-tree? That's allot easier. Some 
> ports aren't working now since the distfile isn't in sync with the make-file. 
> If you use cvsup it will be solved.
> 


Hi John,

I guess my posting wasn't very clear.  I cvsup nightly.
I upgrade my ports via portupgrade.  That's what's failng;
that, or by-hand.  

gary

PS: I like your idea of a BSD community of some kind;
maybe a 'webring' of some kind 
> 

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: PORTS: What is "Makefile broken" ?

2004-02-01 Thread Payam

angela root # ident /usr/bin/make
/usr/bin/make:
 $FreeBSD: src/lib/libc/i386/sys/pipe.S,v 1.8 1999/08/27 23:59:42 
peter Exp $
 $FreeBSD: src/lib/libc/i386/sys/Ovfork.S,v 1.11.2.1 2002/10/15 
19:46:46 fjoe Exp $
 $FreeBSD: src/lib/libc/i386/string/strrchr.S,v 1.5 1999/08/27 
23:59:35 peter Exp $
 $FreeBSD: src/lib/libc/i386/string/strncmp.S,v 1.6 1999/08/27 
23:59:35 peter Exp $
 $FreeBSD: src/lib/libc/i386/string/index.S,v 1.5 1999/08/27 
23:59:30 peter Exp $
 $FreeBSD: src/lib/libc/i386/string/strcpy.S,v 1.5 1999/08/27 
23:59:34 peter Exp $
 $FreeBSD: src/lib/libc/i386/string/strcat.S,v 1.5 1999/08/27 
23:59:33 peter Exp $
 $FreeBSD: src/lib/libc/i386/string/strcmp.S,v 1.5 1999/08/27 
23:59:33 peter Exp $
 $FreeBSD: src/lib/libc/i386/string/strchr.S,v 1.5 1999/08/27 
23:59:33 peter Exp $
 $NetBSD: bcopy.S,v 1.6 1996/11/12 00:50:06 jtc Exp $
 $FreeBSD: src/lib/libc/i386/string/memchr.S,v 1.8 1999/08/27 
23:59:31 peter Exp $
 $NetBSD: bcopy.S,v 1.6 1996/11/12 00:50:06 jtc Exp $
 $FreeBSD: src/lib/libc/i386/string/memset.S,v 1.5 1999/08/27 
23:59:32 peter Exp $
 $NetBSD: bcopy.S,v 1.6 1996/11/12 00:50:06 jtc Exp $
 $FreeBSD: src/lib/libc/i386/sys/brk.S,v 1.7 1999/08/27 23:59:38 
peter Exp $
 $FreeBSD: src/lib/libc/i386/sys/sbrk.S,v 1.7.2.2 2002/08/22 
20:21:17 kan Exp $
 $FreeBSD: src/lib/libc/i386/sys/cerror.S,v 1.10 1999/08/27 
23:59:38 peter Exp $
 $FreeBSD: src/usr.bin/make/arch.c,v 1.15.2.1 2001/02/13 03:13:57 
will Exp $
 $FreeBSD: src/usr.bin/make/buf.c,v 1.11 1999/09/11 13:08:01 hoek Exp $
 $FreeBSD: src/usr.bin/make/compat.c,v 1.16.2.2 2000/07/01 12:24:21 
ps Exp $
 $FreeBSD: src/usr.bin/make/cond.c,v 1.12.2.1 2003/07/22 08:03:13 
ru Exp $
 $FreeBSD: src/usr.bin/make/dir.c,v 1.10.2.2 2003/10/08 08:14:22 ru 
Exp $
 $FreeBSD: src/usr.bin/make/for.c,v 1.10 1999/09/11 13:08:01 hoek Exp $
 $FreeBSD: src/usr.bin/make/hash.c,v 1.9 1999/09/11 13:08:01 hoek Exp $
 $FreeBSD: src/usr.bin/make/job.c,v 1.17.2.2 2001/02/13 03:13:57 
will Exp $
 $FreeBSD: src/usr.bin/make/main.c,v 1.35.2.9 2003/04/15 14:37:35 
ru Exp $
 $FreeBSD: src/usr.bin/make/make.c,v 1.11 1999/09/11 13:08:01 hoek 
Exp $
 $FreeBSD: src/usr.bin/make/parse.c,v 1.22.2.1 2002/12/26 14:36:38 
ru Exp $
 $FreeBSD: src/usr.bin/make/str.c,v 1.12.2.1 2002/06/17 04:30:48 
jmallett Exp $
 $FreeBSD: src/usr.bin/make/suff.c,v 1.12.2.1 2001/03/09 01:13:24 
tmm Exp $
 $FreeBSD: src/usr.bin/make/targ.c,v 1.10 1999/09/11 13:08:02 hoek 
Exp $
 $FreeBSD: src/usr.bin/make/var.c,v 1.16.2.3 2002/02/27 14:18:57 
cjc Exp $
 $FreeBSD: src/lib/libc/stdtime/strftime.c,v 1.25.2.4 2002/03/12 
17:24:54 phantom Exp $
 $FreeBSD: src/lib/libc/string/strcspn.c,v 1.1.1.1.14.1 2001/07/09 
23:30:06 obrien Exp $
 $FreeBSD: src/lib/libc/gen/err.c,v 1.6 1999/08/27 23:58:33 peter Exp $
 $FreeBSD: src/lib/libc/string/strcoll.c,v 1.11.2.1 2001/07/09 
23:30:06 obrien Exp $
 $FreeBSD: src/lib/libc/string/strsep.c,v 1.2.12.1 2001/07/09 
23:30:07 obrien Exp $
 $FreeBSD: src/lib/libc/string/strncpy.c,v 1.1.1.1.14.1 2001/07/09 
23:30:07 obrien Exp $
 $FreeBSD: src/lib/libc/string/strdup.c,v 1.2.14.1 2001/07/09 
23:30:06 obrien Exp $
 $FreeBSD: src/lib/libc/string/strlcpy.c,v 1.2.4.1 2001/07/09 
23:30:06 obrien Exp $
 $FreeBSD: src/lib/libc/string/strlcat.c,v 1.2.4.2 2001/07/09 
23:30:06 obrien Exp $
 $FreeBSD: src/lib/libc/i386/gen/isinf.c,v 1.6 1999/08/27 23:59:21 
peter Exp $
 $FreeBSD: src/usr.bin/make/util.c,v 1.5.2.2 2001/02/13 03:13:58 
will Exp $
 $FreeBSD: src/lib/libc/stdtime/timelocal.c,v 1.8.2.4 2002/08/12 
11:20:24 ache Exp $
 $FreeBSD: src/lib/libc/locale/collate.c,v 1.21.2.4 2002/10/11 
10:36:47 ache Exp $
 $FreeBSD: src/lib/libc/string/strerror.c,v 1.2.14.3 2003/01/17 
13:39:32 mike Exp $
 $FreeBSD: src/lib/libc/locale/ldpart.c,v 1.7.2.3 2002/08/12 
11:17:37 ache Exp $
 $FreeBSD: src/lib/libc/locale/lnumeric.c,v 1.10.2.2 2002/08/12 
11:17:38 ache Exp $
 $FreeBSD: src/lib/libc/locale/lmonetary.c,v 1.12.2.2 2002/08/12 
11:17:37 ache Exp $


-Payam

Kris Kennaway wrote:
On Sun, Feb 01, 2004 at 04:40:10PM -0500, Payam wrote:

=
angela root # uname -a
FreeBSD angela 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Sun Jan 11 21:28:14 
EST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL4  i386
=

I'm not sure how to get the version of make, maybe this:


What does 'ident /usr/bin/make' show?

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


Re: ports question

2004-02-01 Thread Jorn Argelo
Why don't you use cvsup to sync your ports-tree? That's allot easier. Some 
ports aren't working now since the distfile isn't in sync with the make-file. 
If you use cvsup it will be solved.

Cheers,

Jorn

On Sunday 01 February 2004 22:42, Gary Kline wrote:
>   People,
>
>   Since I managed to upgrade this system's ports tree,
>   I keep things up to date.  Recently, been having trouble
>   fetching some ports. openldap is one such.  Upgrading
>   or trying tomake install clean by hand keeps giving me:
>
>   .
>   .
>   .
>   .
>
> >> Attempting to fetch from
>
> http://openldap.cdpa.nsysu.edu.tw/OpenLDAP/openldap-release/.
> fetch: invalid size ( 2042658)
>
> >> Attempting to fetch from
>
> ftp://ftp.plig.org/pub/OpenLDAP/openldap-release/.
> fetch: invalid size ( 2042658)
>
> >> Attempting to fetch from
>
> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
> fetch: invalid size ( 2042658)
>
> >> Couldn't fetch it - please try to retrieve 
>
>   Anybody know what's going on with this port ... and a
>   few others?  How to fix?
>
>   tia, guys,
>
>   gary

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


Re: PORTS: What is "Makefile broken" ?

2004-02-01 Thread Kris Kennaway
On Sun, Feb 01, 2004 at 04:40:10PM -0500, Payam wrote:
> =
> angela root # uname -a
> FreeBSD angela 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Sun Jan 11 21:28:14 
> EST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL4  i386
> =
> 
> 
> I'm not sure how to get the version of make, maybe this:

What does 'ident /usr/bin/make' show?

Kris


pgp0.pgp
Description: PGP signature


ports question

2004-02-01 Thread Gary Kline

People,

Since I managed to upgrade this system's ports tree, 
I keep things up to date.  Recently, been having trouble
fetching some ports. openldap is one such.  Upgrading 
or trying tomake install clean by hand keeps giving me:

.
.
.
.
>> Attempting to fetch from
http://openldap.cdpa.nsysu.edu.tw/OpenLDAP/openldap-release/.
fetch: invalid size ( 2042658)
>> Attempting to fetch from
ftp://ftp.plig.org/pub/OpenLDAP/openldap-release/.
fetch: invalid size ( 2042658)
>> Attempting to fetch from
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: invalid size ( 2042658)
>> Couldn't fetch it - please try to retrieve 

Anybody know what's going on with this port ... and a 
few others?  How to fix?

tia, guys,

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


named question...

2004-02-01 Thread Xpression
Hi list, I have running named/BIND as DNS server, recently I have
some problems and I don't know the source of it, I have checked the logs and
config files but there is nothing unusual, here is my configs files, any
suggestion ???
named.root
--
;   This file holds the information on root name servers needed to
;   initialize cache of Internet domain name servers
;   (e.g. reference this file in the "cache  .  "
;   configuration file of BIND domain name servers).
;
;   This file is made available by InterNIC registration services
;   under anonymous FTP as
;   file/domain/named.root
;   on server   FTP.RS.INTERNIC.NET
;   -OR- under Gopher atRS.INTERNIC.NET
;   under menu  InterNIC Registration Services (NSI)
;  submenu  InterNIC Registration Archives
;   filenamed.root
;
;   last update:Aug 22, 1997
;   related version of root zone:   1997082200
; $FreeBSD: src/etc/namedb/named.root,v 1.9 1999/09/13 17:09:08 peter Exp $
;
; formerly NS.INTERNIC.NET
;
.360  IN  NSA.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET.  360  A 198.41.0.4
;
; formerly NS1.ISI.EDU
;
.360  NSB.ROOT-SERVERS.NET.
B.ROOT-SERVERS.NET.  360  A 128.9.0.107
;
; formerly C.PSI.NET
;
.360  NSC.ROOT-SERVERS.NET.
C.ROOT-SERVERS.NET.  360  A 192.33.4.12
;
; formerly TERP.UMD.EDU
;
.360  NSD.ROOT-SERVERS.NET.
D.ROOT-SERVERS.NET.  360  A 128.8.10.90
;
; formerly NS.NASA.GOV
;
.360  NSE.ROOT-SERVERS.NET.
E.ROOT-SERVERS.NET.  360  A 192.203.230.10
;
; formerly NS.ISC.ORG
;
.360  NSF.ROOT-SERVERS.NET.
F.ROOT-SERVERS.NET.  360  A 192.5.5.241
;
; formerly NS.NIC.DDN.MIL
;
.360  NSG.ROOT-SERVERS.NET.
G.ROOT-SERVERS.NET.  360  A 192.112.36.4
;
; formerly AOS.ARL.ARMY.MIL
;
.360  NSH.ROOT-SERVERS.NET.
H.ROOT-SERVERS.NET.  360  A 128.63.2.53
;
; formerly NIC.NORDU.NET
;
.360  NSI.ROOT-SERVERS.NET.
I.ROOT-SERVERS.NET.  360  A 192.36.148.17
;
; temporarily housed at NSI (InterNIC)
;
.360  NSJ.ROOT-SERVERS.NET.
J.ROOT-SERVERS.NET.  360  A 198.41.0.10
;
; housed in LINX, operated by RIPE NCC
;
.360  NSK.ROOT-SERVERS.NET.
K.ROOT-SERVERS.NET.  360  A 193.0.14.129 
;
; temporarily housed at ISI (IANA)
;
.360  NSL.ROOT-SERVERS.NET.
L.ROOT-SERVERS.NET.  360  A 198.32.64.12
;
; housed in Japan, operated by WIDE
;
.360  NSM.ROOT-SERVERS.NET.
M.ROOT-SERVERS.NET.  360  A 202.12.27.33
; End of File



named.conf (course, IPs aren't the real ones)
--
options {
directory "/etc/namedb";
forwarders {
111.111.111.111;
222.222.222.222;
};
};

zone "." {
type hint;
file "named.root";
};

zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "localhost.rev";
};

zone "my.domain.here" {
type master;
file "db.my.domain.here";
};

zone "333.333.333.in-addr.arpa" {
type master;
file "db.333.333.333";
};



db.my.domain.here
--
$TTL3600

@   IN  SOA mail.my.domain.here.root.mail.my.domain.here.(
20021224; Serial
3600; Refresh
900 ; Retry
360 ; Expire
3600 )  ; Minimum
IN  NS  mail.my.domain.here.
router  IN  A   XXX.XXX.XXX.XXX
mailIN  A   YYY.YYY.YYY.YYY
www IN  A   ZZZ.ZZZ.ZZZ.ZZZ
ftp IN  A   ZZZ.ZZZ.ZZZ.ZZZ



db.333.333.333
--
$TTL3600

@   IN  SOA mail.my.domain.here.root.mail.my.domain.here.(
20021224; Serial
3600; Refresh
900 ; Retry
360 ; Expire
3600 )  ; Minimum
IN  NS  mail.my.domain.here.
XXX IN  PTR router
YYY IN  PTR mail
ZZZ IN  PTR www
ZZZ IN  PTR ftp___
[E

Re: PORTS: What is "Makefile broken" ?

2004-02-01 Thread Payam
=
angela root # uname -a
FreeBSD angela 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Sun Jan 11 21:28:14 
EST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL4  i386
=

I'm not sure how to get the version of make, maybe this:
=
angela root # cat /usr/src/usr.bin/make/Makefile
#   @(#)Makefile5.2 (Berkeley) 12/28/90
# $FreeBSD: src/usr.bin/make/Makefile,v 1.13.2.1 2001/05/25 08:33:40 
sobomax Exp $

PROG=   make
CFLAGS+= -I${.CURDIR}
SRCS=   arch.c buf.c compat.c cond.c dir.c for.c hash.c job.c main.c \
make.c parse.c str.c suff.c targ.c var.c util.c
SRCS+=  lstAppend.c lstAtEnd.c lstAtFront.c lstClose.c lstConcat.c \
lstDatum.c lstDeQueue.c lstDestroy.c lstDupl.c lstEnQueue.c \
lstFind.c lstFindFrom.c lstFirst.c lstForEach.c lstForEachFrom.c \
lstInit.c lstInsert.c lstIsAtEnd.c lstIsEmpty.c lstLast.c \
lstMember.c lstNext.c lstOpen.c lstRemove.c lstReplace.c lstSucc.c
.PATH:  ${.CURDIR}/lst.lib
NOSHARED?=  YES

.include 
=
Any other thoughts?

Kris Kennaway wrote:
On Sat, Jan 31, 2004 at 09:03:46PM -0500, Payam wrote:

Hi. I'm running FreeBSD 4.9.


Are you sure?  You should only see this makefile error on old,
unsupported versions of FreeBSD with broken make(1)s.
Kris
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problem booting WinXP from second drive

2004-02-01 Thread Relayer
I have a machine with FreeBSD 4.2 running on one drive.  I wanted to try dual booting 
and mucking about with wine, so I decided to install WinXP as well.  To avoid messing 
up my primary drive, I thought I would be able to accomplish the process in the 
following way:

1.  disconnect primary drive
2.  connect second drive (so it looks like the only one in the PC) and install WinXP 
on it
3.  verify that WinXP boots off this drive
4.  install FreeBSD boot loader on this drive
5.  verify that WinXP boots using FreeBSD boot loader

All works as expected to this point.

Then I hook up the primary drive again and reboot.  I see the following at boot time:

F1: FreeBSD
F2: FreeBSD
F5: Drive 1

I hit F5.  Then I see

F1: DOS
F5: Drive 0

When I hit F1, I expect WinXP to boot.  But nothing happens.  The machine just sits 
there.  I have scanned a lot of material in the Handbook and on google today and 
yesterday, but I cannot figure out what I did wrong.  Does anybody have any ideas that 
don't involve using grub or gag or something else?

Thanks

OP


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


Re: PORTS: What is "Makefile broken" ?

2004-02-01 Thread Kris Kennaway
On Sat, Jan 31, 2004 at 09:03:46PM -0500, Payam wrote:
> Hi. I'm running FreeBSD 4.9.

Are you sure?  You should only see this makefile error on old,
unsupported versions of FreeBSD with broken make(1)s.

Kris


pgp0.pgp
Description: PGP signature


Re: kernel panic with Friday -CURRENT

2004-02-01 Thread Kris Kennaway
On Sun, Feb 01, 2004 at 01:55:53PM -0500, Robert Huff wrote:
> 
>   After cvsuping overnight and rebuilding Friday morning I
> upgraded -CURRENT.
>   Now I'm getting panics with:
> 
> Good dump found on device /dev/da1s1b
>   Architecture: i386
>   Architecture version: 1
>   Dump length: 536854528B (511 MB)
>   Blocksize: 512
>   Dumptime: Fri Jan 30 22:20:04 2004
>   Hostname: jerusalem.litteratus.org
>   Versionstring: FreeBSD 5.2-CURRENT #0: Fri Jan 30 12:30:40 EST 2004
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/JERUSALEM
>   Panicstring: kmem_malloc(-791617536): kmem_map too small: 30924800 total allocated
> 
>   I have the core dump; how do I extract the stacktrace?  (And
> whot other useful information do I want to provide?)  "gdb -k"
> claims not to recognize the file format.

The Developers Handbook (available on the website) explains this.

Kris

pgp0.pgp
Description: PGP signature


An idea

2004-02-01 Thread Jorn Argelo
Hi all,

I got an webserver here at home(FreeBSD of course) which is just idling about 
doing nothing. It gets a wee bit load from Squid but that's it. The MySQL 
deamon is basicly eating away RAM for nothing. So I thought it might be nice 
to set up a small community of FreeBSD users on my currently ghost-town 
forum, where we can discuss things when we don't have access to our e-mail. 
My line is limited though, 128K upstream, so I can't setup a major forum like 
bsdforums.org. 

If you like the idea, feel free to sign up at www.wcborstel.nl/forum/ (note 
the last / is required). If you don't like it, I'd like to hear that as well.

Thanks,

Jorn

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


Re: 5.2.1 ?

2004-02-01 Thread Kris Kennaway
On Sun, Feb 01, 2004 at 07:31:28AM -0600, J.D. Bronson wrote:
> I see there is a 5.2.1-RC1 ISO out already??
> 
> Is there anything that states what the difference is between 5.2 and this?
> 
> I had thought 5.2 JUST came out ??

5.2.1 is in the process of being released to fix some bugs in 5.2.  It
hasn't yet been announced, because it hasn't yet been released (files
on the ftp site notwithstanding).

Kris


pgp0.pgp
Description: PGP signature


Re: portsdb -U fails

2004-02-01 Thread Kris Kennaway
On Sat, Jan 31, 2004 at 10:03:30PM +0100, r t g tan wrote:

> > portsdb -U is broken - I sent mail to the author the other day, but
> > didn't receive a reply yet.  In the meantime, you can edit
> > /usr/local/sbin/make_describe_pass1 and change the 'make -j3' to
> > 'make'.
> > 
> > Kris
> 
> Hi Kris,
> 
> The following line from /usr/local/sbin/make_describe_pass1:
>   
>   open("|cd #{dir} && make -k -j3 -f -", 'w') do |w|
> 
> I changed to:
> 
>   open("|cd #{dir} && make -", 'w') do |w|
>   
> now portsdb -U is running for quite some time.
> 
> I have no idea what it is doing though.

No, that's not quite what I said..just remove the -j3 and leave the other arguments 
untouched.

Kris


pgp0.pgp
Description: PGP signature


Re: VIA OnBoard NIC problems

2004-02-01 Thread Jorn Argelo
Your onboard card isn't in the supported hardware list (from 5.2 that is) and 
your Intel one is, so I guess that explains your problem. I know you don't 
want to hear it, but you got no other choice then putting an new network card 
in it if you want your network to be stable. 

Cheers,

Jorn

On Monday 02 February 2004 01:34, [EMAIL PROTECTED] wrote:
> Hi everybody..
> I have problem with onboard NIC on VIA EPIA Mini ITX mainboard 5000 series.
> (this is small part from dmesg)
> 
> vr0:  port 0xe800-0xe8ff mem
> 0xe410-0xe410 00ff irq 11 at device 18.0 on pci0
> .
> If i try rsync to synchronize large ISO files (~700MB) from internet (mw
> 192 kBit) thru this card the md5 signature is allways invalid.
>
> Also if i use the machine as samba server with 6 clients and havy traffic,
> the samba hangs after 10-30 min.
>
> If I use other PCI NIC
> .
> fxp0:  port 0xec00-0xec1f mem
> 0xe400-0xe40 f,0xe4101000-0xe4101fff irq 15 at device 20.0 on pci0
> .
> ewerything is OK.
>
> But I NEED this PCI slot (there is only one) for another card (SCSI).
>
> The same happens with 4.9 and 5.2..
>
> Any Idea??
> Dont tell me I need other board.
> Sorry for my "inglis"
>
> TomBA
>
> ___
> EuroWeb Webmail, http://www.euroweb.sk
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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


Re: FBSD router/firewall with dhclient & dhcpd (Solved)

2004-02-01 Thread Luke Johannsen
On Feb 1, 2004, at 2:58 PM, Edward Carmody wrote:

From
"http://www.thekelleys.org.uk/dnsmasq/doc.html":
"Dnsmasq can be configured to automatically pick
up the addresses of it's upstream nameservers from
ppp or dhcp configuration. It will automatically
reload this information if it changes. This
facility will be of particular interest to
maintainers of Linux firewall distributions since
it allows dns configuration to be made automatic."
Bingo, 100%.  Thanks, Luke.  I owe you a beer...
Glad to help and hope it works for your needs. By the way 
http://www.blvdbeer.com/  :)

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


Re: Network booting with PXE

2004-02-01 Thread User Mike
> Did you recompile your kernel with options:
>
> options BOOTP  # Use BOOTP to obtain IP address/hostname
> options BOOTP_NFSROOT  # NFS mount root filesystem using BOOTP info
> options BOOTP_COMPAT   # Workaround for broken bootp daemons.
>
Yes, I did. How else would the other machines work fine.

> By the way, how much RAM do you have in those machines?  I have found
> that I get by fine with no swap at all using as little as 32MB - though
> I am using Linux diskless terminals, but this shouldn't matter.
>
At least 64 MB, but up to 256 MB depending on usage/purpose of machine.
The main reason I wanted to add swap was because when the machines aren't
in heavy use they run MPI programs. As most people know at heavy usage
they almost always need swap!

Don't focus on the swap as it isn't the issue. My problem is that FBSD
won't mount root over NFS if a local hard drive is present. All I want to
know is how to bypass the check!


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


Re: volumecontrol does not work on 5.2

2004-02-01 Thread Sebastian Kutsch
On Sun, 1 Feb 2004 20:49:11 +0100
Melvyn Sopacua <[EMAIL PROTECTED]> wrote:

> On Sunday 01 February 2004 16:17, Sebastian Kutsch wrote:
> 
> > I have a onboard soundcard with a sis 7012 soundchipset.
> > I have compiled the kernel with the pcm device-driver and the
> > chipset gets recogniced as you can see at the dmesg output:
> >
> > pcm0:  port 0xd800-0xd87f,0xdc00-0xdcff irq 18 at device
> > 2.7 on pci0
> > pcm0: 
> >
> > I get sound but can't control the volume. I can turn the volume off
> > or on, but that all I can do.
> >
> > Has anyone an Idea what the problem is?
> 
> What is the output of the mixer command without any arguments?

I have got all mixer-devices and they have the standard values.

-- begin of shelloutput 

Mixer vol  is currently set to  20:20
Mixer pcm  is currently set to  20:20
Mixer speaker  is currently set to  10:10
Mixer line is currently set to  75:75
Mixer mic  is currently set to   0:0
Mixer cd   is currently set to  75:75
Mixer rec  is currently set to   0:0
Mixer ogainis currently set to  50:50
Mixer line1is currently set to  75:75
Mixer phin is currently set to   0:0
Mixer phoutis currently set to   0:0
Mixer videois currently set to  75:75

--end of shelloutput --

Changing "mixer pcm" to 0 turns the volume off. Changing "mixer vol"
does nothing. 

Sebastian

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


RE: FBSD router/firewall with dhclient & dhcpd (Solved)

2004-02-01 Thread Edward Carmody
From
"http://www.thekelleys.org.uk/dnsmasq/doc.html":

"Dnsmasq can be configured to automatically pick
up the addresses of it's upstream nameservers from
ppp or dhcp configuration. It will automatically
reload this information if it changes. This
facility will be of particular interest to
maintainers of Linux firewall distributions since
it allows dns configuration to be made automatic."

Bingo, 100%.  Thanks, Luke.  I owe you a beer...

-Original Message-
From: Luke Johannsen [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 01, 2004 3:48 PM
To: Edward Carmody
Cc: [EMAIL PROTECTED]
Subject: Re: FBSD router/firewall with dhclient &
dhcpd



On Feb 1, 2004, at 2:24 PM, Edward Carmody wrote:

> Hi, I'm trying to replace my Linksys
> router/firewall/nat box with a FreeBSD box...I'm
> in the configuring/testing phase before I put it
> into production...
>
> My *potential* problem is that my ISP
> (Cablevision) re-addresses their DNS servers
> often.  My question is: is there a way to
> dynamically update the "option
> domain-name-servers" values in dhcpd.conf from
the "nameserver" values 
> my ISP-facing, dhclient-using interface is
writing into "resolv.conf"?
>
> Or, more simply, how can my DHCP server hand out
> *known-fresh-and-good* ISP dns server addresses
> gathered from the wan-facing dhcp client??  The
> linksys box I have now does this
auto-magically...
> ;-)
>

I don't know if this is a solution that you want
but it works for me. 
Setup DNSMasq on your firewall machine. 
http://www.thekelleys.org.uk/dnsmasq/doc.html or
from the ports 
/usr/ports/dns/dnsmasq. Then just point to your
internal IP on your 
firewall as your nameserver. It's quick and
painless to setup and get 
running and seems to work well for small networks.

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


Cvsup and RELENG_4 or RLENG_4_9

2004-02-01 Thread Bob Collins
I have read through the keeping current section of the book a few times
and I am a bit lost. If I read correctly, to upgrade source(I am running
RELEASE-4.9) I can use either RELENG_4 or RELENG_4_9. Although I am not
sure if I need one, the other, or both. And if both, which order, if it
matters?

Further reading indicates that cvsuping with RLENEG_4_9 will update only
critical items. Again, if I am reading this correctly, should I then
cvsup both so I have all the sources corrected, or is RELENG_4_9 enough
for a production machine?

Thanks for your patience with this. I have also searched a bit about it
and I am on the right track, I just think I need some clarification as
to which one is `best' for a production machine.

FWIW, this will be for a dual processed server.

-- 
Bob

"Play is the work of children. It's very serious stuff. And if it's
properly structured in a developmental program, children can blossom."
-Bob Keeshan aka `Captain Kangaroo'
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FBSD router/firewall with dhclient & dhcpd

2004-02-01 Thread Luke Johannsen
On Feb 1, 2004, at 2:24 PM, Edward Carmody wrote:

Hi, I'm trying to replace my Linksys
router/firewall/nat box with a FreeBSD box...I'm
in the configuring/testing phase before I put it
into production...
My *potential* problem is that my ISP
(Cablevision) re-addresses their DNS servers
often.  My question is: is there a way to
dynamically update the "option
domain-name-servers" values in dhcpd.conf from the
"nameserver" values my ISP-facing, dhclient-using
interface is writing into "resolv.conf"?
Or, more simply, how can my DHCP server hand out
*known-fresh-and-good* ISP dns server addresses
gathered from the wan-facing dhcp client??  The
linksys box I have now does this auto-magically...
;-)
I don't know if this is a solution that you want but it works for me. 
Setup DNSMasq on your firewall machine. 
http://www.thekelleys.org.uk/dnsmasq/doc.html or from the ports 
/usr/ports/dns/dnsmasq. Then just point to your internal IP on your 
firewall as your nameserver. It's quick and painless to setup and get 
running and seems to work well for small networks.

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


dhclient: send_packet: Permission denied

2004-02-01 Thread Edward Carmody
I'm seeing the following over and over in
/var/log/messages
Feb  1 13:54:17 Oberon dhclient: send_packet:
Permission denied

Any idea what this is?  Thanks!

Ed C.

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


FW: FBSD router/firewall with dhclient & dhcpd

2004-02-01 Thread Edward Carmody
Hi, I'm trying to replace my Linksys
router/firewall/nat box with a FreeBSD box...I'm
in the configuring/testing phase before I put it
into production...

My *potential* problem is that my ISP
(Cablevision) re-addresses their DNS servers
often.  My question is: is there a way to
dynamically update the "option
domain-name-servers" values in dhcpd.conf from the
"nameserver" values my ISP-facing, dhclient-using
interface is writing into "resolv.conf"?

Or, more simply, how can my DHCP server hand out
*known-fresh-and-good* ISP dns server addresses
gathered from the wan-facing dhcp client??  The
linksys box I have now does this auto-magically...
;-)

Info the FreeBSD box:

-FreeBSD Oberon 5.1-RELEASE FreeBSD 5.1-RELEASE
#0: Thu Jun  5 02:55:42 GMT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GEN
ERIC  i386

-I have dhclient running correctly on my
to-be-ISP-facing interface (tested using a Cisco
2620 as dhcp server);

-I have dhcpd running correctly on my LAN-facing
interface (currently serving all home LAN
clients);

-I have verified that routed is exchanging RIP
updates with an internal Cisco 2620 (I run
multiple VLANs internally); will have to get VLANs
running on FreeBSD later...

-I think natd is set up correctly, haven't tested
yet;

-I have ipfw running full-open for internal
testing on home LAN.



All help is appreciated...thanks!

Ed C.

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


Re: Vinum or HD error?

2004-02-01 Thread Hari Bhaskaran
On Sun, Feb 01, 2004 at 02:47:16PM -0500, dave wrote:
> Hello,
> Can you tell me about your vinum setup? Are you using IDE or scsi
> drives? What raidlevel are you using? And, do you have your root partition

Two IDE drives, 120G each (1 WD, 1 maxtor), although this particular volume
in Q is *not* mirrored at all - it is only on one drive. This volume doesn't
contain any critical data and I am not trying to recover any data out of it.
I am just trying to figure out what happened for my own knowledge and to know
whether to replace the HD etc. I thought those error code (in my earlier
mail) might say something. The output of vinum list is given below

No, the root partition is not raided - that wasn't possible in 4.7 (yes, there
is an inactive copy, but no thru vinum)

# vinum list
2 drives:

D regalis   State: up   Device /dev/ad0s1e  Avail: 0/110374 MB (0%)
D formosa   State: up   Device /dev/ad1s1e  Avail: 0/113143 MB (0%)

11 volumes:
V varbase   State: up   Plexes:   2 Size:   3072 MB
V varlogState: up   Plexes:   2 Size:   1024 MB
V vartmpState: up   Plexes:   2 Size:   1024 MB
V tmp   State: up   Plexes:   2 Size:   3072 MB
V usrbase   State: up   Plexes:   2 Size:   3072 MB
V usrhome   State: up   Plexes:   2 Size:   3072 MB
V fs1   State: up   Plexes:   2 Size:   2048 MB
V fs2   State: up   Plexes:   2 Size: 25 GB
V fs3   State: up   Plexes:   2 Size: 40 GB
V fs4   State: up   Plexes:   1 Size: 26 GB
V fs5   State: down Plexes:   1 Size: 29 GB

20 plexes:
P varbase.p0  C State: up   Subdisks: 1 Size:   3072 MB
P varbase.p1  C State: up   Subdisks: 1 Size:   3072 MB
P varlog.p0   C State: up   Subdisks: 1 Size:   1024 MB
P varlog.p1   C State: up   Subdisks: 1 Size:   1024 MB
P vartmp.p0   C State: up   Subdisks: 1 Size:   1024 MB
P vartmp.p1   C State: up   Subdisks: 1 Size:   1024 MB
P tmp.p0  C State: up   Subdisks: 1 Size:   3072 MB
P tmp.p1  C State: up   Subdisks: 1 Size:   3072 MB
P usrbase.p0  C State: up   Subdisks: 1 Size:   3072 MB
P usrbase.p1  C State: up   Subdisks: 1 Size:   3072 MB
P usrhome.p0  C State: up   Subdisks: 1 Size:   3072 MB
P usrhome.p1  C State: up   Subdisks: 1 Size:   3072 MB
P fs1.p0  C State: up   Subdisks: 1 Size:   2048 MB
P fs1.p1  C State: up   Subdisks: 1 Size:   2048 MB
P fs2.p0  C State: up   Subdisks: 1 Size: 25 GB
P fs2.p1  C State: up   Subdisks: 1 Size: 25 GB
P fs3.p0  C State: up   Subdisks: 1 Size: 40 GB
P fs3.p1  C State: up   Subdisks: 1 Size: 40 GB
P fs4.p0  C State: up   Subdisks: 1 Size: 26 GB
P fs5.p0  C State: faulty   Subdisks: 1 Size: 29 GB

20 subdisks:
S varbase.p0.s0 State: up   PO:0  B Size:   3072 MB
S varbase.p1.s0 State: up   PO:0  B Size:   3072 MB
S varlog.p0.s0  State: up   PO:0  B Size:   1024 MB
S varlog.p1.s0  State: up   PO:0  B Size:   1024 MB
S vartmp.p0.s0  State: up   PO:0  B Size:   1024 MB
S vartmp.p1.s0  State: up   PO:0  B Size:   1024 MB
S tmp.p0.s0 State: up   PO:0  B Size:   3072 MB
S tmp.p1.s0 State: up   PO:0  B Size:   3072 MB
S usrbase.p0.s0 State: up   PO:0  B Size:   3072 MB
S usrbase.p1.s0 State: up   PO:0  B Size:   3072 MB
S usrhome.p0.s0 State: up   PO:0  B Size:   3072 MB
S usrhome.p1.s0 State: up   PO:0  B Size:   3072 MB
S fs1.p0.s0 State: up   PO:0  B Size:   2048 MB
S fs1.p1.s0 State: up   PO:0  B Size:   2048 MB
S fs2.p0.s0 State: up   PO:0  B Size: 25 GB
S fs2.p1.s0 State: up   PO:0  B Size: 25 GB
S fs3.p0.s0 State: up   PO:0  B Size: 40 GB
S fs3.p1.s0 State: up   PO:0  B Size: 40 GB
S fs4.p0.s0 State: up   PO:0  B Size: 26 GB
S fs5.p0.s0 State: crashed  PO:0  B Size: 29 GB

> raided?
> Thanks.
> Dave.
> 

--
Hari Bhaskaran
___
[EM

a sudo question

2004-02-01 Thread John
Hello list

I'm trying to give a html author rwx access to a system directory and all
directories under it. This is /usr/local/www. He also needs access to
/webspace in the same manner (there are various user accounts under
here) - but under webspace he only needs access to
/webspace/loginname/public_html and all dirs under it.

The problem is I don't want to give him the same kind of access to the
rest of the server. Also when he creates a file in a users dir it wants
to be with the ownerships of that user. It would be ok for him to su to
those accounts but not to su to root or to any other login. I can let
him su to www.

Should I be using sudo for this or is there another mechanism?

thanks
-- 
John - [EMAIL PROTECTED] - http://www.reiteration.net/~jfm
For PGP public key finger [EMAIL PROTECTED] or see webpage
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: volumecontrol does not work on 5.2

2004-02-01 Thread Melvyn Sopacua
On Sunday 01 February 2004 16:17, Sebastian Kutsch wrote:

> I have a onboard soundcard with a sis 7012 soundchipset.
> I have compiled the kernel with the pcm device-driver and the chipset
> gets recogniced as you can see at the dmesg output:
>
> pcm0:  port 0xd800-0xd87f,0xdc00-0xdcff irq 18 at device 2.7
> on pci0
> pcm0: 
>
> I get sound but can't control the volume. I can turn the volume off or
> on, but that all I can do.
>
> Has anyone an Idea what the problem is?

What is the output of the mixer command without any arguments?
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: Vinum or HD error?

2004-02-01 Thread Micheas Herman
I fixed some similar problems by changing the drive cable.

but I am by no means an expert on this.


Micheas

On Sun, 2004-02-01 at 10:42, Hari Bhaskaran wrote:
> Hi,
> 
> here is a transcript of vinum reporting an HD failure. I just
> want to confirm this is really a HD error before the throw
> the HD out the window
> 
> vinum volume fs5 is really not mirrored (~ 29G of only 1 120g disk
> mapped as such via vinum).
> OS: 4.7-RELEASE-p24
> 
> Feb  1 11:58:44 mach01 /kernel: ad1s1e: hard error reading fsbn 362562737 of 
> 177087033-177087048 (ad1s1 bn 362562737; cn 22568 tn 124 sn 5) trying PIO mode
> Feb  1 11:58:45 mach01 /kernel: ad1s1e: hard error reading fsbn 362562737 of 
> 177087033-177087048 (ad1s1 bn 362562737; cn 22568 tn 124 sn 5) status=59 error=40
> Feb  1 11:58:45 mach01 /kernel: vinum: fs5.p0.s0 is crashed by force
> Feb  1 11:58:45 mach01 /kernel: vinum: fs5.p0 is faulty
> Feb  1 11:58:45 mach01 /kernel: vinum: fs5 is down
> Feb  1 11:58:45 mach01 /kernel: fatal:fs5.p0.s0 read error, block 177087033 for 8192 
> bytes
> Feb  1 11:58:45 mach01 /kernel: fs5.p0.s0: user buffer block 7217456 for 8192 bytes
> 
> Any help is appreciated
> 
> --
> Hari Bhaskaran
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-- 
Write in TERRY BAUM for Congress on March 2, 2004
http://www.terrybaum.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Power off

2004-02-01 Thread Yuri Grebenkin
I've added
device  acpica
to my kernel and removed
device  apm0
Now all work very well!
Handbook says that ACPI is better to use than APM. I probably had problems 
while using APM (even enabled in any sort).
Also handbook says that to enable ACPI on -STABLE you need to add 'device 
acpi' to kernel config, but I found that it must be acpica instead! Maybe 
it's a mistake?

Yuri

On Sun, 1 Feb 2004 09:45:53 +0300, Sergey 'DoubleF' Zaharchenko 
<[EMAIL PROTECTED]> wrote:

On 31 Jan 2004 18:14:42 -0500
Lowell Gilbert <[EMAIL PROTECTED]> probably wrote:
Yuri Grebenkin <[EMAIL PROTECTED]> writes:

> Hi. I used to run poweroff on RH Linux. Now I'm under FreeBSD 4.9 and
> I can't turn power off - I have to push button by my hand after
> running halt that prints that system has halted and ready to
> reboot. Is there any way to turn power off by software?
Sure.  'shutdown -p now' will do it, assuming you have apm(4) in your 
kernel.
and apm_enable="YES" in your /etc/rc.conf



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


Re: Using the ATAPI/CAM Driver

2004-02-01 Thread Melvyn Sopacua
On Sunday 01 February 2004 00:54, Jeff Elkins wrote:

> All recording functions work, both with cdrecord and growisofs.  The only
> issue is being unable to mount with /dev/cd0, /dev/cd1. I realise that I'm
> in uncharted waters with 5.2, and I appreciate the reply.

Actually - I just tried to mount a blank cd, and that now gives "device not 
configured", so I guess you need to fixate the cd's.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


Re: nVidia Riva TNT2 M64 problem on FreeBSD4.9

2004-02-01 Thread Marco Trentini
On Sun, Feb 01, 2004 at 08:45:45PM +0300, Yuri Grebenkin wrote:
> On Sun, 1 Feb 2004 17:28:04 +0100, Marco Trentini <[EMAIL PROTECTED]> 
> wrote:
> >
> >
> >I don't see any attachments, anyway this could be a
> >SGRAM/SDRAM TNT cards problem.
> >
> >Try (before run X)
> >
> >sysctl hw.nvidia.registry.VideoMemoryTypeOverride=SDRAM or
> >SGRAM (according to your card memory type)
> >
> 
> I've attached again - configs_logs.tgz
> 
> And here I try sysctl:
> 
> Script started on Sun Feb  1 20:30:39 2004
> 
> # sysctl -a -o | grep nvidia
> 
> hw.nvidia.agp.card.rates: 4x 2x 1x
> hw.nvidia.agp.card.fw: not supported
> hw.nvidia.agp.card.sba: not supported
> hw.nvidia.agp.card.registers: 0x1f07:0x
> hw.nvidia.agp.status.status: disabled
> hw.nvidia.agp.status.driver: n/a
> hw.nvidia.agp.status.rate: n/a
> hw.nvidia.agp.status.fw: n/a
> hw.nvidia.agp.status.sba: n/a
> hw.nvidia.version: NVIDIA FreeBSD x86 nvidia.ko Kernel Module  1.0-4365  
> Wed May 28 09:20:25 PDT 2003
> hw.nvidia.registry.EnableVia4x: 0
> hw.nvidia.registry.EnableALiAGP: 0
> hw.nvidia.registry.EnableAGPSBA: 0
> hw.nvidia.registry.EnableAGPFW: 0
> hw.nvidia.registry.SoftEDIDs: 1
> hw.nvidia.registry.Mobile: 4294967295
> hw.nvidia.registry.ResmanDebugLevel: 4294967295
> hw.nvidia.registry.FlatPanelMode: 0
> hw.nvidia.registry.UpdateKernelAGP: 1
> hw.nvidia.cards.0.model: RIVA TNT2 Model 64/Model 64 Pro
> hw.nvidia.cards.0.irq: 11
> hw.nvidia.cards.0.vbios: ??.??.??.??.??
> hw.nvidia.cards.0.type: AGP
> 
> # sysctl hw.nvidia.registry.VideoMemoryTypeOverride=SDRAM
> 
> sysctl: unknown oid 'hw.nvidia.registry.VideoMemoryTypeOverride'
> 

It's stange ... I've noted that trick in the nvidia
README (for freebsd). It has become probably obsolete.

Try to add a BusID entry in your XF86Config file
(Device section ...see XF86Config(5) for more
details).

See README.linux (/usr/X11R6/share/doc/) also
(research tnt key).



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


Re: How to find the largest files?

2004-02-01 Thread Hari Bhaskaran
find . -type f -size +1024 -exec ls -al {} \;

On Sun, Feb 01, 2004 at 01:01:20PM -0600, W. D. wrote:
> Hi Folks,
> 
> I use the following to grab a snapshot of all the 
> files on the system:
> 
> ls -laTFWiR 
> 
> What would I use to show only the files that are
> greater than 500k?
> 
> Start Here to Find It Fast!? -> http://www.US-Webmasters.com/best-start-page/
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using the ATAPI/CAM Driver

2004-02-01 Thread Melvyn Sopacua
On Sunday 01 February 2004 00:54, Jeff Elkins wrote:
> On Saturday 31 January 2004 6:35 pm, Melvyn Sopacua wrote:
> >On Saturday 31 January 2004 18:54, Jeff Elkins wrote:
> >> > > I _can_ mount cds using the /dev/acd* devices, while using the
> >> > > /dev/cd* devices for writing.  Is this the way atapi cdrws are
> >> > > supposed to work under freebsd?
> >> >
> >> > So, is cam compiled into the kernel? Do you have the xpt SCSI driver?
> >> > If cam is configured correctly, there should be mentioning of cd0
> >> > in /var/run/dmesg.boot and the cd's should be listed via:
> >> >
> >> > camcontrol devlist
> >>
> >> kathix# camcontrol devlist
> >>   at scbus0 target 0 lun 0 (pass0,da0)
> >>   at scbus0 target 0 lun 1 (pass1,da1)
> >>   at scbus0 target 0 lun 2 (pass2,da2)
> >>   at scbus0 target 0 lun 3 (pass3,da3)
> >> at scbus1 target 0 lun 0 (pass4,da4)
> >>   at scbus3 target 0 lun 0 (pass5,cd0)
> >>  at scbus3 target 1 lun 0 (pass6,cd1)
> >>
> >>
> >> cd0 at ata1 bus 0 target 0 lun 0
> >> cd0:  Removable CD-ROM SCSI-0 device
> >> cd0: 16.000MB/s transfers
> >>
> >> cd1 at ata1 bus 0 target 1 lun 0
> >> cd1:  Removable CD-ROM SCSI-0 device
> >> cd1: 16.000MB/s transfers
> >
> >Try getting rid of the DMI devices. As you can see above, the cd's claim
> > bus0, while cam puts them on bus 3. Still a chance that the seagate
> > overrides them though.
> >
> >If:
> >cdrecord dev=3,0,0 yourfiles.iso
> >
> >works correctly, you might want to follow this up to -current or
> > -hardware.
>
> Thanks.
>
> All recording functions work, both with cdrecord and growisofs.  The only
> issue is being unable to mount with /dev/cd0, /dev/cd1. I realise that I'm
> in uncharted waters with 5.2, and I appreciate the reply.

Does cdrecord work with dev=/dev/cd0 also?
You did fixate those cd's (shouldn't give a "device not configured", but I/O 
error if you didn't, but just to make sure).
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
===


pgp0.pgp
Description: signature


How to find the largest files?

2004-02-01 Thread W. D.
Hi Folks,

I use the following to grab a snapshot of all the 
files on the system:

ls -laTFWiR 

What would I use to show only the files that are
greater than 500k?

Start Here to Find It Fast!™ -> http://www.US-Webmasters.com/best-start-page/

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


Re: OT: sed problem

2004-02-01 Thread Daniela
On Sunday 01 February 2004 18:10, Chris Pressey wrote:
> On Sun, 1 Feb 2004 15:33:58 +
>
> Daniela <[EMAIL PROTECTED]> wrote:
> > On Sunday 01 February 2004 01:34, Jez Hancock wrote:
> > > On Sun, Feb 01, 2004 at 01:38:44AM +, Daniela wrote:
> > > > I was wondering how I can do the following with sed (or another
> > > > program): 1. Output only the text from the start of the line to
> > > > the first pipe character 2. Output only the text between the last
> > > > and the previous pipe character Or, split the line at the pipe
> > > > characters and assign the parts to different shell variables.
> > >
> > > #!/bin/sh
> > > test="one|two|three"
> > > set `echo "$test" | sed -e 's/\|/ /g'`
> > >
> > > # $1="one", $2="two", $3="three":
> > > echo $@
> >
> > This doesn't work when the parts between the pipe characters contain
> > spaces themselves.
>
> Nor does the awk approach I posted, incidentally - the problem being
> that sh likes to split up its input into variables, by spaces.

awk -F'|' '{ print $1 }'  does work indeed. This way, I can assign the parts 
to different variables, and dismiss the parts I don't need.

> You can work around it by translating the spaces into some unused
> character first, then translating pipes to spaces, then finally
> translating the unused characters back into spaces in each of the
> variables.
>
> There may be a simpler way, but if so, I don't know what it is.
>
> Or you could avoid sh variables and do whatever processing you have to
> do entirely in awk (or perl.)

I really like csh programming. Everyone says that csh is crap for scripting, 
but it isn't. I think Perl is harder than csh.
But let's not start another holy war.


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


kernel panic with Friday -CURRENT

2004-02-01 Thread Robert Huff

After cvsuping overnight and rebuilding Friday morning I
upgraded -CURRENT.
Now I'm getting panics with:

Good dump found on device /dev/da1s1b
  Architecture: i386
  Architecture version: 1
  Dump length: 536854528B (511 MB)
  Blocksize: 512
  Dumptime: Fri Jan 30 22:20:04 2004
  Hostname: jerusalem.litteratus.org
  Versionstring: FreeBSD 5.2-CURRENT #0: Fri Jan 30 12:30:40 EST 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/JERUSALEM
  Panicstring: kmem_malloc(-791617536): kmem_map too small: 30924800 total allocated

I have the core dump; how do I extract the stacktrace?  (And
whot other useful information do I want to provide?)  "gdb -k"
claims not to recognize the file format.



Robert Huff





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


Re: Fwd: Re: nVidia Riva TNT2 M64 problem on FreeBSD4.9

2004-02-01 Thread Andrew L. Gould
On Sunday 01 February 2004 11:56 am, Yuri Grebenkin wrote:
> Sorry it seems that my attachments fall in abyss some weird way. But
> forwarding must work well. Try to find them in this email.
>
> --- Forwarded message ---
> From: Yuri Grebenkin <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: nVidia Riva TNT2 M64 problem on FreeBSD4.9
> Date: Sun, 01 Feb 2004 20:48:11 +0300
>
> > On Sun, 1 Feb 2004 17:28:04 +0100, Marco Trentini <[EMAIL PROTECTED]>
> >
> > wrote:
> >> I don't see any attachments, anyway this could be a
> >> SGRAM/SDRAM TNT cards problem.
> >>
> >> Try (before run X)
> >>
> >> sysctl hw.nvidia.registry.VideoMemoryTypeOverride=SDRAM or
> >> SGRAM (according to your card memory type)
> >
> > I've attached again - configs_logs.tgz
> >
> > And here I try sysctl:
> >
> > Script started on Sun Feb  1 20:30:39 2004
> >
> > # sysctl -a -o | grep nvidia
> >
> > hw.nvidia.agp.card.rates: 4x 2x 1x
> > hw.nvidia.agp.card.fw: not supported
> > hw.nvidia.agp.card.sba: not supported
> > hw.nvidia.agp.card.registers: 0x1f07:0x
> > hw.nvidia.agp.status.status: disabled
> > hw.nvidia.agp.status.driver: n/a
> > hw.nvidia.agp.status.rate: n/a
> > hw.nvidia.agp.status.fw: n/a
> > hw.nvidia.agp.status.sba: n/a
> > hw.nvidia.version: NVIDIA FreeBSD x86 nvidia.ko Kernel Module  1.0-4365
> > Wed May 28 09:20:25 PDT 2003
> > hw.nvidia.registry.EnableVia4x: 0
> > hw.nvidia.registry.EnableALiAGP: 0
> > hw.nvidia.registry.EnableAGPSBA: 0
> > hw.nvidia.registry.EnableAGPFW: 0
> > hw.nvidia.registry.SoftEDIDs: 1
> > hw.nvidia.registry.Mobile: 4294967295
> > hw.nvidia.registry.ResmanDebugLevel: 4294967295
> > hw.nvidia.registry.FlatPanelMode: 0
> > hw.nvidia.registry.UpdateKernelAGP: 1
> > hw.nvidia.cards.0.model: RIVA TNT2 Model 64/Model 64 Pro
> > hw.nvidia.cards.0.irq: 11
> > hw.nvidia.cards.0.vbios: ??.??.??.??.??
> > hw.nvidia.cards.0.type: AGP
> >
> > # sysctl hw.nvidia.registry.VideoMemoryTypeOverride=SDRAM
> >
> > sysctl: unknown oid 'hw.nvidia.registry.VideoMemoryTypeOverride'
> >
> > # exit
> >
> > exit
> >
> > Script done on Sun Feb  1 20:32:47 2004
> >
> > Thanks, Yuri.
> >
> > (CC to my email)

Would you attach your /etc/X11/XF86Config file?

Thanks,

Andrew

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


Vinum or HD error?

2004-02-01 Thread Hari Bhaskaran
Hi,

here is a transcript of vinum reporting an HD failure. I just
want to confirm this is really a HD error before the throw
the HD out the window

vinum volume fs5 is really not mirrored (~ 29G of only 1 120g disk
mapped as such via vinum).
OS: 4.7-RELEASE-p24

Feb  1 11:58:44 mach01 /kernel: ad1s1e: hard error reading fsbn 362562737 of 
177087033-177087048 (ad1s1 bn 362562737; cn 22568 tn 124 sn 5) trying PIO mode
Feb  1 11:58:45 mach01 /kernel: ad1s1e: hard error reading fsbn 362562737 of 
177087033-177087048 (ad1s1 bn 362562737; cn 22568 tn 124 sn 5) status=59 error=40
Feb  1 11:58:45 mach01 /kernel: vinum: fs5.p0.s0 is crashed by force
Feb  1 11:58:45 mach01 /kernel: vinum: fs5.p0 is faulty
Feb  1 11:58:45 mach01 /kernel: vinum: fs5 is down
Feb  1 11:58:45 mach01 /kernel: fatal:fs5.p0.s0 read error, block 177087033 for 8192 
bytes
Feb  1 11:58:45 mach01 /kernel: fs5.p0.s0: user buffer block 7217456 for 8192 bytes

Any help is appreciated

--
Hari Bhaskaran

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


Re: Vhost

2004-02-01 Thread Charlie Schluting
Mr Kitt wrote:
To whom it may concern,
 
pls provide me the cmds as well... u may give me an example so that i can learn faster n understand better...

Nobody is going to give you commands for basic things. It would just 
take too long. Read the manual.

It sounds like you're wanting to set up apache. It wasn't clear from 
your request. Ok, read the Apache documentation.

Don't ask the same question more than once.
Please wrap your lines at 72 chars.
-Charlie

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


Re: 5.2.1 ?

2004-02-01 Thread Andrew Boothman
> 5.2.1-RC1 still gives piles of arp warnings when you use an ADSL router
> in half-bridge mode. I wish I knew of a way to disable this. For now, I
> did some tuning to syslog and fixed it so that junk only goes to ttyv3
> instead of filling up /var.

What arp warnings are you getting?

There are ARP sysctls that you might be able to tweak in order to stop
getting these.

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


Re: nVidia Riva TNT2 M64 problem on FreeBSD4.9

2004-02-01 Thread Yuri Grebenkin
On Sun, 1 Feb 2004 17:28:04 +0100, Marco Trentini <[EMAIL PROTECTED]> 
wrote:


I don't see any attachments, anyway this could be a
SGRAM/SDRAM TNT cards problem.
Try (before run X)

sysctl hw.nvidia.registry.VideoMemoryTypeOverride=SDRAM or
SGRAM (according to your card memory type)
I've attached again - configs_logs.tgz

And here I try sysctl:

Script started on Sun Feb  1 20:30:39 2004

# sysctl -a -o | grep nvidia

hw.nvidia.agp.card.rates: 4x 2x 1x
hw.nvidia.agp.card.fw: not supported
hw.nvidia.agp.card.sba: not supported
hw.nvidia.agp.card.registers: 0x1f07:0x
hw.nvidia.agp.status.status: disabled
hw.nvidia.agp.status.driver: n/a
hw.nvidia.agp.status.rate: n/a
hw.nvidia.agp.status.fw: n/a
hw.nvidia.agp.status.sba: n/a
hw.nvidia.version: NVIDIA FreeBSD x86 nvidia.ko Kernel Module  1.0-4365  
Wed May 28 09:20:25 PDT 2003
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.registry.UpdateKernelAGP: 1
hw.nvidia.cards.0.model: RIVA TNT2 Model 64/Model 64 Pro
hw.nvidia.cards.0.irq: 11
hw.nvidia.cards.0.vbios: ??.??.??.??.??
hw.nvidia.cards.0.type: AGP

# sysctl hw.nvidia.registry.VideoMemoryTypeOverride=SDRAM

sysctl: unknown oid 'hw.nvidia.registry.VideoMemoryTypeOverride'

# exit

exit

Script done on Sun Feb  1 20:32:47 2004

Thanks, Yuri.

(CC to my email)___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


vinum - device crashed.

2004-02-01 Thread Rob
Hi!

I've been setting up a new machine, using 5.2-RELEASE (downloaded the ISO 
images, couple of weeks ago.)

I'd installed on an old-ish 8Gb drive OK, and set up vinum to mirror it to 
another 8Gb as per http://devel.reinikainen.net/docs/how-to/Vinum/

Everything worked fine, machine has been up and down many times, no 
problems at all.  I built a custom kernel (just removed devices I don't 
have, nothing otherwise different) and not had a single problem with it, 
except swap doesn't work on /dev/vinum/swap - I've seen a couple of 
messages about this, but not worried about fixing it yet.

As this is going to be a database server, I added a further two ~40Gb 
drives on a new Maxtor ultra ata/133 card, and set vinum up to straight 
mirror these two drives.  I created a single filesystem, and shared it off 
with nfs, and setup mysql sever with it's database on the same filesystem.

Everything has been fine up to today, the machine has been working great, 
had a test website accessing the data via nfs and mysql, all hunky dorey.

Today, I mounted the data volume via nfs from the existing server, and 
tried to copy over all the live websites again.  Only about 280Mb.   And 
the new server died, with nothing in /var/log/messages.  When I got to the 
console, it had rebooted and was complaining that /dev/vinum/mirror (the 
new drives) was at fault.  vinum list shows me both subdiscs as crashed. 
(plexes 	faulty, volume down, see below).

fsck on the volume just gives
rebecca# fsck -n -t ufs /dev/vinum/mirror
Can't open /dev/vinum/mirror: Input/output error
I tried doing a "setstate up" on the subdisc, to force the volume back up 
but if I do that, any access to the volume (eg fsck, mount, anything) 
causes a kernel panic.

So what else can I try?  Have I lost the data that was already one the 
drive (I assume I can just amend the disklabel back from vinum and mount 
one drive normally to recover it?)  Do I need to download a later version 
of vinum than was in the iso's I used?   if so, how and where from?  Would 
it just be better to stick to 4.9 for now?

I would like to get this working - I've had rather too many hard discs die 
in the past and would like to have some resilience in this new machine.

Thanks in advance for any ideas,

Rob

2 drives:
D UpWindow  State: up   /dev/ad2s1h A: 0/8056 MB (0%)
D YouCrazy  State: up   /dev/ad0s1h A: 0/8056 MB (0%)
D vinumdrive0   State: referenced   unknown A: 0/0 MB
D vinumdrive1   State: referenced   unknown A: 0/0 MB
6 volumes:
V root  State: up   Plexes:   2 Size:   2048 MB
V swap  State: up   Plexes:   2 Size:   1023 MB
V home  State: up   Plexes:   2 Size:   2048 MB
V tmp   State: up   Plexes:   2 Size:   1500 MB
V var   State: up   Plexes:   2 Size:   1436 MB
V mirrorState: down Plexes:   2 Size: 38 GB
12 plexes:
P root.p0 C State: up   Subdisks: 1 Size:   2048 MB
P swap.p0 C State: up   Subdisks: 1 Size:   1023 MB
P home.p0 C State: up   Subdisks: 1 Size:   2048 MB
P tmp.p0  C State: up   Subdisks: 1 Size:   1500 MB
P var.p0  C State: up   Subdisks: 1 Size:   1436 MB
P root.p1 C State: up   Subdisks: 1 Size:   2048 MB
P swap.p1 C State: up   Subdisks: 1 Size:   1023 MB
P home.p1 C State: up   Subdisks: 1 Size:   2048 MB
P tmp.p1  C State: up   Subdisks: 1 Size:   1500 MB
P var.p1  C State: up   Subdisks: 1 Size:   1436 MB
P mirror.p0   C State: faulty   Subdisks: 1 Size: 38 GB
P mirror.p1   C State: faulty   Subdisks: 1 Size: 37 GB
12 subdisks:
S root.p0.s0State: up   D: YouCrazy Size:   2048 MB
S swap.p0.s0State: up   D: YouCrazy Size:   1023 MB
S home.p0.s0State: up   D: YouCrazy Size:   2048 MB
S tmp.p0.s0 State: up   D: YouCrazy Size:   1500 MB
S var.p0.s0 State: up   D: YouCrazy Size:   1436 MB
S root.p1.s0State: up   D: UpWindow Size:   2048 MB
S swap.p1.s0State: up   D: UpWindow Size:   1023 MB
S home.p1.s0State: up   D: UpWindow Size:   2048 MB
S tmp.p1.s0 State: up   D: UpWindow Size:   1500 MB
S var.p1.s0 State: up   D: UpWindow Size:   1436 MB
S mirror.p0.s0  State: crashed  D: vinumdrive0  Size: 38 GB
S mirror.p1.s0  State: crashed  D: vinumdrive1  Size: 37 GB
vinum ->
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mai

Re: OT: sed problem

2004-02-01 Thread Chris Pressey
On Sun, 1 Feb 2004 15:33:58 +
Daniela <[EMAIL PROTECTED]> wrote:

> On Sunday 01 February 2004 01:34, Jez Hancock wrote:
> > On Sun, Feb 01, 2004 at 01:38:44AM +, Daniela wrote:
> > > I was wondering how I can do the following with sed (or another
> > > program): 1. Output only the text from the start of the line to
> > > the first pipe character 2. Output only the text between the last
> > > and the previous pipe character Or, split the line at the pipe
> > > characters and assign the parts to different shell variables.
> >
> > #!/bin/sh
> > test="one|two|three"
> > set `echo "$test" | sed -e 's/\|/ /g'`
> >
> > # $1="one", $2="two", $3="three":
> > echo $@
> 
> This doesn't work when the parts between the pipe characters contain
> spaces themselves.

Nor does the awk approach I posted, incidentally - the problem being
that sh likes to split up its input into variables, by spaces.

You can work around it by translating the spaces into some unused
character first, then translating pipes to spaces, then finally
translating the unused characters back into spaces in each of the
variables.

There may be a simpler way, but if so, I don't know what it is.

Or you could avoid sh variables and do whatever processing you have to
do entirely in awk (or perl.)

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


UFS2 ACL problems on root (boot) partition

2004-02-01 Thread Matthew Bertrand
Trying to get ACLs to work on UFS2, and I'm having some trouble getting it
to work on my root partition.

Here's the symptom:

# setfacl -m user:nobody:rwx /testacl
setfacl: acl_get_file() failed: Operation not supported
# setfacl -m user:nobody:rwx /usr/testacl
#

Here's some relevant information about the disks:

# dumpfs / | head -n 1
magic   19540119 (UFS2) timeSun Feb  1 07:43:56 2004
# dumpfs /usr | head -n 1
magic   19540119 (UFS2) timeSun Feb  1 07:44:24 2004
# tunefs -p /
tunefs: ACLs: (-a) enabled
tunefs: MAC multilabel: (-l)   disabled
tunefs: soft updates: (-n) disabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)16384
tunefs: average number of files in a directory: (-s)   64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o)  time
tunefs: volume label: (-L)
# tunefs -p /usr
tunefs: ACLs: (-a) enabled
tunefs: MAC multilabel: (-l)   disabled
tunefs: soft updates: (-n) enabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)16384
tunefs: average number of files in a directory: (-s)   64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o)  time
tunefs: volume label: (-L)
#


I have rebooted after enabling -a, and all commands are being run as root on
files owned by root. Of course USER_ACL is enabled in 

Anyone have any ideas?

Thanks,

-Matthew Bertrand

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


Fwd: Re: nVidia Riva TNT2 M64 problem on FreeBSD4.9

2004-02-01 Thread Yuri Grebenkin
Sorry it seems that my attachments fall in abyss some weird way. But 
forwarding must work well. Try to find them in this email.

--- Forwarded message ---
From: Yuri Grebenkin <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: nVidia Riva TNT2 M64 problem on FreeBSD4.9
Date: Sun, 01 Feb 2004 20:48:11 +0300
On Sun, 1 Feb 2004 17:28:04 +0100, Marco Trentini <[EMAIL PROTECTED]> 
wrote:


I don't see any attachments, anyway this could be a
SGRAM/SDRAM TNT cards problem.
Try (before run X)

sysctl hw.nvidia.registry.VideoMemoryTypeOverride=SDRAM or
SGRAM (according to your card memory type)
I've attached again - configs_logs.tgz

And here I try sysctl:

Script started on Sun Feb  1 20:30:39 2004

# sysctl -a -o | grep nvidia

hw.nvidia.agp.card.rates: 4x 2x 1x
hw.nvidia.agp.card.fw: not supported
hw.nvidia.agp.card.sba: not supported
hw.nvidia.agp.card.registers: 0x1f07:0x
hw.nvidia.agp.status.status: disabled
hw.nvidia.agp.status.driver: n/a
hw.nvidia.agp.status.rate: n/a
hw.nvidia.agp.status.fw: n/a
hw.nvidia.agp.status.sba: n/a
hw.nvidia.version: NVIDIA FreeBSD x86 nvidia.ko Kernel Module  1.0-4365  
Wed May 28 09:20:25 PDT 2003
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.registry.UpdateKernelAGP: 1
hw.nvidia.cards.0.model: RIVA TNT2 Model 64/Model 64 Pro
hw.nvidia.cards.0.irq: 11
hw.nvidia.cards.0.vbios: ??.??.??.??.??
hw.nvidia.cards.0.type: AGP

# sysctl hw.nvidia.registry.VideoMemoryTypeOverride=SDRAM

sysctl: unknown oid 'hw.nvidia.registry.VideoMemoryTypeOverride'

# exit

exit

Script done on Sun Feb  1 20:32:47 2004

Thanks, Yuri.

(CC to my email)

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


problem in ng_ether

2004-02-01 Thread niraj kumar

  i want to insert a tee node between upper and the
lower 
node of the ng_ether. i am using freebsd 4.7 . i
am the beginner . please help



Yahoo! India Mobile: Download the latest polyphonic ringtones.
Go to http://in.mobile.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


freebsd and r studio emergency

2004-02-01 Thread Neil
Hi.
I am trying to boot a new Dell server with R Studio's 'emergency agent'
which is based on FreeBsd.  The Agent does not have the drivers to activate
the gigabit intel NIC in the server.  Is there any way one can add new
drivers to the FreeBsd based startup disk?
 
N
 

"I don't know half of you half as well as I should like, and I like less
than half of you half as well as you deserve"

 by Bilbo Baggins

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


Re: OT: sed problem

2004-02-01 Thread Marty Landman
At 10:30 AM 2/1/2004, Daniela wrote:

Looks fine, but does Perl support multi-dimensional arrays?
Yes.

Marty Landman   Face 2 Interface Inc 845-679-9387
This Month's New Quiz --- Past Superbowl Winners
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


nVidia Riva TNT2 M64 problem on FreeBSD4.9

2004-02-01 Thread Yuri Grebenkin
Hi. I spent so much time trying to make nVidia Riva TNT2 M64 running on 
FreeBSD4.9 and I think one of us must die!
I downloaded NVIDIA-FreeBSD-x86-1.0-4365.tar.gz from www.nvidia.com (it's 
identical to one from ports' /usr/ports/x11/nvidia-driver). That's no 
matter I instal from ports or just by 'make setup' I get the same problem.
I have a configured kernel as it was described in nVidia docs (e.g. with 
USER_LDT) and configured XF86Config accordingly to nvidia driver. I have 
made big amount of installations (tryed between FreeBSD AGPGART and nVidia 
AGP, etc.) but whatever I do I get this story:

I reboot after installation; login; issue 'startx'.

Here I see as it starts Ok (it fills about a half of screen with messages, 
ends at 'Using config file...'). Usually (with VESA driver) at this point 
screen flashes to black and then to my desktop (I use KDE). But with 
nVidia driver I still see these textmode messages for awhile, after that 
machine reboots! (Without any syncing to disks or shutdown process). I 
mean it hangs up and nothing of keyboard or hdd or else is active before 
this dirty reboot.

Thanks to God that I configured X back to VESA, but GLX became unusable.

So I need help with configuration of nVidia acceleration. I need it for I 
had some OpenGL programming experience under RH Linux that could be ported 
to FreeBSD with success.

Configurations and logs attached.

Thankyou!

Yuri

(Please CC to my email)___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


trying to compile my kernel module...

2004-02-01 Thread stefan

Today I started to write a sound driver kernel module. 
All have yet is a skeleton, and I cannot get it to compile.

I am building the module in my home directory.
I set up my Makefile as described in the developer handbook:

SRCS=mykmod.c
KMOD=mykmod

.include 

When I run make however, I get this error (the output is from make depend):

rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/dev 
-I/usr/include  mymod.c
In file included from @/dev/sound/pcm/sound.h:54,
 from mymod.c:29:
@/sys/bus.h:381:23: device_if.h: No such file or directory
@/sys/bus.h:382:20: bus_if.h: No such file or directory
In file included from @/dev/sound/pcm/sound.h:98,
 from mymod.c:29:
@/dev/sound/pcm/channel.h:69:24: channel_if.h: No such file or directory
In file included from mymod.c:30:
@/dev/sound/pcm/ac97.h:90:21: ac97_if.h: No such file or directory
In file included from mymod.c:33:
@/dev/pci/pcivar.h:156:20: pci_if.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/home/stsp/mymod.

The headers are not present in the @ tree, but there are a couple of *.m files
with the same basenames.
The handbook says that such files were interface templates and should be processed 
by a perl script called something like makeobjops.pl.
 
I am using the 5.1 release, and I cannot find makeobjops.pl on my system.
Could it be that the developer handbook is only referring to FreeBSD 4.x?

Compiling a custom kernel works fine though, the headers are properly generated.
Am I missing something obvious?

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


volumecontrol does not work on 5.2

2004-02-01 Thread Sebastian Kutsch
Hi,

I have a onboard soundcard with a sis 7012 soundchipset.
I have compiled the kernel with the pcm device-driver and the chipset
gets recogniced as you can see at the dmesg output:

pcm0:  port 0xd800-0xd87f,0xdc00-0xdcff irq 18 at device 2.7
on pci0 
pcm0: 

I get sound but can't control the volume. I can turn the volume off or
on, but that all I can do.

Has anyone an Idea what the problem is?

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


pcm and AC97 microphone issues with 5.2 RELEASE

2004-02-01 Thread steve
I recently installed 5.2-RELEASE from scratch on another partition in my
windows box.  Being a windows box, I still have my windows sound card.
Hercules Game Theatre XP is my sound card.  At first I was having
crackly sound problems.  I fixed those with a patch I found on the
mailing list.  This effectively turned on the amp in the breakout box
for the sound card.  I'm still having mic problems.  Both before and
after I applied this patch, my microphone was extremely slow.  It slow
the sound down really bad.  I tried using it in TeamSpeak and that's how
I noticed the problem. Everyone was saying that I sounded like jabba the
hut.  So I started doing some investigating.  I've searched the
newsgroups and the lists and can't find a valid patch to fix this.  I
tested it myself by doing "cat /dev/audio > /dev/audio".  Here's what my
dmesg says about pcm.

pcm0:  on csa0
pcm0: 

Does anyone know how to fix this?  Is there a patch that fixes this that
I just haven't found?  Like I said, I've googled the newsgroups, I've
searched the freebsd list archives, and I've even asked in almost every
freebsd channel that I can find on IRC.

Thanks,
steve

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


Re: OT: sed problem

2004-02-01 Thread Daniela
On Sunday 01 February 2004 01:34, Jez Hancock wrote:
> On Sun, Feb 01, 2004 at 01:38:44AM +, Daniela wrote:
> > I was wondering how I can do the following with sed (or another program):
> > 1. Output only the text from the start of the line to the first pipe
> > character 2. Output only the text between the last and the previous pipe
> > character Or, split the line at the pipe characters and assign the parts
> > to different shell variables.
>
> #!/bin/sh
> test="one|two|three"
> set `echo "$test" | sed -e 's/\|/ /g'`
>
> # $1="one", $2="two", $3="three":
> echo $@

This doesn't work when the parts between the pipe characters contain spaces 
themselves.


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


Re: OT: sed problem

2004-02-01 Thread Daniela
On Sunday 01 February 2004 01:27, Robert Barten wrote:
> On Sun, Feb 01, 2004 at 01:38:44AM +, Daniela wrote:
> > I was wondering how I can do the following with sed (or another program):
> > 1. Output only the text from the start of the line to the first pipe
> > character 2. Output only the text between the last and the previous pipe
> > character Or, split the line at the pipe characters and assign the parts
> > to different shell variables.
>
> cat file | awk -F '|' '{print $1}'
>
> you may print $2 $3 $4 ... or NF (number of fields)

Great, thanks.


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


Re: OT: sed problem

2004-02-01 Thread Daniela
On Sunday 01 February 2004 00:58, Marty Landman wrote:
> At 08:38 PM 1/31/2004, Daniela wrote:
> >I was wondering how I can do the following with sed (or another program):
>
> How's Perl, Daniela?
>
> >1. Output only the text from the start of the line to the first pipe
> > character
>
> $out = ($line =~ /^([^\|]+)/);
>
> >2. Output only the text between the last and the previous pipe character
>
> $out = ($line =~ /\|([^\|]+)|/);
>
> >Or, split the line at the pipe characters and assign the parts to
> >different shell variables.
>
> my @ary = split '|', $line;

Looks fine, but does Perl support multi-dimensional arrays?


> These are untested but probably pretty close at least. Sorry, I haven't
> gotten to shell scripting yet so I think in terms of Perl.
>
> Marty Landman   Face 2 Interface Inc 845-679-9387
> This Month's New Quiz --- Past Superbowl Winners
> Make a Website: http://face2interface.com/Home/Demo.shtml

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


Jahshaka

2004-02-01 Thread Vitalis
Hi,

Anyone managed to get it working on FreeBSD (in linux compatibility
mode)?
If so please post the steps you followed (required RPMs and so).

It would be cool to have this award winning sofware on FreeBSD:
http://www.linuxjournal.com/article.php?sid=6868

Thanks

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


Re: 5.2.1 ?

2004-02-01 Thread Lowell Gilbert
Mike Jackson <[EMAIL PROTECTED]> writes:

> 5.2.1-RC1 still gives piles of arp warnings when you use an ADSL router
> in half-bridge mode. I wish I knew of a way to disable this. 

I'm on -STABLE, so I can't be sure of the details for 5.x, but 
"sysctl -a |grep arp" will probably give you a hint.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password "public"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.2.1 ?

2004-02-01 Thread Mike Jackson
ext J.D. Bronson ([EMAIL PROTECTED]) wrote:
> I see there is a 5.2.1-RC1 ISO out already??
> 
> Is there anything that states what the difference is between 5.2 and this?
> 
> I had thought 5.2 JUST came out ??

I was sort of surprised about this as well. I cvsup'ed my sources with
the tag RELENG_5_2 and I noticed when it rebooted that I have an even
newer release :-)

I upgraded from 5.0 RC1, and there were some changes in the sysctl
kernel oids. At least the bridging oids are more fine grained, and
caused one of my boot scripts to fail.

5.2.1-RC1 still gives piles of arp warnings when you use an ADSL router
in half-bridge mode. I wish I knew of a way to disable this. For now, I
did some tuning to syslog and fixed it so that junk only goes to ttyv3
instead of filling up /var.

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


Re: boot.config problem, can't boot

2004-02-01 Thread Sebastian Kutsch
Hi,

On Sun, 1 Feb 2004 14:00:50 +0200
Mike Jackson <[EMAIL PROTECTED]> wrote:

> ext Sebastian Kutsch ([EMAIL PROTECTED]) wrote:
> > Hi,
> > 
> > if you have a bootebel CD-Rom installed you can get a live CD from 
> > http://www.freesbie.org/ and boot with it. then you can mount your
> > root-FS and edit the boot.config file.
> 
> Hey, I looked at that page and that sounds cool. Sort of like the
> Knoppix linux project. Anyhow, the download site for the iso is not
> visible in DNS, at least from my perspective:
> 
> $ host www.willystudios.com
> Host www.willystudios.com not found: 3(NXDOMAIN)
> 

I got the same problem. If you just net a 4.x FreeBSD you can also get a
livecd from  http://livecd.sourceforge.net/.


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


Sebastian

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


5.2.1 ?

2004-02-01 Thread J.D. Bronson
I see there is a 5.2.1-RC1 ISO out already??

Is there anything that states what the difference is between 5.2 and this?

I had thought 5.2 JUST came out ??

Thanks.





--
J.D. Bronson - "LoneBandit"
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Vhost ?

2004-02-01 Thread Mr Kitt
To whom it may concern,
 
HEllo, lately i have 20 ips, i would like to know the way of making vhosts & dns for 
them? pls help. thanks a lot...



Regards,

ck ;-)

 


-
BT Yahoo! Broadband - Free modem offer, sign up online today and save £80
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PORTS: What is "Makefile broken" ?

2004-02-01 Thread Lowell Gilbert
Payam <[EMAIL PROTECTED]> writes:

> Whenever I do a "cvsup ports-supfile" followed by a "portupgrade -a"
> some ports fail (Makefile broken, install error, unknown error) and
> then some of their dependants aren't built because of it.
> 
> Here is an example of a "Makefile broken"
> =
> angela root # cd /usr/ports/graphics/libexif
> angela libexif # make
> "/usr/ports/Mk/bsd.port.mk", line 2028: warning: String comparison
> operator should be either == or !=
> "/usr/ports/Mk/bsd.port.mk", line 2028: Malformed conditional
> (${PKGINSTALLVER} < 20030417)
> "/usr/ports/Mk/bsd.port.mk", line 2028: Need an operator
> "/usr/ports/Mk/bsd.port.mk", line 4982: if-less endif
> "/usr/ports/Mk/bsd.port.mk", line 4982: Need an operator
> make: fatal errors encountered -- cannot continue
> angela libexif #
> =
> 
> There is apparently a problem with the Mk/bsd.port.mk file !!

Apparently.

> Is there something I'm missing here? This happens with a lot of ports.

Are you using a refuse file with cvsup?

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


Re: about logo (The Beasdie question)

2004-02-01 Thread Peter Ulrich Kruppa
On Sat, 31 Jan 2004, Mark Terribile wrote:

> Bubble Gum <[EMAIL PROTECTED]> wrote:
>
> >> I just want to ask (i'm sorry if it's a silly question),why freebsd
> >> logo use "devil" character?
>
> Answered by Paul A. Hoadley and Peter Ulrich Kruppa:
> >It's not a devil.  It's a daemon.
>   ===
> > 1) It isn't a devil but a small daemon, ... programs called daemons,  ...
> > 2) [It's] name is beastie, ... a quasihomophone to BSD ...
> > 3) On http://www.freebsdmall.com you can buy Tee-shirts, ...
>
> As a recent member of OOOF (The Organization of Obsolete Old Fogies) I was
> there (well, nearby) when it happened.
> [...]
> Backstory on `demon/daemon': In pre-Christian (ie. Greek) thinking, a
> daemon was a spirit, neither angelic nor diabolical, which took care of
> something, someone, or someplace.  (This was education by osmosis, so feel
> free to correct me.)  In Plato's _The Death of Socrates_ (or _Last Days of
> Socrates_, or ...)
"Apologia"
>you can read Socrates speculation on the hereafter, and
> of a guide spirit that he expects will be there to greet him.
Dualism was Plato's fundamental or general view of the
world. The idea to reduce this view to the dualism of good and
evil seems to come from Zarathustra (Zoroaster) who
lived sometime between 1000 and 500 a.C. .
This thought was picked up by another Persian called Mani (around
250 p.C.) and integrated into the christian religion to prevent a
schisma ... and this is all a terrible simplification.

> As to the name: it's my speculation that, when Christianity
> came along, the world got divided into the divine and angelic
> .vs. the diabolical, with us in the middle, and anything that
> was neither divine nor angelic nor human had to be diabolical.
> So over time, and probably through forgetting and rediscovery
> of the word, the helpful or friendly or simply neutral daemon
> became the demon.
I am afraid it was always a principle of religious mission to
make all kinds of local gods and daemons personifications of the
evil (--> Baal, Lucifer, Pan).

>
> I don't know if Ritchie or Thompson were the first to use the name for a
> computer service.  It seems likely that at least one of them was overeducated.
>
> So no, there is nothing diabolical about FreeBSD, unlike a certain `32 bit
> extension to a 16 bit kluge on an eight-bit operating system for a four-bit
> microprocessor written by a two-bit company that can't stand one bit of
> competition.'
>
> May we never forget the ``story'' in History.
My favourite literaric extension of this theme is found in Marcel
Proust's "A la Recherche du Temps Perdu" .

Uli.

P.S.:   Please ignore this OT. I am just hanging around at home
with some kind of Influenza.

>
>  Mark Terribile


+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: boot.config problem, can't boot

2004-02-01 Thread Mike Jackson
ext Sebastian Kutsch ([EMAIL PROTECTED]) wrote:
> Hi,
> 
> if you have a bootebel CD-Rom installed you can get a live CD from 
> http://www.freesbie.org/ and boot with it. then you can mount your
> root-FS and edit the boot.config file.

Hey, I looked at that page and that sounds cool. Sort of like the
Knoppix linux project. Anyhow, the download site for the iso is not
visible in DNS, at least from my perspective:

$ host www.willystudios.com
Host www.willystudios.com not found: 3(NXDOMAIN)

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


Re: toor & root

2004-02-01 Thread Mike Jackson
ext Markus Kovero ([EMAIL PROTECTED]) wrote:
> Toor is for security paranoid people? Dunno, its way to get more secure from
> most "script kiddie"-r00t-kit things. Does it btw have superuser id?

The "toor" user is nothing more than a backup root account, in case your
"root" account happens to get locked out for some odd reason. The "toor"
user does not have a password by default, and is thus a disabled
account. I normally add my own "root user" account, which serves the
same purpose but helps auditing because that username appears in
logfiles instead of "root" or "toor".

The best way to protect against somebody trying to remotely hack root,
other than the obvious of turning off unneeded services, is to disable
remote root logins. Then to get root, you have to first login as a
normal user and then su to root. Disable remote root logins in
/etc/ttys by setting terminals to insecure.

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


Re: boot.config problem, can't boot

2004-02-01 Thread Sebastian Kutsch
Hi,

if you have a bootebel CD-Rom installed you can get a live CD from 
http://www.freesbie.org/ and boot with it. then you can mount your
root-FS and edit the boot.config file.

Sebastian


On Sun, 1 Feb 2004 13:06:04 +0200
Mike Jackson <[EMAIL PROTECTED]> wrote:

> Hi,
>  I was doing some work on my gateway and decided to tighten up the
> security a bit...
> 
>  In essence, I had "-h" in /boot.config, but I commented it out
>  (because
> I thought that somehow comments would be understood). So, now I have
> "#-h" in /boot.config, which by the way I set the immutable flag on
> according to one unofficial HOWTO I was reading. BTW, the comment in
> the/boot.config was not part of that HOWTO. It was my own lack of
> understanding about how that file is parsed during boot. Yes, I feel
> stupid, but I'm also wondering why the file can't include a comment. I
> think that this a bug.
> 
>  And then I rebooted for some other reason. And now, I can't get past
> the boot: prompt. The #-h is not understood and I can't override it.
> 
>  There are some changes to files which are on that box that I'd like
>  to
> keep, which have been made since the last backup. Is there any way to
> recover from this situation, or is it "re-install" time?
> 
> Thanks,
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: toor & root

2004-02-01 Thread Matthew Seaman
On Sun, Feb 01, 2004 at 12:19:28PM +0100, nypix wrote:
> Hi, i have a little question about toor superuser.
> Which are the differences between the superuser toor and root?
> Excuse me for my bad English.

toor has a different shell to root, and doesn't belong to all of the
same groups that root does.  Those are the only differences.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


RE: toor & root

2004-02-01 Thread Markus Kovero
Toor is for security paranoid people? Dunno, its way to get more secure from
most "script kiddie"-r00t-kit things. Does it btw have superuser id?

Markus Kovero

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of nypix
Sent: 1. helmikuuta 2004 13:19
To: [EMAIL PROTECTED]
Subject: toor & root

Hi, i have a little question about toor superuser.
Which are the differences between the superuser toor and root?
Excuse me for my bad English.
Thanks a lot.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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


  1   2   >