Where does NIC driver lies in freebsd kernel ?

2003-12-25 Thread manish gautam
Hello Sir !
 
Sir i facing some silly problems , problems are ::
 
1.  Where does source code of NIC driver lies on my freebsd 4.7 kernel ?
 
2.  Can you please provide me some examples of implementing netgraph
 nodes ( if possible send some helpful links also )
 
Please reply soon...
 
best regards
 
manish

Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Packages with older dependencies

2003-12-25 Thread Kris Kennaway
On Thu, Dec 25, 2003 at 08:43:30AM -0500, Trey Sizemore wrote:

> I assume i can force the install with the -f flag, but I wanted to know
> if there are any ramifications to doing this on future updates or to
> future program installs?

You don't have to force anything because they're warnings, not errors.
The possible ramification is that the software may not work if it
requires a feature or bug fix that is not present in the older
versions you have installed.

>  What is the easiest way to install gaim (or any
> program for that matter) when a situation such as this arises?  What
> would have happened if I attemted the install via ports instead?

Use portupgrade to update your ports in dependency order.  YOu can
still use the packages if you like.

Kris


pgp0.pgp
Description: PGP signature


Re: I can't install FreeBSD5.0 or FreeBSD5.1R on Dual Computer ....

2003-12-25 Thread anubis
On Fri, 26 Dec 2003 12:45 am, Vahric MUHTARYAN wrote:
> Hi Everybody ,
>
>
>   I can't install FreeBSD on my Dual Computer ..
>
>   When I boot the computer for install FreeBSD from 5.0 CD it stopped
> on TimeCounter "ACPI-SAFE" frequency 3579545  line ...
>
>   After That I try to install from 5.1 CD it stopped on same line ...
>
>
>   But I can install FreeBSD 4.9 without problem 
>
>   I'm using DUAL PIII 933 CPU and INTEL Server BOARD  I tested it
> with DUAL INTEL 1.0B too
>
>
>   Thanks ...
>   Vahric MUHTARYAN
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"





Have a look at the release notes for 5.x.  Here are the english ones
http://www.freebsd.org/releases/5.1R/hardware-i386.html

Here is the bit I think may be of use to you.  It may not be the answer but it 
may help.

Most modern laptops (as well as many desktops) use the Advanced Configuration 
and Power Management (ACPI) standard. FreeBSD supports ACPI via the ACPI 
Component Architecture reference implementation from Intel, as described in 
the acpi(4) manual page. The use of ACPI causes instabilities on some 
machines and it may be necessary to disable the ACPI driver, which is 
normally loaded via a kernel module. This may be accomplished by adding the 
following line to /boot/device.hints:


hint.acpi.0.disabled="1"


Users debugging ACPI-related problems may find it useful to disable portions 
of the ACPI functionality. The acpi(4) manual page has more information on 
how to do this via loader tunables.


ACPI depends on a Differentiated System Descriptor Table (DSDT) provided by 
each machine's BIOS. Some machines have bad or incomplete DSDTs, which 
prevents ACPI from functioning correctly. Replacement DSDTs for some machines 
can be found at the DSDT section of the ACPI4Linux project Web site. FreeBSD 
can use these DSDTs to override the DSDT provided by the BIOS; see the 
acpi(4) manual page for more information.

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


Re: X setup on new install fails

2003-12-25 Thread Chip Wiegand
Strangest thing, even though X failed during the initial setup during 
the initial install of 5.1, after booting into BSD I decided to try a 
startx anyway, and guess what - it works! What a deal!
--
Chip

Chip Wiegand wrote:

I am trying to install 5.1 and it installs fine until I try to set up 
X. I know the exact video card and monitor details, the video card is 
even on the list of drivers - Cirrus Logic GLGD5446. No matter what I 
choose in the setup screens it always fails. Is there something wrong 
with the X setup on the 5.1 release cds?
Thanks
Chip

___
[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: FreeBSD 4.9 Can't find second CPU ...

2003-12-25 Thread anubis

> Dec 25 20:30:33 freebsdcgp /kernel: SMP: AP CPU #1 Launched!
The second cpu is going as stated above as opposed to the first cpu #0



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


X setup on new install fails

2003-12-25 Thread Chip Wiegand
I am trying to install 5.1 and it installs fine until I try to set up X. 
I know the exact video card and monitor details, the video card is even 
on the list of drivers - Cirrus Logic GLGD5446. No matter what I choose 
in the setup screens it always fails. Is there something wrong with the 
X setup on the 5.1 release cds?
Thanks
Chip

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


Re: Using maildrop from sendmail aliases file

2003-12-25 Thread W. Sierke
"W. Sierke" wrote:
> I am attempting to configure sendmail to pass mail addressed to a
particular
> domain to maildrop.
...
> I've added the following to the sendmail configuration:
>
> in /etc/mail/virtusertable
> ...
> @second.domain.tldsecond-domain-tld
>
>
> and in /etc/mail/aliases
> ...
> second-domain-tld:"| /usr/local/bin/maildrop -d [EMAIL PROTECTED]"
>
> It looks as though it's ready to work except for this in /var/log/maillog:
> ...
> Dec 25 17:05:19 maildrop[75657]: Cannot set my user or group id.
>
>
> Presumably this is because maildrop wants to set itself to run as
user:vmail
> and the existing setup I have works as-is because getmail (which calls
> maildrop) is configured to run as user:vmail in /etc/crontab.

More guessing (as I'm still not clear on the specifics of what is
failing)...

Is sendmail running as user:smmsp when it's calling maildrop? That would
explain why maildrop isn't able to change itself to user:vmail, no? Should
setting the setuid bit circumvent this? When I try that I get:

Dec 26 15:08:20 maildrop[93442]: You are not a trusted user.

where I guess "You" = smmsp?

If this is the case, then it must be a problem for any program run from
/etc/mail/aliases, is this just too hard to do on a default FreeBSD? Still
out of my depth here but learning a bit more. :)


Wayne

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


[no subject]

2003-12-25 Thread sARah
hey, i'd like to ask.. how do i make the ip's for Mirc cuz i've bEen noticing that 
quite a number of the chatters using the ip from freebsd.com.. hope u can tell me how 
to do it? thanks

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


Re: Using maildrop from sendmail aliases file

2003-12-25 Thread W. Sierke

"W. Sierke" wrote:
> I am attempting to configure sendmail to pass mail addressed to a
particular
> domain to maildrop.
...
> I've added the following to the sendmail configuration:
>
> in /etc/mail/virtusertable
> ...
> @second.domain.tldsecond-domain-tld
>
>
> and in /etc/mail/aliases
> ...
> second-domain-tld:"| /usr/local/bin/maildrop -d [EMAIL PROTECTED]"
>
> It looks as though it's ready to work except for this in /var/log/maillog:
> ...
> Dec 25 17:05:19 maildrop[75657]: Cannot set my user or group id.
>
>
> Presumably this is because maildrop wants to set itself to run as
user:vmail
> and the existing setup I have works as-is because getmail (which calls
> maildrop) is configured to run as user:vmail in /etc/crontab.

More guessing (as I'm still not clear on the specifics of what is
failing)...

Is sendmail running as user:smmsp when it's calling maildrop? That would
explain why maildrop isn't able to change itself to user:vmail, no? Should
setting the setuid bit circumvent this? When I try that I get:

Dec 26 15:08:20 maildrop[93442]: You are not a trusted user.

where I guess "You" = smmsp?

If this is the case, then it must be a problem for any program run from
/etc/mail/aliases, is this just too hard to do on a default FreeBSD? Still
out of my depth here but learning a bit more. :)


Wayne

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


Re: FreeBSD 4.9 Can't find second CPU ...

2003-12-25 Thread Micheal Patterson

(B- Original Message - 
(BFrom: "horio shoichi" <[EMAIL PROTECTED]>
(BTo: "Vahric MUHTARYAN" <[EMAIL PROTECTED]>
(BCc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
(BSent: Thursday, December 25, 2003 7:32 PM
(BSubject: Re: FreeBSD 4.9 Can't find second CPU ...
(B
(B
(B> On Thu, 25 Dec 2003 18:54:26 +0200
(B> "Vahric MUHTARYAN" <[EMAIL PROTECTED]> wrote:
(B> > Hi ,
(B> >
(B> > I checked LINT it said that I have to disabke I386 AND I486 from
(B> > kernel .. I marked those values from GENERIC and LINT too and recompile
(Bit .
(B> >
(B> > But I can't see any changes 
(B> >
(B> > Then I checked my messages file 
(B> >
(B> >
(B> > Dec 25 20:30:33 freebsdcgp /kernel: FreeBSD/SMP: Multiprocessor
(Bmotherboard:
(B> > 2 CPUs
(B> > Dec 25 20:30:33 freebsdcgp /kernel: cpu0 (BSP): apic id:  3, version:
(B> > 0x00040011, at 0xfee0
(B> > Dec 25 20:30:33 freebsdcgp /kernel: cpu1 (AP):  apic id:  0, version:
(B> > 0x00040011, at 0xfee0
(B> > Dec 25 20:30:33 freebsdcgp /kernel: io0 (APIC): apic id:  4, version:
(B> > 0x000f0011, at 0xfec0
(B> > Dec 25 20:30:33 freebsdcgp /kernel: io1 (APIC): apic id:  5, version:
(B> > 0x000f0011, at 0xfec01000
(B> >
(B> > Dec 25 20:30:33 freebsdcgp /kernel: SMP: AP CPU #1 Launched!
(B> >
(B> > And this is my sysctl out 
(B> >
(B> > freebsdcgp# sysctl hw.ncpu
(B> > hw.ncpu: 2
(B> >
(B> >
(B> > But when I run top utulity there is only one CPU there ..
(B> >
(B> > Now I will try cvsup RELENG_4 ... Maybe I can handle it ...
(B> > Does anybody have advise ?!
(B> >
(B> > Vahri__...
(B> >
(B
(BTop on a Dual CPU system looks like this:
(B
(Blast pid: 97678;  load averages:  0.00,  0.07,  0.06up
(B13+13:04:44  21:40:15
(B62 processes:  1 running, 61 sleeping
(BCPU states:  0.2% user,  0.0% nice,  0.4% system,  0.4% interrupt, 99.0%
(Bidle
(BMem: 126M Active, 528M Inact, 138M Wired, 46M Cache, 112M Buf, 165M Free
(BSwap: 2048M Total, 140K Used, 2048M Free
(B
(BPID  USERNAME  PRI NICE  SIZERES STATE  C   TIME   WCPUCPU
(BCOMMAND
(B2594 mailman  2   0  7032K  5680K poll   1   3:20  0.00%  0.00%
(Bpython
(B2590 mailman  2   0  7044K  5684K poll   0   3:13  0.00%  0.00%
(Bpython
(B
(BThere will be a 0 or 1 in the C column. That indicates the CPU the process
(Bis on. The "CPU states" is a combination of both cpu's if I recall
(Bcorrectly. Also, if you watch your STATE column while running Top, you can
(Bsee after some time that Top is handed back and forth between the CPU's.  In
(Bthe above list, I have one mailman process running on cpu0 and one on cpu1.
(B
(B--
(B
(BMicheal Patterson
(BNetwork Administration
(BTSG Incorporated
(B405-917-0600
(B
(B___
(B[EMAIL PROTECTED] mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

Fixing an Assimilated MBR?

2003-12-25 Thread Ryan Sommers
Is there an "official" way to fix an MBR that has been overwritten such
that there is still a valid partition table and valid MBR, but not the
one you want?

Like usual upon inserting a Windows CD and booting off it my MBR was
changed to that of the operating system for the CD; leaving me unable to
get to the fancy FreeBSD boot loader I've come to love.

I was able to rig it back by going into the custom installation option
and just setting a drive as active and choosing to reload the MBR.
However, it isn't readily apparent that this is what is happening as
sysinstall will then complain about different things before rewriting
the MBR/partition table. However, it does work...

It would be nice if there was an option in the Custom menu to just
analyze the partition table and allow the user to chooce to (re)install
the boot manager; without being prompted to label.

-- 
Ryan "leadZERO" Sommers
Gamer's Impact President
[EMAIL PROTECTED]
ICQ: 1019590
AIM/MSN: leadZERO

-= http://www.gamersimpact.com =-


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


wine and game support.

2003-12-25 Thread Jason
High all, I would just like to know if anyone has wine installed and can 
play shadowbane and some blizzard games.  I'm trying to quit dual 
booting(and crashing in win98).  I can't find any info anywhere on 
shadowbane, but I read where starcraft works well, but has no fonts on 
bnet.  Any info on these games and warcraft3 would be appreciated.
Jason
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: need learning direction suggestions on using editors

2003-12-25 Thread Lowell Gilbert
"Zhang Weiwu" <[EMAIL PROTECTED]> writes:

> Should I advance to vim right now or emacs, or is it that I didn't dig
> into vi deep enough to release its full power? I wonder how many
> programmers are still using 4BSD vi (compare to enchanced vi's)? Maybe
> none? Maybe many?

The vi in FreeBSD's base system is not derived from the original 
UC Berkeley distributions.  It is actually nvi.  [I don't know whether
you care about this distinction, but it seemed possible...]

-- 
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: FreeBSD 4.9 Can't find second CPU ...

2003-12-25 Thread horio shoichi
On Thu, 25 Dec 2003 18:54:26 +0200
(B"Vahric MUHTARYAN" <[EMAIL PROTECTED]> wrote:
(B> Hi , 
(B> 
(B>   I checked LINT it said that I have to disabke I386 AND I486 from
(B> kernel .. I marked those values from GENERIC and LINT too and recompile it .
(B> 
(B> But I can't see any changes  
(B> 
(B> Then I checked my messages file  
(B> 
(B> 
(B> Dec 25 20:30:33 freebsdcgp /kernel: FreeBSD/SMP: Multiprocessor motherboard:
(B> 2 CPUs
(B> Dec 25 20:30:33 freebsdcgp /kernel: cpu0 (BSP): apic id:  3, version:
(B> 0x00040011, at 0xfee0
(B> Dec 25 20:30:33 freebsdcgp /kernel: cpu1 (AP):  apic id:  0, version:
(B> 0x00040011, at 0xfee0
(B> Dec 25 20:30:33 freebsdcgp /kernel: io0 (APIC): apic id:  4, version:
(B> 0x000f0011, at 0xfec0
(B> Dec 25 20:30:33 freebsdcgp /kernel: io1 (APIC): apic id:  5, version:
(B> 0x000f0011, at 0xfec01000
(B> 
(B> Dec 25 20:30:33 freebsdcgp /kernel: SMP: AP CPU #1 Launched!
(B> 
(B> And this is my sysctl out  
(B> 
(B> freebsdcgp# sysctl hw.ncpu
(B> hw.ncpu: 2
(B> 
(B> 
(B> But when I run top utulity there is only one CPU there .. 
(B> 
(B> Now I will try cvsup RELENG_4 ... Maybe I can handle it ... 
(B> Does anybody have advise ?! 
(B> 
(B> Vahri__... 
(B> 
(B> 
(B> 
(B> -Original Message-
(B> From: [EMAIL PROTECTED]
(B> [mailto:[EMAIL PROTECTED] On Behalf Of fbsd_user
(B> Sent: Thursday, December 25, 2003 5:28 PM
(B> To: Vahric MUHTARYAN; [EMAIL PROTECTED]
(B> Subject: RE: FreeBSD 4.9 Can't find second CPU ...
(B> 
(B> Answer to your ? 1.  98% of FBSD users do not have 2 cpu
(B> motherboards so default GENERIC kernel is configured for them and
(B> not for you.
(B> 
(B> Answer to your ? 2.  Read through the LINT kernel source to see if
(B> you missed some other kernel option needed to enable the kind of  2
(B> cpu motherboard you have.
(B> 
(B> 
(B> 
(B> -Original Message-
(B> From: [EMAIL PROTECTED]
(B> [mailto:[EMAIL PROTECTED] Behalf Of Vahric
(B> MUHTARYAN
(B> Sent: Thursday, December 25, 2003 10:18 AM
(B> To: [EMAIL PROTECTED]
(B> Subject: FreeBSD 4.9 Can't find second CPU ...
(B> 
(B> Hi Everybody ,
(B> 
(B> I have two question about SMP .
(B> 
(B> First Why FreeBSD is installing OS with single Cpu default
(B> ?!! Why
(B> it can't enable SMP support at installation time ?!
(B> 
(B> Second when I compile kernel with SMP Support FreeBSD 4.9
(B> can find
(B> second CPU ?! What do I have to check why it can't find it ?!
(B> 
(B> I'm using DUAL PIII 933 CPU and INTEL Server BOARD  I tested it
(B> with
(B> DUAL INTEL 1.0B too
(B> 
(B> 
(B> Vahric
(B> 
(B> 
(B> 
(B> 
(B> ___
(B> [EMAIL PROTECTED] mailing list
(B> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
(B> To unsubscribe, send any mail to
(B> "[EMAIL PROTECTED]"
(B> 
(B> ___
(B> [EMAIL PROTECTED] mailing list
(B> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
(B> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
(B> 
(B> ___
(B> [EMAIL PROTECTED] mailing list
(B> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
(B> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
(B> 
(BYou seem to have missed the remaining, Mandatory, lines in LINT...
(B
(B# SMP OPTIONS:
(B#
(B# SMP enables building of a Symmetric MultiProcessor Kernel.
(B# APIC_IO enables the use of the IO APIC for Symmetric I/O.
(B#
(B# Notes:
(B# 
(B#  An SMP kernel will ONLY run on an Intel MP spec. qualified motherboard.
(B#
(B#  Be sure to disable 'cpu I386_CPU' && 'cpu I486_CPU' for SMP kernels.
(B# 
(B#  Check the 'Rogue SMP hardware' section to see if additional options
(B#   are required by your hardware.
(B# 
(B
(B# Mandatory:
(Boptions SMP # Symmetric MultiProcessor Kernel
(Boptions APIC_IO # Symmetric (APIC) I/O
(B
(B
(B
(BThere are other such as ACPI if you want to try.
(B
(B
(B
(Bhorio shoichi
(B
(B___
(B[EMAIL PROTECTED] mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: SENDMAIL....

2003-12-25 Thread Lowell Gilbert
"Vahric MUHTARYAN" <[EMAIL PROTECTED]> writes:

>   I want to stop SENDMAIL and I configure SENDMAIL option NO in
> rc.conf but it's still running ... Does another startup script than rc.conf
> to stop SENDMAIL ... 

According to the manual, 
sendmail_enable
 (str) If set to ``YES'', run the sendmail(8) daemon at system
 boot time.  If set to ``NONE'', do not run any sendmail(8) dae-
 mons at system boot time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Swapped disks and now stuck in the mountroot> prompt

2003-12-25 Thread Alexander Farber
Hi,

I've installed FreeBSD 4.9 via FTP on my T22-laptop
while having the hard disk as my first disk on it
and then I had to put that disk into the ultrabay
and thus have made it the second disk.

I know, that all I have to do is probably to edit
the /etc/fstab but I can't get there - I'm stuck
at the mountroot> prompt. I've tried all the possible
combinations including the one which I'd expected
to be correct: "ufs:/dev/ad2s1a" but they all fail
with "Root mount failed: 22".

The "?" at the mountroot> prompt does show "ad" device.

And the lines in the grub/conf on the 1st hard drive
which I use to load that 2nd hard drive look like:

title FreeBSD
root (hd1,0,a)
kernel /boot/loader

title OpenBSD
root (hd1,1,a)
chainloader +1

(The OpenBSD has worked already - I had booted /bsd.rd, 
mounted the / and edited the /etc/fstab).

I couldn't find the answer in the Handbook or on Google
yet... Any help? Thank you

Alex

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


Wire down PATA/SATA devices?

2003-12-25 Thread BSD user

I've recently installed a new machine with FreeBSD 5.2-RC2.  This box is
equipped with removable drive trays, a Promise SATA RAID controller, and
PATA/SATA controllers on the motherboard.

ATA_STATIC_ID is enabled in the kernel so that disks names don't flip
around when I remove a drive or insert another drive.

I have the boot drive plugged into the first SATA port, but the default
ordering is such that it ends up being labeled "ad12" on ata6, atapci2.

Or basically, the default ordering is:

  Motherboard PATA, atapci1:
- ata0 > ad0, ad1
- ata1 > ad2, ad3

  Promise RAID, atapci0:
- ata2 > ad4, ad5
- ata3 > ad6, ad7
- ata4 > ad8, ad9
- ata5 > ad10, ad11

  Motherboard SATA, atapci2:
- ata6 > ad12, ad13
- ata7 > ad14, ad15

I want the boot drive on the SATA port to be "ad0", but I haven't had any
success trying to name it that way in /boot/device.hints, probably because
the syntax for the example given for legacy PATA doesn't apply to SATA or
the RAID card.

How do I wire down each disk channel to the "adX" name I prefer?  That's
all that really matters, but I'd also like to know how to wire down the
order of the atapci and ata devices, if that's possible?

Thanks,

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


Re: Messed up vinum volumes

2003-12-25 Thread Greg 'groggy' Lehey
On Wednesday, 24 December 2003 at 13:40:17 +0100, [EMAIL PROTECTED] wrote:
> Well, I realy need help with this ...
>
> I had 2 volumes on my system. I have two identical 30Gb
> hard disk, I made one 25G, and a 3G partiton both, and
> created a 25G mirror volume, and a 6Gig concatenated
> volume (used as /usr) from these with vinum. It has
> operated very vell, since I wanted to install additional
> 2 drives (both identical 80G) but they already had data
> on them (they were being operational in another machine as 2x80G
> stripeset). Problem was .. I think .., that both the new
> volumeset (2x80), and the old concatenated (2x3) were
> being used under the same name : vol (/dev/vinum/vol).
> Furthermore I have a small partition used as root partition
> /dev/ad0sa1 128Mb on the original system, and
> the /dev/ad2sa1 128Mb used as swap, so the rest
> went for the vinum volumes.
>
> When I added the 2 piece of 80G drive and started
> the system with 4 physical drives in it, I got an
> error, that all volumes except root partition has
> errors, and kicked back to single user mode.

At this point, it was still possible to save the data.

> I fsck-ed the mirror volume (I guess it was wrong :( but maybe not
> ... I only had one question, and said yes to salvage)

That could be OK.  It's difficult to say now.

> After that I wanted to check usr and got IO error. It come to my
> mind that the old and new volumes may have the same name, so I have
> removed the 2 \"new\" drives, and had a quick look on vinum list
> after started with the original 2 drives only and realized the
> following :
>
> 4 drives
> D d1state: up   /dev/ad0s1d A:3007/3008MB 100%
> D d3state: up   /dev/ad0s1e A:25428/25429MB 100%
>
> D d2state: up   /dev/ad2s1d A:3007/3008MB 100%
> D d4state: up   /dev/ad2s1e A:0/25429MB 0%

You shouldn't have more than one drive per spindle.

> D vinumdrive0 state:referenced  A:0/0MB
> D vinumdrive1 state:referenced  A:0/0MB
> D *invalid*   state:referenced  A:0/0MB

These last ones are hopefully the drive names of the drives you
removed.

> 2 volumes
> V vol   state: down Plexes: 1   Size: 149Gb
> V mirrorstate: down Plexes: 2   Size:  24Gb
>
> 3 plexes
> P vol.p0S state: faulty Subdisks: 2 Size: 149G
> P mirror.p0 C state: faulty Subdisks: 1 Size:  24G
> P mirorr.p1 C state: faulty Subdisks: 1 Size:  24G
>
> 4 subdisks
> S vol.p0.s0 state: crashed  D: vinumdrive0 Size: 74GB
> S vol.p0.s1 state: crashed  D: vinumdrive1 Size: 74Gb
> S mirror.p0.s0  state: crashed  D: *invalid*   Size: 24Gb
> S mirror.p1.s0  state: staleD: d4  Size: 24Gb

Hmm.  It looks as if you have saved the configuration for the new
drives on the old drives.

> So vol seems to be complettly wrong, since it can not be containing
> 74Gb subdisks, since the whole physical disk is 30Gb only. Mirror
> subdisks size is ok, but mirror is out of sync no doubt, but I have
> absolutly no exeperience, whith such a situation, so a more
> experienced, please help.

Your best hope is to find the original configuration file you used to
create the subdisks on the disks you still have.  If you can do that
and apply them, you may be able to save the situation.  Alternatively,
if you've made the mistake of putting only one subdisk per drive, and
you can remember which had what, you may be able to recreate the
configuration file like that.

I'll do some thinking about how to stop this kind of problem happening
again.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


RE: How to find package name

2003-12-25 Thread fbsd_user
Nope, sorry that will only get the name of installed ports and
packages on your system.

May be the readers missed the -r flag which means to fetch package
from the FBSD FTP site.

The FBSD online web site provides two aides to help in finding
names.

An category index with search capability into the ports collection

http://www.freebsd.org/ports/index.html


And the alphabetic list in port name order

http://www.freebsd.org/ports/master-index.html

After finding candidate, click on port download button and there is
the real name of the port minus the suffix file Extentions. Every
entry in the port system has one of these.

Small percent have package download button also, which does return
the package name minus the suffix file Extentions. Using interactive
FTP looking at the package/latest directory it's very easy to see
that most ports also have packages.

What is the sure fire way using the above web site tools to find the
package names?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jonathan T.
Sage
Sent: Thursday, December 25, 2003 6:20 PM
To: [EMAIL PROTECTED]
Subject: Re: How to find package name


fbsd_user wrote:

> What is the sure fired way to get the correct spelling  of the
> package name to use with pkg_add -r  command?
>
pkg_info | grep start.of.package.name

i.e.

# pkg_info | grep emacs
xemacs-21.4.14  This port tracks the...
xemacs-packages-10.0 Basic...

*snips not included*

hope this helps, happy holidays ~j


--
Jonathan T. Sage
Lighting & Scenic Design
Professional Web Design
[HTTP://www.theatre.msu.edu]
[EMAIL PROTECTED]
[PGP: 182C CF3F 93A9 1DAA 2EBE  D4D5 A159 96D9 452E A7F1]


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


Re: How to find package name

2003-12-25 Thread Jonathan T. Sage
Jonathan T. Sage wrote:

fbsd_user wrote:

What is the sure fired way to get the correct spelling  of the package 
name to use with pkg_add -r  command?

pkg_info | grep start.of.package.name

i.e.

# pkg_info | grep emacs
xemacs-21.4.14  This port tracks the...
xemacs-packages-10.0 Basic...
*snips not included*

hope this helps, happy holidays ~j


of course, had i read the full question, i would have been a little more 
specifc for pkg_add, instead of pkg_delete.  i usually use:

# ftp ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/All/
*blah...*
ftp> ls emacs*
229 Entering Extended Passive Mode (|||62664|)
150 Opening ASCII mode data connection for directory listing.
-rw-r--r--   1 110  root  8556988 Nov 11 11:39 emacs-19.34b.tgz
*snip*
ftp> exit
# pkg_add -r emacs-19.34b.tgz
also, pkg_add -r can take partials.  i.e. pkg_add -r isc-dhcpd3 will 
install the latest isc-dhcpd3 version.

~j

> ls emacs*

--
Jonathan T. Sage
Lighting & Scenic Design
Professional Web Design
[HTTP://www.theatre.msu.edu]
[EMAIL PROTECTED]
[PGP: 182C CF3F 93A9 1DAA 2EBE  D4D5 A159 96D9 452E A7F1]


pgp0.pgp
Description: PGP signature


Re: How to find package name

2003-12-25 Thread Jonathan T. Sage
fbsd_user wrote:

What is the sure fired way to get the correct spelling  of the 
package name to use with pkg_add -r  command?

pkg_info | grep start.of.package.name

i.e.

# pkg_info | grep emacs
xemacs-21.4.14  This port tracks the...
xemacs-packages-10.0 Basic...
*snips not included*

hope this helps, happy holidays ~j

--
Jonathan T. Sage
Lighting & Scenic Design
Professional Web Design
[HTTP://www.theatre.msu.edu]
[EMAIL PROTECTED]
[PGP: 182C CF3F 93A9 1DAA 2EBE  D4D5 A159 96D9 452E A7F1]



pgp0.pgp
Description: PGP signature


How to find package name

2003-12-25 Thread fbsd_user
What is the sure fired way to get the correct spelling  of the 
package name to use with pkg_add -r  command?

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


RE: FTP command question

2003-12-25 Thread fbsd_user
Solved the problem. It had nothing to do with FTP. It was the way I
had DHCP configured.
The FBSD LAN box was signed the last IP address, the one used for
broadcast.
After changing my DHCP config had no problem FTP and Telnet to LAN
FBSD box.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of fbsd_user
Sent: Wednesday, December 24, 2003 2:30 PM
To: Kevin D. Kinsey, DaleCo, S.P.
Cc: [EMAIL PROTECTED] ORG
Subject: RE: FTP command question

Gateway box is ip 10.0.10.2 running FBSD 4.7, intend active with ftp
and telnet enabled.
Have 2 boxes on lan, one win box and one FBSD 4.9 box. Win box can
telnet and ftp to gateway fine.
Lan FBSD 4.9 box has same telnet and ftp config as gateway.
Can see intend running on both FBSD gateway and Lan boxes with ps ax
command.
Can ftp and telnet from Lan FBSD to gateway.
Gateway box gets timed out, can not connect to 10.0.10.7 when trying
to telnet or ftp to LAN box.
Can ping LAN FBSD box ok. No firewall on lan box and gateway
firewall only has rules to pass all on LAN interface.
Lan FBSD box can access public internet. Ran cvsup job to install
some port config files and it worked as expected.

Just do not understand why gateway can not access FBSD lan box using
telnet and ftp and always issues message connection: timed out. I
never get to the point where I am asked for id and password.

Any ideas



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kevin D.
Kinsey, DaleCo, S.P.
Sent: Wednesday, December 24, 2003 2:04 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] ORG
Subject: Re: FTP command question

fbsd_user wrote:

>I have an LAN FBSD box which has  anonymous FTP server installed
>from /stand/sysinstall.
>I an trying to login to it from the FBSD gateway.
>I use this command ftp -av 10.0.10.7 which is the ip address of the
>target FBSD box.
>This just hangs and does nothing. Ctrl + c  exits ftp and returns
>the command prompt.
>
>What is the correct syntax of the ftp command to open a interactive
>ftp session
>with the LAN FBSD box's anonymous FTP sever at ip address
10.0.10.7?
>
>Thanks and Marry Christmas
>
>
>
Try just

$ftp 10.0.10.7

and login as "anonymous".

-v is a default case, IIRC, so there'd
be little difference.  Perhaps you'll
get some further information.

No firewall, ACL's etc. on FTP box?

Kevin Kinsey
DaleCo, S.P.

___
[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]"

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


Re: Procmail + Mutt

2003-12-25 Thread Sven Pfeifer
Hi,

I had the same problem sorting the eMails from
[EMAIL PROTECTED]

Bryan Cassidy <[EMAIL PROTECTED]> wrote:
> I am using FreeBSD 4.8 with Mutt 1.5 and Procmail 3.22 and have setup
> some filters. In my .procmailrc I have the following
> 
> :0: * [EMAIL PROTECTED] FreeBSD_Questions :0: * ^TO_questions
> FreeBSD_Questions
> 
> 
> :0: * .* Default
> 
> And in my .muttrc file I have the following
> 
> subscribe freebsd-questions subscribe freebsd subscribe [EMAIL PROTECTED]
> 
> 
> mailboxes =FreeBSD_Questions
> 
> Sometimes I get e-mail in =Default that are sent to
> '[EMAIL PROTECTED]' why is this?

I examined these eMails and found the following procmail-receipe
work for me:

---8<--
  :0:
  * ^Sender:[EMAIL PROTECTED]
  FreeBSD-Questions
-->8---

Probably you can combine it with your receipe.

HTH

Sven

-- 
Das Leben ist so hart, es sollte ein Job sein. Man sollte Geld dafuer
verdienen, dass man es schafft
--[rand. sig. #24]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Procmail + Mutt

2003-12-25 Thread Gautam Gopalakrishnan
On Thu, Dec 25, 2003 at 03:43:01PM -0600, Bryan Cassidy wrote:
> I am using FreeBSD 4.8 with Mutt 1.5 and Procmail 3.22 and have setup
> some filters. In my .procmailrc I have the following
> 
> :0: * [EMAIL PROTECTED] FreeBSD_Questions :0: *
> ^TO_questions FreeBSD_Questions
> 

That must read:

:0:
* ^(To|C[Cc]):[EMAIL PROTECTED]
freebsd-questions

because sometimes people CC freebsd-questions

hth
Gautam

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


Procmail + Mutt

2003-12-25 Thread Bryan Cassidy
I am using FreeBSD 4.8 with Mutt 1.5 and Procmail 3.22 and have setup
some filters. In my .procmailrc I have the following

:0: * [EMAIL PROTECTED] FreeBSD_Questions :0: * ^TO_questions
FreeBSD_Questions


:0: * .* Default

And in my .muttrc file I have the following

subscribe freebsd-questions subscribe freebsd subscribe [EMAIL PROTECTED]


mailboxes =FreeBSD_Questions

Sometimes I get e-mail in =Default that are sent to
'[EMAIL PROTECTED]' why is this?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


SOLVED! -was Re: How do I disable plip probing on 4.9 install?

2003-12-25 Thread Eric Pogroski
On Thu, 25 Dec 2003 11:27:50 -0500
Eric Pogroski <[EMAIL PROTECTED]> wrote:

> Hi List, (and where/when appropriate, Seasons Greetings!):
> 
> I'm having problems installing 4.9 release on a thinkpad 390x. I can get it
> to boot, but it stalls at this point:
> #
> ppc0:  at port 0x378-0x37f irq 7 on isa0
> ppc0: Generic Chipset (EPP/NIBBLE) in COMPATIBLE MODE
> plip0:  on ppbus0
> #
> and the  machine just hangs, and hangs, for up to an hour before
> I just give in and turn it off. I've had OpenBSD, NetBSD, Linux,
> and Solaris on this machine w/o issues, but would really
> like to install 4.9 (the 5.x stuff does install, but is just too bloated
> to live with another OS on my hard drive.). All of the 4.x install
> Cd's/floppy's that I have (from 4.3 to 4.9) have this same problem.
> 
> Can anyone let me know what the 'magic incantation' is for this,
> or point me in the proper direction?
> 
> Thanks!
> 
> Eric
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Hi all!

I figured it out:
at the inital loader prompt from the cd, during the countdown, 
I tapped the spacebar and passed 'boot -v' to the loader, and
lo and behold, it scooted right by the former hang at plip0.

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


Moving from a single to dual CPU setup

2003-12-25 Thread Gerard Samuel
I acquired a SuperMicro dual slot one board a while ago (http://
www.supermicro.com/PRODUCT/MotherBoards/840/PIIIDME.htm), 
and was running a single PIII 450 in there for about a month.
The system worked great.
I decided to move to using dual processors, so I acquired 2 PIII 667 cpus.
(According to Intel's site, they state it should work in a dual CPU setup).

Now in my mind, Im thinking the process of moving from a single setup to a 
dual setup is ->
1.  Make sure the system runs with one processor.
2.  Install second processor.
3.  Rebuild kernel for SMP operation

For some reason, when I install the second processor, and boot the box,
it hangs at random places during the boot process of FBSD.
If I boot the box (with the 2 cpus installed), and go to the bios screen, it 
will sit there, and not hang.
If I run FBSD with either one of the PIII 667s it will work great.
So my question.
Is there a particular sequence of events that must happen when going to a dual 
CPU setup??

If not, has anyone have any problems with the motherboard that Im using??

Currently using: 4.9-RELEASE-p1

Thanks for your advise..

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


RE: SENDMAIL....

2003-12-25 Thread fbsd_user
You true off sendmail totally in rc.conf  with
sendmail_enable="NONE"

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Vahric
MUHTARYAN
Sent: Thursday, December 25, 2003 12:52 PM
To: [EMAIL PROTECTED]
Subject: SENDMAIL

Hi Everybody ,

I want to stop SENDMAIL and I configure SENDMAIL option NO
in
rc.conf but it's still running ... Does another startup script than
rc.conf
to stop SENDMAIL ...

Or if you say it's piece of the base system  I think I have
to
unmark #NO_SENDMAIL=   true# do not build sendmail and related
programs
.. and make buildworld again ?!

Vahric

___
[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: need learning direction suggestions on using editors

2003-12-25 Thread Chuck Swiger
Zhang Weiwu wrote:
[ ... ]
> Should I advance to vim right now or emacs, or is it that I didn't dig 
> into vi deep enough to release its full power? I wonder how many 
> programmers are still using 4BSD vi (compare to enchanced vi's)? Maybe 
> none? Maybe many?

There are reasonable people who use stock vi.  I happen to prefer Emacs, which
is probably better suited to the requirements you've listed (cc:'ed below).

vi is much lighter-weight in terms of disk space and resource usage, although
my fond(?) memories of a ~100K staticly-linked vi binary are outdated.  :-)

> I know very few about editors other than vi, if I'm going to learn 
> another editor now, I wish I can be using that forever, and I wish the 
> editor have good L10N (esp. Chinese). I do some Java program, php and 
> perl program but not C, and I'd likely to do these kind of program in 
> the coming years, so what is the best editor for my kind?

One might consider:

/usr/ports/chinese/emacs20
/usr/ports/editors/emacs21

> I'd like the editor's style to be accepted by readline so I can use 
> commandline and editor in the same way.

FreeBSD uses GNU readline, which supports both Emacs-style and vi-style
keybindings (RTM "man readline"), so don't worry about it.

-- 
-Chuck

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


Re: Apacer USB Flash drive

2003-12-25 Thread Toomas Aas
Hi!

> Can't mount Apacer USB Flash drive in FreeBSD 4.8. 
> When I do: 
> 
> mount -t msdos /dev/da0s1 /mnt
> 
> I get:
> 
> msdos: /dev/da0s1: Input/output error

When you plug in the drive, is it recognized by the OS? It should print 
some lines to the console and to /var/log/messages.

Also, some USB flash drives seem to be just quirky. I have something 
called Travelling Disk, and attempts to mount it can fail 10 times in a 
row and succeed 11th time (admittedly, this is with a year-old 
4.7-STABLE system). Go figure...

--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Windws is ine for bckgroun comunicaions - Bll Gats, 192

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


SENDMAIL....

2003-12-25 Thread Vahric MUHTARYAN
Hi Everybody , 

I want to stop SENDMAIL and I configure SENDMAIL option NO in
rc.conf but it's still running ... Does another startup script than rc.conf
to stop SENDMAIL ... 

Or if you say it's piece of the base system  I think I have to
unmark #NO_SENDMAIL=   true# do not build sendmail and related programs
.. and make buildworld again ?! 

Vahric  

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


Re: /usr/home directory

2003-12-25 Thread Toomas Aas
> usr comes 
> imo from users and isnt users/home quite logic place?

Doesn't /usr come from Unix(R) System Resources ?
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Atheism is a non-prophet organization.

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


Re: problem with ld-elf.so.1

2003-12-25 Thread Kent Stewart
On Thursday 25 December 2003 08:25 am, [EMAIL PROTECTED] wrote:
> > What ever you do, upgrade portupgrade and its dependancies first. The
> > current
> > version will fix most bad situations that you would have had to delete
> > packages and re-add them before. You may still have to do that because
> > you
> > have a corrupted setup.
>
> Many thanks I think it's improving! The origin of my problem could be
> in the g++ compiler because some portupgrade !reports mention "new
> compiler error". And Qt refuses to install arguing "system/compiler not
> supported" . It sounds strange since I run 4.9-release.

Which Qt are you trying to install? Qt-3.2.3 installed just fine on my 
systems. If Qt isn't installing, it sounds like you may have an old version 
of X-Windows. Paste the error messages and a pkg_info listing of your ports. 
I think someone will then have a better chance of understanding what the 
problem is.

>
> My g++ version is 2.95.4 20020320 is it the latest ?

Yes, on 4.x. I think they are running 3.3 on 5.x. I can't be specific because 
I am doing some work on a web page on the machine that dual boots XP/FreeBSD 
5.2-current.

>
> How can I upgrade it or change the version?

I don't really think you need to at this point. The messages may mean 
something else.

>
> Thank you again for your answers to my questions.
>

No problem. I was/(still am) hard pressed to figure out a simple solution. I 
think most computer problems can be solved using the surgical scalpel 
approach and slashing away with a broad sword is totally alien to my nature. 
Unfortunately, there are times when you just have to stop, clean things out, 
and start over to get a clean, simple solution.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


RE: top -- and dual cpu quesitons ...

2003-12-25 Thread Vahric MUHTARYAN
Ok .. 
I expecting to see two processor. Because in Linux and SCO I can see two CPU
output  like this ... 

7:22pm  up 8 days, 23:32,  1 user,  load average: 0.01, 0.02, 0.00
180 processes: 179 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle
CPU1 states:  0.0% user, 10.0% system,  0.0% nice, 89.0% idle
Mem:  2064624K av, 1679408K used,  385216K free,   0K shrd,  215176K
buff
Swap: 2040244K av,  84K used, 2040160K free 1189152K
cached

:) 
Vahriç 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Erik Trulsson
Sent: Thursday, December 25, 2003 7:19 PM
To: Vahric MUHTARYAN
Cc: [EMAIL PROTECTED]
Subject: Re: top -- and dual cpu quesitons ...

On Thu, Dec 25, 2003 at 07:04:30PM +0200, Vahric MUHTARYAN wrote:
> Hi , 
> 
>   I'm using FreeBSD 4.9 . Does top utility have problem about showing
> dual CPU output ... But I can see CPU0 AND CPU1 on STATE column  When
I
> make something for example compiling something ... !?!! 

What were you expecting top(1) to show?
If it shows both CPU0 and CPU1 in the STATE column, then SMP support
seems to work as it is supposed to.
I.e. I believe the problem is with your expectations rather than the
system.


-- 

Erik Trulsson
[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: top -- and dual cpu quesitons ...

2003-12-25 Thread Micheal Patterson


- Original Message - 
From: "Vahric MUHTARYAN" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 25, 2003 11:04 AM
Subject: top -- and dual cpu quesitons ...


> Hi ,
>
> I'm using FreeBSD 4.9 . Does top utility have problem about showing
> dual CPU output ... But I can see CPU0 AND CPU1 on STATE column  When
I
> make something for example compiling something ... !?!!
>
>
>
>
> Vahric



The column labeled C shows the cpu number currently being used for a
particular process.


  PID USERNAME  PRI NICE  SIZERES STATE  C   TIME   WCPUCPU
COMMAND


--

Micheal Patterson
Network Administration
TSG Incorporated
405-917-0600

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


Re: top -- and dual cpu quesitons ...

2003-12-25 Thread Erik Trulsson
On Thu, Dec 25, 2003 at 07:04:30PM +0200, Vahric MUHTARYAN wrote:
> Hi , 
> 
>   I'm using FreeBSD 4.9 . Does top utility have problem about showing
> dual CPU output ... But I can see CPU0 AND CPU1 on STATE column  When I
> make something for example compiling something ... !?!! 

What were you expecting top(1) to show?
If it shows both CPU0 and CPU1 in the STATE column, then SMP support
seems to work as it is supposed to.
I.e. I believe the problem is with your expectations rather than the
system.


-- 

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


top -- and dual cpu quesitons ...

2003-12-25 Thread Vahric MUHTARYAN
Hi , 

I'm using FreeBSD 4.9 . Does top utility have problem about showing
dual CPU output ... But I can see CPU0 AND CPU1 on STATE column  When I
make something for example compiling something ... !?!! 




Vahric 




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


SIGPIPE in popper

2003-12-25 Thread Varshavchick Alexander
Hi everyone and Merry Christmas!

I have the following problem: after moving cucipop popper daemon to
FreeBSD 4.9 from 4.5, the popper often terminates with a SIGPIPE, even if
the client resides on the same server. It never occured on FreeBSD 4.5. It
seems as though the tcp connection breaks unexpectedly due to some reason
at random times. Can you give me any hints how to solve this?

Thanks a lot


Alexander Varshavchick, Metrocom Joint Stock Company
Phone: (812)118-3322, 118-3115(fax)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ports usage question: semi-unattended mass upgrades

2003-12-25 Thread Matthew Seaman
On Thu, Dec 25, 2003 at 04:59:05PM +0100, Kai Grossjohann wrote:

> The holy grail, of course, would be that I invoke some command which
> asks me all questions and stores the answers somewhere, then invoke
> another command which actually builds and installs the ports.  I could
> then do the question-answering in the evening, before I go to bed...

It's called portupgrade(8) (sysutils/portupgrade in ports).

Unlike portversion -c it will do the upgrades in the correct
dependency order, which will leave you with a correctly working
system.  You can record any port options you use in
/usr/local/etc/pkgtools.conf before you start your updating job,
including options for interactive configuration (Hint: add 'BATCH=yes'
to your make options to stop the interactive screens coming up).

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: FreeBSD 4.9 Can't find second CPU ...

2003-12-25 Thread Vahric MUHTARYAN
Hi , 

I checked LINT it said that I have to disabke I386 AND I486 from
kernel .. I marked those values from GENERIC and LINT too and recompile it .

But I can't see any changes  

Then I checked my messages file  


Dec 25 20:30:33 freebsdcgp /kernel: FreeBSD/SMP: Multiprocessor motherboard:
2 CPUs
Dec 25 20:30:33 freebsdcgp /kernel: cpu0 (BSP): apic id:  3, version:
0x00040011, at 0xfee0
Dec 25 20:30:33 freebsdcgp /kernel: cpu1 (AP):  apic id:  0, version:
0x00040011, at 0xfee0
Dec 25 20:30:33 freebsdcgp /kernel: io0 (APIC): apic id:  4, version:
0x000f0011, at 0xfec0
Dec 25 20:30:33 freebsdcgp /kernel: io1 (APIC): apic id:  5, version:
0x000f0011, at 0xfec01000

Dec 25 20:30:33 freebsdcgp /kernel: SMP: AP CPU #1 Launched!

And this is my sysctl out  

freebsdcgp# sysctl hw.ncpu
hw.ncpu: 2


But when I run top utulity there is only one CPU there .. 

Now I will try cvsup RELENG_4 ... Maybe I can handle it ... 
Does anybody have advise ?! 

Vahriç ... 



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of fbsd_user
Sent: Thursday, December 25, 2003 5:28 PM
To: Vahric MUHTARYAN; [EMAIL PROTECTED]
Subject: RE: FreeBSD 4.9 Can't find second CPU ...

Answer to your ? 1.  98% of FBSD users do not have 2 cpu
motherboards so default GENERIC kernel is configured for them and
not for you.

Answer to your ? 2.  Read through the LINT kernel source to see if
you missed some other kernel option needed to enable the kind of  2
cpu motherboard you have.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Vahric
MUHTARYAN
Sent: Thursday, December 25, 2003 10:18 AM
To: [EMAIL PROTECTED]
Subject: FreeBSD 4.9 Can't find second CPU ...

Hi Everybody ,

I have two question about SMP .

First Why FreeBSD is installing OS with single Cpu default
?!! Why
it can't enable SMP support at installation time ?!

Second when I compile kernel with SMP Support FreeBSD 4.9
can find
second CPU ?! What do I have to check why it can't find it ?!

I'm using DUAL PIII 933 CPU and INTEL Server BOARD  I tested it
with
DUAL INTEL 1.0B too


Vahric




___
[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]"

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


How do I disable plip probing on 4.9 install?

2003-12-25 Thread Eric Pogroski
Hi List, (and where/when appropriate, Seasons Greetings!):

I'm having problems installing 4.9 release on a thinkpad 390x. I can get it
to boot, but it stalls at this point:
#
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: Generic Chipset (EPP/NIBBLE) in COMPATIBLE MODE
plip0:  on ppbus0
#
and the  machine just hangs, and hangs, for up to an hour before
I just give in and turn it off. I've had OpenBSD, NetBSD, Linux,
and Solaris on this machine w/o issues, but would really
like to install 4.9 (the 5.x stuff does install, but is just too bloated
to live with another OS on my hard drive.). All of the 4.x install
Cd's/floppy's that I have (from 4.3 to 4.9) have this same problem.

Can anyone let me know what the 'magic incantation' is for this,
or point me in the proper direction?

Thanks!

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


Re: problem with ld-elf.so.1

2003-12-25 Thread hymette

What ever you do, upgrade portupgrade and its dependancies first. The 
current
version will fix most bad situations that you would have had to delete
packages and re-add them before. You may still have to do that because 
you
have a corrupted setup.

Many thanks I think it's improving! The origin of my problem could be 
in the g++ compiler because some portupgrade !reports mention "new 
compiler error". And Qt refuses to install arguing "system/compiler not 
supported" . It sounds strange since I run 4.9-release.

My g++ version is 2.95.4 20020320 is it the latest ?

How can I upgrade it or change the version?

Thank you again for your answers to my questions.



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


Re: cron jobs

2003-12-25 Thread Jonathan T. Sage
shawn wrote:

*snip*

  1,310-5 *   *   *   rootadjkerntz -a
  */1 *   *   *   *   /usr/local/bin/mrtg 
/usr/local/etc/mrtg/mrtg.cfg
Part of your problem is going to be right here.  comparing two lines, 
you will notice the the 6th field is the user to run the program/script 
as.  This differs from an individual crontab.  add the proper username 
and give it a shot.  Hit us up with another e-mail if problems persist.

Hope this helps, happy holidays ~j

--
Jonathan T. Sage
Lighting & Scenic Design
Professional Web Design
[HTTP://www.theatre.msu.edu]
[EMAIL PROTECTED]
[PGP: 182C CF3F 93A9 1DAA 2EBE  D4D5 A159 96D9 452E A7F1]


pgp0.pgp
Description: PGP signature


Re: cron jobs

2003-12-25 Thread shawn
  /etc/crontab 86%# /etc/crontab - root's crontab for FreeBSD
  #
  # $FreeBSD: src/etc/crontab,v 1.21.2.3 2000/12/08 10:56:07 obrien Exp $
  #
  SHELL=/bin/sh
  PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
  HOME=/var/log
  #
  #minute hourmdaymonth   wdaywho command
  #
  */1 *   *   *   *   root/usr/libexec/atrun
  #
  # rotate log files every hour, if necessary
  0   *   *   *   *   rootnewsyslog
  #
  # do daily/weekly/monthly maintenance
  1   3   *   *   *   rootperiodic daily
  15  4   *   *   6   rootperiodic weekly
  30  5   1   *   *   rootperiodic monthly
  #
  # time zone change adjustment for wall cmos clock,
  # does nothing, if you have UTC cmos clock.
  # See adjkerntz(8) for details.
  1,310-5 *   *   *   rootadjkerntz -a
  */1 *   *   *   *   /usr/local/bin/mrtg
/usr/local/etc/mrtg/mrtg.cfg




  - Original Message - 
  From: "Jonathan T. Sage" <[EMAIL PROTECTED]>
  To: "shawn" <[EMAIL PROTECTED]>
  Cc: <[EMAIL PROTECTED]>
  Sent: Thursday, December 25, 2003 10:23 AM
  Subject: Re: cron jobs




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


Ports usage question: semi-unattended mass upgrades

2003-12-25 Thread Kai Grossjohann
Say I would like to upgrade all installed packages.  I already found
out that I can do "portversion -c" which spits out a shell script
which does this.

But since it takes a long time, so I'd like to let it run over night.

It seems that it can ask me a question from time to time, if the port
likes to ask questions.  (Last time, I was lucky and only Postfix
wanted to ask me.  This question came fairly early.)

How do I prevent having to get up in the middle of the night to answer
a question from portupgrade?

(Telling me to let the upgrade run over day rather than over night is
not an acceptable answer ;-)

The holy grail, of course, would be that I invoke some command which
asks me all questions and stores the answers somewhere, then invoke
another command which actually builds and installs the ports.  I could
then do the question-answering in the evening, before I go to bed...

Kai

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


RE: FreeBSD 4.9 Can't find second CPU ...

2003-12-25 Thread fbsd_user
Answer to your ? 1.  98% of FBSD users do not have 2 cpu
motherboards so default GENERIC kernel is configured for them and
not for you.

Answer to your ? 2.  Read through the LINT kernel source to see if
you missed some other kernel option needed to enable the kind of  2
cpu motherboard you have.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Vahric
MUHTARYAN
Sent: Thursday, December 25, 2003 10:18 AM
To: [EMAIL PROTECTED]
Subject: FreeBSD 4.9 Can't find second CPU ...

Hi Everybody ,

I have two question about SMP .

First Why FreeBSD is installing OS with single Cpu default
?!! Why
it can't enable SMP support at installation time ?!

Second when I compile kernel with SMP Support FreeBSD 4.9
can find
second CPU ?! What do I have to check why it can't find it ?!

I'm using DUAL PIII 933 CPU and INTEL Server BOARD  I tested it
with
DUAL INTEL 1.0B too


Vahric




___
[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: cron jobs

2003-12-25 Thread Jonathan T. Sage
shawn wrote:
  I installed MRTG and got it working. Noticed that it seemed it was not polling on its own. So I changed the cron job to make it poll more often and in fact its not polling on its own. 
  Also noticed that I stopped receiving my Dailey, reports via email.. I'm also trouble shooting a send mail issue though so that don't really surprise me. 

  I did 
  sh /etc/crontab

  and got this

  /etc/crontab: */1: not found
  /etc/crontab: */1: not found
  0: not found
  1: not found
  15: not found
  30: not found
  1,31: not found
  I thought it looked funny so I looked at Logs ...

   skywalker /usr/sbin/cron[41045]: (root) CMD (/usr/libexec/atrun)
   skywalker /usr/sbin/cron[41051]: (root) CMD (/usr/libexec/atrun)
   /usr/sbin/cron[41056]: (root) CMD (/usr/libexec/atrun)
   /usr/sbin/cron[41066]: (root) CMD (/usr/libexec/atrun)
   /usr/sbin/cron[41070]: (root) CMD (/usr/libexec/atrun)
   /usr/sbin/cron[41074]: (root) CMD (/usr/libexec/atrun)
   /usr/sbin/cron[41094]: (root) CMD (/usr/libexec/atrun)
   /usr/sbin/cron[41109]: (root) CMD (/usr/libexec/atrun)
   /usr/sbin/cron[41115]: (root) CMD (/usr/libexec/atrun)
   /usr/sbin/cron[41127]: (root) CMD (/usr/libexec/atrun)
  Nothing looked odd to me.. 

  Any thoughts? 

can you resend this question and include the contents of /etc/crontab as 
well?

~j



--
Jonathan T. Sage
Lighting & Scenic Design
Professional Web Design
[HTTP://www.theatre.msu.edu]
[EMAIL PROTECTED]
[PGP: 182C CF3F 93A9 1DAA 2EBE  D4D5 A159 96D9 452E A7F1]


pgp0.pgp
Description: PGP signature


FreeBSD 4.9 Can't find second CPU ...

2003-12-25 Thread Vahric MUHTARYAN
Hi Everybody , 

I have two question about SMP . 

First Why FreeBSD is installing OS with single Cpu default ?!! Why
it can't enable SMP support at installation time ?! 

Second when I compile kernel with SMP Support FreeBSD 4.9 can find
second CPU ?! What do I have to check why it can't find it ?! 

I'm using DUAL PIII 933 CPU and INTEL Server BOARD  I tested it with
DUAL INTEL 1.0B too 


Vahric  




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


I can't install FreeBSD5.0 or FreeBSD5.1R on Dual Computer ....

2003-12-25 Thread Vahric MUHTARYAN
Hi Everybody , 


I can't install FreeBSD on my Dual Computer .. 

When I boot the computer for install FreeBSD from 5.0 CD it stopped
on TimeCounter "ACPI-SAFE" frequency 3579545  line ... 

After That I try to install from 5.1 CD it stopped on same line ... 


But I can install FreeBSD 4.9 without problem  

I'm using DUAL PIII 933 CPU and INTEL Server BOARD  I tested it
with DUAL INTEL 1.0B too 


Thanks ... 
Vahric MUHTARYAN 


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


Re: Visual mail notification in KMail

2003-12-25 Thread Malcolm Kay
On Thu, 25 Dec 2003 12:47, Chris wrote:
> Happy Holidays folks!
>
>   Is there a way to tie in a visual mail notifier in KMail? Sorta like how
> Outlook shows the envelope under Windows.
>

KMail can only notify if it is running.

I run fetchmail in daemon mode to transfer any POP mail from my ISP into
the statndard mailbox /var/mail/'username'.

A number of desktop applications are available to give visual indication
of new mail in the mailbox such as xbiff or xmailbox; I use the latter.

When the mail icon indicates mail present I can call kmail; which is setup
to read from the mailbox; and process it.

Malcolm Kay

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


RE: Unprobed PCI bus on VXPro II chipset

2003-12-25 Thread Sean Welch
Thanks very much for the suggestion!  Unfortunately it didn't make any
difference at all to the probe.

Any other suggestions?

Anyone else?

  Sean

-Original Message-
From: fbsd_user <[EMAIL PROTECTED]>
Sent: Dec 24, 2003 3:14 PM
To: Sean Welch <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: RE: Unprobed PCI bus on VXPro II chipset

You did not have to do all that hacking, there is an simple fix for
old bio's and PCI cards.
Add device puc to your kernel source and recompile. Your next boot
review your boot log and you should see all the PCI devices found
except sound cards. You have to add device pcm to your kernel and
recompile to find PCI sound cards or built on the motherboard sound.
I know this works for the 4.x releases including 4.9.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sean Welch
Sent: Wednesday, December 24, 2003 5:55 PM
To: [EMAIL PROTECTED]
Subject: Unprobed PCI bus on VXPro II chipset

As I'm not quite sure where I should be asking for help with this I
figured
I'd try shooting the info over to freebsd-hackers (as it seemed the
closest
match) and to freebsd-questions (as there seems to be a requirement
to
join the list for hackers mail).

I've got an oldish machine (EDO RAM and such) running a VXPro II
chipset.
I have successfully configured FreeBSD from 2.2.8 up to 5-CURRENT to
run
on this thing but I've never managed to get it to probe and attach
anything
on the PCI bus.  Here's what I've found and what I've tried.

I believe the motherboard was sold as PCChips kit.  Looking up the
stats
I find that it was a rebrand of Hint Co. hardware.  The PCI IDs are
actually
listed in /usr/share/misc/pci_vendors and look like this:

3388Hint Corp.
0020HB6 UNIVERSAL PCI-PCI BRIDGE
0021HB1-SE33 PCI-to-PCI Bridge
8011VXPro II Chipset CPU to PCI Bridge
8012VXPro II Chipset PCI to ISA Bridge
8013VXPro II Chipset EIDE Controller

I found a commit notice online to the linux kernel that contained
these
same IDs so it looks like the complete string should be "33880020",
"33880021", etc.  I also managed to find this message from *long*
ago:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=
Pine.BSF.3.96.990120135600.28221A-10_gate1.ilhadamagia.com.br%40
ns.sol.net&rnum=5&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3
DUTF-8%26q%3Dfreebsd%2Bvxpro%26btnG%3DGoogle%2BSearch

I'm currently running 4.9-RELEASE.  The uname -a output is:

FreeBSD  4.9-RELEASE FreeBSD 4.9-RELEASE #5: Tue Oct 14 11:51:28 CDT
2003
root@:/usr/src/sys/compile/WARPPHYS  i386

Poking around I discovered that pcibus.c no longer contains the code
referenced in the above message (but that didn't stop me).  I found
it instead in pci_cfgreg.c and tried adding the explicit set of
oldval1 to
zero but no joy.  I ended up adding the PCI IDs to both
/usr/src/sys/i386/isa/pcibus.c and also
/usr/src/sys/pci/pcisupport.c
in the effort to get the chipset recognized.  No go.

When I boot verbose this is all I can get about the PCI bus:

pci_open(1):mode 1 addr port (0x0cf8) is 0xff00
pci_open(1a):   mode1res=0x (0x8000)
pci_open(1b):   mode1res=0x7020 (0xff01)
pci_open(2):mode 2 enable port (0x0cf8) is 0xff

Infuriatingly, the BIOS sees everything on the bus and labels the
devices
with reasonable categories.  Likewise, scanpci (comes with XFree86)
identifies the chipsets and the devices without any trouble at
all -- that
at least explains why I've never had any trouble using the PCI video
card
under X.  The output of scanpci identifies the last three chipsets
from
that snipet I put above (from pci_vendors) with the last being
labeled as
IDE rather than EIDE (which is correct).

Based on this digging around I'm convinced that there must be some
ugly hack that is posible to get FreeBSD to probe and attach the bus
and devices on it.  I've only got this desktop and while I've been
able
to live without the PCI USB card, I need to test out a PCI WinTV
card.
The whole machine is old enough that isn't feasible to just try
swapping
out the motherboard (the case isn't even ATX compatible) and I've
not
got the money to just buy something else.

Would anyone be willing to help me get this sorted out?  I'm out of
my depth here but to my inexperienced eyes this doesn't look to be
an insurmountable issue.


Sean




___
[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]"


Packages with older dependencies

2003-12-25 Thread Trey Sizemore
I'm attempting to install gaim-0.73 on my 5.2 RC-1 system.  However, it's
got some older dependency requirements such as:

desk# pkg_add -r gaim
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/Latest/gaim.tbz...
Done.
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/All/libao-0.8.4_1.tbz...
Done.
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/All/gtkspell2-2.0.4.tbz...
Done.
pkg_add: warning: package 'gtkspell2-2.0.4' requires 'png-1.2.5_2', but
'png-1.2.5_3' is installed
pkg_add: warning: package 'gtkspell2-2.0.4' requires 'tiff-3.6.0', but
'tiff-3.6.0_1' is installed
pkg_add: warning: package 'gtkspell2-2.0.4' requires 'imake-4.3.0_1', but
'imake-4.3.0_2' is installed
pkg_add: warning: package 'gaim-0.73' requires 'png-1.2.5_2', but
'png-1.2.5_3' is installed
pkg_add: warning: package 'gaim-0.73' requires 'libaudiofile-0.2.4', but
'libaudiofile-0.2.5' is installed
pkg_add: warning: package 'gaim-0.73' requires 'tiff-3.6.0', but
'tiff-3.6.0_1' is installed
pkg_add: warning: package 'gaim-0.73' requires 'imake-4.3.0_1', but
'imake-4.3.0_2' is installed


I assume i can force the install with the -f flag, but I wanted to know
if there are any ramifications to doing this on future updates or to
future program installs?  What is the easiest way to install gaim (or any
program for that matter) when a situation such as this arises?  What
would have happened if I attemted the install via ports instead?

Thanks and Happy Holidays!
-- 
  Trey Sizemore
  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Visual mail notification in KMail

2003-12-25 Thread Charles Howse
On Thursday 25 December 2003 03:18 am, Shantanoo Mahajan wrote:
> +++ Chris [freebsd] [24-12-03 20:17 -0600]:
> | Happy Holidays folks!
> |
> | Is there a way to tie in a visual mail notifier in KMail? Sorta like how
> | Outlook shows the envelope under Windows.

Open KMail, Settings, Configure Notifications.

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
Don't force it,
get a bigger hammer.

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


cron jobs

2003-12-25 Thread shawn
  I installed MRTG and got it working. Noticed that it seemed it was not polling on 
its own. So I changed the cron job to make it poll more often and in fact its not 
polling on its own. 
  Also noticed that I stopped receiving my Dailey, reports via email.. I'm also 
trouble shooting a send mail issue though so that don't really surprise me. 

  I did 
  sh /etc/crontab

  and got this

  /etc/crontab: */1: not found
  /etc/crontab: */1: not found
  0: not found
  1: not found
  15: not found
  30: not found
  1,31: not found

  I thought it looked funny so I looked at Logs ...

   skywalker /usr/sbin/cron[41045]: (root) CMD (/usr/libexec/atrun)
   skywalker /usr/sbin/cron[41051]: (root) CMD (/usr/libexec/atrun)
   /usr/sbin/cron[41056]: (root) CMD (/usr/libexec/atrun)
   /usr/sbin/cron[41066]: (root) CMD (/usr/libexec/atrun)
   /usr/sbin/cron[41070]: (root) CMD (/usr/libexec/atrun)
   /usr/sbin/cron[41074]: (root) CMD (/usr/libexec/atrun)
   /usr/sbin/cron[41094]: (root) CMD (/usr/libexec/atrun)
   /usr/sbin/cron[41109]: (root) CMD (/usr/libexec/atrun)
   /usr/sbin/cron[41115]: (root) CMD (/usr/libexec/atrun)
   /usr/sbin/cron[41127]: (root) CMD (/usr/libexec/atrun)

  Nothing looked odd to me.. 

  Any thoughts? 




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


Re: identd in jailed 4.9-STABLE

2003-12-25 Thread Alexander
Hello,

you seem to not have tried this under 4.9 or not under jail.
In the host environment I haven't run anything else but sshd which is
bound to listen on the IP != jail environment. In the jail environment
it's not possible to bind on IP outside the jail. After googling a little
I found that this is because identd uses tcp_getcred() which won't leak
information to jail environment. There were a patch for 4.3 which made
identd work but the patch won't work on 4.9-STABLE.

If someone made identd work in jailed environment, please explain how.

thanks


On Thu, 25 Dec 2003, Matthew Seaman wrote:

> On Thu, Dec 25, 2003 at 01:28:12AM +0200, Alexander wrote:
>
> > did someone make identd work on 4.9-STABLE in jailed environment ?
>
> Don't see why it should cause any particular difficulties.  You'll
> need to run an instance of inetd(8) in each jail where you want ident
> capability.  All of those inetd(8)'s and any inetd(8) from the base
> system should be bound to specific IP addresses by using the '-a'
> option -- otherwise they all attempt to bind to INADDR_ANY and end up
> fighting each other.
>
> Eg: if your machine uses 192.168.0.1 as it's principal IP and has an
> alias address of 192.168.0.2 used by a jail, and you want inetd
> services in both, you would put:
>
> inetd_enable="YES"
> inetd_flags="-wW -a 192.168.0.1"
>
> in /etc/rc.conf on the host environment, and:
>
> inetd_enable="YES"
> inetd_flags="-wW -a 192.168.0.2"
>
>
>   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
>

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


Re: Visual mail notification in KMail

2003-12-25 Thread Shantanoo Mahajan
+++ Chris [freebsd] [24-12-03 20:17 -0600]:
| Happy Holidays folks!
| 
|   Is there a way to tie in a visual mail notifier in KMail? Sorta like how 
| Outlook shows the envelope under Windows.
| 
| Thanks in advance, stay safe, semi-sober and enjoy the holidays.
| -- 
| Best regards,
| 
| Chris

maybe xbiff.

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


need learning direction suggestions on using editors

2003-12-25 Thread Zhang Weiwu
Hello. I have been using the vi that comes with FreeBSD for more than a 
year. I now can manage to use lots of vi features except the tag mode which 
I don't know clear about its concept (perhaps because of my bad English).

Now I think vi is not sufficient. I hate to type "!perl %" each time I edit 
and re-try my perl script, and I'd like to load related files quickly. (say 
load a included php file when I see it is being included.)

Should I advance to vim right now or emacs, or is it that I didn't dig into 
vi deep enough to release its full power? I wonder how many programmers are 
still using 4BSD vi (compare to enchanced vi's)? Maybe none? Maybe many?
I know very few about editors other than vi, if I'm going to learn another 
editor now, I wish I can be using that forever, and I wish the editor have 
good L10N (esp. Chinese). I do some Java program, php and perl program but 
not C, and I'd likely to do these kind of program in the coming years, so 
what is the best editor for my kind?

I'd like the editor's style to be accepted by readline so I can use 
commandline and editor in the same way.

Thank you!

_
享用世界上最大的电子邮件系统― MSN Hotmail。  http://www.hotmail.com  

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


Re: identd in jailed 4.9-STABLE

2003-12-25 Thread Matthew Seaman
On Thu, Dec 25, 2003 at 01:28:12AM +0200, Alexander wrote:

> did someone make identd work on 4.9-STABLE in jailed environment ?

Don't see why it should cause any particular difficulties.  You'll
need to run an instance of inetd(8) in each jail where you want ident
capability.  All of those inetd(8)'s and any inetd(8) from the base
system should be bound to specific IP addresses by using the '-a'
option -- otherwise they all attempt to bind to INADDR_ANY and end up
fighting each other.

Eg: if your machine uses 192.168.0.1 as it's principal IP and has an
alias address of 192.168.0.2 used by a jail, and you want inetd
services in both, you would put:

inetd_enable="YES"
inetd_flags="-wW -a 192.168.0.1"

in /etc/rc.conf on the host environment, and:

inetd_enable="YES"
inetd_flags="-wW -a 192.168.0.2"


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


Using maildrop from sendmail aliases file

2003-12-25 Thread W. Sierke
I am attempting to configure sendmail to pass mail addressed to a particular
domain to maildrop.

maildrop is already installed and used with getmail to collect mail from a
number of pop accounts. It has been installed as user:vmail group:vmail.
This existing setup works fine.

I've added the following to the sendmail configuration:

in /etc/mail/virtusertable
...
@second.domain.tldsecond-domain-tld


and in /etc/mail/aliases
...
second-domain-tld:"| /usr/local/bin/maildrop -d [EMAIL PROTECTED]"

It looks as though it's ready to work except for this in /var/log/maillog:
...
Dec 25 17:05:19 maildrop[75657]: Cannot set my user or group id.


Presumably this is because maildrop wants to set itself to run as user:vmail
and the existing setup I have works as-is because getmail (which calls
maildrop) is configured to run as user:vmail in /etc/crontab.

Either I need to find a way to allow maildrop to change itself to user:vmail
when called from sendmail (which I don't know how to achieve) or I need to
change maildrop to run as (I'm guessing) user:root which if memory serves
was something that was suggested to be avoided.

What would be the best approach?


Thanks,

Wayne

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