gnucash crash

2007-02-01 Thread peter
Hello, I installed gnucash from port,and run, after a long time ,i got
error info:

$ gnucash
Backtrace:
In unknown file:
   ?: 49* [save-module-excursion #procedure #f ()]
   ?: 50  (let (# #) (dynamic-wind # thunk #))
   ?: 51  [dynamic-wind #procedure #f () #procedure #f ()
#procedure #f ()]
   ?: 52* [#procedure #f ()]
   ?: 53* [primitive-load
/usr/local/share/gnome/gnucash/guile-modules/gnucash/repo$
In 
/usr/local/share/gnome/gnucash/guile-modules/gnucash/report/account-piecharts.scm:
 460: 54* [for-each #procedure #f (l) (# # # #)]
In unknown file:
   ?: 55  (if (null? rest) (letrec ((lp #)) (lp list1)) ...)
...
   ?: 56  (begin (f (car l)) (lp (cdr l)))
   ?: 57* [#procedure #f (l) (Income Accounts (income) #t ...)]
In 
/usr/local/share/gnome/gnucash/guile-modules/gnucash/report/account-piecharts.scm:
 462: 58  (let ((tip-and-rev (cr l))) (gnc:define-report (quote
version) 1 ...))
In /usr/local/share/gnome/gnucash/scm/report.scm:
...
  94: 59  (let (#) (if # # #))
  94: 60* [args-to-defn #f (version 1 name ...)]
  83: 61  (let ((report-rec #)) (if (null? args) in-report-rec (let # #
#)))
  83: 62* (if in-report-rec in-report-rec (blank-report))
  85: 63  [blank-report]
  67: 64  ((record-constructor report-template) #f #f #f #f #f #f #t
#f ...)
  67: 65* [rec-constructor #record-type report-template]
In /usr/local/share/slib/record.scm:
 131: 66* (if (not #) (slib:error # illegal rtd argument. rtd))
 132: 67  [error record-constructor illegal rtd argument. ...]
In unknown file:
...
   ?: 68  [scm-error misc-error #f ...]

unnamed port: In procedure scm-error in expression (scm-error (quote
misc-error) #f ...):
unnamed port: record-constructor illegal rtd argument. #record-type
report-template


What happened? 

Thanks

peter


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


Re: portupgrade failure [solved]

2007-02-01 Thread bsd

Ok,

I found a solution. I had the same problem as described below.

I am using portsnap so :

# portsnap fetch
# portsnap update
# cd /usr/ports/sysutils/portupgrade
# make deinstall; make install clean

This will install version portupgrade-2.2.2_2,2 which corrects the bug.


Sincerly yours.


Le 1 févr. 07 à 07:37, FreeBSD MailingLists a écrit :


I am having the same problem.
I have tried the make fetchindex approach but it doesn't solve it  
for me.
you mentioned something about /usr/ports/UPDATING, but was unable  
to find

a relevant entry.
can you please tell me the entry date that helped you with this  
problem?


Thank you,
Tomoki Taniguchi


[EMAIL PROTECTED] ~]$portupgrade -rRviy f-prot clamav mail/mailscanner
---  Session started at: Thu, 01 Feb 2007 15:04:14 +0900
[Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 173  
packages

found (-1 +1) (...). done]
** No such installed package: mail/mailscanner
[missing key: categories] [Updating the portsdb format:bdb_btree in
/usr/ports ... - 16413 port entries found
. 
1000.2000.3000.4000.5000.6000. 
 
7000.8000.9000.1.11000.120 
00.13000.14000.15000.16000

. done]
missing key: categories: Cannot read the portsdb!
---  Session ended at: Thu, 01 Feb 2007 15:04:33 +0900 (consumed  
00:00:18)
/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:548:in `open_db':  
database file

error (PortsDB::DBError)
   from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:702:in `port'
   from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:890:in
`all_depends_list'
   from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:809:in  
`tsort_build'

   from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in `each'
   from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in  
`tsort_build'
   from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:823:in  
`sort_build'
   from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:827:in  
`sort_build!'

   from /usr/local/sbin/portupgrade:721:in `main'
   from /usr/local/lib/ruby/1.8/optparse.rb:755:in `initialize'
   from /usr/local/sbin/portupgrade:220:in `new'
   from /usr/local/sbin/portupgrade:220:in `main'
   from /usr/local/sbin/portupgrade:2084
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§


P Please consider your environmental responsibility before printing  
this e-mail



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


Automatically detach screen after given amount of time ? / Authpf in background ?

2007-02-01 Thread Frank Staals
A couple days ago I set up authpf on my FreeBSD gateway for 
authentication of my wifi network. Everything works great, the only 
thing that is/was bothering me was that I had to keep open a terminal on 
my laptop for the ssh session. I quickly thought of using screen to fix 
that  problem. The thing is I want to see the confirmation authpf gives 
when starting the ssh transfer ( The 'welcome username you are 
authenticated from ip' message ). After that it should just send the 
ssh session to the background. So I came up with this script :


[EMAIL PROTECTED] cat /home/scripts/root/seescreen
#!/bin/sh

 script to log in to connect to screen for only a set amount of time

## Settings to use:
rtime=3 ## time to wait before calling screen's reatach
dtime=4 ## time to wait before calling screen's detach


# if called with '-reatach'
if [ $1 = -reatach ] ; then
   sleep $rtime

   seescreen -detach 

   screen -r
fi
# if called with '-detach'

if [ $1 = -detach ] ; then
   sleep $dtime

   screen -d
fi


now I could start my authentication session with 'screen -wipe; sudo 
wlan ; seescreen -reatach ; screen -d -m ssh -l wifi wlanserver'. ( 
where wlan is an other script to set up my wlan connection '. I made an 
alias in my bashrc file to prevent typing all this. The weird thing is 
that the first times I ran my script during testruns I could set the 
rtime to 1 but then it seemed that wasn't enouth time so I had to make 2 
of it and everything worked again. But then it didn't work with 2 either 
and I had to set it to 3 and now even 3 doesn't seem enough to reconnect 
to my screen session. It shouldn't take that long to start the 'screen 
-d -m command' does it ?


So my question was: Am I missing something resulting in the need of a 
longer rtime ? If there is nothing wrong with it what would be a good 
value ? Or is there some other way I could run my ssh session in the 
background ?


Regards,

--
-Frank Staals


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


Anyone used ndis successfully?

2007-02-01 Thread Amarendra Godbole

Hi,

I am trying to convert a ZTE pcmcia card .sys and .inf file to be used
with my IBM T60 notebook, but I hit a segfault in ndiscvt. There are
two problems infact:

1. ndisgen remains in a tight loop, telling me that my .INF file
format is invalid. Upon investigation, I see that there is a default
condition for this in the ndisgen program, so I am not sure how to
break out of it. It might be a bug, I need to investigate it more
before I file a PR for it.

2. I bypassed ndisgen as a result, and used ndiscvt directly instead,
but I get a segfault.
---
[EMAIL PROTECTED] /tmp/pcmcia]# ndiscvt -i ./oxser.inf -s ./oxser.sys

/*
* Generated from ./oxser.inf and ./oxser.sys (49792 bytes)
*/

Segmentation fault: 11 (core dumped)
---

Has anyone used ndis successfully? I would appreciate any tips for
this. That is my primary concern now, because I have to get the card
up _asap_.

Thanks in advance.

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


Re: Anyone used ndis successfully?

2007-02-01 Thread Lord Alabattai

On 2/1/07, Amarendra Godbole [EMAIL PROTECTED] wrote:


Hi,

I am trying to convert a ZTE pcmcia card .sys and .inf file to be used
with my IBM T60 notebook, but I hit a segfault in ndiscvt. There are
two problems infact:

1. ndisgen remains in a tight loop, telling me that my .INF file
format is invalid. Upon investigation, I see that there is a default
condition for this in the ndisgen program, so I am not sure how to
break out of it. It might be a bug, I need to investigate it more
before I file a PR for it.

2. I bypassed ndisgen as a result, and used ndiscvt directly instead,
but I get a segfault.
---
[EMAIL PROTECTED] /tmp/pcmcia]# ndiscvt -i ./oxser.inf -s ./oxser.sys

/*
* Generated from ./oxser.inf and ./oxser.sys (49792 bytes)
*/

Segmentation fault: 11 (core dumped)
---

Has anyone used ndis successfully? I would appreciate any tips for
this. That is my primary concern now, because I have to get the card
up _asap_.

Thanks in advance.

Best,
Amarendra




I am currently using ndis driver, but ndisgen works just fine for me. Are
you sure you've got the right driver files? And what is your FreeBSD
version?

Regards,
Alabattai

--
Better to reign in hell, than to serve in heaven. - John Milton, Paradise
Lost
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone used ndis successfully?

2007-02-01 Thread Amarendra Godbole

On 2/1/07, Lord Alabattai [EMAIL PROTECTED] wrote:

I am currently using ndis driver, but ndisgen works just fine for me. Are
you sure you've got the right driver files? And what is your FreeBSD
version?

[...]

I guess the driver files are correct, since I picked them up from the
CD, and I run FreeBSD 6.2. Thanks for your suggestion though - I will
re-check if the driver files are correct.

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


Re: Anyone used ndis successfully?

2007-02-01 Thread Lord Alabattai

On 2/1/07, Amarendra Godbole [EMAIL PROTECTED] wrote:


I guess the driver files are correct, since I picked them up from the
CD, and I run FreeBSD 6.2. Thanks for your suggestion though - I will
re-check if the driver files are correct.



With some drivers I also had a strange problem. Win98 driver didn't work,
while WinXP driver was ok. With another cart the Win98 driver was ok, and
WinXP was not. Try using a different driver version.

Regards,
Alabattai

--
Better to reign in hell, than to serve in heaven. - John Milton, Paradise
Lost
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Torrent Server

2007-02-01 Thread Ted Mittelstaedt

- Original Message - 
From: Jeremy Faulkner [EMAIL PROTECTED]
To: Ted Mittelstaedt [EMAIL PROTECTED]
Cc: Eric Hildebrandt [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Sent: Wednesday, January 31, 2007 1:34 PM
Subject: Re: FreeBSD Torrent Server


 On 1/31/07, Ted Mittelstaedt [EMAIL PROTECTED] wrote:
 
  Why?
 
  FreeBSD isn't commercial software, there's no need to go through
  all the hocus pocus to conceal the uploader so the RIAA doesen't
  sue him.  Standard FTP works perfectly fine at any of the mirror sites,
  and you will get your ISO no slower.
 
  Ted

 Bittorrent does nothing to conceal the uploader's identity.

 The RIAA (Recording Industry Association of Amarica) doesn't give a
 damn about the piracy of commercial software, the RIAA cares about the
 piracy of music distributed by their member companies. opinionThe
 RIAA exists to be the bully for their member companies and to draw the
 negative public relations away from those member companies./opinion


Which is exactly why I cannot understand why anyone would want to
use bittorrent to legitimately distribute anything.  Why use a service that
the RIAA is actively attacking, because such service is being used to
illegally distribute pirated music?

It's called guilt by association.

For the same reason I would be very dismayed if a large porno site like
playboy.com, hustler.com, etc. put a bunch of banners on their website
offering free downloads of FreeBSD.  Those porno sites are being used
for the perfectly legal distribution of images legally obtained, by willing
participants, all above board, monitored, and such.  From a technical
perspecitve, the porno sites have some of the best bandwidth available.
You could make a dozen freedom of speech, etc. arguments about how
it would be a great thing if those sites started distributing FreeBSD.

But, it would be nothing more than a public relations disaster.

Sure, bittorrent can be used to legally distribute software.  So can porno
sites.
But,  with all the number of willing FTP mirrors out there, who are engaged
in
noncontroversial businesses, is it really necessary to deal with bittorrent?

The FreeBSD Beastie was struck from his position as logo for FreeBSD
for some EXTREMELY minor controversy surrounding religions icons.
Well, using  a Devil image didn't pirate anyone software or break a law.
Yet Beastie was axed for exactly the same guilt by association reasons.

It seems to be EXTREMELY hipocritical to on one hand, strike out Beastie
for some morons based on a guilt by association reason, then on the other
hand turn a blind eye to the guilt by association of using a service,
bittorrent,
that is extremely heavily used for distribution of pirated software and
music,
to distribute FreeBSD.

Ted

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


Re: FreeBSD Torrent Server

2007-02-01 Thread Ted Mittelstaedt

- Original Message - 
From: Javier Henderson [EMAIL PROTECTED]
To: Ted Mittelstaedt [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Wednesday, January 31, 2007 5:24 AM
Subject: Re: FreeBSD Torrent Server



 On Jan 31, 2007, at 3:44 AM, Ted Mittelstaedt wrote:

  The FreeBSD server operators don't pay a dime for bandwidth and
  if the bandwidth supplier for freebsd.org made the slightest complaint
  about the bandwidth they are donating, there's a passel of ISP's and
  networks that would fight each other for the chance of the feather
  in the
  cap that hosting freebsd.org is.

 What, exactly, is the benefit to an ISP to wear such a feather?


Mainly marketing, if the ISP can handle hosting of freebsd.org, then
they obviously can handle hosting of most other things on the Internet.

Remember, the people that buy seriously large amounts of bandwidth
don't use television commercials to make decisions on providers.  They
use tools like whois to see who is hosting major sites then go talk to
those people.

It also isn't a bad thing to be the landlord if the provider happens to have
a
lot of FreeBSD in use themselves, I'm sure it helps get developer attention
to
problems rather quickly.  Have you ever seen a post from anyone at
Yahoo with a problem with one of their FreeBSD servers?

Ted

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


Re: FreeBSD Torrent Server

2007-02-01 Thread Javier Henderson



What, exactly, is the benefit to an ISP to wear such a feather?


Mainly marketing, if the ISP can handle hosting of freebsd.org, then
they obviously can handle hosting of most other things on the  
Internet.


Remember, the people that buy seriously large amounts of bandwidth
don't use television commercials to make decisions on providers.  They
use tools like whois to see who is hosting major sites then go talk to
those people.

It also isn't a bad thing to be the landlord if the provider  
happens to have

a
lot of FreeBSD in use themselves, I'm sure it helps get developer  
attention

to
problems rather quickly.  Have you ever seen a post from anyone at
Yahoo with a problem with one of their FreeBSD servers?


Marketing, yes, but you may be overstating your case. The bandwidth  
and power aren't free, and the ROI on the expense of providing that  
might not be enough. Plus, it's not just ISP's hosting servers, many  
are hosted by companies and colleges.


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


Re: FreeBSD Torrent Server

2007-02-01 Thread Jona Joachim
On Thu, 1 Feb 2007 05:02:02 -0800
Ted Mittelstaedt [EMAIL PROTECTED] wrote:

 
 - Original Message - 
 From: Jeremy Faulkner [EMAIL PROTECTED]
 To: Ted Mittelstaedt [EMAIL PROTECTED]
 Cc: Eric Hildebrandt [EMAIL PROTECTED];
 freebsd-questions@freebsd.org Sent: Wednesday, January 31, 2007
 1:34 PM Subject: Re: FreeBSD Torrent Server
 
 
  On 1/31/07, Ted Mittelstaedt [EMAIL PROTECTED] wrote:
  
   Why?
  
   FreeBSD isn't commercial software, there's no need to go through
   all the hocus pocus to conceal the uploader so the RIAA doesen't
   sue him.  Standard FTP works perfectly fine at any of the mirror
   sites, and you will get your ISO no slower.
  
   Ted
 
  Bittorrent does nothing to conceal the uploader's identity.
 
  The RIAA (Recording Industry Association of Amarica) doesn't give a
  damn about the piracy of commercial software, the RIAA cares about
  the piracy of music distributed by their member companies.
  opinionThe RIAA exists to be the bully for their member companies
  and to draw the negative public relations away from those member
  companies./opinion
 
 
 Which is exactly why I cannot understand why anyone would want to
 use bittorrent to legitimately distribute anything.  Why use a
 service that the RIAA is actively attacking, because such service is
 being used to illegally distribute pirated music?
 
 It's called guilt by association.
 
 For the same reason I would be very dismayed if a large porno site
 like playboy.com, hustler.com, etc. put a bunch of banners on their
 website offering free downloads of FreeBSD.  Those porno sites are
 being used for the perfectly legal distribution of images legally
 obtained, by willing participants, all above board, monitored, and
 such.  From a technical perspecitve, the porno sites have some of the
 best bandwidth available. You could make a dozen freedom of speech,
 etc. arguments about how it would be a great thing if those sites
 started distributing FreeBSD.
 
 But, it would be nothing more than a public relations disaster.
 
 Sure, bittorrent can be used to legally distribute software.  So can
 porno sites.
 But,  with all the number of willing FTP mirrors out there, who are
 engaged in
 noncontroversial businesses, is it really necessary to deal with
 bittorrent?

snip

Illegal music and software was downloaded from FTP servers long before
BitTorrent existed.
I don't think anybody here cares about what the RIAA is saying.
BitTorrent is used to reduce the traffic on FreeBSD mirrors.
You have the right to stop trolling until the Analogy Police comes for
you.

Jona

-- 
Hi, I'm a .signature virus! Copy me to your .signature file and help
me propagate, thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB TV Tuner vs. FreeBSD

2007-02-01 Thread Gorobets Igor
Hello. Share successes who has forced to work the given device.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NeedHelp

2007-02-01 Thread Igor V. Ruzanov

Hello!
I have installed FreeBSD 6.1-RELEASE onto server machine with 
ASUS P5RD1-VM mainboard. There is network interface card integrated 
(nic) into the mainboard and this nic based on ULi-M526X chipset that is 
not determined under FreeBSD. Is there some workaround with ULi-M526X nic 
to make this nic operable? Or maybe i have to upgarde system to FreeBSD 
6.2-RELEASE?


There are several system configurations that could be helpfull for you:
1) Kernel options with respect to FastEthernet support:
===
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device  miibus  # MII bus support
device  bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet
device  bfe # Broadcom BCM440x 10/100 Ethernet
device  bge # Broadcom BCM570xx Gigabit Ethernet
device  dc  # DEC/Intel 21143 and various workalikes
device  fxp # Intel EtherExpress PRO/100B (82557, 82558)
device  lge # Level 1 LXT1001 gigabit Ethernet
device  nge # NatSemi DP83820 gigabit Ethernet
device  nve # nVidia nForce MCP on-board Ethernet Networking
device  pcn # AMD Am79C97x PCI 10/100(precedence over 'lnc')
device  re  # RealTek 8139C+/8169/8169S/8110S
device  rl  # RealTek 8129/8139
device  sf  # Adaptec AIC-6915 (``Starfire'')
device  sis # Silicon Integrated Systems SiS 900/SiS 7016
device  sk  # SysKonnect SK-984x  SK-982x gigabit Ethernet
device  ste # Sundance ST201 (D-Link DFE-550TX)
device  ti  # Alteon Networks Tigon I/II gigabit Ethernet
device  tl  # Texas Instruments ThunderLAN
device  tx  # SMC EtherPower II (83c170 ``EPIC'')
device  vge # VIA VT612x gigabit Ethernet
device  vr  # VIA Rhine, Rhine II
device  wb  # Winbond W89C840F
device  xl  # 3Com 3c90x (``Boomerang'', ``Cyclone'')

2) PCI channels configurations:
===
[EMAIL PROTECTED]:0:0: class=0x06 card=0x819a1043 chip=0x5a331002 rev=0x01 
hdr=0x00
vendor   = 'ATI Technologies Inc'
class= bridge
subclass = HOST-PCI
[EMAIL PROTECTED]:1:0: class=0x060400 card=0x00b0 chip=0x5a3f1002 rev=0x00 
hdr=0x01
vendor   = 'ATI Technologies Inc'
class= bridge
subclass = PCI-PCI
[EMAIL PROTECTED]:25:0: class=0x060400 card=0x00c0 chip=0x524910b9 rev=0x00 
hdr=0x01
vendor   = 'Acer Labs Incorporated (ALi)'
device   = 'M5249 HyperTransport to PCI Bridge'
class= bridge
subclass = PCI-PCI
[EMAIL PROTECTED]:27:0: class=0x02 card=0x816a1043 chip=0x526310b9 rev=0x50 
hdr=0x00
vendor   = 'Acer Labs Incorporated (ALi)'
class= network
subclass = ethernet
[EMAIL PROTECTED]:30:0: class=0x060100 card=0x80561043 chip=0x157310b9 rev=0x31 
hdr=0x00
vendor   = 'Acer Labs Incorporated (ALi)'
class= bridge
subclass = PCI-ISA
[EMAIL PROTECTED]:30:1: class=0x068000 card=0x80561043 chip=0x710110b9 rev=0x00 
hdr=0x00
vendor   = 'Acer Labs Incorporated (ALi)'
device   = 'ALI M7101 Power Management Controller'
class= bridge
[EMAIL PROTECTED]:31:0: class=0x01018a card=0x80561043 chip=0x522910b9 
rev=0xc7 hdr=0x00
vendor   = 'Acer Labs Incorporated (ALi)'
device   = 'M1543 Southbridge EIDE Controller'
class= mass storage
subclass = ATA
[EMAIL PROTECTED]:5:0: class=0x03 card=0x819a1043 chip=0x5a611002 rev=0x00 
hdr=0x00
vendor   = 'ATI Technologies Inc'
class= display
subclass = VGA
[EMAIL PROTECTED]:19:0: class=0x02 card=0x952111ab chip=0x432011ab rev=0x12 
hdr=0x00
vendor   = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
device   = '88E8001/8003/8010 Gigabit Ethernet Controller with Integrated 
PHY (copper)'
class= network
subclass = ethernet
[EMAIL PROTECTED]:20:0: class=0x02 card=0x00098086 chip=0x12298086 rev=0x05 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82550/1/7/8/9 EtherExpress PRO/100(B) Ethernet Adapter'
class= network
subclass = ethernet


PS I tried to `kldload' to loade a module that i got from my friends so 
ndis0 interface was created. But when i assigned network to ndis0, my 
system was crashed.


Thank you for your help!

+---+
! CANMOS ISP Network!
+---+
! Best regards  !
! Igor V. Ruzanov, network operational staff!
! e-Mail: [EMAIL PROTECTED]   !
+---+

6.1-6.2 gives ata controller reset failure

2007-02-01 Thread Steve Franks

Everything looks spiffy after my upgrade except all my sata disks are
gone.  Thank goodness the os in on a pata controller:

atapci1: AcerLabs M5287 SATA150 controller port
0xec00-0xec0f,0xe880-0xe887,0xe800-0xe80f,0xe480-0xe487,0xe400-0xe41f
mem 0xd800-0xdbff irq 21 at device 31.1 on pci0
atapci1: AHCI controller reset failure
device_attach: atapci1 attach returned 6

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


mysql5.1-server Refuses to Start.

2007-02-01 Thread Martin McCormick
If one does a Google search on the following error
message from the mysql server, there is a long and painful
discussion ona mysql mailing list in which lots of people have
had the same exact problem.  The solutions, however, were for Sun
Work Stations and a similar solution I tried here, had no effect
at all.

I am trying to start mysqld in safe mode on a FreeBSD5.4
system in such a way that only local users can access it.  The
suggested command for this is

/usr/local/bin/mysqld_safe --skip-networking --user=mysql

The mysql server is defaulted to use /var/db/mysql and
that is where  it appears to initially be happy.  The mysql
directory is chowned to be owned by the user mysql and it does
start creating new table files:

070201 10:30:55  mysqld started
/usr/local/libexec/mysqld: Table 'mysql.general_log' doesn't exist
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
070201 10:30:55  InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...

mysql creates a couple more files and then disaster strikes!

070201 10:30:59 [ERROR] Fatal error: Can't open and lock privilege 
tables: Table 'mysql.host' doesn't exist
070201 10:30:59  mysqld ended

I do have a my.cnf file in /usr/local but it only
contains one line which doesn't change anything.

   basedir=/var/db/mysql

It seemed to already default to this directory.  The datadir
variable which some of the posters mentioned is no longer needed.

Has anybody gotten sqld_safe to work in FreeBSD?

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Torrent Server

2007-02-01 Thread RW
On Thu, 1 Feb 2007 05:02:02 -0800
Ted Mittelstaedt [EMAIL PROTECTED] wrote:

 using a service, bittorrent,
 that is extremely heavily used for distribution of pirated software
 and music,
 to distribute FreeBSD.

Bittorrent is a protocol, not a service or network.

It scales much better than http and ftp under high demand.
Download speeds with Bittorrent gets faster and then level-out, as a
function of demand, which is the opposite of FTP. It's very well
suited for software release ISOs where there's high demand for
downloads immediately after a new release. With open source
software it also benefits from a substantial amount of goodwill.

The bottom line is that if the existing FTP servers allow everyone
to download at line-rate the day after a new release, and the
bandwidth cost is not a problem, then there's no need for
Bittorrent - otherwise I can't see a case against it. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


What Happens When /proc is not Mounted in FreeBSD5.4?

2007-02-01 Thread Martin McCormick
I made a startling discovery when using strace to
trouble-shoot a different problem on a freeBSD5.4 system that has
been running since last October.  Both it and another new 5.4
system had a /proc mount point but no process files.  The mount
point had the May 5 date from 2005 as do most files from that
distribution.

I mounted /proc the way it is done in fstab for 4.x systems

proc/proc   procfs  rw  0   0

and there were all the process directories.  The only reason I
had done this was because strace won't work without /proc.
Nothing else had seemed wrong and there hadn't been any
compelling reason to look at /proc until now.

Would an unmounted /proc make the system run slower since
proc files allow for examination of the operation of the running
processes?  So basically, I have fixed the problem if it really
was one in the first place.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone used ndis successfully?

2007-02-01 Thread Thomas Sparrevohn


On 1 Feb 2007, at 11:30, Lord Alabattai wrote:

Did you try with ndisgen instead?


On 2/1/07, Amarendra Godbole [EMAIL PROTECTED] wrote:


I guess the driver files are correct, since I picked them up from the
CD, and I run FreeBSD 6.2. Thanks for your suggestion though - I will
re-check if the driver files are correct.



With some drivers I also had a strange problem. Win98 driver didn't  
work,
while WinXP driver was ok. With another cart the Win98 driver was  
ok, and

WinXP was not. Try using a different driver version.

Regards,
Alabattai

--
Better to reign in hell, than to serve in heaven. - John Milton,  
Paradise

Lost
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[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: Obtaining a pid or process owner from netstat?

2007-02-01 Thread Glenn Gillis
Karol Kwiatkowski wrote:
 Glenn Gillis wrote:
 If 'netstat -anp tcp' shows me an IP address and port with a process
 listening on it, can anyone suggest a way to determine either the pid or
 the owner of the process that is bound to that address?

 In other words:

 % netstat -anp tcp | grep LISTEN
 tcp4   0  0  64.112.226.133.8091*.*   LISTEN
 tcp4   0  0  64.112.226.133.8090*.*   LISTEN
 tcp4   0  0  *.8021 *.*   LISTEN
 tcp4   0  0  *.8080 *.*   LISTEN
 tcp4   0  0  64.112.226.141.8080*.*   LISTEN
 tcp4   0  0  64.112.226.133.13080   *.*   LISTEN

 I'm interested in what is listening on 64.112.226.141.8080, mainly
 because I need something else to listen there. I know it's a Zope
 instance, but I can't tell *which* Zope instance (there are many on this
 box.)

 NB: This is on a 4.11-RELEASE-p26 box.
 
 Have a look at sockstat(1) and its options (like '-4' '-l' and '-p').
 
 HTH,
 
 Karol

Perfect, thanks!
-- 
Glenn

P.S. FWIW, the '-p' option does not appear to be valid under 4.11:

$ sockstat -p
Unknown option: p
Usage: sockstat [-46clu]

However, sockstat still gave me that I needed. Thx, G.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: FreeBSD Torrent Server

2007-02-01 Thread cpghost
On Thu, Feb 01, 2007 at 05:02:02AM -0800, Ted Mittelstaedt wrote:
 Which is exactly why I cannot understand why anyone would want to
 use bittorrent to legitimately distribute anything.  Why use a service that
 the RIAA is actively attacking, because such service is being used to
 illegally distribute pirated music?
 
 It's called guilt by association.

Nope. Bittorrent is a distribution protocol which doesn't care
what the payload is. Just like FTP. Just like TCP, IP and UDP.
Should we avoid IP as well, because it's being used for distributing
illegitimate payload? Guilt by association?

 for some morons based on a guilt by association reason, then on the other
 hand turn a blind eye to the guilt by association of using a service,
 bittorrent,
 that is extremely heavily used for distribution of pirated software and
 music,
 to distribute FreeBSD.

See above. What about USENET? Despite gazillions of copyvios,
there are still valid and legitimate groups there which are
not harmed in the least by this. Let's not fall into the
RIAA/MPAA/IFPI/... trap here who are trying to enforce a centralized
distribution network of many clients and as few servers as possible
that they could strangle at will.

Having said that, FreeBSD's FTP mirrors are perfectly suitable
for the task at hand and using them is usually much faster than
P2P anyway (esp. to all people using asymetric link with severly
reduced upload bandwidth). A big thanks to all bandwidth donors.

 Ted

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ps oddity

2007-02-01 Thread Andrew Falanga

Hi,

A couple of months ago I wrote a daemon process that opens up connections on
TCP and listens for incoming data (that ultimately ends up in a database).
Now, when I was writing it, I was debugging and what not under my own user
id.  However, the program now runs as root because it's started
automatically when the system comes up at boot time.

Now, here's the strange part.  When running under my user id, even in daemon
mode, ps -aux | grep user would show me the daemon process.  However, now
that it's running as root, it doesn't.  Why is that?  The only way I've been
able to tell that it's running is by using sockstat.

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


Re: ps oddity

2007-02-01 Thread Fabian Keil
Andrew Falanga [EMAIL PROTECTED] wrote:

 A couple of months ago I wrote a daemon process that opens up connections on
 TCP and listens for incoming data (that ultimately ends up in a database).
 Now, when I was writing it, I was debugging and what not under my own user
 id.  However, the program now runs as root because it's started
 automatically when the system comes up at boot time.

That alone doesn't sound like a particular good reason to me.

 Now, here's the strange part.  When running under my user id, even in daemon
 mode, ps -aux | grep user would show me the daemon process.  However, now
 that it's running as root, it doesn't.

Does ps -aux really no longer list the process,
or does it get lost after the grep?

Fabian


signature.asc
Description: PGP signature


Message (Your message dated Thu, 1 Feb 2007 12:16:22 -0600...)

2007-02-01 Thread L-Soft list server at LISTS.WAYNE.EDU (1.8d)
Your message dated Thu, 1 Feb 2007 12:16:22 -0600 with subject ribjokamvjn
has been submitted to the moderators of the COE_ALUMNI list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What Happens When /proc is not Mounted in FreeBSD5.4?

2007-02-01 Thread Fabian Keil
Martin McCormick [EMAIL PROTECTED] wrote:

   I made a startling discovery when using strace to
 trouble-shoot a different problem on a freeBSD5.4 system that has
 been running since last October.  Both it and another new 5.4
 system had a /proc mount point but no process files.

If I remember correctly procfs is off by default
for security reasons.

   Would an unmounted /proc make the system run slower since
 proc files allow for examination of the operation of the running
 processes?

procfs is for user land applications, the kernel obviously
has other means to examine running processes.

I doubt that mounting procfs (without using it) has any measurable
effect on the system's performance, but if it does, I would assume
that it decreases performance rather than increasing it.

Fabian


signature.asc
Description: PGP signature


Re: diskless boot /usr/local/etc/rc.d/ scripts do not run, why?

2007-02-01 Thread Brooks Davis
On Thu, Feb 01, 2007 at 11:23:23AM +0900, Artem Kazakov wrote:
 Hello everyone,
 
 I'm using 6-stable on 4 amd64 machines. One of them has FreeBSD on its
 local hard drive and others are booted via network with PXE.
 But I encounter that /usr/local/etc/rc.d/* are not executed during the
 boot process?
 Is there some kind of option to change this?
 Or may be I misconfigured something ?

If you boot diskless and /usr or /usr/local is a seperate NFS mount you
must adjust the value of the rc.conf(5) variable early_late_divider for
your scripts to be processed.  See the rc.conf manpage for details.

 Also, I do  not see any messages on console after kernel is loaded into 
 memory.
 The next thing I see is login: prompt. How to turn on boot messages
 for network booted machines.
 
 I have to say that I use this loader.rc for network boot:
 load /boot/kernel/kernel
 echo \007\007
 set console=vidconsole
 autoboot

Do you by chance have a /boot.config?  It sounds like your system is
probably running on a serial console.

-- Brooks


pgpiaQU4RH6hp.pgp
Description: PGP signature


santy check: adding an ipv6 address for the first time ...

2007-02-01 Thread Arone Silimantia
Hello,

I am running a 6.1-RELEASE system, one IP (v4) address
configured, everything is wonderful.

Now, in the past I have added additional IPv4
addresses with this command:

ifconfig fxp0 alias 192.168.0.2 netmask
255.255.255.255

Easy.  So now, I need to add a ipv6 address for the
first time, and I am very nervous - the system is very
far away from me and it costs a LOT to have someone go
reboot it or attach a KVM, etc. so I am _very_ worried
about issuing the wrong command and knocking it off
the network.

Now, I have a real ipv6 connection, and am not
tunneling or anything like that, so I don't need to do
anything with gif0, do I ?

Can I just run this command:

ifconfig fxp0 inet6 alias 1234:4567:1234::2 netmask ??

and then:

route add -inet6 default 1234:4567:1234::1

and that will work, and NOT knock me off of my ipv4 ?


Also, I put ?? in place of my netmask above - what is
the ipv6 netmask for a /48 ?


Finally, when my provider told me about my ipv6
allocation, they said:

We have created a ::/48 for you, ::1 is your gateway
inet6number:  1234:5678:1234::/48

So am I correct that my ifconfig IP (see above) should
be:

234:5678:1234::2

Or am I misunderstanding how to write that out ?

Many thanks.


 

The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mysql5.1-server Refuses to Start.

2007-02-01 Thread Dan Casey
Does the directory /var/db/mysql/mysql exist?  If your missing that
directory, then mysql cannot authenticate.
I'm assuming this is a fresh install. Try backing up your files, then
run mysql_install_db.  This will create the mysql database for you.

Martin McCormick wrote:
   If one does a Google search on the following error
 message from the mysql server, there is a long and painful
 discussion ona mysql mailing list in which lots of people have
 had the same exact problem.  The solutions, however, were for Sun
 Work Stations and a similar solution I tried here, had no effect
 at all.

   I am trying to start mysqld in safe mode on a FreeBSD5.4
 system in such a way that only local users can access it.  The
 suggested command for this is

 /usr/local/bin/mysqld_safe --skip-networking --user=mysql

   The mysql server is defaulted to use /var/db/mysql and
 that is where  it appears to initially be happy.  The mysql
 directory is chowned to be owned by the user mysql and it does
 start creating new table files:

 070201 10:30:55  mysqld started
 /usr/local/libexec/mysqld: Table 'mysql.general_log' doesn't exist
 InnoDB: The first specified data file ./ibdata1 did not exist:
 InnoDB: a new database to be created!
 070201 10:30:55  InnoDB: Setting file ./ibdata1 size to 10 MB
 InnoDB: Database physically writes the file full: wait...

   mysql creates a couple more files and then disaster strikes!

 070201 10:30:59 [ERROR] Fatal error: Can't open and lock privilege 
 tables: Table 'mysql.host' doesn't exist
 070201 10:30:59  mysqld ended

   I do have a my.cnf file in /usr/local but it only
 contains one line which doesn't change anything.

basedir=/var/db/mysql

 It seemed to already default to this directory.  The datadir
 variable which some of the posters mentioned is no longer needed.

   Has anybody gotten sqld_safe to work in FreeBSD?

 Martin McCormick WB5AGZ  Stillwater, OK 
 Systems Engineer
 OSU Information Technology Department Network Operations Group
 ___
 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: gcc compiler cputype, prescott or nocona confusion

2007-02-01 Thread Jorn Argelo

Garrett Cooper wrote:

Jorn Argelo wrote:


On Wed, 31 Jan 2007 23:40:38 +1100, Scott Killen 
[EMAIL PROTECTED] wrote:

Hi,

When recompiling the world or kernel in FreeBSD i386 Rel 6.1 with,

# make buildworld
or
# make buildkernel KERNCONF=MYSMPCONF

(or building anything anything else for that matter), even though I 
have

CPUTYPE?=nocona set in my /etc/make.conf file the compiler seems to
head
back to a default of  -march=prescott when compiling many of the
functions
on a Dual Xeon 3.6g (nocona) machine!

This doesn't happen when compiling for other machine types, I've 
tried it

on a
Dual PentiumPro, Dual PII, Dual PIII setting the CPUTYPE to the correct
cpu
type and the -march sticks to the assigned cpu type through all 
operations

and produces nice quick optimized code.

Why is this so?

Is it because the nocona machine type optimization refers to the 
EMT64

technology and thus is rejected when compiling for i386 targets rather
than
amd64 or emt64 targets and Gcc rejects it?


That's right. AFAIK the Nocona core is a prescott with EM64T support 
(feel free to correct me if I am wrong). Basically you have an i386 
version of FreeBSD, and with EM64T instructions enabled GCC will 
build a 64-bit version of FreeBSD. I think that's the reason it 
switches back to prescott.


Most of the time you're right. However (for starters), some nocona 
chips feature 2MB cache instead of 1MB cache:


http://www.anandtech.com/IT/showdoc.aspx?i=2447p=2.

I'd have to look more in depth, but OTOH the nocona also featured some 
architecture upgrades, other than just the 64-bit'ness


I heard that gcc 3.4.x was pretty funky with the nocona processors 
though, and prescott's a more stable target; that changed a bit in gcc 
4.x I think. Or maybe I'm just mixing up nocona and yonah in this case.

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


Yonah is the Pentium M version of the first Core generation I believe. 
Or maybe it was still a Netburst, I can't remember.


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


Re: ps oddity

2007-02-01 Thread Andrew Falanga

On 2/1/07, Fabian Keil [EMAIL PROTECTED] wrote:


Andrew Falanga [EMAIL PROTECTED] wrote:

 A couple of months ago I wrote a daemon process that opens up
connections on
 TCP and listens for incoming data (that ultimately ends up in a
database).
 Now, when I was writing it, I was debugging and what not under my own
user
 id.  However, the program now runs as root because it's started
 automatically when the system comes up at boot time.

That alone doesn't sound like a particular good reason to me.

 Now, here's the strange part.  When running under my user id, even in
daemon
 mode, ps -aux | grep user would show me the daemon process.  However,
now
 that it's running as root, it doesn't.

Does ps -aux really no longer list the process,
or does it get lost after the grep?

Fabian


I do not believe so.  When I did the same ps | grep command when running

the program under my userid, I would see matches for both the program and
for the grep.

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


Re: What Happens When /proc is not Mounted in FreeBSD5.4?

2007-02-01 Thread Kris Kennaway
On Thu, Feb 01, 2007 at 11:17:50AM -0600, Martin McCormick wrote:
   I made a startling discovery when using strace to
 trouble-shoot a different problem on a freeBSD5.4 system that has
 been running since last October.  Both it and another new 5.4
 system had a /proc mount point but no process files.  The mount
 point had the May 5 date from 2005 as do most files from that
 distribution.
 
   I mounted /proc the way it is done in fstab for 4.x systems
 
 proc  /proc   procfs  rw  0   0
 
 and there were all the process directories.  The only reason I
 had done this was because strace won't work without /proc.
 Nothing else had seemed wrong and there hadn't been any
 compelling reason to look at /proc until now.
 
   Would an unmounted /proc make the system run slower since
 proc files allow for examination of the operation of the running
 processes?  So basically, I have fixed the problem if it really
 was one in the first place.

As you have found, proc is almost entirely unused in FreeBSD apart
from one or two debugging facilities, and in fact not recommended on
multi-user systems because the long history of security
vulnerabilities.

Kris


pgp9hId0qEHIQ.pgp
Description: PGP signature


Re: What Happens When /proc is not Mounted in FreeBSD5.4?

2007-02-01 Thread Martin McCormick
Kris Kennaway writes:
 As you have found, proc is almost entirely unused in FreeBSD apart
 from one or two debugging facilities, and in fact not recommended on
 multi-user systems because the long history of security
 vulnerabilities.

Thanks to you and Fabian Keil for your succinct answers.
I took it back off and commented out the line I added to
/etc/fstab so it can be brought back temporarily when needed but
isn't just sitting there waiting for lightning to strike.

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


Re: Anyone used ndis successfully?

2007-02-01 Thread Szilveszter Adam
Hello,

Yes I have used ndisgen successfully recently (and even in front of
running TV cameras, which according to Murphy really should tickle all
possible bugs :-) with a Ralink wifi card (yes, a native driver exists,
but this was in a TV show and my only point was to demonstrate the
functionality of ndisgen) and -CURRENT.

Your problem may be related to the fact that the .INF file is either not
ASCII coded (but maybe UTF-8) (you can verify this with file(1)) or
contains garbage somewhere, like a spurious character or a newline or
whatnot that the Windows parser does not trip upon but the ndis one
does. You may need to try around a bit. Also, you may want to search the
website of the card manufacturer to see if they have a more recent
version of the driver or try drivers for various Windows versions.

Hope these tips help somewhat :-)
-- 
Regards:

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


Re: ports error (or warning) after cvsup

2007-02-01 Thread Brian

Eric Schuele wrote:

On 01/31/2007 18:15, Petre Bandac wrote:

 portversion -v | grep 
[missing key: categories] [Updating the portsdb format:bdb_btree
in /usr/ports ... - 16409 port entries
found 
.1000.2000.3000.4000.5000.6000.7000.8000.9000.1.11000.12000.13000.14000.15000.16000 
.

done] missing key: categories: Cannot read the portsdb! database file
error


but it still lists ports; how can the missing key problem be
restored ?


Check the thread on ports@ (though no fix yet).



thanks,

petre




do a portsnap or cvsup, deinstall and reinstall portupgrade, then run 
portupgrade, it worked for 3 boxes of mine.


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


Re: gnucash crash

2007-02-01 Thread Atom Powers

Ask the gnucash folks.
By off the top of my head I would guess that you have either a library
version mis-match or a corrupt xml accounts file.

On 2/1/07, peter [EMAIL PROTECTED] wrote:

Hello, I installed gnucash from port,and run, after a long time ,i got
error info:

$ gnucash
Backtrace:
In unknown file:
   ?: 49* [save-module-excursion #procedure #f ()]
   ?: 50  (let (# #) (dynamic-wind # thunk #))
   ?: 51  [dynamic-wind #procedure #f () #procedure #f ()
#procedure #f ()]
   ?: 52* [#procedure #f ()]
   ?: 53* [primitive-load
/usr/local/share/gnome/gnucash/guile-modules/gnucash/repo$
In 
/usr/local/share/gnome/gnucash/guile-modules/gnucash/report/account-piecharts.scm:
 460: 54* [for-each #procedure #f (l) (# # # #)]
In unknown file:
   ?: 55  (if (null? rest) (letrec ((lp #)) (lp list1)) ...)
...
   ?: 56  (begin (f (car l)) (lp (cdr l)))
   ?: 57* [#procedure #f (l) (Income Accounts (income) #t ...)]
In 
/usr/local/share/gnome/gnucash/guile-modules/gnucash/report/account-piecharts.scm:
 462: 58  (let ((tip-and-rev (cr l))) (gnc:define-report (quote
version) 1 ...))
In /usr/local/share/gnome/gnucash/scm/report.scm:
...
  94: 59  (let (#) (if # # #))
  94: 60* [args-to-defn #f (version 1 name ...)]
  83: 61  (let ((report-rec #)) (if (null? args) in-report-rec (let # #
#)))
  83: 62* (if in-report-rec in-report-rec (blank-report))
  85: 63  [blank-report]
  67: 64  ((record-constructor report-template) #f #f #f #f #f #f #t
#f ...)
  67: 65* [rec-constructor #record-type report-template]
In /usr/local/share/slib/record.scm:
 131: 66* (if (not #) (slib:error # illegal rtd argument. rtd))
 132: 67  [error record-constructor illegal rtd argument. ...]
In unknown file:
...
   ?: 68  [scm-error misc-error #f ...]

unnamed port: In procedure scm-error in expression (scm-error (quote
misc-error) #f ...):
unnamed port: record-constructor illegal rtd argument. #record-type
report-template


What happened?

Thanks

peter


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




--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What Happens When /proc is not Mounted in FreeBSD5.4?

2007-02-01 Thread Kris Kennaway
On Thu, Feb 01, 2007 at 02:26:00PM -0600, Martin McCormick wrote:
 Kris Kennaway writes:
  As you have found, proc is almost entirely unused in FreeBSD apart
  from one or two debugging facilities, and in fact not recommended on
  multi-user systems because the long history of security
  vulnerabilities.
 
   Thanks to you and Fabian Keil for your succinct answers.
 I took it back off and commented out the line I added to
 /etc/fstab so it can be brought back temporarily when needed but
 isn't just sitting there waiting for lightning to strike.

You could also leave it in fstab with the noauto option so it can be
easily mounted with mount /proc if needed.

Kris


pgpbqd5Jqe7Rl.pgp
Description: PGP signature


(no subject)

2007-02-01 Thread astalus razvan

In bash or csh I want to start nmap scanning at every 1 hour.how can I do this?
   thanks
___
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 upgrade an exist freebsd to freebsd6.2 ?

2007-02-01 Thread Dak Ghatikachalam

On 1/27/07, Eric [EMAIL PROTECTED] wrote:


Dak Ghatikachalam wrote:


 On 1/26/07, *Eric* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Dak Ghatikachalam wrote:
 
 
  On 1/26/07, *Eric* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
wrote:
 
  Halid Faith wrote:
   I have a machine 6.0-RELEASE. How do I upgrade it to
 Freebsd6.2
  without any problem?
   Could you advise a useful site about that ?
   After upgrade, May a problem like cannot login the system
 be ?
  
  
  people seem to like my instruction set:
 
  http://mikestammer.com/dokuwiki/bsd:updateos
 
 
  no issues reported yet! =)
 
 
 
  I could not access ?
 
 
Permission Denied
 
  Sorry, you don't have enough rights to continue. Perhaps you
 forgot to
  login?
 
 
 
 
 
 sorry about that, give it a whirl now


 Hi

 I browsed the page understood most part  , I happened  to read
 theupgrade chapter  in release notes, but I remember someone on this
 list also mentioned to read from handbook, could not find that

 BTW: Does this upgrade procedure apply and can it be used   to go from
 6.1 to 6.2 freeBSD  too ?

 Thanks
 DAk
yes, it will work from any version of 6 and up. It should work fine in 7
unless the technique changes for some reason.

Hope it helps you! =)

Eric



This worked great  but  on mergemaster -cv in single user , at  one point it
asked me these questions , I got nervous and puzzled

Use 'd' to delete the temporary .x
 Use 'i' to install the temporary .x
 Use 'm' to merge the temporary and installed versions
 Use 'v' to view the diff results again

# xxx refers to path for config files,  I running on default freebsd mode
and did not made any change

I just presses ENTER key the default ( because it advised to be left for
later consideration

DO I just not bother any more.

Thanks
Dak
___
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 upgrade an exist freebsd to freebsd6.2 ?

2007-02-01 Thread Dak Ghatikachalam

On 2/1/07, Dak Ghatikachalam [EMAIL PROTECTED] wrote:




On 1/27/07, Eric [EMAIL PROTECTED] wrote:

 Dak Ghatikachalam wrote:
 
 
  On 1/26/07, *Eric* [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
  Dak Ghatikachalam wrote:
  
  
   On 1/26/07, *Eric* [EMAIL PROTECTED]
  mailto: [EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote:
  
   Halid Faith wrote:
I have a machine 6.0-RELEASE. How do I upgrade it to
  Freebsd6.2
   without any problem?
Could you advise a useful site about that ?
After upgrade, May a problem like cannot login the system
  be ?
   
   
   people seem to like my instruction set:
  
   http://mikestammer.com/dokuwiki/bsd:updateos
  
  
   no issues reported yet! =)
  
  
  
   I could not access ?
  
  
 Permission Denied
  
   Sorry, you don't have enough rights to continue. Perhaps you
  forgot to
   login?
  
  
  
  
  
  sorry about that, give it a whirl now
 
 
  Hi
 
  I browsed the page understood most part  , I happened  to read
  theupgrade chapter  in release notes, but I remember someone on this
  list also mentioned to read from handbook, could not find that
 
  BTW: Does this upgrade procedure apply and can it be used   to go from

  6.1 to 6.2 freeBSD  too ?
 
  Thanks
  DAk
 yes, it will work from any version of 6 and up. It should work fine in 7
 unless the technique changes for some reason.

 Hope it helps you! =)

 Eric


This worked great  but  on mergemaster -cv in single user , at  one point
it asked me these questions , I got nervous and puzzled

Use 'd' to delete the temporary .x
  Use 'i' to install the temporary .x
  Use 'm' to merge the temporary and installed versions
  Use 'v' to view the diff results again

# xxx refers to path for config files,  I running on default freebsd mode
and did not made any change

I just presses ENTER key the default ( because it advised to be left for
later consideration

DO I just not bother any more.



Please also advise if you have anything like this to perform complete update
in /usr/ports, I think I may have to use portupgrade or portinstall command

Thanks

Dak



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


Re: (no subject)

2007-02-01 Thread Josh Carroll

In bash or csh I want to start nmap scanning at every 1 hour.how can I do this?
thanks


Use cron (man cron, man 5 crontab). Something like:

0 * * * * /usr/local/bin/nmap 

Would run it on the hour, each hour. Read the man pages for more details.

Josh
___
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 upgrade an exist freebsd to freebsd6.2 ?

2007-02-01 Thread Roland Smith
On Thu, Feb 01, 2007 at 04:02:33PM -0500, Dak Ghatikachalam wrote:
 This worked great  but  on mergemaster -cv in single user , at  one point it
 asked me these questions , I got nervous and puzzled
 
 Use 'd' to delete the temporary .x
  Use 'i' to install the temporary .x
  Use 'm' to merge the temporary and installed versions
  Use 'v' to view the diff results again
 
 # xxx refers to path for config files,  I running on default freebsd mode
 and did not made any change

Config files can be enhanced/updated in between versions.

 I just presses ENTER key the default ( because it advised to be left for
 later consideration
 
 DO I just not bother any more.

If it is a file where you are certain you haven't made changes, choose
'i'. (E. g. the scripts in /etc/rc.d)

For some files it is better to keep your version, like /etc/rc.conf, or
/etc/hosts. So it's probably best to choose 'd', or save for later.

In other files, like /etc/group, you want to keep your modifications,
but you probably also want to keep the changes that the new version
makes. Sometimes the new groups are essential for the running of the
systems. In this case you can either use merge, or save it for later.

What I tend to do is to keep copies of all the config files that I have
changed in a subdirectory ~/settings. If I want to make changes
to one of those files, I make the changes in the file in ~/settings, and
then copy them to /etc. The files in ~/settings are kept under revision
control (e.g. RCS), so that I retain previous versions. This enables me
to repair things if I screw something up.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpeIfH3OFGJb.pgp
Description: PGP signature


Re: gcc compiler cputype, prescott or nocona confusion

2007-02-01 Thread youshi10

On Thu, 1 Feb 2007, Jorn Argelo wrote:


Garrett Cooper wrote:

Jorn Argelo wrote:


On Wed, 31 Jan 2007 23:40:38 +1100, Scott Killen 
[EMAIL PROTECTED] wrote:

Hi,

When recompiling the world or kernel in FreeBSD i386 Rel 6.1 with,

# make buildworld
or
# make buildkernel KERNCONF=MYSMPCONF

(or building anything anything else for that matter), even though I have
CPUTYPE?=nocona set in my /etc/make.conf file the compiler seems to
head
back to a default of  -march=prescott when compiling many of the
functions
on a Dual Xeon 3.6g (nocona) machine!

This doesn't happen when compiling for other machine types, I've tried 
it

on a
Dual PentiumPro, Dual PII, Dual PIII setting the CPUTYPE to the correct
cpu
type and the -march sticks to the assigned cpu type through all 
operations

and produces nice quick optimized code.

Why is this so?

Is it because the nocona machine type optimization refers to the EMT64
technology and thus is rejected when compiling for i386 targets rather
than
amd64 or emt64 targets and Gcc rejects it?


That's right. AFAIK the Nocona core is a prescott with EM64T support (feel 
free to correct me if I am wrong). Basically you have an i386 version of 
FreeBSD, and with EM64T instructions enabled GCC will build a 64-bit 
version of FreeBSD. I think that's the reason it switches back to 
prescott.


Most of the time you're right. However (for starters), some nocona chips 
feature 2MB cache instead of 1MB cache:


http://www.anandtech.com/IT/showdoc.aspx?i=2447p=2.

I'd have to look more in depth, but OTOH the nocona also featured some 
architecture upgrades, other than just the 64-bit'ness


I heard that gcc 3.4.x was pretty funky with the nocona processors though, 
and prescott's a more stable target; that changed a bit in gcc 4.x I think. 
Or maybe I'm just mixing up nocona and yonah in this case.

-Garrett


Yonah is the Pentium M version of the first Core generation I believe. Or maybe 
it was still a Netburst, I can't remember.


Jorn


Yonah is the first version of the Core Duo generation processors.
-Garrett

___
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 upgrade an exist freebsd to freebsd6.2 ?

2007-02-01 Thread youshi10

On Thu, 1 Feb 2007, Roland Smith wrote:


On Thu, Feb 01, 2007 at 04:02:33PM -0500, Dak Ghatikachalam wrote:

This worked great  but  on mergemaster -cv in single user , at  one point it
asked me these questions , I got nervous and puzzled

Use 'd' to delete the temporary .x
 Use 'i' to install the temporary .x
 Use 'm' to merge the temporary and installed versions
 Use 'v' to view the diff results again

# xxx refers to path for config files,  I running on default freebsd mode
and did not made any change


Config files can be enhanced/updated in between versions.


I just presses ENTER key the default ( because it advised to be left for
later consideration

DO I just not bother any more.


If it is a file where you are certain you haven't made changes, choose
'i'. (E. g. the scripts in /etc/rc.d)

For some files it is better to keep your version, like /etc/rc.conf, or
/etc/hosts. So it's probably best to choose 'd', or save for later.

In other files, like /etc/group, you want to keep your modifications,
but you probably also want to keep the changes that the new version
makes. Sometimes the new groups are essential for the running of the
systems. In this case you can either use merge, or save it for later.

What I tend to do is to keep copies of all the config files that I have
changed in a subdirectory ~/settings. If I want to make changes
to one of those files, I make the changes in the file in ~/settings, and
then copy them to /etc. The files in ~/settings are kept under revision
control (e.g. RCS), so that I retain previous versions. This enables me
to repair things if I screw something up.

Roland
--
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


Did fry me a bit though when I moved one of my machines from 6.2-release to 
7. mergemaster toasted my /etc/group file -_-...
Isn't there a file or directive (like .keep) that tells mergemaster not to 
check or replace a file?
-Garrett

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


Re: ports error (or warning) after cvsup

2007-02-01 Thread Eric Schuele

On 02/01/2007 14:33, Brian wrote:

Eric Schuele wrote:

On 01/31/2007 18:15, Petre Bandac wrote:

 portversion -v | grep 
[missing key: categories] [Updating the portsdb format:bdb_btree
in /usr/ports ... - 16409 port entries
found 
.1000.2000.3000.4000.5000.6000.7000.8000.9000.1.11000.12000.13000.14000.15000.16000 
.

done] missing key: categories: Cannot read the portsdb! database file
error


but it still lists ports; how can the missing key problem be
restored ?


Check the thread on ports@ (though no fix yet).



thanks,

petre




do a portsnap or cvsup, deinstall and reinstall portupgrade, then run 
portupgrade, it worked for 3 boxes of mine.




yep... someone said they committed a fix earlier.  And after doing the 
above, things work.



Brian
___
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]


Running nmap on a 1 hour schedule [was Re: (no subject)]

2007-02-01 Thread youshi10

On Thu, 1 Feb 2007, Josh Carroll wrote:

In bash or csh I want to start nmap scanning at every 1 hour.how can I do 
this?

thanks


Use cron (man cron, man 5 crontab). Something like:

0 * * * * /usr/local/bin/nmap 

Would run it on the hour, each hour. Read the man pages for more details.

Josh


Consult your favorite webpage to search out examples on how to use cron / 
specify entries in crontab (crontab syntax is the same, regardless of what 
cron's in use).

Also, please provide a subject line when asking a question next time.
-Garrett

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


Re: FreeBSD Torrent Server

2007-02-01 Thread youshi10

On Thu, 1 Feb 2007, cpghost wrote:


On Thu, Feb 01, 2007 at 05:02:02AM -0800, Ted Mittelstaedt wrote:

Which is exactly why I cannot understand why anyone would want to
use bittorrent to legitimately distribute anything.  Why use a service that
the RIAA is actively attacking, because such service is being used to
illegally distribute pirated music?

It's called guilt by association.


Nope. Bittorrent is a distribution protocol which doesn't care
what the payload is. Just like FTP. Just like TCP, IP and UDP.
Should we avoid IP as well, because it's being used for distributing
illegitimate payload? Guilt by association?


for some morons based on a guilt by association reason, then on the other
hand turn a blind eye to the guilt by association of using a service,
bittorrent,
that is extremely heavily used for distribution of pirated software and
music,
to distribute FreeBSD.


See above. What about USENET? Despite gazillions of copyvios,
there are still valid and legitimate groups there which are
not harmed in the least by this. Let's not fall into the
RIAA/MPAA/IFPI/... trap here who are trying to enforce a centralized
distribution network of many clients and as few servers as possible
that they could strangle at will.

Having said that, FreeBSD's FTP mirrors are perfectly suitable
for the task at hand and using them is usually much faster than
P2P anyway (esp. to all people using asymetric link with severly
reduced upload bandwidth). A big thanks to all bandwidth donors.


Ted


Regards,
-cpghost.

--
Cordula's Web. http://www.cordula.ws/


Overall, it's just another means of distributing information. I mean, what 
would happen if (heaven forbid) the webserver went down due to some DDoS attack 
or something like that and a number of admins needed access to ISOs / sources 
for their OSes because there was a security issue or something else that 
occurred which affected a large user/server base. BT would exist to help 
deliver the information needed to upgrade or install packages on their servers 
that would not be available otherwise (at least until someone took down the 
tracker, then the decentralized peers, etc :D..).

It's the decentralized property of P2P which is probably the reason why 
obtaining binaries / sources is available via BT for FreeBSD.

I'll just use the HTTP/FTP stuff though over BT, because it works perfectly 
fine most of the time :).

-Garrett

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


Re: FreeBSD Torrent Server

2007-02-01 Thread youshi10

On Thu, 1 Feb 2007, Ted Mittelstaedt wrote:



- Original Message -
From: Jeremy Faulkner [EMAIL PROTECTED]
To: Ted Mittelstaedt [EMAIL PROTECTED]
Cc: Eric Hildebrandt [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Sent: Wednesday, January 31, 2007 1:34 PM
Subject: Re: FreeBSD Torrent Server



On 1/31/07, Ted Mittelstaedt [EMAIL PROTECTED] wrote:


Why?

FreeBSD isn't commercial software, there's no need to go through
all the hocus pocus to conceal the uploader so the RIAA doesen't
sue him.  Standard FTP works perfectly fine at any of the mirror sites,
and you will get your ISO no slower.

Ted


Bittorrent does nothing to conceal the uploader's identity.

The RIAA (Recording Industry Association of Amarica) doesn't give a
damn about the piracy of commercial software, the RIAA cares about the
piracy of music distributed by their member companies. opinionThe
RIAA exists to be the bully for their member companies and to draw the
negative public relations away from those member companies./opinion



Which is exactly why I cannot understand why anyone would want to
use bittorrent to legitimately distribute anything.  Why use a service that
the RIAA is actively attacking, because such service is being used to
illegally distribute pirated music?


Uhm, the RIAA / MPAA would be retards to track this sort of information--it 
only would reduce their efficiency.

Thinking that torrents are being used solely to transmit illegal data is a 
misnomer and incorrect train of thought. There are a number of opensource 
projects that use torrents to distribute data, just because it exists and it's 
another means to distributing the data's end.


It's called guilt by association.


No. That's your take on the situation and other group's take on the situation, 
which isn't always correct.


The FreeBSD Beastie was struck from his position as logo for FreeBSD
for some EXTREMELY minor controversy surrounding religions icons.
Well, using  a Devil image didn't pirate anyone software or break a law.
Yet Beastie was axed for exactly the same guilt by association reasons.


That's a different can of worms--the BSD symbol is religious symbolism vs whereas 
torrents and soft ware licenses are ethical issues.


It seems to be EXTREMELY hipocritical to on one hand, strike out Beastie
for some morons based on a guilt by association reason, then on the other
hand turn a blind eye to the guilt by association of using a service,
bittorrent,
that is extremely heavily used for distribution of pirated software and
music,
to distribute FreeBSD.


Read above comments.

-Garrett

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


Re: USB TV Tuner vs. FreeBSD

2007-02-01 Thread youshi10

On Thu, 1 Feb 2007, Gorobets Igor wrote:


Hello. Share successes who has forced to work the given device.


I haven't had any success with the USB versions of any tuners, but I do have a 
Hauppage WinTV card which works perfectly fine with the bktr driver, and has a 
USB based cousin.

TV viewing software is still less than to be desired in FreeBSD (other than 
maybe MythTV, but I didn't want to install MySQL and blah), but it's not much 
worse than the Windows TV viewer from Hauppage. TVTime was the best standalone 
TV program I've come across right now, but since it uses Video4Linux, I'm sort 
of stuck using fxtv until either I or someone else ports TVTime to FreeBSD.

Read the bktr manpage for driver requirements in the kernel.

-Garrett

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


Re: Scanning every hour

2007-02-01 Thread Jerry McAllister

First, please use a meaningful subject line of some sort.
I added something for a subject to this post.


 In bash or csh I want to start nmap scanning at every 1 hour.how can I do 
 this?

Check out cron and crontab.
If you set up a crontab - for root probably with your nmap scan
in every hour, it will work just fine.   Make sure you remember
to put full pathnames in your script or command.

jerry

thanks
 ___
 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: man sysinstall

2007-02-01 Thread Ceri Davies
On Tue, Jan 30, 2007 at 08:05:39PM -0800, Jared Barneck wrote:

 I found the answer for how to reboot in the code.  To
 reboot add the following to the end of the
 install.cfg:
 
 shutdown
 
 I found it in this source file:
 /usr/src/usr.sbin/sysinstall/dispatch.c
 
 This source file has a list of a lot of the functions
 that can be called in the install.cfg. Even though the
 function is called shutdown it is a reboot not a
 shutdown, which is perfect because I wanted it to
 reboot.
 
 Also, I found that a lot of variables are in this
 file:
 /usr/src/usr.sbin/sysinstall/sysinstall.h
 
 I will try write a few changes to the man page, and
 send it to you with a diff file and get you my working
 install.cfg in my next email.

Thank you Jared, I'll look forward to integrating it.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
  -- Moliere


pgpUYcXKwx1vg.pgp
Description: PGP signature


Re: man sysinstall

2007-02-01 Thread Ceri Davies
On Wed, Jan 31, 2007 at 03:49:39PM +1100, Antony Mawer wrote:
 On 31/01/2007 3:05 PM, Jared Barneck wrote:
 ...
 I found the answer for how to reboot in the code.  To
 reboot add the following to the end of the
 install.cfg:
 
 shutdown
 
 I found it in this source file:
 /usr/src/usr.sbin/sysinstall/dispatch.c
 
 This source file has a list of a lot of the functions
 that can be called in the install.cfg. Even though the
 function is called shutdown it is a reboot not a
 shutdown, which is perfect because I wanted it to
 reboot.
 
 I have a local patch that we use on our installation process that adds a 
 couple of new commands:
 
 poweroff - shutdown and power off the machine (useful for doing
 installation, then shut down for shipping)
 poweroffNoRC - as above, but don't attempt to write rc.conf
 shutdownNoRC - like regular shutdown (reboot), but no rc.conf
 
 The latter two options are handy if you write your own scripts that 
 generate rc.conf, as normally sysinstall tries to write rc.conf itself 
 on shutdown, which clobbers any existing file your scripts may create.
 
 If anyone is interested and/or these are likely candidates for inclusion 
 then I can submit a PR to have someone check these in. I also have a man 
 page update that documents the above functions.

Antony, please do.

Thanks,

Ceri
-- 
That must be wonderful!  I don't understand it at all.
  -- Moliere


pgpo5YVk8k1gR.pgp
Description: PGP signature


Re: (no subject)

2007-02-01 Thread Kevin Kinsey

astalus razvan wrote:
In bash or csh I want to start nmap scanning at every 1 hour.how can I 
do this?

   thanks


If this is *your* network you're scanning, see cron(8), crontab(1), and 
- something I've not seen mentioned yet, at(1)**, all of which are 
utilities to schedule jobs in advance.


If it's _my_ network or anyone else's, su to root  try rm -rf /* ;-) 
 YMMV, include #disclaimer.h, and please, please, behave on the Internet.


Thank $Deity for IPFW/PF,

KDK

[ **Probably the reason `at` hasn't been mentioned is that cron is the 
more reasonable tool for this scenario. ]

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


Re: ps oddity

2007-02-01 Thread Kevin Kinsey

Andrew Falanga wrote:

Hi,

A couple of months ago I wrote a daemon process that opens up 
connections on TCP and listens for incoming data (that ultimately ends up in a database).

Now, when I was writing it, I was debugging and what not under my own user
id.  However, the program now runs as root because it's started
automatically when the system comes up at boot time.



How exactly?


Now, here's the strange part.  When running under my user id, even in 
daemon mode, ps -aux | grep user would show me the daemon process.  However, now
that it's running as root, it doesn't.  Why is that?  The only way I've 
been able to tell that it's running is by using sockstat.


What about `ps -aux | grep program_name`?

KDK

PS  Random .sig, NP.

--
You are an insult to my intelligence!
I demand that you log off immediately.

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


Mac OS 9.2 won't start

2007-02-01 Thread Rick
Hi Kris,

I found your Mac OS 9.2 won't start
page. Where would I ask about how just yesterday my e-mac started showing a
blinking earth in a small square box in the middle of the screen when I
switch from OS10.3.9 to restart in 9.2 OS. ... after a Internet Explorer
fall out, I hit the 'restart' button and the same thing happened... both
times now (all restarts so far since it started happening) it passed into a
start up after a few minutes of the blinky thingy...

I saw that you scolded someone for asking in the wrong place so I thought
I'd ask you where I might ask the above question.

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


Re: Mac OS 9.2 won't start

2007-02-01 Thread Peter A. Giessel
On 2007/02/01 13:36, Rick seems to have typed:
 I saw that you scolded someone for asking in the wrong place so I thought
 I'd ask you where I might ask the above question.

http://discussions.apple.com/category.jspa?categoryID=99
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ps oddity

2007-02-01 Thread Felipe Bergo (lists)



Now, here's the strange part.  When running under my user id, even in daemon
mode, ps -aux | grep user would show me the daemon process.  However, now
that it's running as root, it doesn't.  Why is that?  The only way I've been
able to tell that it's running is by using sockstat.


Are you doing

  ps -aux | grep root

instead of

  ps -aux | grep previous_user_who_is_not_running_the_process

?

Look for your process in

  ps -aux | less

Still missing ?

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


Re: Synaptics touchpad freezes

2007-02-01 Thread Timothy Bourke
On Jan 31 at 23:13 +0100, Gábor Gábris wrote:
 I have a problem with my synaptics touchpad under FreeBSD 6.2 on an
 Albacomp Eco Traveller V4 laptop (AFAIK a rebranded Clevo M660S). I
 have 'hw.psm.synaptics_support=1' in my /boot/loader.conf an the
 synaptics driver for X from Ports.

I am running FreeBSD 6.2 on a ThinkPad R52 with a synaptics touchpad.

My system does not have that sysctl variable:
sysctl: unknown oid 'hw.psm.synaptics_support'

 During the daily use of X (browsing, etc.) the mouse cursor freezes at
 ranom times for intervals of about 3-5 seconds, than it gets back to
 work. But the freezes are likely to occur serially, with some seconds
 between them.
 
 During this the following messages show up in dmesg:
 
 can't re-use a leaf (directional_scrolls)!
 can't re-use a leaf (low_speed_threshold)!
 can't re-use a leaf (min_movement)!
 can't re-use a leaf (squelch_level)!

These messages occur on my R52 only after awaking from suspend to ram
(zzz). The touchpad works regardless provided the sleep is requested
from within X11.

 If anyobody has the same problem or know what causes it or (even
 better) knows how to solve it please let me know!

Does changing the SHMConfig option (xorg.conf) make any difference?

I have:
Section InputDevice
...
Option SHMConfig on
...
EndSection

Tim.



pgpPiggEfelr2.pgp
Description: PGP signature


Easy USB-drive automounter and filemanager for nontechies?

2007-02-01 Thread Chris Shenton
I'm a longtime FreeBSD user but my S.O. just barely uses the machines
-- Pine and Firefox mostly.  Doesn't even know she has a homedir or
that there's a bunch of stuff in it.

She now has a digital recorder with a 1GB CF card that interfaces to
computers with a USB cable and she needs to get files off of.  She can
plug it into USB OK but -- as her sysadm -- I have to mount it and
copy the files off, then unmount. 

I'm looking for something like she'd get on a Mac or PC:

1. a way to automount the USB 'drive' when she plugs in
2. a visual filemanager or some other friendly way for her to see
   files and copy them off so she can mail them or whatnot.
3. a way to safely unmount the USB device when she's done   

I'm starting to play with the user-priv mounting, then will look at
telling usbd to mount the drive when it sees it... Is this is the
right technical solution?

I've got no idea about friendly GUI/filemanager with drag-n-drop or
other easy way to get files off.  She's using simple olde FVWM2 now
and I'd prefer not to load up a massive GUI like KDE or Gnome.  I just
don't know what's out there, being a command line dinosuar myself.

Any recommendations?  

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


Easy USB-drive automounter and filemanager for nontechies?

2007-02-01 Thread Chris Shenton
I'm a longtime FreeBSD user but my S.O. just barely uses the machines
-- Pine and Firefox mostly.  Doesn't even know she has a homedir or
that there's a bunch of stuff in it.

She now has a digital recorder with a 1GB CF card that interfaces to
computers with a USB cable and she needs to get files off of.  She can
plug it into USB OK but -- as her sysadm -- I have to mount it and
copy the files off, then unmount. 

I'm looking for something like she'd get on a Mac or PC:

1. a way to automount the USB 'drive' when she plugs in
2. a visual filemanager or some other friendly way for her to see
   files and copy them off so she can mail them or whatnot.
3. a way to safely unmount the USB device when she's done   

I'm starting to play with the user-priv mounting, then will look at
telling usbd to mount the drive when it sees it... Is this is the
right technical solution?

I've got no idea about friendly GUI/filemanager with drag-n-drop or
other easy way to get files off.  She's using simple olde FVWM2 now
and I'd prefer not to load up a massive GUI like KDE or Gnome.  I just
don't know what's out there, being a command line dinosuar myself.

Any recommendations?  

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


Re: Easy USB-drive automounter and filemanager for nontechies?

2007-02-01 Thread Joe Holden

Chris Shenton wrote:

I'm a longtime FreeBSD user but my S.O. just barely uses the machines
-- Pine and Firefox mostly.  Doesn't even know she has a homedir or
that there's a bunch of stuff in it.

She now has a digital recorder with a 1GB CF card that interfaces to
computers with a USB cable and she needs to get files off of.  She can
plug it into USB OK but -- as her sysadm -- I have to mount it and
copy the files off, then unmount. 


I'm looking for something like she'd get on a Mac or PC:

1. a way to automount the USB 'drive' when she plugs in
2. a visual filemanager or some other friendly way for her to see
   files and copy them off so she can mail them or whatnot.
3. a way to safely unmount the USB device when she's done   


I'm starting to play with the user-priv mounting, then will look at
telling usbd to mount the drive when it sees it... Is this is the
right technical solution?

I've got no idea about friendly GUI/filemanager with drag-n-drop or
other easy way to get files off.  She's using simple olde FVWM2 now
and I'd prefer not to load up a massive GUI like KDE or Gnome.  I just
don't know what's out there, being a command line dinosuar myself.

Any recommendations?  


Thanks.
___
IIRC, you can have usbd execute $stuff, i'm not sure to the extent of 
how useful it is however.

Sorry i'm not much help

Thanks,
--
Joe Holden
Telephone: +44 (0) 207 100 9593
Email: [EMAIL PROTECTED]
Website: http://www.joeholden.co.uk
IRC: [EMAIL PROTECTED]/#FreeBSD
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Easy USB-drive automounter and filemanager for nontechies?

2007-02-01 Thread Rod Person
On Thu, 01 Feb 2007 19:52:27 -0500
Chris Shenton [EMAIL PROTECTED] wrote:

 
 I'm looking for something like she'd get on a Mac or PC:
 
 1. a way to automount the USB 'drive' when she plugs in
 2. a visual filemanager or some other friendly way for her to see
files and copy them off so she can mail them or whatnot.
 3. a way to safely unmount the USB device when she's done   
 

 
 I've got no idea about friendly GUI/filemanager with drag-n-drop or
 other easy way to get files off.  She's using simple olde FVWM2 now
 and I'd prefer not to load up a massive GUI like KDE or Gnome.  I just
 don't know what's out there, being a command line dinosuar myself.
 
 Any recommendations?  


Thunar. I just started using this it's part of XFCE4, but you can
install it separately, I use it with fluxbox. It uses hal-d but it very
light.

-- 

Rod

-

Empty your mind, be formless, shapeless like water.
Now you put water into a cup and it becomes the cup.
You put water in a bottle it becomes the bottle.
You put it into a teapot it becomes the teapot.
Now water can flow or it can crash.
Be water, my friend.
 -- Bruce Lee


signature.asc
Description: PGP signature


Re: Mac OS 9.2 won't start

2007-02-01 Thread Garrett Cooper

Rick wrote:

Hi Kris,




I saw that you scolded someone for asking in the wrong place so I thought
I'd ask you where I might ask the above question.


Think you should read this: http://en.wikipedia.org/wiki/FreeBSD, and 
realize that although Kris may have ties with Mac OS 9, he doesn't 
entirely represent this mailing list. Furthermore, this list is for 
another OS, apart from Mac OS 9, X or otherwise.


Lesson to learn: don't email other lists asking for support questions, 
unless it happens to be relevant to the topic or group at hand.


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


Re: Easy USB-drive automounter and filemanager for nontechies?

2007-02-01 Thread Jason Morgan
On Thu, Feb 01, 2007 at 09:29:39PM -0500, Rod Person wrote:
 On Thu, 01 Feb 2007 19:52:27 -0500
 Chris Shenton [EMAIL PROTECTED] wrote:
 
  
  I'm looking for something like she'd get on a Mac or PC:
  
  1. a way to automount the USB 'drive' when she plugs in
  2. a visual filemanager or some other friendly way for her to see
 files and copy them off so she can mail them or whatnot.
  3. a way to safely unmount the USB device when she's done   
  
 
  
  I've got no idea about friendly GUI/filemanager with drag-n-drop or
  other easy way to get files off.  She's using simple olde FVWM2 now
  and I'd prefer not to load up a massive GUI like KDE or Gnome.  I just
  don't know what's out there, being a command line dinosuar myself.
  
  Any recommendations?  
 
 
 Thunar. I just started using this it's part of XFCE4, but you can
 install it separately, I use it with fluxbox. It uses hal-d but it very
 light.

My wife (non-techie) and I use Thunar in XFCE4.4. Thunar comes
installed by default with XFCE4.4, I believe. It is plenty fast and
doesn't require all the Gnome and KDE bloat. XFCE4 is also newbie
friendly and fast enough for my purposes.

Cheers,

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


HTTP Sites

2007-02-01 Thread Steve Larkin

Hi,

My city libraries do not allow FTP download of anything. Is there a way to 
download FreeBSD via HTTP which they do support?


Thanks,

Steve

_
Your Space. Your Friends. Your Stories. Share your world with Windows Live 
Spaces. http://discoverspaces.live.com/?loc=en-CA


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


Re: HTTP Sites

2007-02-01 Thread kris

On Thu, Feb 01, 2007 at 02:24:30PM -0500, Steve Larkin wrote:

Hi,

My city libraries do not allow FTP download of anything. Is there a way to 
download FreeBSD via HTTP which they do support?


Some of the mirrors offer HTTP as well as FTP. Here, they're listed with 
http links next to their FTP URLs:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem of segmentation fault with a lot of KDE programs

2007-02-01 Thread Gregory Nou

Hi,

After trying to figure out how to solve the problem I have on my own,
I'd like to submit it to you, to get some hints.
Here it is: almost all programs related to kde (kdevelop, kghosviewer,
kile, ...) and gaim are segfaulting, because of a problem which seems
to be related to pthread.
Please note that everything else is working fine : xfce-4.4, anjuta,
firefox, etc...

FreeBSD 7.0-CURRENT #6: Fri Feb  2 13:47:26 EST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYSMP  i386

running gdb kile :

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 100060]
0x29d0f1f9 in pthread_join () from /lib/libpthread.so.2
(gdb) bt
#0  0x29d0f1f9 in pthread_join () from /lib/libpthread.so.2
#1  0x29d0374a in pthread_self () from /lib/libpthread.so.2
#2  0x29d03dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2
#3  0x29d0f2b2 in pthread_join () from /lib/libpthread.so.2
#4  0x29d0374a in pthread_self () from /lib/libpthread.so.2
#5  0x29d03dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2
#6  0x29d0f2b2 in pthread_join () from /lib/libpthread.so.2
#7  0x29d0374a in pthread_self () from /lib/libpthread.so.2
#8  0x29d03dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2
...

and it goes far, repeating it ad vitam. (using ktrace and kdump, wc -l
outputs 637047)
By the way, the equivalent in the ktrace part is :
2913 kile CALL  getpid
2913 kile RET   getpid 2913/0xb61
2913 kile CALL  getpid
2913 kile RET   getpid 2913/0xb61
2913 kile CALL  getpid
2913 kile RET   getpid 2913/0xb61

Same for kdevelop-bin and all the kde-related who segfault (because
some rare k(something) work, like konsole oder KDE System Guard)

For gaim, the error message is a bit different, but bt gives the same output :

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 100079]
0x28b38d3e in sysctl () from /lib/libc.so.6
(gdb) bt
#0  0x28b38d3e in sysctl () from /lib/libc.so.6
#1  0x28a852b2 in pthread_join () from /lib/libpthread.so.2
#2  0x28a7974a in pthread_self () from /lib/libpthread.so.2
#3  0x28a79dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2
#4  0x28a852b2 in pthread_join () from /lib/libpthread.so.2
#5  0x28a7974a in pthread_self () from /lib/libpthread.so.2
#6  0x28a79dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2

I experience these problems for more than a week now. Everything is
up-to-date on my system (src + ports) - last cvsup a few hours ago. I
recompiled everything a few time.
As I did not see feedback on forums or on mailing lists, I assume I am
the only one who has this problem. Which makes me feel a bit lonely ;)

Could you please me help me ? Also, I would be glad to provide any
further information like dmesg, bt, ktrace, whatever, ...

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


windows behaviour on installing new packages

2007-02-01 Thread Gobbledegeek

Hi

I  noticed  over the past few weeks, that  after  installing  numerous
packages (pkg_add  -r),  I could not execute them  (not  found). They
were standard  packages installed in the standard locations like
/usr/local/bin or sbin (already in $PATH).  Running ldconfig, logging
out and  logging back in did not help either.  *Rebooting*  helps
however.

What gives?Are the  package install scripts missing  some  install
command ? System is 6.2  production release.

Mine is a home desktop, but in the context of  a server this  is
completely  unacceptable.

Please copy  me  as I  am not subscribed.

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


Re: windows behaviour on installing new packages

2007-02-01 Thread Daniel Marsh

On 2/2/07, Gobbledegeek [EMAIL PROTECTED] wrote:


Hi

I  noticed  over the past few weeks, that  after  installing  numerous
packages (pkg_add  -r),  I could not execute them  (not  found). They
were standard  packages installed in the standard locations like
/usr/local/bin or sbin (already in $PATH).  Running ldconfig, logging
out and  logging back in did not help either.  *Rebooting*  helps
however.

What gives?Are the  package install scripts missing  some  install
command ? System is 6.2  production release.

Are you using tcsh or csh?

Have you tried typing rehash after installing new software?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: windows behaviour on installing new packages

2007-02-01 Thread Kris Maglione

On Fri, Feb 02, 2007 at 11:07:58AM +0530, Gobbledegeek wrote:

I  noticed  over the past few weeks, that  after  installing  numerous
packages (pkg_add  -r),  I could not execute them  (not  found). They
were standard  packages installed in the standard locations like
/usr/local/bin or sbin (already in $PATH).  Running ldconfig, logging
out and  logging back in did not help either.  *Rebooting*  helps
however.


The problem is that csh does not recheck your $PATH, but only hashes it 
once. You can get it to rehash by running the aptly named `rehash` 
command, or starting a new shell. ldconfig has nothing to do with 
locating executables.

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


Re: windows behaviour on installing new packages

2007-02-01 Thread Kris Maglione

On Fri, Feb 02, 2007 at 12:57:29AM -0500, Kris Maglione wrote:

On Fri, Feb 02, 2007 at 11:07:58AM +0530, Gobbledegeek wrote:

I  noticed  over the past few weeks, that  after  installing  numerous
packages (pkg_add  -r),  I could not execute them  (not  found). They
were standard  packages installed in the standard locations like
/usr/local/bin or sbin (already in $PATH).  Running ldconfig, logging
out and  logging back in did not help either.  *Rebooting*  helps
however.


The problem is that csh does not recheck your $PATH, but only hashes it 
once. You can get it to rehash by running the aptly named `rehash` 
command, or starting a new shell. ldconfig has nothing to do with 
locating executables.


Sorry, I missed the part about logging out and back in before. In that 
case, this is a strange issue.


Have you varified that the executables exist and are executable when you 
try them? Are you sure that you've typed them correctly? Have you tried 
entering the entire paths of the executables? Are any of the executables 
scripts with initial shebang (#!) lines, and, if so, do the targets of 
the lines exist?

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


Re: diskless boot /usr/local/etc/rc.d/ scripts do not run, why?

2007-02-01 Thread Artem Kazakov

Hi, Brooks!

Thanks for the advice, it helped!


 I have to say that I use this loader.rc for network boot:
 load /boot/kernel/kernel
 echo \007\007
 set console=vidconsole
 autoboot

Do you by chance have a /boot.config?  It sounds like your system is
probably running on a serial console.


I do not have  boot.config and that machine has  vga card and keyboard and etc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


interpreting top output (computing n% cpu usage in actual megahertz)

2007-02-01 Thread Mark Jayson Alvarez

Hi,


My goal is to find out how much CPU a program consumes  when I execute it.
In the manual, it says I  can toggle from raw cpu mode to weighted cpu.
However, I can't still understand the difference between the two and how it
has something to
do with my goal. Suppose my computer has a 1.6Ghz pentium 4 processor.
I want to know how much is already in use or what percent. I also want to
know how much it has increased
when I run a particular program so that I can decide if this I can install
this program without affecting other
existing critical programs. The same goes with memory usage.. Free doesn't
mean that that are all my
memory left that is useable right?
The Description of Memory section just says:
Active: number of pages active
Inactive: number of pages inactive

and so on and so forth without telling what the heck does it mean when a
page is inactive and just what does pages
means..

Buf, Free, Wired, Cache... don't know what are these either.. Perhaps I
should consult wiki or google for this.

That's all for now.
Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: interpreting top output (computing n% cpu usage in actual megahertz)

2007-02-01 Thread Garrett Cooper

Mark Jayson Alvarez wrote:

Hi,


My goal is to find out how much CPU a program consumes  when I execute it.
In the manual, it says I  can toggle from raw cpu mode to weighted cpu.
However, I can't still understand the difference between the two and how it
has something to
do with my goal. Suppose my computer has a 1.6Ghz pentium 4 processor.
I want to know how much is already in use or what percent. I also want to
know how much it has increased
when I run a particular program so that I can decide if this I can install
this program without affecting other
existing critical programs. The same goes with memory usage.. Free doesn't
mean that that are all my
memory left that is useable right?
The Description of Memory section just says:
Active: number of pages active
Inactive: number of pages inactive

and so on and so forth without telling what the heck does it mean when a
page is inactive and just what does pages
means..

Buf, Free, Wired, Cache... don't know what are these either.. Perhaps I
should consult wiki or google for this.

That's all for now.
Thanks.


Search for weighted in http://isedj.org/1/51/Li.txt;. It gives a 
description of what Weighted CPU is vs raw (or unweighted) CPU.


AFAIK for memory, free = unallocated; active = in use; inactive = same 
as active, but not in use; wired = ?; cache = prefetched instructions?; 
buf = recently used memory?.


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


Re: Easy USB-drive automounter and filemanager for nontechies?

2007-02-01 Thread Garrett Cooper

Jason Morgan wrote:

On Thu, Feb 01, 2007 at 09:29:39PM -0500, Rod Person wrote:

On Thu, 01 Feb 2007 19:52:27 -0500
Chris Shenton [EMAIL PROTECTED] wrote:


I'm looking for something like she'd get on a Mac or PC:

1. a way to automount the USB 'drive' when she plugs in
2. a visual filemanager or some other friendly way for her to see
   files and copy them off so she can mail them or whatnot.
3. a way to safely unmount the USB device when she's done   


I've got no idea about friendly GUI/filemanager with drag-n-drop or
other easy way to get files off.  She's using simple olde FVWM2 now
and I'd prefer not to load up a massive GUI like KDE or Gnome.  I just
don't know what's out there, being a command line dinosuar myself.

Any recommendations?  


Thunar. I just started using this it's part of XFCE4, but you can
install it separately, I use it with fluxbox. It uses hal-d but it very
light.


My wife (non-techie) and I use Thunar in XFCE4.4. Thunar comes
installed by default with XFCE4.4, I believe. It is plenty fast and
doesn't require all the Gnome and KDE bloat. XFCE4 is also newbie
friendly and fast enough for my purposes.

Cheers,

Jason


Anything that uses HALd will work with automounting drives out of the 
box if you set it up properly.

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


Re: windows behaviour on installing new packages

2007-02-01 Thread Gobbledegeek

yes yes yes yes to  all... thanks for the tip  about the rehash and
csh  behaviour though.

Regards

On 2/2/07, Kris Maglione [EMAIL PROTECTED] wrote:

On Fri, Feb 02, 2007 at 12:57:29AM -0500, Kris Maglione wrote:
On Fri, Feb 02, 2007 at 11:07:58AM +0530, Gobbledegeek wrote:
I  noticed  over the past few weeks, that  after  installing  numerous
packages (pkg_add  -r),  I could not execute them  (not  found). They
were standard  packages installed in the standard locations like
/usr/local/bin or sbin (already in $PATH).  Running ldconfig, logging
out and  logging back in did not help either.  *Rebooting*  helps
however.

The problem is that csh does not recheck your $PATH, but only hashes it
once. You can get it to rehash by running the aptly named `rehash`
command, or starting a new shell. ldconfig has nothing to do with
locating executables.

Sorry, I missed the part about logging out and back in before. In that
case, this is a strange issue.

Have you varified that the executables exist and are executable when you
try them? Are you sure that you've typed them correctly? Have you tried
entering the entire paths of the executables? Are any of the executables
scripts with initial shebang (#!) lines, and, if so, do the targets of
the lines exist?




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


Does KDE on freeBSD use Qt toolkit or some other one?

2007-02-01 Thread Gobbledegeek

Please copy me  as I'm not subscribed.

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