Re: Where am I? :)

2006-03-04 Thread Kövesdán Gábor

Giorgos Keramidas wrote:


On 2006-03-04 00:44, K?vesd?n G?bor [EMAIL PROTECTED] wrote:
 


Hello,

look at this:

[EMAIL PROTECTED] w
12:41AM  up 82 days, 10:05, 0 users, load averages: 0.00, 0.00, 0.00
USER TTY  FROM  LOGIN@  IDLE WHAT
[EMAIL PROTECTED]

Where am I? :) I don't know exactly how it happened, but I'll
investigate, I have an idea and I'll report if I find out.
   



Some programs may tweak wtmp to `hide' users that are actively logged
in.  One program that I know can do this is screen(1).  Hitting ``^A L''
here, between successive `w' invocations, I can see this:

[EMAIL PROTECTED]:/root# w
2:04AM  up  2:10, 1 user, load averages: 0.07, 0.16, 0.19
USER TTY  FROM  LOGIN@  IDLE WHAT
[EMAIL PROTECTED]:/root# w
2:05AM  up  2:11, 2 users, load averages: 0.03, 0.14, 0.17
USER TTY  FROM  LOGIN@  IDLE WHAT
root pts/0:0:S.02:05AM - w
[EMAIL PROTECTED]:/root#

 

And what do the other logged in users see? With my method I can 
completely hide, nobody can see me logged in. So I think it might be an 
opportunity to abusing. I'll send a PR soon, I just wanted to know 
before if somebody already knows about this trick.


Gabor Kovesdan

P.S.: It happened on a RELENG_5_3 system via SSH, but I suppose it can 
be triggered locally.

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


Re: Where am I? :)

2006-03-04 Thread Kövesdán Gábor

Erik Greenwald wrote:


On Sat, Mar 04, 2006 at 12:44:19AM +0100, K?vesd?n G?bor wrote:
 


Hello,

look at this:

[EMAIL PROTECTED] w
12:41AM  up 82 days, 10:05, 0 users, load averages: 0.00, 0.00, 0.00
USER TTY  FROM  LOGIN@  IDLE WHAT
[EMAIL PROTECTED]

Where am I? :) I don't know exactly how it happened, but I'll 
investigate, I have an idea and I'll report if I find out.
   



I've seen that happen when the userland and kernel are out of sync.
(not too long ago, I did a make buildworld kernel, was waiting for
an opportune time to installworld, and suffered some kinda failure
causing a reboot).

Check the uname -a date and the date of /bin/w or something? perhaps
go through a cvsup/upgrade to try to sync things up? :)

 

No, they are in sync. :) Being out of sync for the kernel and the 
userland is not so common, because it derives from the forgetfullness of 
the administrator, but this trick can be triggered every time.


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


Re: Where am I? :)

2006-03-04 Thread Kövesdán Gábor

Mike Tancsa wrote:


On Sat, 04 Mar 2006 00:44:19 +0100, in sentex.lists.freebsd.questions
you wrote:

 


Hello,

look at this:

[EMAIL PROTECTED] w
12:41AM  up 82 days, 10:05, 0 users, load averages: 0.00, 0.00, 0.00
USER TTY  FROM  LOGIN@  IDLE WHAT
[EMAIL PROTECTED]

Where am I? :) I don't know exactly how it happened, but I'll 
investigate, I have an idea and I'll report if I find out.
   




Does 
w -n


work ?




No, I get the same.

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


[FAQ] Re: Free space wierdness

2006-03-04 Thread Dallas Stephens II
 
Were you running as root and downloaded a bunch of large files in your /root
directory? =)
If so you should delete those files and su to your normal user account and
cd to your home directory then downloaded those large, needed files.
 
 
 
On Thu, 5 Feb 2004, Herbert Wolverson wrote:
 
 I have a system running FreeBSD 4.9-RELEASE. It primarily functions as a
firewall and
 router, and is generally pretty lightly loaded (load averages around 0.2).
It
 is a low end system (P200, 64mb RAM, 2 gig hard drive), and is generally
 stable as a rock.
 
 The system has drives setup as follows:
 / 256M (UFS)
 /usr  1.2gb (UFS+Softupdates)
 (/var and /tmp are linked onto /usr/var and /usr/tmp respectively)
 
 This morning I noticed that the / partition was at 108% utilization,
 and df -h looked like this (approximately):
 
 FilesystemSize   Used  Avail Capacity  Mounted on
 /dev/ad0s1a   252M   256M  -8M108% /
 
 Oddly, du -h -d1 -x showed only a total of 29Mb used on the partition!
 The output looked like this:
 
 su-2.05b# du -h -d1 -x
  68K./dev
 2.0K./usr
 2.7M./stand
 1.3M./etc
 512B./proc
 4.0M./bin
 542K./boot
 2.0K./mnt
 6.4M./modules
  30K./root
  12M./sbin
 4.0K./tmp
 4.0K./oldvar
  29M.
 
 When I rebooted the system (without deleting any files), df -h showed
 the following:
 
 FilesystemSize   Used  Avail Capacity  Mounted on
 /dev/ad0s1a   252M29M   203M12%/
 
 This is good, since the correct amount of free space now shows, and the
 server is back to running perfectly. Can anyone shed any light as to why
 this discrepancy happened in the first place? I'd love to know what I can
do to avoid ever having to worry
 about this again!
 
 Thanks,
 Herbert Wolverson,
 The Turner Stephenson Group, Inc.
 http://www.tsghelp.com/
 ___
 freebsd-questions at freebsd.org
http://lists.freebsd.org/mailman/listinfo/freebsd-questions  mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscribe at
freebsd.org http://lists.freebsd.org/mailman/listinfo/freebsd-questions 
 

 

*   Free
http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035019.h
tml  space wierdness   Herbert Wolverson 

*   Free
http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035021.h
tml  space wierdness   Nathan C. Burnett 
*   Free
http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035024.h
tml  space wierdness   HOLLOW, CHRISTOPHER 
*   [FAQ]
http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035034.h
tml  Re: Free space wierdness   Lowell Gilbert 

*   [FAQ]
http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035117.h
tml  Re: Free space wierdness   Jerry McAllister 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

~Dallas Stephens 

 

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


[FAQ] Re: Free space wierdness

2006-03-04 Thread Dallas Stephens II
 
Were you running as root and downloaded a bunch of large files in your /root
directory? =)
If so you should delete those files and su to your normal user account and
cd to your home directory then downloaded those large, needed files.
 
 
 
On Thu, 5 Feb 2004, Herbert Wolverson wrote:
 
 I have a system running FreeBSD 4.9-RELEASE. It primarily functions as a
firewall and
 router, and is generally pretty lightly loaded (load averages around 0.2).
It
 is a low end system (P200, 64mb RAM, 2 gig hard drive), and is generally
 stable as a rock.
 
 The system has drives setup as follows:
 / 256M (UFS)
 /usr  1.2gb (UFS+Softupdates)
 (/var and /tmp are linked onto /usr/var and /usr/tmp respectively)
 
 This morning I noticed that the / partition was at 108% utilization,
 and df -h looked like this (approximately):
 
 FilesystemSize   Used  Avail Capacity  Mounted on
 /dev/ad0s1a   252M   256M  -8M108% /
 
 Oddly, du -h -d1 -x showed only a total of 29Mb used on the partition!
 The output looked like this:
 
 su-2.05b# du -h -d1 -x
  68K./dev
 2.0K./usr
 2.7M./stand
 1.3M./etc
 512B./proc
 4.0M./bin
 542K./boot
 2.0K./mnt
 6.4M./modules
  30K./root
  12M./sbin
 4.0K./tmp
 4.0K./oldvar
  29M.
 
 When I rebooted the system (without deleting any files), df -h showed
 the following:
 
 FilesystemSize   Used  Avail Capacity  Mounted on
 /dev/ad0s1a   252M29M   203M12%/
 
 This is good, since the correct amount of free space now shows, and the
 server is back to running perfectly. Can anyone shed any light as to why
 this discrepancy happened in the first place? I'd love to know what I can
do to avoid ever having to worry
 about this again!
 
 Thanks,
 Herbert Wolverson,
 The Turner Stephenson Group, Inc.
 http://www.tsghelp.com/
 ___
 freebsd-questions at freebsd.org
http://lists.freebsd.org/mailman/listinfo/freebsd-questions  mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscribe at
freebsd.org http://lists.freebsd.org/mailman/listinfo/freebsd-questions 
 

 

*   Free
http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035019.h
tml  space wierdness   Herbert Wolverson 

*   Free
http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035021.h
tml  space wierdness   Nathan C. Burnett 
*   Free
http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035024.h
tml  space wierdness   HOLLOW, CHRISTOPHER 
*   [FAQ]
http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035034.h
tml  Re: Free space wierdness   Lowell Gilbert 

*   [FAQ]
http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035117.h
tml  Re: Free space wierdness   Jerry McAllister 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

~Dallas Stephens 

 

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


Second ISO Image

2006-03-04 Thread Steve P.
Is there a url that explains what is on the second ISO image for 6.0
release ISO 2? Could not really find it explained on freebsd.org.

Thanks.

Steve.

-- 
___
Play 100s of games for FREE! http://games.mail.com/

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


RE: AFS in FreeBSD 5.4 or 6

2006-03-04 Thread Ted Mittelstaedt

openafs has a compiled binary for FreeBSD 6.0 on their website,
have either of you even tried it, or are you going to just write
it off without even seeing it it works at all?

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Craig Ryhorchuk
Sent: Wednesday, March 01, 2006 1:54 PM
To: freebsd-questions@freebsd.org
Cc: [EMAIL PROTECTED]
Subject: Re: AFS in FreeBSD 5.4 or 6


Around about Wed, 1 Mar 2006 16:20:46 -0500 Garance A Drosihn commented:

At 6:27 PM + 2/28/06, Craig Ryhorchuk wrote:
Hello,

  I am looking for specific instructions on installing,
maintaining and using AFS with FreeBSD 5.4 or 6.  I want to set
up one or more servers and make them available to clients running
whatever O/S.  I think Arla has the client side covered if
necessary, but all I can find for server-side is a downloadable
instruction-free bundle for 6.0 on the OpenAFS site.  There are
specific instructions for other supported O/Ss but none for FreeBSD.
I have Googled and searched; not exhaustively I hope.  There has
to be something out there.

I think there are some people who run openafs servers on FreeBSD,
but probably just people who already know enough about running
OpenAFS servers that it is obvious (to them) what you would
need to do.

The problem is that the openafs client-side for FreeBSD never
gets quite to the point of working.  So, the number of openafs
users on freebsd never reaches critical mass to get some of the
less exciting work done -- such as OS-specific documentation...


Thanks for the info.  That's a bummer.  I thought this might be the
perfect solution to a business problem, but if this is the
state of it, I
guess the idea is a non-starter.
*sigh* - I guess it's back to linux again.
I know.  I need to port it myself and not complain, but I claim to be
a sysadmin and not a kernel hacker.


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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.1.1/273 - Release Date: 3/2/2006


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


RE: atacontrol status for 3ware?

2006-03-04 Thread Ted Mittelstaedt

what does 3ware tech support say?

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Francisco Reyes
Sent: Wednesday, March 01, 2006 7:41 PM
To: Free BSD Questions list
Subject: atacontrol status for 3ware?


How does one do atacontrol status for a 3ware card in FreeBSD 6?

Tried
atacontrol status 0 (like in previous versions)
atacontrol status twe0
atacontrol status twed0

I rebuild an array and saw the controller display messages at
the start of
the rebuild and it showed twe0 as the name of the array.

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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.1.1/273 - Release Date: 3/2/2006


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


Problem regarding Bash 3.1.10

2006-03-04 Thread Frank Staals

\[Hey,

I ran a portupgrade yesterday, and noticed that bash got updated, 
allthough I dislike the way it is visible in my shells. Normally I 
whould have


[EMAIL PROTECTED]

but this seems to have changed when I ran portupgrade, currently it is 
like this:


[EMAIL PROTECTED] ~]$ when I'm in my homedir. The problem is when entering 
a long path, or a directory which hasn't been renamed properly yet, for 
example when I'm in ~/tmp/\[Nipponsei\]\ Shakugan\ no\ Shana\ Original\ 
Sound\ Track my shell becomes:


[EMAIL PROTECTED] ~/tmp/\[Nipponsei\]\ Shakugan\ no\ Shana\ Original\ Sound\ 
Track]$


which leaves absolutely no place on the line for my commands, which I 
think is very anoying. I read the man and looked up if I could find 
something in .bashrc but I didn't realy know what to look for. So my 
question is; how can I set bash so it will be visible in the old way ( 
[EMAIL PROTECTED] ) ?


I'm running 5-Stable with bash-3.1.10 ( the old view was with 3.0.16_1 )

Thanks in advance

--
-Frank Staals


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


Re: Problem regarding Bash 3.1.10

2006-03-04 Thread Pietro Cerutti
On 3/4/06, Frank Staals [EMAIL PROTECTED] wrote:
 \[Hey,

Hallo

 So my question is; how can I set bash so it will be visible in the old way (
 [EMAIL PROTECTED] ) ?

put PS1=[EMAIL PROTECTED]  in your ~/.bashrc file

here's some interesting stuff about bash prompt:
http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/

 Thanks in advance

Hope this helps,


 --
 -Frank Staals


--
Pietro Cerutti
[EMAIL PROTECTED]

   Non lasciar calpestare i TUOI diritti!
   Don't let 'em take YOUR rights!

   NO al Trusted Computing!
   Say NO to Trusted Computing!

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


Re: Problem regarding Bash 3.1.10

2006-03-04 Thread Frank Staals

Pietro Cerutti wrote:

On 3/4/06, Frank Staals [EMAIL PROTECTED] wrote:
  

\[Hey,



Hallo

  

So my question is; how can I set bash so it will be visible in the old way (
[EMAIL PROTECTED] ) ?



put PS1=[EMAIL PROTECTED]  in your ~/.bashrc file

here's some interesting stuff about bash prompt:
http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/

  

Thanks in advance



Hope this helps,

  

--
-Frank Staals




--
Pietro Cerutti
[EMAIL PROTECTED]

   Non lasciar calpestare i TUOI diritti!
   Don't let 'em take YOUR rights!

   NO al Trusted Computing!
   Say NO to Trusted Computing!

   www.no1984.org
   www.againsttcpa.com


  

Thanks, that fixed it

--
-Frank Staals


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


Re: Second ISO Image

2006-03-04 Thread Chandan Haldar

It contains all the binary package files (*.tgz) for the additional
ports in the distrib that sysinstall offers to let you choose at install
time.  If you select additional ports for installation that are not
part of the canned distribution sets (gnome, for example, or emacs),
sysinstall will prompt you to change the disk when it needs those
binary packages.

I see it as a quick and safe way to get some of the most commonly used
binaries installed on your system without downloading and building
them from sources through the ports collection.  But for some of
the programs you may land up with a version slightly older than what
you get by building from the sources.  Only the most widely used ones
out of the 14,000+ ports are available as binary packages on disk 2.

Chandan


Steve P. wrote:

Is there a url that explains what is on the second ISO image for 6.0
release ISO 2? Could not really find it explained on freebsd.org.

Thanks.

Steve.

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


Re: Second ISO Image

2006-03-04 Thread beni . brinckman
On Saturday 04 March 2006 10:11, Steve P. wrote:
 Is there a url that explains what is on the second ISO image for 6.0
 release ISO 2? Could not really find it explained on freebsd.org.

See http://www.freebsd.org/releases/6.0R/relnotes-i386.html, especially point
2.6 :

2.6 Release Engineering and Integration

In prior FreeBSD releases, the disc1 CD-ROM (or ISO image) was a bootable
installation disk containing the base system, ports tree, and common
packages. The disc2 CD-ROM (or ISO image) was a bootable fix it disk with
a
live filesystem, to be used for making emergency repairs. This layout has now
changed. For all architectures except ia64, the disc1 image now contains the
base system distribution files, ports tree, and the live filesystem, making
it suitable for both an initial installation and repair purposes. (On the
ia64, the live filesystem is on a separate disk due to its size.) Packages
appear on separate disks; in particular, the disc2 image contains commonly
packages such as desktop environments. Documents from the FreeBSD
Documentation Project also appear on disc2. [MERGED]

Beni.

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


Re: switching timezone within crontab?

2006-03-04 Thread Svein Halvor Halvorsen
 On 3/3/06, Danny Howard [EMAIL PROTECTED] wrote:
  If a system is not running UTC as its locale, but I want to schedule a
  UTC cron job in crontab, is it sufficient to put a little:
  TZ=UTC
  Right before the job?

On 3/4/06, Noel Jones [EMAIL PROTECTED] wrote:
 Pretty sure the above will only set the timezone for your job, and not
 alter the schedule time.  But I don't know a solution to your problem.

How about running cron with the TZ environment set?
Ie. setting TZ=UTC in /etc/rc.d/cron

I haven't tried this myself.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


can u help me pls?

2006-03-04 Thread Luci Mihailov
pls tell me what is this:
   
  If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the [EMAIL PROTECTED] mailing list.  If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page.  If you are not familiar with manual pages, type `man man'.
  You may also use sysinstall(8) to re-enter the installation and
configuration utility.  Edit /etc/motd to change this login announcement.
  ?
WinSCP: this is end-of-file:0
help
WinSCP: this is end-of-file:0
uname -a
WinSCP: this is end-of-file:0
  WinSCP: this is end-of-file:0
  WinSCP: this is end-of-file:0
^E^R
^E
WinSCP: this is end-of-file:0
   
  Thank`s


'; type=text/css
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT-EXIM

2006-03-04 Thread James Seward
On 3/3/06, Jean-Paul Natola [EMAIL PROTECTED] wrote:
 I know this is not an EXIM forum but I'm desperate at the moment
 I ran portupgrade on BSD and afterwards exim is failing to start,

What does /var/log/exim/paniclog say?

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


Re: How to Replace Dependency?

2006-03-04 Thread Peter

--- Bob Perry [EMAIL PROTECTED] wrote:

 I mistakenly removed acroreadwrapper-0.0.20060221 as
 a dependency of 
 acroread7 while responding to a Stale dependency
 issue.  I reinstalled 
 the wrapper but it doesn't show up as a dependency
 for acroread7 when I 
 run the pkg_info command.  Is this a reason for
 concern?

What was your pkg_info command?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with SCSI

2006-03-04 Thread Derek Ragona
On many newer motherboards you can enable or disable the SCSI in the 
BIOS.  You should make sure the SCSI is enabled.  If the SCSI is enabled 
you should get a message from the SCSI BIOS to hit some keys to enter the 
SCSI configuration.  This is all using the Motherboards firmware and 
independent of any Operating System.


You should be able to check your SCSI configuration and see what SCSI 
devices the controller has found.  If your CD is not found, check the 
settings, termination and cabling.


-Derek


At 08:58 PM 3/3/2006, David LeCount wrote:

I recently purchased a Tyan S2895 motherboard and more
recently a Hitachi SCSI drive. I'm trying like hell to
install FreeBSD 6.1 on it but the drive isn't
recognized. Even on my current installation on IDE
drives, there's nothing in dmesg about SCSI at all. I
read about someone doing benchmarks with this
motherboard and SCSI drives, so the controller is
apparently supported. Nevertheless, I can't get it to
work. I can't get the CMOS to show any information
about SCSI either so I really don't know if it's a
software or hardware problem. I would greatly
appreciate help from anyone with this board.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: sudden jump in swap usage, how to tell what's using it

2006-03-04 Thread David Scheidt
On Thu, Mar 02, 2006 at 09:02:15AM -0500, Chuck Swiger wrote:
 
 Nathan Vidican wrote:
  Typically, we sit between 0-10% of swap used... this morning I came in,
  and output of top is showing 76% used; that's some 3Gigs+ more than usual.
  
  System load is still sitting at 0.05, and no adverse effects seem to be
  coming our way. No particular processes appear to be using abnormal
  amounts of memory, and nothing seems 'off'... is there a way to
  determine which process(es) have taken out (how much) swap space?
 
 top -o size or top -o res...

The second character of the state column in ps will tell you if a
process is swapped out.  (If it's W. )  Remember, though, that once
pages are swapped out, they don't get moved back into core until
they're used, which may well be never.  So if the machine is no longer 
under memory pressure, there may be nothing to tell you what used up the
memory.  It's very common to see long running machines have swap used,
even if in normal operation they have plenty of free memory.  An
one-time, or occaisonal, occurance of low memory will cause things to
get swapped.  Many processes have memory they use rarely, if ever;
idle processes also don't need to be swapped in until they become
non-idle.  

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


What do I do with a kernel panic's dump?

2006-03-04 Thread Alexander Mayfield
Right, so I've got my 6.0-RELEASE up and running, and I'm slowly, but 
surely getting it configured how I like it.  80x50 console, all my 
favorite programs, life is quite good.


However, just recently, when browsing the web, the kernel panicked on 
me.  I was currently just browsing the web in Opera, doing a 
portsmanager -u in the my second console, with centericq running in 7 
and irssi in 8.  Since I was in X at the time, I had no idea what it was 
doing until it rebooted itself.  When I rebooted, I found out that it 
had made a few files in my /var/crash/ directory, how thoughtful.  The 
shorter of the two files read like the following:


Dump header from device /dev/ad1s2b
  Architecture: i386
  Architecture Version: 2
  Dump Length: 1072234496B (1022 MB)
  Blocksize: 512
  Dumptime: Sat Mar  4 07:27:20 2006
  Hostname: alexmax.localdomain
  Magic: FreeBSD Kernel Dump
  Version String: FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
  Panic String: vm_page_insert: page already inserted
  Dump Parity: 3300035405
  Bounds: 0
  Dump Status: good

The other one was quite large, so I will not bore you with the details 
unless you need them.  However, from there, I have no clue what to do 
with the dumps.. I now ask where should I start looking for 
problems...or perhaps what information should I give you?


Also, while I'm at it, I'm having a few niggling problems with FreeBSD 
that are bugging me.


1. In certain programs, such as irssi, my alt key does not work.  If I 
run irssi within an aterm, the alt-number combinations work fine. 
However, if I am using a console, doing alt-number does not work, and 
instead I must use the Escape key.  How do I fix this?
2. My Delete key exhibits similar strange behavior, except instead of 
doing nothing, it sometimes acts like a backspace key.


Thank you in advance.  In spite of my troubles, I'm finding my 
experience with FreeBSD most satisfactory. :)


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


Re: What do I do with a kernel panic's dump?

2006-03-04 Thread Lowell Gilbert
Alexander Mayfield [EMAIL PROTECTED] writes:

 Right, so I've got my 6.0-RELEASE up and running, and I'm slowly, but
 surely getting it configured how I like it.  80x50 console, all my
 favorite programs, life is quite good.
 
 However, just recently, when browsing the web, the kernel panicked on
 me.  I was currently just browsing the web in Opera, doing a
 portsmanager -u in the my second console, with centericq running in 7
 and irssi in 8.  Since I was in X at the time, I had no idea what it
 was doing until it rebooted itself.  When I rebooted, I found out that
 it had made a few files in my /var/crash/ directory, how thoughtful.
 The shorter of the two files read like the following:
 
 Dump header from device /dev/ad1s2b
Architecture: i386
Architecture Version: 2
Dump Length: 1072234496B (1022 MB)
Blocksize: 512
Dumptime: Sat Mar  4 07:27:20 2006
Hostname: alexmax.localdomain
Magic: FreeBSD Kernel Dump
Version String: FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Panic String: vm_page_insert: page already inserted
Dump Parity: 3300035405
Bounds: 0
Dump Status: good
 
 The other one was quite large, so I will not bore you with the details
 unless you need them.  However, from there, I have no clue what to do
 with the dumps.. I now ask where should I start looking for
 problems...or perhaps what information should I give you?

Take a look at the FAQ entry titled How can I make the most of the
data I see when my kernel panics?

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


Re: Problems with SCSI

2006-03-04 Thread Rod Person
On Friday 03 March 2006 9:58 pm, David LeCount wrote:
 I recently purchased a Tyan S2895 motherboard and more
 recently a Hitachi SCSI drive. I'm trying like hell to

I just got my new workstation 2 days ago with the Tyan S2895
motherboard. Mine is the K8WE with the LSI 1030 U320 SCSI adapter built in.
To get this to boot 6.0 I had to do the following.

In the BIOS:

1. Disable the SLAVE MAC(NIC). Advanced-Integrated Devices-Slave Devices 
Menu.

2. Disable IEEE 1394(firewire). Advanced-PCI Configuration-Integrated 1394 
Menu.

With my drive, which was a pull from my old workstation, I had kernel built 
that did not have the mpt drive for the LSI adapter so during boot I choose 
option 6 and the issused the command:

load mpt
boot

Then all booted fine.

Although you disable the slave nic (my board has 2 nics) the primary still 
work as long as you load the if_nve kernel module.

HTH
-- 
Rod Person

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


Re: can u help me pls?

2006-03-04 Thread Antony M Rasat
That's the Message of the Day, thus MOTD, in file /etc/motd. 
 
Regards, 
 
Anthony M. Rasat 
PT. Kalteng Pos Press 
Palangkaraya - Indonesia.- 
 
 
On Saturday 04 March 2006 20:12, Luci Mihailov wrote: 
 pls tell me what is this: 
 
   If you still have a question or problem, please take the output of 
 `uname -a', along with any relevant error messages, and email it 
 as a question to the [EMAIL PROTECTED] mailing list.  If you are 
 unfamiliar with FreeBSD's directory layout, please refer to the 
hier(7) 
 manual page.  If you are not familiar with manual pages, type `man 
man'. 
   You may also use sysinstall(8) to re-enter the installation and 
 configuration utility.  Edit /etc/motd to change this login 
announcement. 
   ? 
 WinSCP: this is end-of-file:0 
 help 
 WinSCP: this is end-of-file:0 
 uname -a 
 WinSCP: this is end-of-file:0 
   WinSCP: this is end-of-file:0 
   WinSCP: this is end-of-file:0 
 ^E^R 
 ^E 
 WinSCP: this is end-of-file:0 
 
   Thank`s 
 
 
 '; type=text/css 
 ___ 
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions 
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED] 
 


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


Re: Where am I? :)

2006-03-04 Thread Eric Schuele

Kövesdán Gábor wrote:

Hello,

look at this:

[EMAIL PROTECTED] w
12:41AM  up 82 days, 10:05, 0 users, load averages: 0.00, 0.00, 0.00
USER TTY  FROM  LOGIN@  IDLE WHAT
[EMAIL PROTECTED]

Where am I? :) I don't know exactly how it happened, but I'll 
investigate, I have an idea and I'll report if I find out.




I seem to recall a thread regarding this issue several months back.  I 
don't know if this is the same issue or not.  But in the past thread 
there was a discussion of 'invisible' users in certain situations. 
Don't know if it turned out to be a bug or a feature. Might do some good 
digging through the archives to see what you can find.


This *is not* what I was thinking of but it is interesting:
http://www.freebsd.org/cgi/getmsg.cgi?fetch=130608+133460+/usr/local/www/db/text/1996/freebsd-questions/19960915.freebsd-questions


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





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


Re: Where am I? :)

2006-03-04 Thread Giorgos Keramidas
On 2006-03-04 09:00, Kovesdan Gabor [EMAIL PROTECTED] wrote:
Giorgos Keramidas wrote:
On 2006-03-04 00:44, Kovesdan Gabor [EMAIL PROTECTED] wrote:
 Hello,
 look at this:

 [EMAIL PROTECTED] w
 12:41AM  up 82 days, 10:05, 0 users, load averages: 0.00, 0.00, 0.00
 USER TTY  FROM  LOGIN@  IDLE WHAT
 [EMAIL PROTECTED]

 Where am I? :) I don't know exactly how it happened, but I'll
 investigate, I have an idea and I'll report if I find out.

 Some programs may tweak wtmp to `hide' users that are actively logged
 in.  One program that I know can do this is screen(1).  Hitting ``^A L''
 here, between successive `w' invocations, I can see this:

 [EMAIL PROTECTED]:/root# w
 2:04AM  up  2:10, 1 user, load averages: 0.07, 0.16, 0.19
 USER TTY  FROM  LOGIN@  IDLE WHAT
 [EMAIL PROTECTED]:/root# w
 2:05AM  up  2:11, 2 users, load averages: 0.03, 0.14, 0.17
 USER TTY  FROM  LOGIN@  IDLE WHAT
 root pts/0:0:S.02:05AM - w
 [EMAIL PROTECTED]:/root#

 And what do the other logged in users see?

Only what `w' can see too.

 With my method I can completely hide, nobody can see me logged in.

What is your method?  I haven't seen any description of how *you* ended
up not being logged in.  Are you using screen(1) or another program that
tweaks /var/log/wtmp?  Which program?  Have you found out why your login
seems record in wtmp was marked as logged out?

 So I think it might be an opportunity to abusing. I'll send a PR soon,
 I just wanted to know before if somebody already knows about this
 trick.

I don't think this is a bug.  The permissions of ``/var/log/wtmp'' are:

$ ls -ld /var/log/wtmp
-rw-r--r--  1 root  wheel  - 8052 Mar  4 16:51 /var/log/wtmp

What a bug about this would report is that set-user-id programs, like
screen(1), can do all sorts of nasty things if abused.  This isn't
exactly a bug, but common knowledge.

- Giorgos

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


How to figure out who shutdown box

2006-03-04 Thread Jon Poland
Hi,
  I operate a colo box running FreeBSD 6.0-SECURITY.  Yesterday the box
shutdown and powered off.  I didn't execute shutdown or halt, and I'm the
only user who can.  Here's what the logs tell me:

/var/log/console.log:
Mar  3 11:24:29 kmart kernel: Shutting down daemon processes:

/var/log/messages:
Mar  3 11:24:38 kmart syslogd: exiting on signal 15

last: (the important lines)
reboot   ~ Fri Mar  3 13:10
shutdown ~ Fri Mar  3 11:24

I don't see anything in any of the logs like rebooted by X, etc.

I'm not exactly sure how this can happen and looking for ideas.

Thanks
- JP

dmesg output:
-
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.0-SECURITY #0: Wed Jan 25 07:00:52 UTC 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: IntelR AWRDACPI
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2994.90-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf41  Stepping = 1

Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x441dSSE3,RSVD2,MON,DS_CPL,CNTX-ID,b14
real memory  = 1072562176 (1022 MB)
avail memory = 1040687104 (992 MB)
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 24-47 on motherboard
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: IntelR AWRDACPI on motherboard
acpi0: Power Button (fixed)
pci_link0: ACPI PCI Link LNKA irq 11 on acpi0
pci_link1: ACPI PCI Link LNKB irq 5 on acpi0
pci_link2: ACPI PCI Link LNKC irq 10 on acpi0
pci_link3: ACPI PCI Link LNKD irq 12 on acpi0
pci_link4: ACPI PCI Link LNKE irq 0 on acpi0
pci_link5: ACPI PCI Link LNKF irq 0 on acpi0
pci_link6: ACPI PCI Link LNK0 irq 0 on acpi0
pci_link7: ACPI PCI Link LNK1 irq 7 on acpi0
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 3.0 on pci0
pci1: ACPI PCI bus on pcib1
em0: Intel(R) PRO/1000 Network Connection, Version - 2.1.7 port
0xb000-0xb01f mem 0xfb00-0xfb01 irq 18 at device 1.0 on pci1
em0: Ethernet address: 00:30:48:84:19:a8
em0:  Speed:N/A  Duplex:N/A
pcib2: ACPI PCI-PCI bridge at device 28.0 on pci0
pci2: ACPI PCI bus on pcib2
twe0: 3ware Storage Controller. Driver version 1.50.01.002 port
0xc000-0xc00f mem 0xfa00-0xfa7f irq 24 at device 1.0 on pci2
twe0: [GIANT-LOCKED]
twe0: 4 ports, Firmware FE8S 1.05.00.068, BIOS BE7X 1.08.00.048
pcib3: ACPI PCI-PCI bridge at device 30.0 on pci0
pci3: ACPI PCI bus on pcib3
pci3: display, VGA at device 9.0 (no driver attached)
em1: Intel(R) PRO/1000 Network Connection, Version - 2.1.7 port
0xd100-0xd13f mem 0xf900-0xf901 irq 19 at device 10.0 on pci3
em1: Ethernet address: 00:30:48:84:19:a9
em1:  Speed:N/A  Duplex:N/A
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel 6300ESB UDMA100 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
pci0: serial bus, SMBus at device 31.3 (no driver attached)
acpi_tz0: Thermal Zone on acpi0
fdc0: floppy drive controller port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
acpi0
fdc0: [FAST]
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A
sio1: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
pmtimer0 on isa0
orm0: ISA Option ROMs at iomem 0xc-0xc7fff,0xc8000-0xc8fff on isa0
ppc0: parallel port not found.
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 2994899910 Hz quality 800
Timecounters tick every 1.000 msec
acd0: CDROM CD-224E/1.9A at ata1-master UDMA33
twed0: Unit 1, TwinStor, Normal on twe0
twed0: 238474MB (488395120 sectors)
Trying to mount root from ufs:/dev/twed0s1a
em0: link state changed to UP

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


Re: Problems with SCSI

2006-03-04 Thread David LeCount
Okay, now we're getting somewhere (maybe). Looking in
the CMOS for firewire, I finally found the SCSI
controller setting. I never would have guessed it
would be under PCI configuration. Anyway, I enabled
that, and I disabled firewire, both ethernet ports (I
use wireless anyway), and both SATA channels. I'll
have to enable one of the SATA channels later since I
have a new SATA drive, but for now I want to keep it
as simple as possible. Also, I have the mpt device
built into my kernel, along with scbus and da. Still,
FreeBSD does not list a da device, dmesg doesn't show
anything about mpt, and there is no information
displayed on boot about SCSI drives. It's as if the
SCSI controller is still disabled, even though I
enabled it and saved settings. (I went back into CMOS
to verify it was still enabled.) Know any other
settings that could be disabling it? Thanks.

--- Rod Person [EMAIL PROTECTED] wrote:

 On Friday 03 March 2006 9:58 pm, David LeCount
 wrote:
  I recently purchased a Tyan S2895 motherboard and
 more
  recently a Hitachi SCSI drive. I'm trying like
 hell to
 
 I just got my new workstation 2 days ago with the
 Tyan S2895
 motherboard. Mine is the K8WE with the LSI 1030 U320
 SCSI adapter built in.
 To get this to boot 6.0 I had to do the following.
 
 In the BIOS:
 
 1. Disable the SLAVE MAC(NIC). Advanced-Integrated
 Devices-Slave Devices 
 Menu.
 
 2. Disable IEEE 1394(firewire). Advanced-PCI
 Configuration-Integrated 1394 
 Menu.
 
 With my drive, which was a pull from my old
 workstation, I had kernel built 
 that did not have the mpt drive for the LSI adapter
 so during boot I choose 
 option 6 and the issused the command:
   
   load mpt
   boot
 
 Then all booted fine.
 
 Although you disable the slave nic (my board has 2
 nics) the primary still 
 work as long as you load the if_nve kernel module.
 
 HTH
 -- 
 Rod Person
 
 http://www.opensourcebeef.net
 http://blog.opensourcebeef.net
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where am I? :)

2006-03-04 Thread Kövesdán Gábor

Giorgos Keramidas wrote:


On 2006-03-04 09:00, Kovesdan Gabor [EMAIL PROTECTED] wrote:
 


Giorgos Keramidas wrote:
   


On 2006-03-04 00:44, Kovesdan Gabor [EMAIL PROTECTED] wrote:
 


Hello,
look at this:

[EMAIL PROTECTED] w
12:41AM  up 82 days, 10:05, 0 users, load averages: 0.00, 0.00, 0.00
USER TTY  FROM  LOGIN@  IDLE WHAT
[EMAIL PROTECTED]

Where am I? :) I don't know exactly how it happened, but I'll
investigate, I have an idea and I'll report if I find out.
   


Some programs may tweak wtmp to `hide' users that are actively logged
in.  One program that I know can do this is screen(1).  Hitting ``^A L''
here, between successive `w' invocations, I can see this:

[EMAIL PROTECTED]:/root# w
2:04AM  up  2:10, 1 user, load averages: 0.07, 0.16, 0.19
USER TTY  FROM  LOGIN@  IDLE WHAT
[EMAIL PROTECTED]:/root# w
2:05AM  up  2:11, 2 users, load averages: 0.03, 0.14, 0.17
USER TTY  FROM  LOGIN@  IDLE WHAT
root pts/0:0:S.02:05AM - w
[EMAIL PROTECTED]:/root#
 


And what do the other logged in users see?
   



Only what `w' can see too.

 


With my method I can completely hide, nobody can see me logged in.
   



What is your method?  I haven't seen any description of how *you* ended
up not being logged in.  Are you using screen(1) or another program that
tweaks /var/log/wtmp?  Which program?  Have you found out why your login
seems record in wtmp was marked as logged out?

 


Here's my method:

http://www.freebsd.org/cgi/query-pr.cgi?pr=94060


So I think it might be an opportunity to abusing. I'll send a PR soon,
I just wanted to know before if somebody already knows about this
trick.
   



I don't think this is a bug.  The permissions of ``/var/log/wtmp'' are:

   $ ls -ld /var/log/wtmp
   -rw-r--r--  1 root  wheel  - 8052 Mar  4 16:51 /var/log/wtmp

What a bug about this would report is that set-user-id programs, like
screen(1), can do all sorts of nasty things if abused.  This isn't
exactly a bug, but common knowledge.

- Giorgos

 

/bin/login is suid, too. Can't screen and login be modified somehow to 
take care of this issue?


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


SVIDEO with Intel 915

2006-03-04 Thread Kristian Vaaf


Hello.

I got this laptop (AOpen 1559) running FreeBSD 6.0-STABLE.

It uses the Intel 915 chipset for visuals.
There seems to be an SVIDEO out on the laptop also.

My question is then:

Can I display my screen on my TV somehow?
I do have an SVIDEO cable.

I tried installing NVTV when I thought I was running an nVidia card.
But that didn't work.

People say this works on Windows.
Doesn't it in FreeBSD?

Thanks,
Vaaf

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


Re: Problems with SCSI

2006-03-04 Thread Derek Ragona
If the SCSI is enabled you should get a boot message and be able to go into 
the SCSI configuration.


All SCSI controllers will list the devices found on boot, so if you aren't 
seeing any devices you don't have it working right.  Check the BIOS again 
and check your cabling, and termination.


-Derek


At 09:49 AM 3/4/2006, David LeCount wrote:

Okay, now we're getting somewhere (maybe). Looking in
the CMOS for firewire, I finally found the SCSI
controller setting. I never would have guessed it
would be under PCI configuration. Anyway, I enabled
that, and I disabled firewire, both ethernet ports (I
use wireless anyway), and both SATA channels. I'll
have to enable one of the SATA channels later since I
have a new SATA drive, but for now I want to keep it
as simple as possible. Also, I have the mpt device
built into my kernel, along with scbus and da. Still,
FreeBSD does not list a da device, dmesg doesn't show
anything about mpt, and there is no information
displayed on boot about SCSI drives. It's as if the
SCSI controller is still disabled, even though I
enabled it and saved settings. (I went back into CMOS
to verify it was still enabled.) Know any other
settings that could be disabling it? Thanks.

--- Rod Person [EMAIL PROTECTED] wrote:

 On Friday 03 March 2006 9:58 pm, David LeCount
 wrote:
  I recently purchased a Tyan S2895 motherboard and
 more
  recently a Hitachi SCSI drive. I'm trying like
 hell to

 I just got my new workstation 2 days ago with the
 Tyan S2895
 motherboard. Mine is the K8WE with the LSI 1030 U320
 SCSI adapter built in.
 To get this to boot 6.0 I had to do the following.

 In the BIOS:

 1. Disable the SLAVE MAC(NIC). Advanced-Integrated
 Devices-Slave Devices
 Menu.

 2. Disable IEEE 1394(firewire). Advanced-PCI
 Configuration-Integrated 1394
 Menu.

 With my drive, which was a pull from my old
 workstation, I had kernel built
 that did not have the mpt drive for the LSI adapter
 so during boot I choose
 option 6 and the issused the command:

   load mpt
   boot

 Then all booted fine.

 Although you disable the slave nic (my board has 2
 nics) the primary still
 work as long as you load the if_nve kernel module.

 HTH
 --
 Rod Person

 http://www.opensourcebeef.net
 http://blog.opensourcebeef.net



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Where am I? :)

2006-03-04 Thread Giorgos Keramidas
On 2006-03-04 16:56, Kovesdan Gabor [EMAIL PROTECTED] wrote:
Giorgos Keramidas wrote:
 What is your method?  I haven't seen any description of how
 *you* ended up not being logged in.  Are you using screen(1)
 or another program that tweaks /var/log/wtmp?  Which program?
 Have you found out why your login seems record in wtmp was
 marked as logged out?

 Here's my method:

 http://www.freebsd.org/cgi/query-pr.cgi?pr=94060

Ah, I see now.  Thanks :)

 What a bug about this would report is that set-user-id
 programs, like screen(1), can do all sorts of nasty things if
 abused.  This isn't exactly a bug, but common knowledge.

 /bin/login is suid, too. Can't screen and login be modified
 somehow to take care of this issue?

login is part of the base system so it should be fixed, if
possible.  `screen' is a thirdparty program and the feature *is*
deliberate, but I think it can be disabled by running screen as
non-suid root.

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


Re: Upgrade 5.4 to 6.0

2006-03-04 Thread Tofik Suleymanov

hal wrote:

Is there any reason why I should not upgrade a 5.4
system to 6.0 as opposed to doing a clean install?

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


As far as i know the upgrade process from 5.4 to 6.0 goes smothly.There 
is no reason to do a clean install.

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


Re: Problems with SCSI

2006-03-04 Thread Rod Person
On Saturday 04 March 2006 10:49 am, David LeCount wrote:
 Know any other
 settings that could be disabling it? Thanks.


Well, after I did what I did everything worked. But if your not seeing any 
SCSI devices then there is something else up.

As said. I'd double check the SCSI connection. I'd look into the SCSI adapter 
setting which are seperate from the BIOS, mine is accessed by CTRL+C.

Do you see SCSI adapter messages after the BIOS Post and before the FreeBSD 
boot process?

-- 
Rod Person

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


Re: problem with portdb

2006-03-04 Thread Steel City Phantom
i did use cvsup to update the tree and it didn't bring this down.  i 
will search the ports collection to see if it really exists and give it 
a shot


Garrett Cooper wrote:

Robert Huff wrote:


Steel City Phantom writes:

 

i have tried doing a make fetchindex and that had no effect.  i 
manually upgraded portupgrade to the latest version and it still had 
no change.  i don't have a /usr/ports/java/diablo-jdk1.3.1 but i 
have a diablo-jdk13 dir.


any ideas
  


Yes: create /usr/ports/java/diablo-jdk1.3.1 (with proper
contents) and re-run.


Robert Huff

I'm not sure how he updates the portage tree, but if he uses cvsup 
wouldn't it just erase his portage entries and he'd be back at square 
one?

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




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


Re: How to figure out who shutdown box

2006-03-04 Thread Kelly D. Grills
On Sat, Mar 04, 2006 at 10:24:17AM -0500, Jon Poland wrote:
 
 Hi,
   I operate a colo box running FreeBSD 6.0-SECURITY.  Yesterday the box
 shutdown and powered off.  I didn't execute shutdown or halt, and I'm the
 only user who can.  Here's what the logs tell me:
 
 /var/log/console.log:
 Mar  3 11:24:29 kmart kernel: Shutting down daemon processes:
 
 /var/log/messages:
 Mar  3 11:24:38 kmart syslogd: exiting on signal 15
 
 last: (the important lines)
 reboot   ~ Fri Mar  3 13:10
 shutdown ~ Fri Mar  3 11:24
 
 I don't see anything in any of the logs like rebooted by X, etc.
 
 I'm not exactly sure how this can happen and looking for ideas.
 

Where are you logging security messages? I believe the default is to
/var/log/security

Have a look at /etc/syslog.conf and syslog.conf(5)

You should see messages such as this in your security log:
Mar  1 15:21:38 srv1 shutdown: reboot by kdgrills:

-- 
Kelly D. Grills
[EMAIL PROTECTED]





pgpTjj9CYyMxk.pgp
Description: PGP signature


Re: Problems with SCSI

2006-03-04 Thread David LeCount
I see no SCSI adaptor messages whatsoever. Upon boot,
it goes directly from the BIOS post message to the
FreeBSD boot manager. I tried hitting ctrl c
repeatedly but it still just went to the boot manager.
I've tried connecting the hard drive to each of the
two SCSI channels, and not plugging it in at all. The
cable is terminated, of course. I browsed through
everything in the CMOS and didn't see anything else
that looked relevant to the problem. I guess I'm going
to have to contact Tyan, which is disappointing
because they seem to only do e-mail and probably won't
get back to me for several days. I dread the thought
that I may have to send the board back, but it's not
looking good. If you guys come up with any other ideas
in the meantime, let me know. Thanks.

--- Rod Person [EMAIL PROTECTED] wrote:

 On Saturday 04 March 2006 10:49 am, David LeCount
 wrote:
  Know any other
  settings that could be disabling it? Thanks.
 
 
 Well, after I did what I did everything worked. But
 if your not seeing any 
 SCSI devices then there is something else up.
 
 As said. I'd double check the SCSI connection. I'd
 look into the SCSI adapter 
 setting which are seperate from the BIOS, mine is
 accessed by CTRL+C.
 
 Do you see SCSI adapter messages after the BIOS Post
 and before the FreeBSD 
 boot process?
 
 -- 
 Rod Person
 
 http://www.opensourcebeef.net
 http://blog.opensourcebeef.net
 ___
 freebsd-questions@freebsd.org mailing list

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to figure out who shutdown box

2006-03-04 Thread Kelly D. Grills
On Sat, Mar 04, 2006 at 11:42:49AM -0600, Kelly D. Grills wrote:
 
 Where are you logging security messages? I believe the default is to
 /var/log/security

Sorry, meant to say auth

 
 Have a look at /etc/syslog.conf and syslog.conf(5)
 
 You should see messages such as this in your security log:

Again, auth

 Mar  1 15:21:38 srv1 shutdown: reboot by kdgrills:
 
-- 
Kelly D. Grills
[EMAIL PROTECTED]




pgprHNOHkXDZf.pgp
Description: PGP signature


Re: Problems with SCSI

2006-03-04 Thread Rod Person
On Saturday 04 March 2006 12:43 pm, David LeCount wrote:
 I see no SCSI adaptor messages whatsoever. Upon boot,
 it goes directly from the BIOS post message to the
 FreeBSD boot manager. I tried hitting ctrl c

that doesn't sound good to me! Either your SCSI adapter is busted or
not enabled. I believe you said that you did enable it in your bios.

well, Good Luck!

-- 
Rod Person

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


RE: Problems with SCSI

2006-03-04 Thread Tamouh H.
 
 On Saturday 04 March 2006 12:43 pm, David LeCount wrote:
  I see no SCSI adaptor messages whatsoever. Upon boot, it 
 goes directly 
  from the BIOS post message to the FreeBSD boot manager. I tried 
  hitting ctrl c
 
 that doesn't sound good to me! Either your SCSI adapter is 
 busted or not enabled. I believe you said that you did enable 
 it in your bios.
 
 well, Good Luck!

What is your motherboard model ? if this is a pre-made server what is the make 
and model ?

Tmaouh


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


Problems with mysqld running from /etc/rc.local in FreeBSD6

2006-03-04 Thread Amitabh Kant
Hi

Please excuse me for my ignorance, as I am fairly new to FreeBSD. I
have a FreeBSD 6.0 running on a test system. I successfully installed
mysql5 server from the ports collection. Now to make it start during
the boot process, I created a file /etc/rc.local and entered the
complete path of the mysqld_safe (/usr/bin/mysqld_safe if I am not
wrong) in the same file.

I later realised that this is not the correct way to start mysql
daemon, but the problem is that I did not make any changes to the
/etc/rc.local file. Now when I reboot the machine, the boot process
simply stops after starting mysqld daemon. It will not go away even
after trying Ctrl-C or Ctrl-Q or Ctrl-Break. I tried sshing into the
machine from another system, but it seems that sshd is not up yet, so
I can't just login and change the /etc/rc.local file. It is pinging
the test machine without problems, so atleast the network interface is
up. How do I go about wither bypassing the commands written in the
/etc/rc.local file or editing /etc/rc.local file to comment out
the offending mysqld line.

If it is of any significance, I am running a software Raid1 setup on
my test system.

Thanks for your help

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


Re: Problems with mysqld running from /etc/rc.local in FreeBSD6

2006-03-04 Thread Amitabh Kant
I solved this problem by booting into the Fixit mode using the
installation Media (in my case the first CD of FreeBSD 6). Once inside
the Fixit mode, I mounted the root partition and changed the contents
of the file.

Seems pretty easy on hindsight, although I don't knwo if it has broken
my software Raid1 setup.

Thanks
Amitabh

On 3/5/06, Amitabh Kant [EMAIL PROTECTED] wrote:
 Hi

 Please excuse me for my ignorance, as I am fairly new to FreeBSD. I
 have a FreeBSD 6.0 running on a test system. I successfully installed
 mysql5 server from the ports collection. Now to make it start during
 the boot process, I created a file /etc/rc.local and entered the
 complete path of the mysqld_safe (/usr/bin/mysqld_safe if I am not
 wrong) in the same file.

 I later realised that this is not the correct way to start mysql
 daemon, but the problem is that I did not make any changes to the
 /etc/rc.local file. Now when I reboot the machine, the boot process
 simply stops after starting mysqld daemon. It will not go away even
 after trying Ctrl-C or Ctrl-Q or Ctrl-Break. I tried sshing into the
 machine from another system, but it seems that sshd is not up yet, so
 I can't just login and change the /etc/rc.local file. It is pinging
 the test machine without problems, so atleast the network interface is
 up. How do I go about wither bypassing the commands written in the
 /etc/rc.local file or editing /etc/rc.local file to comment out
 the offending mysqld line.

 If it is of any significance, I am running a software Raid1 setup on
 my test system.

 Thanks for your help

 Amitabh

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


Determining proper order to upgrade

2006-03-04 Thread Luke Dean


I'm one of those masochists who insists on manually building all my 
pakages from the ports collection without using automating software like 
portmanager.


Typically I upgrade my ports collection with
cvsup -g -L 2 /etc/supfile-that-I-made-for-ports
then run
pkg_version -v -L '='
to get a list of what I need to upgrade.

Then I
pkg_info -o name-of-each-port
to find out where the port lives in the ports collection, go there, and 
then use make with whatever custom options I need to upgrade it.


The trouble I have is when one or more of those low-level ports that 
everything else depends on gets upgraded.  I can spend DAYS building and 
rebuilding ports until everything gets built with the most current 
dependencies.
I'm familiar with the -r and -R switches for pkg_info, and they are 
a huge help in this situation, but I'm wondering if anybody has written a 
script that will take a list of packages to be upgraded, examine their 
dependencies and what depends on them, and then return a sorted list of 
every installed package that should be rebuilt in order to keep the 
dependencies current.


I don't want something to automate the whole process - just something to 
help me out with determining which ports are affected and what order they 
should be rebuilt in.


Some of those port management packages must have something like this 
internally.  I guess I could go look there.

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


Re: problem with portdb

2006-03-04 Thread Steel City Phantom
ok, so i copied diablo-jdk13 to diablo-jdk1.3.1 and ran portdb -Uu again 
and tried to do another portupdate.  here is what i got.  i think im 
going to try dropping the entire ports directory and refreshing it from 
the ground up to see if that has any effect


Updating the ports index ... Generating INDEX.tmp - please wait..

make_index: jdk-1.3.1p9_5: no entry for /usr/ports/java/diablo-jdk1.3.1
Warning: Duplicate INDEX entry: freeciv-gtk-2.0.7
Warning: Duplicate INDEX entry: mod_rpaf-0.5
Done.
done
[Updating the portsdb format:bdb1_hash in /usr/ports ... - 14186 port 
entries found 
.1000.2000.3000.4000.5000.6000.7000.8000.9000.1.11000.12000.13000.14000. 
. done]

ironcity#
ironcity#
ironcity# portupgrade -an
---  Session started at: Sat, 04 Mar 2006 14:29:40 -0500
[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 125 
packages found (-5 +22) (...)Stale dependency: mod_log_sql-1.99 -- 
apache-1.3.33_1 -- manually run 'pkgdb -F' to fix, or specify -O to force.

---  Session ended at: Sat, 04 Mar 2006 14:29:41 -0500 (consumed 00:00:00)
ironcity# pkgdb -F
---  Checking the package registry database
[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 125 
packages found (-5 +22) (...)Invalid argument: Cannot update the pkgdb!]
ironcity#   




Steel City Phantom wrote:
i did use cvsup to update the tree and it didn't bring this down.  i 
will search the ports collection to see if it really exists and give 
it a shot


Garrett Cooper wrote:

Robert Huff wrote:


Steel City Phantom writes:

 

i have tried doing a make fetchindex and that had no effect.  i 
manually upgraded portupgrade to the latest version and it still 
had no change.  i don't have a /usr/ports/java/diablo-jdk1.3.1 but 
i have a diablo-jdk13 dir.


any ideas
  


Yes: create /usr/ports/java/diablo-jdk1.3.1 (with proper
contents) and re-run.


Robert Huff

I'm not sure how he updates the portage tree, but if he uses cvsup 
wouldn't it just erase his portage entries and he'd be back at square 
one?

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




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




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


portupgrade vs. portmanager ...

2006-03-04 Thread Kiffin Gish
I would like to know the difference between running:

portupgrade -arR

and

portmanager -u

Just curious is all, thanks.
-- 
Kiffin Gish [EMAIL PROTECTED]

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


RE: Problems with SCSI

2006-03-04 Thread David LeCount
 What is your motherboard model ? if this is a
 pre-made server what is the make and model ?

Tyan S2895 Thunder K8WE

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What do I do with a kernel panic's dump?

2006-03-04 Thread Alexander Mayfield

Lowell Gilbert wrote:

Alexander Mayfield [EMAIL PROTECTED] writes:


Right, so I've got my 6.0-RELEASE up and running, and I'm slowly, but
surely getting it configured how I like it.  80x50 console, all my
favorite programs, life is quite good.

However, just recently, when browsing the web, the kernel panicked on
me.  I was currently just browsing the web in Opera, doing a
portsmanager -u in the my second console, with centericq running in 7
and irssi in 8.  Since I was in X at the time, I had no idea what it
was doing until it rebooted itself.  When I rebooted, I found out that
it had made a few files in my /var/crash/ directory, how thoughtful.
The shorter of the two files read like the following:

Dump header from device /dev/ad1s2b
   Architecture: i386
   Architecture Version: 2
   Dump Length: 1072234496B (1022 MB)
   Blocksize: 512
   Dumptime: Sat Mar  4 07:27:20 2006
   Hostname: alexmax.localdomain
   Magic: FreeBSD Kernel Dump
   Version String: FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
   Panic String: vm_page_insert: page already inserted
   Dump Parity: 3300035405
   Bounds: 0
   Dump Status: good

The other one was quite large, so I will not bore you with the details
unless you need them.  However, from there, I have no clue what to do
with the dumps.. I now ask where should I start looking for
problems...or perhaps what information should I give you?


Take a look at the FAQ entry titled How can I make the most of the
data I see when my kernel panics?

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



I took a look at the FAQ.  Where can I find the instruction pointer?  I 
could not actually see the actual dump, as it happened while I was in X, 
and all I'm left with is the contents of /var/crash/


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


forward hosted domain / subdomain to local box

2006-03-04 Thread Pete C
I have a hosted domian at successfulhosting.com (I believe they run FreeBSD, 
although the helpdesk personell are confuse because they call it their 
'Linux Plan', go figure, anyhoo . . .) and I'd like to host a subdomain 
locally . . . problem is I'm behind a DHCP cable modem (w/ OptimumOnline) 
and a FreeBSD gateway running PF . . . 

. . at the hosted domain, I have access to DNS records, and the 'control 
panel' has alias and redirect options, but require an ip or hostname . . . I 
reversedDNS'd my current ip to  ool-4357635e.dyn.optonline.net but I don't 
know if hostname changes with the ip . . . 

. . in a bit over my head on this one . . . 

. . any 'easy' way to do this . . . no, really ;) 



Pete C 


I love my country, but fear my government.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Determining proper order to upgrade

2006-03-04 Thread Kent Stewart
On Saturday 04 March 2006 11:20, Luke Dean wrote:
 I'm one of those masochists who insists on manually building all my
 pakages from the ports collection without using automating software
 like portmanager.

 Typically I upgrade my ports collection with
 cvsup -g -L 2 /etc/supfile-that-I-made-for-ports
 then run
 pkg_version -v -L '='
 to get a list of what I need to upgrade.

 Then I
 pkg_info -o name-of-each-port
 to find out where the port lives in the ports collection, go there,
 and then use make with whatever custom options I need to upgrade
 it.

 The trouble I have is when one or more of those low-level ports that
 everything else depends on gets upgraded.  I can spend DAYS building
 and rebuilding ports until everything gets built with the most
 current dependencies.
 I'm familiar with the -r and -R switches for pkg_info, and they
 are a huge help in this situation, but I'm wondering if anybody has
 written a script that will take a list of packages to be upgraded,
 examine their dependencies and what depends on them, and then return
 a sorted list of every installed package that should be rebuilt in
 order to keep the dependencies current.

 I don't want something to automate the whole process - just something
 to help me out with determining which ports are affected and what
 order they should be rebuilt in.

 Some of those port management packages must have something like this
 internally.  I guess I could go look there.
 ___

I like aliases but they don't work for this. So, I have a shell script 
that does the work for me. I called it pkgreq and it looks like

#! /bin/sh
cd /var/db/pkg
pkg_info -R $1* | more

You pkgreq port-name-of-interest and it returns that ports that use 
the port.

Kent

-- 
Kent Stewart
Richland, WA

http://www.soyandina.com/ I am Andean project.
http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem with portdb

2006-03-04 Thread Steel City Phantom

i just tried with a fresh ports tree and i get the same as below

Steel City Phantom wrote:
ok, so i copied diablo-jdk13 to diablo-jdk1.3.1 and ran portdb -Uu 
again and tried to do another portupdate.  here is what i got.  i 
think im going to try dropping the entire ports directory and 
refreshing it from the ground up to see if that has any effect


Updating the ports index ... Generating INDEX.tmp - please wait..

make_index: jdk-1.3.1p9_5: no entry for /usr/ports/java/diablo-jdk1.3.1
Warning: Duplicate INDEX entry: freeciv-gtk-2.0.7
Warning: Duplicate INDEX entry: mod_rpaf-0.5
Done.
done
[Updating the portsdb format:bdb1_hash in /usr/ports ... - 14186 
port entries found 
.1000.2000.3000.4000.5000.6000.7000.8000.9000.1.11000.12000.13000.14000. 
. done]

ironcity#
ironcity#
ironcity# portupgrade -an
---  Session started at: Sat, 04 Mar 2006 14:29:40 -0500
[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 125 
packages found (-5 +22) (...)Stale dependency: mod_log_sql-1.99 -- 
apache-1.3.33_1 -- manually run 'pkgdb -F' to fix, or specify -O to 
force.
---  Session ended at: Sat, 04 Mar 2006 14:29:41 -0500 (consumed 
00:00:00)

ironcity# pkgdb -F
---  Checking the package registry database
[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 125 
packages found (-5 +22) (...)Invalid argument: Cannot update the pkgdb!]
ironcity#  



Steel City Phantom wrote:
i did use cvsup to update the tree and it didn't bring this down.  i 
will search the ports collection to see if it really exists and give 
it a shot


Garrett Cooper wrote:

Robert Huff wrote:


Steel City Phantom writes:

 

i have tried doing a make fetchindex and that had no effect.  i 
manually upgraded portupgrade to the latest version and it still 
had no change.  i don't have a /usr/ports/java/diablo-jdk1.3.1 but 
i have a diablo-jdk13 dir.


any ideas
  


Yes: create /usr/ports/java/diablo-jdk1.3.1 (with proper
contents) and re-run.


Robert Huff

I'm not sure how he updates the portage tree, but if he uses cvsup 
wouldn't it just erase his portage entries and he'd be back at 
square one?

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




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




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




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


Re: Haven't been able to make world in about a year

2006-03-04 Thread Stijn Hoop
On Sat, Mar 04, 2006 at 05:45:29PM +0100, Kristian Vaaf wrote:
 At 12:05 03.03.2006, Stijn Hoop wrote:
  On Fri, Mar 03, 2006 at 11:58:37AM +0100, Kristian Vaaf wrote:
   I run the script to save time.
   Basically I'd run the exact same chain of commands otherwise.
 
  You're missing the point: you'd run the exact same chain of commands
 
  -- _if everything goes according to plan_ --
 
  What this list has been telling you is that it sometimes doesn't work
  like anyone expects to, and you need to make an informed decision about
  the next command to enter instead of having the script proceed.
 
 Whether I have my commands in my script or in my head doesn't
 make any difference. Yes I do read UPDATING and if I notice any
 changes they will be applied respectively.

Err...

Did you even read what I wrote?

The moment one step does NOT work in the command sequence, you need to
alter your next move. No script can be prepared for all the things
that can happen. Which is why everyone is recommending you NOT to run
things in a script.

Also, please keep the mailing list in the loop, to help other people
asking the same question.

--Stijn

-- 
If today is the first day of the rest of your life, what the hell was
yesterday?


pgpBB7SkAEsiC.pgp
Description: PGP signature


Re: forward hosted domain / subdomain to local box

2006-03-04 Thread Chuck Swiger
Pete C wrote:
[ ... ]
 . . at the hosted domain, I have access to DNS records, and the 'control
 panel' has alias and redirect options, but require an ip or hostname . .
 . I reversedDNS'd my current ip to  ool-4357635e.dyn.optonline.net but I
 don't know if hostname changes with the ip . . .
 . . in a bit over my head on this one . . .
 . . any 'easy' way to do this . . . no, really ;)

You can't host a domain reliably without having a permanent static IP.
Try www.dyndns.org instead...?

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


Re: Where am I? :)

2006-03-04 Thread Oliver Leitner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Big one, so you know howto use a log cleaner.

am i am the only one that is not impressed?

btw, did you actually realize, that  log cleaner wont clean the history
file? just a suggestion...

Kövesdán Gábor schrieb:
 Hello,
 
 look at this:
 
 [EMAIL PROTECTED] w
 12:41AM  up 82 days, 10:05, 0 users, load averages: 0.00, 0.00, 0.00
 USER TTY  FROM  LOGIN@  IDLE WHAT
 [EMAIL PROTECTED]
 
 Where am I? :) I don't know exactly how it happened, but I'll
 investigate, I have an idea and I'll report if I find out.
 
 Gabor Kovesdan
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFECgWwWvEVE8MtwbgRAjuyAJ0elWznHcoynRn3uVxIX+Hz1hvuYQCfVKlm
/0PIp0qp4iilRHevAyFUU3U=
=aeud
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


device atapicam not enabled in GENERIC kernel for FreeBSD 6.0-RELEASE

2006-03-04 Thread Duane Whitty
Hi,

Just wondering if anyone has any 
information/opinion as to why
device atapicam is not enabled by 
default in the GENERIC kernel.

Does this apply to releases other than 
6?

Thanks in advance,

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


Re: device atapicam not enabled in GENERIC kernel for FreeBSD 6.0-RELEASE

2006-03-04 Thread Kris Kennaway
On Sat, Mar 04, 2006 at 05:26:37PM -0400, Duane Whitty wrote:
 Hi,
 
 Just wondering if anyone has any 
 information/opinion as to why
 device atapicam is not enabled by 
 default in the GENERIC kernel.

It's not an appropriate default, since it modifies the way the ata
subsystem works in ways the maintainer does not wish to support, and
often contains bugs.

Kris


pgpKb3qUkLkmg.pgp
Description: PGP signature


Software RAID-1 FreeBSD 5.4

2006-03-04 Thread Tamouh H.

Hi,

This is on FreeBSD 5.4 latest stable snapshot on January.

I've followed the instructions at:
http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html  for creating 
software RAID, which appears to have been successful. the raid created, and 
synched, couple of reboots all is good.

So I wanted to test it out, I've unplugged one of the drives and rebooted, 
however, I've received the error:

ffs_mountroot: can't find rootvp
Root mount failed: 6
mountroot

It doesn't matter which disk I unplug, it gives the same result. I've attempted 
to remount:

ufs:/dev/mirror/gm0s1a
ufs:/dev/ad6s1a
ufs:/dev/ad4s1a

no luck. so I looked over:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html

and added the 'options GEOM_MIRROR' to Kernel, then recompiled, installed and 
restarted, the machine would hang completely just when loading the AD drives.

Are the articles missing any steps ? any help is appreciated.

Thx,

Tamouh Hakmi


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


Re: Where am I? :)

2006-03-04 Thread Kövesdán Gábor

Oliver Leitner wrote:


Big one, so you know howto use a log cleaner.

am i am the only one that is not impressed?

btw, did you actually realize, that  log cleaner wont clean the history
file? just a suggestion...

 

I don't use any log cleaner, I triggered this accidentally. Please read 
the whole thread if you're interested or see this:

http://www.freebsd.org/cgi/query-pr.cgi?pr=94060

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


RE: Problems with SCSI

2006-03-04 Thread Derek Ragona

David,

How do you have the CD drive cabled?  That motherboard has 68-pin SCSI 
connectors, and SCSI CD's mostly have 50-pin connectors, there are a few 
with 68-pin connectors, but it isn't common.


Do you have the CD terminated, and the SCSI on the motherboard's 
termination set correctly?


You need to check a jumper on your motherboard, the jumper is:
J92
This jumper effects the onboard SCSI.

This is in the manual on page 13

Enable the boot-time diagnostic screen, enable the summary screen as well, 
and check the boot device priority.  If you have SCSI enabled correctly 
this will be a choice to boot from it.


These are on page 54

-Derek



At 01:38 PM 3/4/2006, David LeCount wrote:

 What is your motherboard model ? if this is a
 pre-made server what is the make and model ?

Tyan S2895 Thunder K8WE

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Where am I? :)

2006-03-04 Thread Oliver Leitner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Yea... Right...

well, however...

log out and log back in, it should start the logs again.

in case you really dropped it accidently, look if the system logging
daemon is running.

Kövesdán Gábor schrieb:
 Oliver Leitner wrote:
 
 Big one, so you know howto use a log cleaner.

 am i am the only one that is not impressed?

 btw, did you actually realize, that  log cleaner wont clean the history
 file? just a suggestion...

  

 I don't use any log cleaner, I triggered this accidentally. Please read
 the whole thread if you're interested or see this:
 http://www.freebsd.org/cgi/query-pr.cgi?pr=94060
 
 Gabor Kovesdan
 
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFEChFhWvEVE8MtwbgRArAGAJwOnNI2RwZ6zq2EC8v2bz+eJ5F5vACfUuap
7mbdrC5vWV/ILQbhp1PBzzM=
=tJyb
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where am I? :)

2006-03-04 Thread Kövesdán Gábor

Oliver Leitner wrote:


Yea... Right...

well, however...

log out and log back in, it should start the logs again.

in case you really dropped it accidently, look if the system logging
daemon is running.

 

Yes, of course it is running. Logging out and logging in solves this 
issue, but the point is here that even a single user without root acces 
can be hiding. He can do anything and nobody will notice that he is even 
loggod in. We discussed in the list that /var/log/wtmp helds the login 
states and only suid programs can access it, e.g. screen or login. As 
for login, it will be fixed if possible since it is in the base system.


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


Re: Where am I? :)

2006-03-04 Thread Karol Kwiatkowski
Kövesdán Gábor wrote:
 I don't use any log cleaner, I triggered this accidentally. Please read
 the whole thread if you're interested or see this:
 http://www.freebsd.org/cgi/query-pr.cgi?pr=94060
 
 Gabor Kovesdan

Looks similar to this:

http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/068201.html

Regards,

Karol

-- 
Karol Kwiatkowski  freebsd at orchid dot homeunix dot org
GPGKey: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc



signature.asc
Description: OpenPGP digital signature


Re: Where am I? :)

2006-03-04 Thread Oliver Leitner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Well, it could have different reasons then:

1. your box has been hacked, and you have a somewhat crippled login or
shell, try to replace that things with clean ones.

2. maybe there is something wrong with memory mapping, eventually diag
your ram, or build a new kernel.

3. its just one of those accidently things that happen every 10 years
once...

Karol Kwiatkowski schrieb:
 Kövesdán Gábor wrote:
 
I don't use any log cleaner, I triggered this accidentally. Please read
the whole thread if you're interested or see this:
http://www.freebsd.org/cgi/query-pr.cgi?pr=94060

Gabor Kovesdan
 
 
 Looks similar to this:
 
 http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/068201.html
 
 Regards,
 
 Karol
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFECheUWvEVE8MtwbgRAjiPAJ99pScZphH029dzwLoxU1UiBX1KygCfX79s
TeoN/020yEHS9efy2ZDTdz8=
=tlxX
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where am I? :)

2006-03-04 Thread Kövesdán Gábor

Oliver Leitner wrote:


Well, it could have different reasons then:

1. your box has been hacked, and you have a somewhat crippled login or
shell, try to replace that things with clean ones.

2. maybe there is something wrong with memory mapping, eventually diag
your ram, or build a new kernel.

3. its just one of those accidently things that happen every 10 years
once...

 


4, It is just a bug in login, or it is the normail behavior. :)

As for the first and second assumption, I can guarantee they are wrong. 
I do a lot of effort to keep the machine secure. As for the second one, 
this machine has a quite big uptime:


11:44PM  up 83 days,  9:09, 1 user, load averages: 0.04, 0.05, 0.01

It has been running for 83 days without any deficiency.

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


Terminal Not Providing login: Prompt

2006-03-04 Thread Jason C. Wells

When I use 'tip' I seem to bee connected, but I get no login prompt.

$ tip sio0
connected

and nothing else.

If I telnet to the receiving host and redirect a file to the serial 
line, I do see data being transmitted.  The formatting is a bit off though.


(remote)$ cat /etc/issue
(remote)$Hello there!
(remote)$
(remote)$This is a serial line terminal.

(remote)$ cat /etc/issue  /dev/ttyd0
(local)Hello there!
(local)
(local)  This is a serial line terminal.
   ^^
   extra spaces are garbage output

Every document I have read assumes that your terminal will just work.  I 
am connecting a FreeBSD host to a FreeBSD host using default 9600 baud 
settings and things aren't working well.  It's probably pretty hard to 
determine the fix for my problem via email.  Can anyone point me to a 
reference that is comprehensive regarding unix serial communications and 
terminals?


Or am I making this harder than it should be?

Thanks,
Jason C. Wells




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


Re: Terminal Not Providing login: Prompt

2006-03-04 Thread Glenn Dawson

At 03:04 PM 3/4/2006, Jason C. Wells wrote:

When I use 'tip' I seem to bee connected, but I get no login prompt.

$ tip sio0
connected

and nothing else.


Did you enable ttyd0 in /etc/ttys?

-Glenn


If I telnet to the receiving host and redirect a file to the serial 
line, I do see data being transmitted.  The formatting is a bit off though.


(remote)$ cat /etc/issue
(remote)$Hello there!
(remote)$
(remote)$This is a serial line terminal.

(remote)$ cat /etc/issue  /dev/ttyd0
(local)Hello there!
(local)
(local)  This is a serial line terminal.
   ^^
   extra spaces are garbage output

Every document I have read assumes that your terminal will just 
work.  I am connecting a FreeBSD host to a FreeBSD host using 
default 9600 baud settings and things aren't working well.  It's 
probably pretty hard to determine the fix for my problem via 
email.  Can anyone point me to a reference that is comprehensive 
regarding unix serial communications and terminals?


Or am I making this harder than it should be?

Thanks,
Jason C. Wells




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


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


Re: Terminal Not Providing login: Prompt

2006-03-04 Thread Jason C. Wells

Glenn Dawson wrote:

At 03:04 PM 3/4/2006, Jason C. Wells wrote:

When I use 'tip' I seem to bee connected, but I get no login prompt.

$ tip sio0
connected

and nothing else.


Did you enable ttyd0 in /etc/ttys?


Yes.

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


KDE problem?

2006-03-04 Thread Marko Bukovinsky
I have installed freeBSD r 4.7 and i have graphic cart integrated Intel 82815 
Graphic Controler(Microsoft Corporation).I can not start X window. Is there any 
way to right configure xf86config file for this graphic cart?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PS/2 mouse problem

2006-03-04 Thread Marko Bukovinsky
When X system is loaded my mouse freezes on upper-right corner and when i try 
to move it then screen blinks.
What could be wrong?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.1-BETA2 AMD64 boot only CD freezes at module_register_init: MOD_LOAD (amr_linux, 0xffffffff805ebcc0, 0) error 6

2006-03-04 Thread Joseph Turian
Sorry about the double posting. I have since been disabused of the
notion that freebsd-questions@freebsd.org and [EMAIL PROTECTED]
are separate lists.

   Joseph


On 3/3/06, Joseph Turian [EMAIL PROTECTED] wrote:
 I flubbed that error message slightly, since I have to copy it by hand. :P
 Sorry about that, here's the correct version:


 Here is the 6.1-BETA2 AMD64 boot freeze message:

 Timecounter TSC frequency 2009156527 Hz quality 800
 Timecounters tick every 1.000 msec
 module_register_init: MOD_LOAD (amr_linux, 0x805ebcc0, 0) error 6



 Here is the 6.0 AMD64 boot freeze message:

 Timecounter TSC frequency 2009156417 Hz quality 800
 Timecounters tick every 1.000 msec

Joseph


 
  This is slightly modified version of the error I get if I try to 6.0 boot 
  disc.
 
  Here is some prior evidence I collected in an earlier version of this
  question on list.freebsd.questions. No one seems to know the answer,
  so I'm following up here with more information, in the hopes someone
  can help me out. (Sorry if anyone minds.) I need to install this
  system RSN and I'd prefer to use FreeBSD but the Linux install works
  fine in a pinch and FreeBSD won't even boot. Please help!
 
  Thanks,
 
 Joseph
 
  =
 
  From: Joseph Turian [EMAIL PROTECTED]
  Newsgroups: list.freebsd.questions
  Subject: 6.0 install CD boot freezes at Timecounters tick every 1.000 msec
  Date: 2 Mar 2006 14:08:30 -0800
 
  I'm having difficulty booting FreeBSD from the 6.0 install disc 1 for
  AMD64.
  I've also tried the boot disk, with the same problem.
 
  Basically, I'm trying to install on a clean system. Boot with ACPI
  *disabled* freezes with:
 
  Timecounter TSC frequency 2009156417 Hz quality 800
  Timecounters tick every 1.000 msec
 
 
  I've googled this message and the recommendation is boot with ACPI.
  But I disabled ACPI in  the BIOS *and* I boot with option 2 (no ACPI),
  so that doesn't resolve the issue.
 
  Please help! I'd really like to install FreeBSD and give it a spin. I'd
  hate to be forced to install Linux just because it works no problem.
 
  Thanks,
 Joseph
 
  P.S. If you're interested in my hardware, here's the dmesg output from
  the gentoo livecd i686 2006.0 installer cd. I have a SATA disk and an
  IDE disk, maybe that's the issue?
 
  Linux version 2.6.15-gentoo-r5 ([EMAIL PROTECTED]) (gcc version 3.4.4
  (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)) #1 SMP Mon Feb 13 20:23:47
  UTC 2006
  BIOS-provided physical RAM map:
   BIOS-e820:  - 0009fc00 (usable)
   BIOS-e820: 0009fc00 - 000a (reserved)
   BIOS-e820: 000e5000 - 0010 (reserved)
   BIOS-e820: 0010 - 7bfc (usable)
   BIOS-e820: 7bfc - 7bfce000 (ACPI data)
   BIOS-e820: 7bfce000 - 7bff (ACPI NVS)
   BIOS-e820: 7bff - 7c00 (reserved)
   BIOS-e820: fec0 - fec01000 (reserved)
   BIOS-e820: fee0 - fef0 (reserved)
   BIOS-e820: ff78 - 0001 (reserved)
  1087MB HIGHMEM available.
  896MB LOWMEM available.
  found SMP MP-table at 000ff780
  On node 0 totalpages: 507840
DMA zone: 4096 pages, LIFO batch:0
DMA32 zone: 0 pages, LIFO batch:0
Normal zone: 225280 pages, LIFO batch:31
HighMem zone: 278464 pages, LIFO batch:31
  DMI 2.3 present.
  ACPI: RSDP (v000 ACPIAM) @ 0x000fb870
  ACPI: RSDT (v001 A M I  OEMRSDT  0x1505 MSFT 0x0097) @
  0x7bfc
  ACPI: FADT (v002 A M I  OEMFACP  0x1505 MSFT 0x0097) @
  0x7bfc0200
  ACPI: MCFG (v001 A M I  OEMMCFG  0x1505 MSFT 0x0097) @
  0x7bfc0400
  ACPI: OEMB (v001 A M I  AMI_OEM  0x1505 MSFT 0x0097) @
  0x7bfce040
  ACPI: DSDT (v001  A0368 A0368001 0x0001 INTL 0x02002026) @
  0x
  Intel MultiProcessor Specification v1.4
  Virtual Wire compatibility mode.
  OEM ID: TEMPLATE Product ID: CSM  APIC at: 0xFEE0
  Processor #0 15:15 APIC version 16
  I/O APIC #1 Version 17 at 0xFEC0.
  Enabling APIC mode:  Flat.  Using 1 I/O APICs
  Processors: 1
  Allocating PCI resources starting at 8000 (gap: 7c00:82c0)
  Built 1 zonelists
  Kernel command line: root=/dev/ram0 init=/linuxrc dokeymap
  looptype=squashfs loop=/image.squashfs cdroot initrd=gentoo.igz vga=791
  splash=silent,theme:livecd-2006.0 CONSOLE=/dev/tty1 quiet
  BOOT_IMAGE=gentoo
  mapped APIC to d000 (fee0)
  mapped IOAPIC to c000 (fec0)
  Initializing CPU#0
  CPU 0 irqstacks, hard=c0427000 soft=c041f000
  PID hash table entries: 4096 (order: 12, 65536 bytes)
  Detected 2009.214 MHz processor.
  Using tsc for high-res timesource
  Speakup v-2.00 CVS: Wed Dec 21 14:36:03 EST 2005 : initialized
  Console: colour dummy device 80x25
  Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
  Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
  Memory: 2005764k/2031360k 

Re: Where am I? :)

2006-03-04 Thread Giorgos Keramidas
On 2006-03-04 23:41, Oliver Leitner [EMAIL PROTECTED] wrote:

 Well, it could have different reasons then:

 1. your box has been hacked, and you have a somewhat crippled login or
 shell, try to replace that things with clean ones.

 2. maybe there is something wrong with memory mapping, eventually diag
 your ram, or build a new kernel.

 3. its just one of those accidently things that happen every 10 years
 once...

No it's a genuine bug.  I can reproduce it here too, on FreeBSD
7.0-CURRENT, using the instructions of Gabor Kovesdan, as you can
see here:

% [EMAIL PROTECTED]:/home/keramida$ w
%  3:07AM  up 1 day,  3:12, 3 users, load averages: 0.12, 0.09, 0.03
% USER TTY  FROM  LOGIN@  IDLE WHAT
% keramida v2   - 3:07AM - w
% [EMAIL PROTECTED]:/home/keramida$ tty
% /dev/ttyv2

Here you can see that I'm logged in on ttyv2 (third virtual console).

% [EMAIL PROTECTED]:/home/keramida$ login some_fake_user
% Password:
% Login incorrect
% login: keramida
% Last login: Sun Mar  5 03:07:27 on ttyv2
% Copyright (c) 1992-2006 The FreeBSD Project.
% Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
% The Regents of the University of California. All rights reserved.
%
% FreeBSD 7.0-CURRENT (FLAME) #0: Fri Mar  3 20:13:02 EET 2006
% [EMAIL PROTECTED]:/home/keramida$ w
%  3:07AM  up 1 day,  3:13, 3 users, load averages: 0.08, 0.09, 0.03
% USER TTY  FROM  LOGIN@  IDLE WHAT
% keramida v2   - 3:07AM - w
% [EMAIL PROTECTED]:/home/keramida$

Now I'm logged in again on the same terminal, but in a nested login.

% [EMAIL PROTECTED]:/home/keramida$ exit
% logout
% [EMAIL PROTECTED]:/home/keramida$ w
%  3:07AM  up 1 day,  3:13, 2 users, load averages: 0.08, 0.09, 0.03
% USER TTY  FROM  LOGIN@  IDLE WHAT
% [EMAIL PROTECTED]:/home/keramida$

Done.  I'm gone, and my login record has been wiped from wtmp.

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


Re: Terminal Not Providing login: Prompt

2006-03-04 Thread Jason C. Wells

Glenn Dawson wrote:

What sort of cable are you using?  Does it have all the control lines 
connected? or just tx/rx data?


This marks the first time I ever busted out my multimeter to work on
FreeBSD.  :)  Here is a pin to pin map of the DB9 connectors that I am
using:

1,6-4
2-3
3-2
4-1,6
5-5
7-8
8-7
9-null

According to a couple online pinout maps this is a proper null modem
cable.  If I understand your question correctly, this cable has all the
control lines connected.

Later,
Jason C. Wells

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


Re: rl0 discard oversize

2006-03-04 Thread Chris
On 28/02/06, Igor Robul [EMAIL PROTECTED] wrote:
 On Tue, Feb 28, 2006 at 01:55:56AM -0500, David Scheidt wrote:
  The RealTek cards supported by the rl(4) driver are trash.  If you want to
  write a better driver, knock yourself out.  I'm sure Bill Paul won't
  mind.  Keep in mind that there are other, better performing NICs
  available for the about same price.
 Most RL8139 cards work fine in our company. Most Windows PCs have these
 cards (slowly replaced by integrated NICs on new motherboards), also
 some FreeBSD-based routers have these NICs.
 ___

Likewise fine here, the fact windows outperforms freebsd with realteks
should be enough embarrasement to warrant a rewrite.  A realtek 8139
can easily do full 100mbit with no packet loss but just uses higher
cpu utilisation, also its not always easy to say to a datacentre swap
the card for diff brand.
I like freebsd a lot, but my most worrying thought is their attitude
to low end hardware, alot of 486 and 586 class and low end 686 class
machines fail to boot in 6.x and everytime this is brought up the
hardware is blamed and advised to replace, great if you loaded with
cash.  The comparison with linux is they maintain support for old
hardware.
But I guess telling people their card is trash (when it isnt) is
easier then rewriting a driver, I cant rewrite as I have no knowledge
of coding.
here is a quote from the linux 2.6 driver notes.

The 8139too driver is based almost entirely on the on the 8139 driver
written by Donald Becker. It has a few operational changes, most of
which are flawed or pointless.
MMIO vs. PIO operation

The 8139 is mapped to both PCI I/O and memory space. Using I/O space
is traditional on x86 architectures, and most drivers are written to
use this mode. However, using the memory space mapping (MMIO) is more
efficient for isolated writes since these are stored in a write buffer
and the processor can continue execution without waiting for the PCI
operation to complete. An added advantage is the processors without
native I/O operations avoid extra address space calculations.

A problem with using this MMIO mode is that the 8139 has different
access alignment restrictions with memory space, and the write buffer
potentially changes the ordering of command writes and subsequent
memory reads.

The 8139too driver attempts to work around the latter problem by doing
a read immediately following a register write. Not only does this
completely eliminate the advantage of having a write buffer, it
doubles the overhead over just using I/O operations!
Added Spin-locks

The 8139too adds spin-locks. However, as with so many of the 2.3
spin-locks, it added them without considering if they were actually
needed. The only code with a potential conflict is when reading and
writing MII registers. But the 8139too driver supports only the 8139,
which has an internal transceiver that is directly accessed by
registers reads. So no spin-lock is needed!
The rx_size patch

The 8139too driver adds a patch taken from the BSD driver. This patch
claims to fix a bug in the Rx ring: when copying a packet into RAM,
the length will be 0xfff0. But the BSD bug is an artifact of that
driver trying to avoid PCI bus operations by guessing if a packet has
arrived, rather than following the documented method of check the
RxBufEmpty status.

The BSD method is more efficient. Checking the next entry and guessing
can potentially save one or two expensive PCI transactions per Rx
packet. But (as they found out) it is prone to races and failure.

The Linux driver never encounters this problem, but the BSD bug fix
was blindly added anyway.

I see they taken something from the bsd drivers but are the other
optimisations mentioned in the bsd driver?

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


Re: How to print in duplex mode?

2006-03-04 Thread Malcolm Kay
On Fri, 3 Mar 2006 08:57 am, Mikhail Teterin wrote:
 Hello!

 I'm trying to use less paper by printing on both sides of each
 sheet.

 The printer is capable of duplex printing, but all the
 postcript I send to it ends up printed single-sided.

 The original PS is generated by a web-browser. I then try to
 use enscript's pstops utility, but can't figure out its
 page-specification language :-(

Cups and psutils have pstops but I can't see any in enscript.

Assuming you are talking about the version from psutils, then I 
believe this just orders or select pages for printing. To the 
best of me knowlege it is not capable of setting your printer 
into duplex mode.

Duplex mode is usually controlled by some printer/manufacturer 
specific job control wrapper around the postscript such as HP's 
JPL. There may also be postscript commands which will switch to 
duplex but these are also likely to be somewhat printer 
specific.

Briefly a generic solution for postscript printers is unlikely.
But there are print systems that understand about specific 
printers and insert the job control wrapper.

I believe the simplest way to achieve what you want is probably 
to install the Cups print system.
Then something like:
% lp -o sides=two-sided-long-edge filename
should work.


 Would someone have a ready example:

   pstops 'MagickSpell' input.ps duplex.ps

How is this mystical command line constructed?
Is duplex.ps some library file you obtained from somewhere?
If it contains PS commands to switch to duplex it would probably 
need to appear ahead of your input.
  
Malcolm

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


strange message -- kernel trap 19

2006-03-04 Thread alicornio
Hi all 

I have some problems with my machine. After the problem of my hd(many 
badblocks and consequently bugs in filesystem) a new problem arise. Some 
time after the login on FBSD is promped this messages: 

Jan 23 17:16:31 Machina kernel: NMI ISA 20, EISA ff 
Jan 23 17:16:35 Machina kernel: NMI ISA 20, EISA ff 
Jan 23 17:16:45 Machina kernel: kernel trap 19 with interrupts disabled 
Jan 23 17:16:45 Machina kernel: NMI ISA 30, EISA ff 
Jan 23 17:16:47 Machina kernel: NMI ISA 20, EISA ff 
Jan 23 17:16:54 Machina kernel: NMI ISA 20, EISA ff 
Jan 23 17:16:58 Machina kernel: NMI ISA 30, EISA ff 
Jan 23 17:17:04 Machina kernel: kernel trap 19 with interrupts disabled 
Jan 23 17:17:04 Machina kernel: NMI ISA 30, EISA ff 
Jan 23 17:17:06 Machina kernel: kernel trap 19 with interrupts disabled 
Jan 23 17:17:06 Machina kernel: NMI ISA 30, EISA ff 
Jan 23 17:17:07 Machina kernel: kernel trap 19 with interrupts disabled 
Jan 23 17:17:07 Machina kernel: NMI ISA 20, EISA ff 
Jan 23 17:17:07 Machina kernel: kernel trap 19 with interrupts disabled 
Jan 23 17:17:07 Machina kernel: NMI ISA 30, EISA ff 
Jan 23 17:17:12 Machina kernel: kernel trap 19 with interrupts disabled 

And finally the reboot of system. 
In my Windows simply arise the blue screen. 

I'm using the same problematic hd. Could it be the problem? 

I'm waiting for feedbacks 

thanks 

Thiago 


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

Packages/Ports

2006-03-04 Thread Charlie Sorsby
Hello,

Wouldn't it be nice if, when a product (e.g. leafnode in this case)
is ported to freeBSD -- not sure why this particular one needs to
be ported but... -- the porter would either adhere to the man pages
or would change the man pages to agree with the changes made?

I've used leafnode and it's progeny for many years.  I just updated
to freeBSD 4.11 (no, I'm not going to update to 5.x much less 6.x)
and had to re-install leafnode.  Even made a partition for
/var/spool/news so that it won't fill up the other spool
directories.

Guess what?  That partition is totally empty?  Why?, I asked myself.
According to the man pages, that's where it should be putting the
news articles.  But a search reveals that they're going to a
directory called /var/spool/leafnode.

Is it really asking too much that software in teh packages and
ports collections should agree with the manpages that come with
that software?

It's very frustrating to find man pages that may as well be for
different programs instead of the documentation for what has been
installed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade vs. portmanager ...

2006-03-04 Thread Peter

--- Kiffin Gish [EMAIL PROTECTED] wrote:

 I would like to know the difference between running:
 
 portupgrade -arR
 
 and
 
 portmanager -u
 
 Just curious is all, thanks.

I have found portmanager to be more intelligent.  When
you run it it takes a look at all installed ports and
then it decides what order to upgrade the ports and
their dependencies.  Portupgrade proceeds linearly and
you may need to run it a few more times for everything
to be upgraded.  At least that's how I understand it.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Packages/Ports

2006-03-04 Thread Chris Hill

On Sat, 4 Mar 2006, Charlie Sorsby wrote:


Is it really asking too much that software in teh packages and
ports collections should agree with the manpages that come with
that software?


I don't think so. In fact, IMO the man page should be THE definitive 
documentation for any software.


I assume you've contacted the man page's author (or the port maintainer, 
as applicable)? If you're getting no love there, you could always fix 
the manpage yourself and submit a patch. Just a thought.


--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade vs. portmanager ...

2006-03-04 Thread Kent Stewart
On Saturday 04 March 2006 19:20, Peter wrote:
 --- Kiffin Gish [EMAIL PROTECTED] wrote:
  I would like to know the difference between running:
 
  portupgrade -arR
 
  and
 
  portmanager -u
 
  Just curious is all, thanks.

 I have found portmanager to be more intelligent.  When
 you run it it takes a look at all installed ports and
 then it decides what order to upgrade the ports and
 their dependencies.  Portupgrade proceeds linearly and
 you may need to run it a few more times for everything
 to be upgraded.  At least that's how I understand it.

 
But the -rR tells it to look at all of the dependancies and build them 
if they need to be. In addition, if something depends on it, it will 
also build them. 

I don't see any differance.

Kent

-- 
Kent Stewart
Richland, WA

http://www.soyandina.com/ I am Andean project.
http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: strange message -- kernel trap 19

2006-03-04 Thread Kris Kennaway
On Sun, Mar 05, 2006 at 12:09:32AM -0300, alicornio wrote:
Content-Description: Mail message body
 Hi all 
 
 I have some problems with my machine. After the problem of my hd(many 
 badblocks and consequently bugs in filesystem) a new problem arise. Some 
 time after the login on FBSD is promped this messages: 
 
 Jan 23 17:16:31 Machina kernel: NMI ISA 20, EISA ff 
 Jan 23 17:16:35 Machina kernel: NMI ISA 20, EISA ff 
 Jan 23 17:16:45 Machina kernel: kernel trap 19 with interrupts disabled 
 Jan 23 17:16:45 Machina kernel: NMI ISA 30, EISA ff 
 Jan 23 17:16:47 Machina kernel: NMI ISA 20, EISA ff 
 Jan 23 17:16:54 Machina kernel: NMI ISA 20, EISA ff 
 Jan 23 17:16:58 Machina kernel: NMI ISA 30, EISA ff 
 Jan 23 17:17:04 Machina kernel: kernel trap 19 with interrupts disabled 
 Jan 23 17:17:04 Machina kernel: NMI ISA 30, EISA ff 
 Jan 23 17:17:06 Machina kernel: kernel trap 19 with interrupts disabled 
 Jan 23 17:17:06 Machina kernel: NMI ISA 30, EISA ff 
 Jan 23 17:17:07 Machina kernel: kernel trap 19 with interrupts disabled 
 Jan 23 17:17:07 Machina kernel: NMI ISA 20, EISA ff 
 Jan 23 17:17:07 Machina kernel: kernel trap 19 with interrupts disabled 
 Jan 23 17:17:07 Machina kernel: NMI ISA 30, EISA ff 
 Jan 23 17:17:12 Machina kernel: kernel trap 19 with interrupts disabled 
 
 And finally the reboot of system. 
 In my Windows simply arise the blue screen. 
 
 I'm using the same problematic hd. Could it be the problem? 

NMI indicates something is very wrong with your hardware.  It's not
likely it's your HD, but something else that may have also caused your
HD problems.

Kris


pgpwrffg4XYO9.pgp
Description: PGP signature


socket 939 (AMD64) boards and FreeBSD-6

2006-03-04 Thread John
Hello list
  
Can anyone recommend a socket 939 board for use with FreeBSD 6? Does
SATA work?

thanks
-- 
John

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


RE: Problems with SCSI

2006-03-04 Thread David LeCount
 This comes with OPTIONAL SCSI interface, u sure you
got the 
 board with the SCSI option ?

Well it has two SCSI ports on the motherboard, has an
option to enable/disable it in the CMOS, and was
advertised as having a SCSI Ultra 360 controller. If
it doesn't, I want my money back.

http://www.newegg.com/product/product.asp?item=N82E16813151149

 How do you have the CD drive cabled?  That
 motherboard has 68-pin SCSI 
 connectors, and SCSI CD's mostly have 50-pin
 connectors, there are a few 
 with 68-pin connectors, but it isn't common.

It's not a CD drive, it's a hard drive. It is indeed a
68-pin. It's as simple as plugging it in.

 Do you have the CD terminated, and the SCSI on the
 motherboard's 
 termination set correctly?

There is a terminator at the end of the cable. If
you're asking about something else, then I don't
understand what you mean.

 You need to check a jumper on your motherboard, the
 jumper is:
 J92
 This jumper effects the onboard SCSI.
 
 This is in the manual on page 13

It is open, which is the default.

 Enable the boot-time diagnostic screen, enable the
 summary screen as well, 
 and check the boot device priority.  If you have
 SCSI enabled correctly 
 this will be a choice to boot from it.
 
 These are on page 54

I've done all that. The summary screen doesn't show
any SCSI drives, although I don't think it showed my
SATA drive either but it's definitely working. I
couldn't tell what the diagnostic screen setting did
but I enabled it. The boot priority list is actually
an oddity It does list PCI SCSI but beside it it
lists my SATA drive, not the SCSI drive. I am certain
of this because it lists it as a Western Digital drive
but my SCSI drive is a Hitachi. I am really confused
why it lists the SATA drive under SCSI. When I disable
SATA, it doesn't list a drive beside SCSI, although
the option is still there in the boot priority list.
I'm not sure what the deal with that is.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: socket 939 (AMD64) boards and FreeBSD-6

2006-03-04 Thread Mark Kane

John wrote:

Hello list
  
Can anyone recommend a socket 939 board for use with FreeBSD 6? Does

SATA work?

thanks


Hi.

This page has some motherboards that have been tested by users and 
comments about how they work with FreeBSD:


http://www.freebsd.org/platforms/amd64/motherboards.html

I'm running the Giga-Byte K8NS Pro myself on my main machine (not 939 
though) and it works pretty good aside from some defects that occurred 
with my original and my RMA replacement board in both FreeBSD and 
Windows. I also just got done upgrading a machine with a MSI K8NGM2-L 
(939) which seems to work pretty good in 6.1-PRERELEASE aside from the 
onboard sound not functioning and the onboard NIC not being detected (I 
already had a PCI NIC and sound card so no problem there).


-Mark

--
GnuPG Public Key:
http://www.mkproductions.org/mk_pubkey.asc

Internet Radio:
Party107 (Trance/Electronic) - http://www.party107.com
Rock 101.9 The Edge (Rock) - http://www.rock1019.net

IRC:
MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Configure the Scroll Ball of a Mighty Mouse in X11R6.8.2

2006-03-04 Thread Martin Alejandro Paredes Sanchez
Hi:

The problem is that, when I move the scroll ball verticaly, nothing happen, 
but when I move it horizontally, X get the vertical moves.

How can I configure the horizontal and vertical move of the scroll ball?

FreeBSD detected as:

# dmesg | grep ums
ums0: Mitsumi Electric Apple Optical USB Mouse, rev 1.10/1.08, addr 2, iclass 
3/1
ums0: 4 buttons and Z dir.

Here is what I have done till now, since I want to use it in X and FreeBSD (to 
copy and paste), I added

usbd_enable=YES

to my /etc/rc.conf, so the moused utility is up and running

# ps axw | grep mouse
  268  ??  Is     0:04,44 /usr/sbin/moused -p /dev/ums0 -t auto 
-I /var/run/moused.ums0.pid

and the copy and paste works fine, since it has 4 buttons, no need to emulate 
the third (middle) button.

So, in X I configure the sysMouse protocol:

Section InputDevice
        Identifier  Mouse0
        Driver      mouse
        Option      Protocol SysMouse
        Option      Device /dev/sysmouse
        Option      Buttons 6
        Option      ZAxisMapping 4 5
EndSection

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


Re: Terminal Not Providing login: Prompt

2006-03-04 Thread Glenn Dawson

At 06:17 PM 3/4/2006, Jason C. Wells wrote:

Glenn Dawson wrote:

What sort of cable are you using?  Does it have all the control 
lines connected? or just tx/rx data?


(forgive me if this sounds like nitpicking)



This marks the first time I ever busted out my multimeter to work on
FreeBSD.  :)  Here is a pin to pin map of the DB9 connectors that I am
using:


Connectors or adapters?  What about the cable itself?  Or, does the 
info below cover everything that's linking the two serial ports?


-Glenn



1,6-4
2-3
3-2
4-1,6
5-5
7-8
8-7
9-null

According to a couple online pinout maps this is a proper null modem
cable.  If I understand your question correctly, this cable has all the
control lines connected.

Later,
Jason C. Wells

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


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


FreeBSD 6 SMP APIC lock up

2006-03-04 Thread cam
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I decided to spend the day upgrading my Dual Pentium Pro 200
system from FreeBSD 4.9 to FreeBSD 6.0 RELEASE. Unfortunately,
it looks like my system is no longer supported. 

With APIC and SMP compiled into my custom kernel (essentially
GENERIC with SMP and a lot of stuff turned off), I get a lock
up during boot:

...

unknown: PNP0303 can't assign resources (port)
unknown: PNP0c01 can't assign resources (memory)
unknown: PNP0501 can't assign resources (port)
unknown: PNP0401 can't assign resources (port)
unknown: IBM37a0 can't assign resources (port)
Timecounters tick every 1.000 msec

.. Locks up here ..

If I use GENERIC with APIC, I can get past this point, but
the system is VERY slow. It takes an hour or so for the
system to completely boot to the login. !!

With GENERIC and APIC disabled, the system works fine and
boots to the login at a normal speed, about a minute. But
no SMP of course.

I have played endlessly with the BIOS options, disabling
all unnecessary options, etc, with no luck. Also, there are
no upgrades for my BIOS.

Any ideas/hints/suggestions? I would hate to have to go
all the way back to 4.9!

Thank you,

- -- 
..
| Cameron Lerch, Victoria B.C. Canada.   |
| Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]  |
| URL: http://zarya.org Pubkey: http://zarya.org/pk.html |
`'
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFECoe4YRuvDe8TiiQRAgKWAJ94iw4mv9IqNfhFmk5JU/Bb6Ym8DwCfZYP5
Hk+Y0j58e6jpRSG2Xnpxgp8=
=/9Nr
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade vs. portmanager ...

2006-03-04 Thread James Long
 Date: Sat, 4 Mar 2006 19:34:57 -0800
 From: Kent Stewart [EMAIL PROTECTED]
 Subject: Re: portupgrade vs. portmanager ...
 To: freebsd-questions@freebsd.org
 Cc: Peter [EMAIL PROTECTED], Kiffin Gish [EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain;  charset=iso-8859-1
 
 On Saturday 04 March 2006 19:20, Peter wrote:
  --- Kiffin Gish [EMAIL PROTECTED] wrote:
   I would like to know the difference between running:
  
   portupgrade -arR
  
   and
  
   portmanager -u
  
   Just curious is all, thanks.
 
  I have found portmanager to be more intelligent.  When
  you run it it takes a look at all installed ports and
  then it decides what order to upgrade the ports and
  their dependencies.  Portupgrade proceeds linearly and
  you may need to run it a few more times for everything
  to be upgraded.  At least that's how I understand it.
 
  
 But the -rR tells it to look at all of the dependancies and build them 
 if they need to be. In addition, if something depends on it, it will 
 also build them. 
 
 I don't see any differance.

Further, the assertion by [EMAIL PROTECTED] that portupgrade 
requires multiple passes is just plain false.  I upgrade over 230 
ports on my laptop with one command.


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


Re: Configure the Scroll Ball of a Mighty Mouse in X11R6.8.2

2006-03-04 Thread [EMAIL PROTECTED]
On 3/4/06, Martin Alejandro Paredes Sanchez [EMAIL PROTECTED] wrote:

 How can I configure the horizontal and vertical move of the scroll ball?

 а а а а Option а а аButtons 6
 а а а а Option а а аZAxisMapping 4 5

I could be highly mistaken, but I think those should be 7
and some permutation of 4 5 6 7 (maybe 6 7 4 5, if that
makes any dif'rence I would be curious).


What ever happend to just pointing at things on the screen
and shouting, THAT'S what I want!?

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

Problem installing mod_perl

2006-03-04 Thread Joachim Dagerot
When I'm trying to install p5-apache-DBI I'm getting problems with the
mod_perl extension.

I have now de-installed apache and installed apache22. Now when trying
to install mod_perl I get these error messages in the beginning. I
have cvsuped and are really stucked here. Any help is much
appreciated.


bash-2.05b# cd www/mod_perl
bash-2.05b# make install
===  Building for mod_perl-1.29_1
(cd ./apaci  PERL5LIB=/usr/ports/www/mod_perl/work/mod_perl-1.29/lib: make)
cc -DPIC -fPIC -O -pipe -I/usr/local/lib/perl5/5.8.5/mach/CORE
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.5/BSDPAN -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include 
-DMOD_PERL_VERSION=\1.29\
-DMOD_PERL_STRING_VERSION=\mod_perl/1.29\
-DMOD_PERL_PREFIX=\/usr/local/lib/perl5/site_perl/5.8.5/i386-freebsd-64int\
-I/usr/local/include/apache22 -DMOD_PERL -O -pipe -O -pipe   -c
mod_perl.c  mv mod_perl.o mod_perl.lo
In file included from mod_perl.c:58:
mod_perl.h:79:20: EXTERN.h: No such file or directory
mod_perl.h:80:18: perl.h: No such file or directory
mod_perl.h:84:18: XSUB.h: No such file or directory
mod_perl.h:103:24: patchlevel.h: No such file or directory
In file included from mod_perl.h:162,
 from mod_perl.c:58:
apache_inc.h:120:20: httpd.h: No such file or directory
apache_inc.h:121:26: http_config.h: No such file or directory
apache_inc.h:122:28: http_protocol.h: No such file or directory
apache_inc.h:123:23: http_log.h: No such file or directory
apache_inc.h:124:24: http_main.h: No such file or directory
apache_inc.h:125:24: http_core.h: No such file or directory
apache_inc.h:126:27: http_request.h: No such file or directory
apache_inc.h:127:26: util_script.h: No such file or directory
apache_inc.h:128:31: http_conf_globals.h: No such file or directory
apache_inc.h:129:24: http_vhost.h: No such file or directory
In file included from mod_perl.c:58:
mod_perl.h:248: error: syntax error before table
mod_perl.h:254: error: syntax error before '*' token
mod_perl.h:254: warning: data definition has no type or storage class
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]