Re: Trying to revive a server... AIC-7896 freezes pre-POST completion

2006-06-14 Thread Garrett Cooper

Garrett Cooper wrote:

Hello again all,
I know this isn't a FreeBSD question really, but I just started up a 
motherboard with onboard SCSI (Adaptec AIC-7896), and for some odd 
reason it freezes pre-POST before it attempts to boot and there isn't 
any way where I can get into the BIOS to change the settings it seems. 
Does anyone know how I can maybe disable the onboard SCSI controller 
since it appears to hang while detecting disks?

Thanks a million!
-Garrett


Just wondering... did some early P3 server motherboards halt waiting for 
a response from a floppy drive by chance?

-Garrett

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


Re: Trying to revive a server... AIC-7896 freezes pre-POST completion

2006-06-14 Thread Andrew Reitz


On Jun 13, 2006, at 10:11 PM, Garrett Cooper wrote:


Hello again all,
	I know this isn't a FreeBSD question really, but I just started up  
a motherboard with onboard SCSI (Adaptec AIC-7896), and for some  
odd reason it freezes pre-POST before it attempts to boot and there  
isn't any way where I can get into the BIOS to change the settings  
it seems. Does anyone know how I can maybe disable the onboard SCSI  
controller since it appears to hang while detecting disks?


Hi Garrett,

I've been having a lot of "PC fails to POST" problems recently, so I  
feel your pain.


Basically, my guess is that after your BIOS does its self check, it  
tries to load all of the option BIOSes into memory. This will include  
a BIOS from your SCSI adapter, as well as network-bootable NICs, etc.  
Basically, the BIOS has to do this so that you can boot off whatever  
option card that you have in the system.


Since your SCSI adapter is built-in to the motherboard, it should be  
pretty compatible with the BIOS -- unless you changed that recently.  
In order to troubleshoot this, however, I would start by unplugging  
everything possible from your server. Just keep the ram, MB, CPU, and  
graphics card. See if you can get the machine to POST in this state  
(it really should, barring some sort of bad hardware or bad CMOS  
state). If it posts, start adding things back (disks, PCI cards,  
etc.), until you find the source of the problem.


Usually, onboard devices can only be disabled from the BIOS, which  
you can't get to. But, I would check for a jumper on the motherboard,  
to see if there is a way to disable things that way.


If you get really desperate, you could try resetting your BIOS  
configuration (CMOS).


Good luck, and I hope this helps...
-Andy.

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


Queueing with pf

2006-06-14 Thread Erik Norgaard

Hi:

I have a network:

   54Mbps   100Mbps 320Kbps->
  WLAN -- FBSD w PF --- DSL - Internet
 <-2Mbps

Clearly, any congestion will occur on the DSL-Internet line.

I want to enable queueing on the FBSD gateway using PF such that the 
DSL-Internet connection does not get saturated with questionable traffic 
such as p2p and to allow free riders limited access without getting 
sucking up all the bandwidth, something like this:


   WLAN -> Internet 320Kbps
critical   256Kbps pri 1 borrow
noncrit 48Kbps pri 2 borrow
freeriders  16Kbps pri 3

   Internet -> WLAN  2Mbps
critical 1.5Mbps pri 1 borrow
noncrit  256Kbps pri 2 borrow
freeriders   128Kbps pri 3

That is, freeriders should be able to do the most basic task, but since 
they don't share the costs they should always be lowest priority. Also, 
I want to make sure that bandwidth intensive protocols such as voip gets 
through fast.


Now, reading the PF manual, queueing only makes sense on traffic going 
out. Once packets are received there's no point in holding them back. 
This means that packets from the Internet to some wlan host have 
consumed their part of the 2Mbps available so there is no point in 
holding them back.


In other words, it seems I need to queue the packets from the wlan to 
the Internet such as to get the desired result on both upstream and 
downstream. Any ideas on how to do that?


I think I need a better picture of how much goes in each direction for 
the different protocols, ie. p2p down ~= up, while http down ~= 4*up? Do 
any one have some thumb rules for this?


Secondly: Is it possible to differentiate scp/sftp and ssh such that the 
later goes in the critical queue while the former goes in the noncritical?


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


top

2006-06-14 Thread Nikolas Britton

What do all these things mean, they are from the STATE column in top?:

bo_wwa
biowr
*proce
getblk
RUN
select
drainv
*Giant
nanslp
pause
wait
kserel
ttyin


--
BSD Podcasts @:
http://bsdtalk.blogspot.com/
http://freebsdforall.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD users of Thailand

2006-06-14 Thread Olivier Nicole
Khun Prasert,

Good initiative, very good idea.

Well I have more interest in the server use of FreeBSD and obviously I
cannot read Thai, but if I can help...

Best regards,

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


Re: FreeBSD users of Thailand

2006-06-14 Thread Olivier Nicole
Khun Prasert,

Good initiative, very good idea.

Well I have more interest in the server use of FreeBSD and obviously I
cannot read Thai, but if I can help...

Bestoo regards,

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


Re: top

2006-06-14 Thread Giorgos Keramidas
On Wed, 14 Jun 2006 03:40:02 -0500, "Nikolas Britton" <[EMAIL PROTECTED]> wrote:
> What do all these things mean, they are from the STATE column in top?:
>
> bo_wwa
> biowr
> *proce
> getblk
> RUN
> select
> drainv
> *Giant
> nanslp
> pause
> wait
> kserel
> ttyin

They are described in the manpage near this part:

STATE is the current state (one of "START", "RUN" (shown as "CPUn"
on SMP systems), "SLEEP", "STOP", "ZOMB", "WAIT", "LOCK" or the
event on which the process waits),

The uppercase names are one of the states described in the manpage in
uppercase too.  The lowercase names are the names of sleep-events on
which a process is blocked.  Then there are the names that start with a
'*' character.  These are, AFAIK, names of kernel locks that the process
is currently blocked on.

- Giorgos

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


Re: Python port problems

2006-06-14 Thread Alex Zbyslaw

Joe Auty wrote:



Sorry for the delay in response here. This is still a problem for me,  
and I would still like this problem resolved.


Yes, I've tried reinstalling both Python and Mailman, and upgraded to  
newer port revisions of Mailman which have been released since this  
message. I'm still getting the same error message when I go to start  
Mailman via its rc script:


... snip
Traceback (most recent call last):
:
: No module named getopt  File "/usr/local/mailman/bin/qrunner", line  
76, in ?


ImportErrorimport getopt
No module named getopt:
No module named getopt
ImportErrorCould not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
: No module named getopt
Traceback (most recent call last):
  File "/usr/local/mailman/bin/qrunner", line 76, in ?
import getopt
ImportError: No module named getopt


Honestly, this looks like a screwed python install or some screw up when 
mailman compiled.  Can you do a few basic info things?


which python

whereis python

python
# and to the command interpreter type
import getopt
# and exit with ^D (control D)

egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf /etc/make.conf

egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf /etc/make.conf


head -5 /usr/local/mailman/bin/qrunner

--Alex




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


Re: Upgrading Ports on 5.3

2006-06-14 Thread Alex Zbyslaw

Chris Hill wrote:


What I usually do is

# cvsup -g /etc/cvsupfile.ports   <- my ports supfile with "tag=."
# pkgdb -aF   <- may throw a lot of errors, esp.
  <- if you have an old ports tree.
  <- Fix manually if needed!
# cd /usr/ports
# portsdb -u
# portsclean -C
# pkgdb -u
# portversion -v | grep needs <- see what "needs" to be upgraded



# portversion -L =

would be quicker.  Any > needs upgrading.  Any < would mean you somehow 
had an installed version newer that the port version!


# less /usr/ports/UPDATING

to see if any of the ports you will upgrade have "issues"

--Alex


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


Re: top

2006-06-14 Thread Alex Zbyslaw

Giorgos Keramidas wrote:


On Wed, 14 Jun 2006 03:40:02 -0500, "Nikolas Britton" <[EMAIL PROTECTED]> wrote:
 


What do all these things mean, they are from the STATE column in top?:
   




The lowercase names are the names of sleep-events on
which a process is blocked. 



A few of these I think I have figured out over the years but pinch of 
salt please, not a lernel hacker:



bo_wwa
biowr
   


writing to disk.  Other devices too, probably.


*proce
getblk
   


reading from disk.  Other devices too probably.


RUN
select
   


waiting for data to arrive on a socket.  See man select.


drainv
   


*Giant
nanslp
   


sleeping.  see man 3 sleep


pause
   


Waiting for signal, I believe.  See man 3 pause.


wait
   


Waiting for children.  See man 2 wait.


kserel
ttyin
   


reading from a tty.

You missed "piperd" == reading from a pipe.

"lockf" = locked file. See man lockf.

Those have got me through most common situations where I want to know 
what's going on.  kserel is the only common one I have no clue about.


--Alex





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


cd-rom on the vaio pcg-r505gl

2006-06-14 Thread Kim West

   I am trying to do a clean install and what happens is when I put cd in
   the cdrom it starts to boot up then states there is no valid cdrom.
   please help
   Go Mariners
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: wikipedia article

2006-06-14 Thread Per Fogelström
On Wednesday 14 June 2006 00:50, Johnny Billquist wrote:
> Per Fogelstrvm wrote:
> > On Tuesday 13 June 2006 14:23, Rick Kelly wrote:
> >>Johnny Billquist said:
> There's actually a cheesy way to do demand paging with microprocessors
> that don't support demand paging (such as the original 68000--another
> "16 bit" machine).  The way to do this is to run two processors in
> parallel but skewed by one instruction.  If the first one does a bad
> memory fetch, then the second one will not have fetched the instruction
> causing the fault so contains restartable machine state.  Masscomp sold
> a machine like this once.
> >>>
> >>>Didn't the first Apollos do this?
> >>
> >>And also the Sun 1.
> >
> > IIRC it was simpler than that. When the first cpu caused a 'miss' it was
> > put in wait and cpu 2 handled the pagein and then released cpu 1. Keeping
> > the two cpus synched, one instruction apart would have been too
> > complicated if not impossible...
>
> Your idea will not work, as far as I can tell.

Well it does. You are making assumptions which causes it to now work.
As Marcus already explained, the CPU is not allowed to trap but kept
waiting for the data. This of course had a terrible performance impact
(if you were running many background jobs) but considering that the Apollo
Domain stations were mostly used for CAD with huge data requirements it was 
not a bad thing though. At that time RAM was very expensive and top notch
performance was not a very big issue at all times. And the MMU chip was a 
piece of crap and expensive so most companies built their own MMU, like we 
did. Actually we never used any of Motorolas MMU chips in any of our systems.

> If the first CPU instruction execution causes a miss, the end result in
> the CPU will be pretty undefined, and you cannot restart. That's the
> whole point in why you'd have a second CPU shadowing the first one. So
> that you'd be able to restore the state as it were before the illegal
> memory access.
> And that was the problem with the original 68000. On an illegal memory
> reference, you would not know what state the CPU was in before the
> instruction, so you could not back it up, and re-execute the instruction
> after a page fault.
>
>   Johnny
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Process for cloning freebsd

2006-06-14 Thread Gary

Hello all,

I intend to clone a master freebsd box (6.1-stable) so that I can roll boxes
as fast as possible. These won't be identical machines btw. This comes up
from time to time, but I wanted to specifically check security concerns and
other things.

What sensitive information may be copied that must be removed/regenerated?
For example, ssh keys. How would these be regenerated (like the screenful of
junk with a new install)?

Are there any other similar security issues? How about any other unexpected
problems? I'm thinking I only need to change the hostname

I was planning to Ghost the harddrives.

Cheers
Gary

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


Re: installing openoffice by package

2006-06-14 Thread Peter

--- Robert Huff <[EMAIL PROTECTED]> wrote:

> 
> Nikolas Britton writes:
> 
> >  > Nope, I said that I do not have enough space to build this
> beast.
> >  > The thing needs ~9 GB under /usr and I just don't have that.
> >  
> >  du -h reports my work directory for OOo2 is only 6 GB. If you
> install
> >  and clean up the dependencies and distfiles before trying OOo
> install
> >  I'm sure you could make it go with ~7GB.
> 
>   6 GB sounds about right; I think I've done it with less (maybe
> as little as the high 4s) but have no formal data with which to back
> that up.

Well I had 5 GB and it crashed.  My "9 GB" is from the port's
installation message.


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


Re: FreeBSD users of Thailand

2006-06-14 Thread doi maesalong
Dear Mr Nicole
Thanks for the response. It is very nice that someone from the local
academic institution  is interested in this particular problem.
We willl need all the helps we can get.

I am not sure if you see the underlying problems the new users in Thailand
encountered.

>From  the thai webboard ( such as in www.thaibsd.com. This site is run by
one of the staff at teacher college in Pitsanulok,Thailand - though it's
domain name ends with dot com , this is not a commercial site. it was for
the sake of convenience to get the site up quickly. Another site is
http://www.thai-aec.org/forum/ ) , we noticed that the newbies faces a lot
of problems during installation. Few commonly encountered problems are :
1 CD error ( burned from download iso )
2 incomplete software ( again error from either during download or during
burning CD) . I encountered this problem myself inspite of correct MD5. So
common occuring such that I resorted to obtaining the CD by direct ordering
from FreeBSD Mall. And yet , I got error from the purchased disk. Perhaps
this might be due to my old hardware.
3 Another very common complaint from the webboard is the failure during
porting. This is a very common indeed. And this, in my opiniion having been
in the same situation before, is very discouraging for the new users indeed.
And as you might know,  compounding with the slow modem speed most user had
in Thailand,this will certainly discourage the new users to persue the
FreeBSD route. I do not think this is FreeBSD problem but rather the
unfamiliarity of the FreeBSD and porting system on the new users part (
perhaps they do not have latest port ).
4 the root of all problem is our lack goof background in english.

What we have in our plan is to have an autorun cd filled with OS & necessary
application softwares. Everything is in the CD so that users do not have to
download ( only one option to install the software for users to select  ie,
from CD). One last important thing is to have instruction to the user in
Thai language ( we will definitely need someone to help on this ie. writing
command ( in shell script or ???)  to automate the whole process, since most
of us have no experience or know how.)

This approach should have the new users up and running quickly without
bandwidth problem or missing dependency files.

Thanks in advance for the help. We definitely need your help.

Regards,

Somner Srivisal

ps. I am currently living in the US and having been in contact with Khun
presert regarding this matter. This proves that "The world is Flat" ( by
Thomas Friedman )


- Original Message - 
From: "Olivier Nicole" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: ; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]
Sent: Wednesday, June 14, 2006 4:34 AM
Subject: Re: FreeBSD users of Thailand


> Khun Prasert,
>
> Good initiative, very good idea.
>
> Well I have more interest in the server use of FreeBSD and obviously I
> cannot read Thai, but if I can help...
>
> Best regards,
>
> Olivier
> Pathumthani
>
>
> -- 
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.8.3 - Release Date: 6/7/2006
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Process for cloning freebsd

2006-06-14 Thread Bill Moran
In response to "Gary" <[EMAIL PROTECTED]>:
> 
> I intend to clone a master freebsd box (6.1-stable) so that I can roll boxes
> as fast as possible. These won't be identical machines btw. This comes up
> from time to time, but I wanted to specifically check security concerns and
> other things.
> 
> What sensitive information may be copied that must be removed/regenerated?
> For example, ssh keys. How would these be regenerated (like the screenful of
> junk with a new install)?

/etc/rc.d/sshd has the commands that are used to accomplish that.  It's
just making sure there is enough entropy in /dev/random, then using
ssh-keygen.

> Are there any other similar security issues? How about any other unexpected
> problems? I'm thinking I only need to change the hostname

I've done this -- haven't had any problems that I can remember.

> I was planning to Ghost the harddrives.

Anything that allows you duplicate the HDD will work.

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


Kismet and wi0

2006-06-14 Thread Christopher Sean Hilton
I'm wondering if anyone else is having trouble with the combination
between Kismet and the Orinoco Gold card. This setup worked flawlessly
for me under FreeBSD 5.4 (I retested it last night) but I get no joy
with FreeBSD 6.1-STABLE. Here's what I see:

  # ifconfig wi0 list ap

Doesn't list any access points even when

  # wicontrol -i wi0 -l

list both my and my neighbor's linksys.

Once in a blue moon starting Kismet on FreeBSD 6.1-STABLE will find
networks. In most cases it's deaf.

Some info:

dagobah chris $ uname -a
FreeBSD dagobah.vindaloo.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue Jun 13 
14:34:55 EDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GATEWAY_450ROG  
i386
dagobah chris $ dmesg 
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.1-STABLE #0: Tue Jun 13 14:34:55 EDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GATEWAY_450ROG
WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
WARNING: MPSAFE network stack disabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1400MHz (1395.48-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x695  Stepping = 5
  
Features=0xa7e9f9bf
  Features2=0x180
real memory  = 536281088 (511 MB)
avail memory = 515424256 (491 MB)
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_ec0:  port 0x62,0x66 on acpi0
cpu0:  on acpi0
est0:  on cpu0
p4tcc0:  on cpu0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  mem 0xe000-0xefff at device 0.0 
on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
acpi_video0:  port 0x3000-0x30ff mem 
0xd800-0xdfff,0xd010-0xd010 irq 11 at device 0.0 on pci1
uhci0:  port 0x1800-0x181f irq 11 at 
device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0x1820-0x183f irq 11 at 
device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0x1840-0x185f irq 10 at 
device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0:  mem 0xd000-0xd3ff 
irq 10 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3:  on ehci0
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
pcib2:  at device 30.0 on pci0
pci2:  on pcib2
em0:  port 0x5000-0x503f 
mem 0xd060-0xd061 irq 11 at device 2.0 on pci2
em0: [GIANT-LOCKED]
em0: Ethernet address: 00:e0:b8:5a:10:d2
pci2:  at device 4.0 (no driver attached)
cbb0:  irq 10 at device 5.0 on pci2
cardbus0:  on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1:  irq 10 at device 5.1 on pci2
cardbus1:  on cbb1
pccard1: <16-bit PCCard bus> on cbb1
fwohci0:  mem 0xd0623000-0xd06237ff irq 11 at device 5.2 on pci2
fwohci0: [GIANT-LOCKED]
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:e0:b8:04:50:01:ae:21
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0:  on fwohci0
fwe0:  on firewire0
if_fwe0: Fake Ethernet address: 02:e0:b8:01:ae:21
fwe0: Ethernet address: 02:e0:b8:01:ae:21
sbp0:  on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1860-0x186f at device 31.1 on pci0
ata0:  on atapci0
ata1:  on atapci0
pci0:  at device 31.3 (no driver attached)
pcm0:  port 0x1c00-0x1cff,0x18c0-0x18ff mem 
0xdc00-0xddff,0xd800-0xd8ff irq 10 at device 31.5 on pci0
pcm0: 
pci0:  at device 31.6 (no driver attached)
acpi_lid0:  on acpi0
acpi_acad0:  on acpi0
battery0:  on acpi0
battery1:  on acpi0
acpi_button0:  on acpi0
acpi_tz0:  on acpi0
atkbdc0:  port 0x60,0x64 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Synaptics Touchpad, device ID 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
pmtimer0 on isa0
orm0:  at iomem 0xc-0xc on isa0
ppc0: parallel port not found.
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port

Re: Queueing with pf

2006-06-14 Thread RW
On Wednesday 14 June 2006 09:21, Erik Norgaard wrote:

> Now, reading the PF manual, queueing only makes sense on traffic going
> out. Once packets are received there's no point in holding them back.
> This means that packets from the Internet to some wlan host have
> consumed their part of the 2Mbps available so there is no point in
> holding them back.
>
> In other words, it seems I need to queue the packets from the wlan to
> the Internet such as to get the desired result on both upstream and
> downstream. Any ideas on how to do that?
>
> I think I need a better picture of how much goes in each direction for
> the different protocols, ie. p2p down ~= up, while http down ~= 4*up? Do
> any one have some thumb rules for this?

If you are aiming to control downloads via upload limiting then  forget it.  A 
2Mbps tcp download can be sustained by just a handfull of tiny packets per 
second upsteam. Some  p2p networks give a download advantage to uploaders, 
but it's typically a kind of long-term karma rather than a definate 
relationship.


> Secondly: Is it possible to differentiate scp/sftp and ssh such that the
> later goes in the critical queue while the former goes in the noncritical?

This is covered, to some extent, on the OpenBSD site.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: top

2006-06-14 Thread Eric Schuele

On 06/14/06 05:34, Alex Zbyslaw wrote:

Giorgos Keramidas wrote:

On Wed, 14 Jun 2006 03:40:02 -0500, "Nikolas Britton" 
<[EMAIL PROTECTED]> wrote:
 


What do all these things mean, they are from the STATE column in top?:
  



The lowercase names are the names of sleep-events on
which a process is blocked.


A few of these I think I have figured out over the years but pinch of 
salt please, not a lernel hacker:



bo_wwa
biowr
  

writing to disk.  Other devices too, probably.


*proce
getblk
  

reading from disk.  Other devices too probably.


RUN
select
  

waiting for data to arrive on a socket.  See man select.


drainv
  
*Giant

nanslp
  

sleeping.  see man 3 sleep


pause
  

Waiting for signal, I believe.  See man 3 pause.


wait
  

Waiting for children.  See man 2 wait.


kserel
ttyin
  

reading from a tty.

You missed "piperd" == reading from a pipe.

"lockf" = locked file. See man lockf.

Those have got me through most common situations where I want to know 
what's going on.  kserel is the only common one I have no clue about.


Not a kernel hacker... but I always thought it corresponded to the 
kse_release syscall.


From the man page (sorry about formatting):
The kse_release() system call is used to ``park'' the KSE assigned to the
currently running thread when it is not needed, e.g., when there are more
available KSEs than runnable user threads.  The thread converts to an
upcall but does not get scheduled until there is a new reason to do so,
e.g., a previously blocked thread becomes runnable, or the timeout
expires.  If successful, kse_release() does not return to the caller.




--Alex





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





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


Re: Where is CARP?

2006-06-14 Thread Ashley Moran
On Tuesday 13 June 2006 15:24, Erik Norgaard wrote:
> See the NOTES filefor extra kernel options, /usr/src/sys/conf/NOTES:
>
> device  pf  #PF OpenBSD packet-filter firewall
> device  pflog   #logging support interface for PF
> device  pfsync  #synchronization interface for PF
> device  carp#Common Address Redundancy Protocol
>
> Cheers, Erik

Thanks Erik I got it working after recompiling the kernel with "device  
carp" (I only want carp, not pf).  I assume that CARP would be a standard 
part of the base system like it is with OpenBSD- there's no mention on the 
net (AFAIK) that you have compile it in.

Ashley




-- 
"If you do it the stupid way, you will have to do it again"
  - Gregory Chudnovsky
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: shebang line parsing changed in FreeBSD6

2006-06-14 Thread Lowell Gilbert
Alfred Morgan <[EMAIL PROTECTED]> writes:

> Can someone explain to me why parsing of the shebang line changed?

http://www.freebsd.org/cgi/query-pr.cgi?pr=16393
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Trying to revive a server... AIC-7896 freezes pre-POST completion

2006-06-14 Thread Derek Ragona
IF you can find the documentation for the motherboard, see if there is a 
reset jumper.  That jumper should reset the BIOS to factory defaults to 
allow it to get through the post and into setup.  Some motherboards 
actually take you into setup with the jumper moved to reset bad configurations.


Also, unplug any cards and drives, leave the system board with just ram and 
cpu and video (unless it is built in) until you get it configured.


-Derek


At 12:11 AM 6/14/2006, Garrett Cooper wrote:

Hello again all,
I know this isn't a FreeBSD question really, but I just started 
up a motherboard with onboard SCSI (Adaptec AIC-7896), and for some odd 
reason it freezes pre-POST before it attempts to boot and there isn't any 
way where I can get into the BIOS to change the settings it seems. Does 
anyone know how I can maybe disable the onboard SCSI controller since it 
appears to hang while detecting disks?

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Python port problems

2006-06-14 Thread Joe Auty


On Jun 14, 2006, at 6:01 AM, Alex Zbyslaw wrote:


Joe Auty wrote:



Sorry for the delay in response here. This is still a problem for  
me,  and I would still like this problem resolved.


Yes, I've tried reinstalling both Python and Mailman, and upgraded  
to  newer port revisions of Mailman which have been released since  
this  message. I'm still getting the same error message when I go  
to start  Mailman via its rc script:


... snip
Traceback (most recent call last):
:
: No module named getopt  File "/usr/local/mailman/bin/qrunner",  
line  76, in ?


ImportErrorimport getopt
No module named getopt:
No module named getopt
ImportErrorCould not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
: No module named getopt
Traceback (most recent call last):
  File "/usr/local/mailman/bin/qrunner", line 76, in ?
import getopt
ImportError: No module named getopt


Honestly, this looks like a screwed python install or some screw up  
when mailman compiled.  Can you do a few basic info things?




Sure, happy to do so!


which python



/usr/local/bin/python


whereis python



python: /usr/local/bin/python /usr/local/man/man1/python.1.gz /usr/ 
ports/lang/python



python
# and to the command interpreter type
import getopt
# and exit with ^D (control D)



# python
Python 2.4.3 (#2, Jun 13 2006, 21:29:49)
[GCC 3.4.2 [FreeBSD] 20040728] on freebsd5
Type "help", "copyright", "credits" or "license" for more information.
>>> import getopt
>>>

(I'm assuming this means no issues here)



egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf /etc/make.conf



# egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf /etc/make.conf
/usr/local/etc/pkgtools.conf-  # 'perl',
/usr/local/etc/pkgtools.conf-  # 'ruby',
/usr/local/etc/pkgtools.conf:  #'python',
/usr/local/etc/pkgtools.conf-  #   ]
/usr/local/etc/pkgtools.conf-  #



egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf /etc/make.conf



# egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf /etc/make.conf
/usr/local/etc/pkgtools.conf-'security/clamav' => 'CLAMAVUSER? 
=vscan CLAMAVGROUP?=vscan',

/usr/local/etc/pkgtools.conf-'www/MT' => '-DWITH_MYSQL',
/usr/local/etc/pkgtools.conf:'mail/mailman' => 'MAIL_GID=mailman'
/usr/local/etc/pkgtools.conf-  }
/usr/local/etc/pkgtools.conf-




head -5 /usr/local/mailman/bin/qrunner



# head -5 /usr/local/mailman/bin/qrunner
#! /usr/local/bin/python

# Copyright (C) 2001-2006 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or





--Alex




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




PGP.sig
Description: This is a digitally signed message part


Cyclom-8y on FreeBSD 6.1

2006-06-14 Thread fred bloggs

Hi,

I've got a Cyclom-8y, that was working under Linux, but I can't get any 
communication using FreeBSD.


dmesg says:
cy0 at iomem 0xd4000-0xd5fff irq 9 on isa0
cy0: [FAST]

My devices have all been created automatically:
[EMAIL PROTECTED] ~]# ls /dev/cuac0*
/dev/cuac00 /dev/cuac01 /dev/cuac02 
/dev/cuac03 /dev/cuac04 /dev/cuac05 
/dev/cuac06 /dev/cuac07
/dev/cuac00.init/dev/cuac01.init/dev/cuac02.init
/dev/cuac03.init/dev/cuac04.init/dev/cuac05.init
/dev/cuac06.init/dev/cuac07.init
/dev/cuac00.lock/dev/cuac01.lock/dev/cuac02.lock
/dev/cuac03.lock/dev/cuac04.lock/dev/cuac05.lock
/dev/cuac06.lock/dev/cuac07.lock

[EMAIL PROTECTED] ~]# ls /dev/ttyc0*
/dev/ttyc00 /dev/ttyc01 /dev/ttyc02 
/dev/ttyc03 /dev/ttyc04 /dev/ttyc05 
/dev/ttyc06 /dev/ttyc07
/dev/ttyc00.init/dev/ttyc01.init/dev/ttyc02.init
/dev/ttyc03.init/dev/ttyc04.init/dev/ttyc05.init
/dev/ttyc06.init/dev/ttyc07.init
/dev/ttyc00.lock/dev/ttyc01.lock/dev/ttyc02.lock
/dev/ttyc03.lock/dev/ttyc04.lock/dev/ttyc05.lock
/dev/ttyc06.lock/dev/ttyc07.lock


On port 8 of the card I have connected a Sun console. If I connect with 
minicom using /dev/cuad1 it works fine. If I connect with /dev/cuac07, the 
status line at the bottom of minicom shows "Online", but I get no output on 
the screen. I've tried 2 other ports as well.
I've got a full null modem cable between the Cyclom and the Sun. Exiting 
minicom also takes a long time (about 2 minutes)


I've also set up gettys on 3 ports:
ttyc00  "/usr/libexec/getty std.9600"   vt100   on secure
ttyc01  "/usr/libexec/getty std.9600"   vt100   on secure
ttyc02  "/usr/libexec/getty std.9600"   vt100   on secure

and tried with minicom and hyperterm to connect them, but nothing either.
What else do I need to do to get this working?

Any help appreciated.

Thanks in Advance
John Ryan

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/


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


Cyclom-8y on FreeBSD 6.1

2006-06-14 Thread fred bloggs

Hi,

I've got a Cyclom-8y, that was working under Linux, but I can't get any 
communication using FreeBSD.


dmesg says:
cy0 at iomem 0xd4000-0xd5fff irq 9 on isa0
cy0: [FAST]

My devices have all been created automatically:
[EMAIL PROTECTED] ~]# ls /dev/cuac0*
/dev/cuac00 /dev/cuac01 /dev/cuac02 
/dev/cuac03 /dev/cuac04 /dev/cuac05 
/dev/cuac06 /dev/cuac07
/dev/cuac00.init/dev/cuac01.init/dev/cuac02.init
/dev/cuac03.init/dev/cuac04.init/dev/cuac05.init
/dev/cuac06.init/dev/cuac07.init
/dev/cuac00.lock/dev/cuac01.lock/dev/cuac02.lock
/dev/cuac03.lock/dev/cuac04.lock/dev/cuac05.lock
/dev/cuac06.lock/dev/cuac07.lock

[EMAIL PROTECTED] ~]# ls /dev/ttyc0*
/dev/ttyc00 /dev/ttyc01 /dev/ttyc02 
/dev/ttyc03 /dev/ttyc04 /dev/ttyc05 
/dev/ttyc06 /dev/ttyc07
/dev/ttyc00.init/dev/ttyc01.init/dev/ttyc02.init
/dev/ttyc03.init/dev/ttyc04.init/dev/ttyc05.init
/dev/ttyc06.init/dev/ttyc07.init
/dev/ttyc00.lock/dev/ttyc01.lock/dev/ttyc02.lock
/dev/ttyc03.lock/dev/ttyc04.lock/dev/ttyc05.lock
/dev/ttyc06.lock/dev/ttyc07.lock


On port 8 of the card I have connected a Sun console. If I connect with 
minicom using /dev/cuad1 it works fine. If I connect with /dev/cuac07, the 
status line at the bottom of minicom shows "Online", but I get no output on 
the screen. I've tried 2 other ports as well.
I've got a full null modem cable between the Cyclom and the Sun. Exiting 
minicom also takes a long time (about 2 minutes)


I've also set up gettys on 3 ports:
ttyc00  "/usr/libexec/getty std.9600"   vt100   on secure
ttyc01  "/usr/libexec/getty std.9600"   vt100   on secure
ttyc02  "/usr/libexec/getty std.9600"   vt100   on secure

and tried with minicom and hyperterm to connect them, but nothing either.
What else do I need to do to get this working?

Any help appreciated.

Thanks in Advance
John Ryan

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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


Multiple gateways

2006-06-14 Thread Luis José Da Silva González

Greetings,

I'm having bad times trying to set up a kind of advance router with FreeBSD 6.1.
The system has 6 Network interfaces, 3 for adsl connections (one nic
for each adsl, same ISP) and other 3 for 3 sub networks class C
(192.168.2. 192.168.3. 192.168.4.)

The server is running Squid and is using only the first adsl
connection and thats ok.

I'm doing NAT with PF but the problem is when i try to nat each sub
network by each adsl connection.



nat on $adsl1 from $net1:network to any -> ($adsl1)

nat on $adsl2 from $net2:network to any -> ($adsl3)

nat on $adsl3 from $net3:network to any -> ($adsl3)

but that doesn't' work, right now I'm NATing all sub networks with
adsl1 only and the others 2 adsl are being waste without use.

these adsl use dhcp to get the IP and here is the info

lease {
 interface "adsl1";
 fixed-address 201.242.241.180;
 option subnet-mask 255.255.248.0;
 option routers 201.242.240.1;
 option domain-name-servers 200.44.32.13,200.44.32.12;
 option domain-name "cantv.net";
 option broadcast-address 201.242.247.255;
 option dhcp-lease-time 11637;
 option dhcp-message-type 5;
 option dhcp-server-identifier 200.109.126.37;
 renew 3 2006/6/14 16:56:54;
 rebind 3 2006/6/14 18:09:37;
 expire 3 2006/6/14 18:33:53;
}


lease {
 interface "adsl2";
 fixed-address 201.242.241.149;
 option subnet-mask 255.255.248.0;
 option routers 201.242.240.1;
 option domain-name-servers 200.44.32.13,200.44.32.12;
 option domain-name "cantv.net";
 option broadcast-address 201.242.247.255;
 option dhcp-lease-time 19174;
 option dhcp-message-type 5;
 option dhcp-server-identifier 200.109.126.37;
 renew 3 2006/6/14 17:59:58;
 rebind 3 2006/6/14 19:59:47;
 expire 3 2006/6/14 20:39:45;
}

lease {
 interface "adsl3";
 fixed-address 201.242.241.150;
 option subnet-mask 255.255.248.0;
 option routers 201.242.240.1;
 option domain-name-servers 200.44.32.13,200.44.32.12;
 option domain-name "cantv.net";
 option broadcast-address 201.242.247.255;
 option dhcp-lease-time 11627;
 option dhcp-message-type 5;
 option dhcp-server-identifier 200.109.126.37;
 renew 3 2006/6/14 16:57:13;
 rebind 3 2006/6/14 18:09:52;
 expire 3 2006/6/14 18:34:07;
}

Note that the 3 adsl interfaces have the same gateway, but now, how i
can load balance or at least define the usage of each adsl connection
for my sub networks? I tried using route but the routing table always
use the interface of the first adsl.

Any ideas, suggestion?
thanks in advance.
--
Luis José Da Silva G.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Python port problems

2006-06-14 Thread Alex Zbyslaw

Joe Auty wrote:



On Jun 14, 2006, at 6:01 AM, Alex Zbyslaw wrote:


Joe Auty wrote:



Sorry for the delay in response here. This is still a problem for  
me,  and I would still like this problem resolved.


Yes, I've tried reinstalling both Python and Mailman, and upgraded  
to  newer port revisions of Mailman which have been released since  
this  message. I'm still getting the same error message when I go  
to start  Mailman via its rc script:


... snip
Traceback (most recent call last):
:
: No module named getopt  File "/usr/local/mailman/bin/qrunner",  
line  76, in ?


ImportErrorimport getopt
No module named getopt:
No module named getopt
ImportErrorCould not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
: No module named getopt
Traceback (most recent call last):
  File "/usr/local/mailman/bin/qrunner", line 76, in ?
import getopt
ImportError: No module named getopt



Honestly, this looks like a screwed python install or some screw up  
when mailman compiled.  Can you do a few basic info things?




Sure, happy to do so!


I've truncated the tests since nothing there showed any problem 
whatsoever.  I'm running out of ideas, so this one may be off the wall:

($ to indicate command lines but don;t type the $ :-))

$ egrep prefix /usr/local/mailman/bin/qrunner

I've found a mailman installation I can compare this next one against.

$ egrep prefix /usr/local/mailman/bin/paths.py

If this doesn't look like below, then we have found the problem, if not 
the cause.  If anything contains the <> you have the problem and can 
ignore the next item.  (Yours should have /usr/local for /var but it's a 
cruddy Linux machine which happens to have mailman).



# importing this module, sys.path gets `hacked' so that the $prefix/Mailman
prefix = '/var/mailman'
exec_prefix = '${prefix}'
if exec_prefix == '${prefix}':
   exec_prefix = prefix
# Hack the path to include the parent directory of the $prefix/Mailman 
package

sys.path.insert(0, prefix)
sys.path.insert(0, os.path.join(prefix, 'pythonlib'))
sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3],


And one which may spew quite a lot.  Cut it off if it gets to printing help.

$ python -v /usr/local/mailman/bin/qrunner


--Alex


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


Wireless card for kismet

2006-06-14 Thread Christopher Sean Hilton
Well, it's looking like my venerable Orinoco card (wi0) is getting
a little long in the tooth for kismet. Per my earlier post I can't
seem to get it working with FreeBSD 6.1-STABLE. Can anyone recommend a
better wifi card? I prefer something that will: Work with Kismet, Take
an external Antenna, and do 802.11b at a minimum g and a are
optional. Recommendations for hardware that I can get at a CompUSA,
Staples, Circuit City, or Best Buy, or Buy.com would be most useful.


Thanks

-- Chris


-- 
Chris Hilton   chris-at-vindaloo-dot-com

"All I was doing was trying to get home from work!"
 -- Rosa Parks


pgpSRgeea9RjE.pgp
Description: PGP signature


ucom/uvisor questions.

2006-06-14 Thread Christopher Sean Hilton
Hi,

I have a Handspring Treo 600 and a program called Wmodem which allows
you to access the wireless modem on the phone and establish a ppp
connection. I've used this since FreeBSD 4.x with serial cable. With 5
I was able to use this with the USB cable. On 6.0 I'm back to using
just the serial cable. The error message that I get is:

 ucom0: open bulk in error (addr 128): BAD_ADDRESS

In the long run it's not as important to solve that problem since my
Treo 600 will probably fail in the next year or two and then I will be
forced to upgrade. Is anyone using the Treo 650 or Treo 700 with
FreeBSD and if so are you able to sync these devices via USB. As an
alternative to usb does anyone have a USB IR dongle that they
recommend? I have a sigmatel but it's not supported by FreeBSD, it's
NetBSD only. Lastly I can see that I'm going to have to face the day
when I cannot use my phone as a wireless internet access device. Does
anyone have experience with the wireless data services that are
offered in the US from Verizon and Sprint? These are the services
where you get a pccard that connects and sends data to the cell
provider's 3G network. If anyone's got one of these working on FreeBSD
or even Linux I'd love to hear about it.

Thanks

-- Chris

-- 
Chris Hilton   chris-at-vindaloo-dot-com

"All I was doing was trying to get home from work!"
 -- Rosa Parks


pgpVgRmvG9noa.pgp
Description: PGP signature


Re: Python port problems

2006-06-14 Thread Joe Auty


On Jun 14, 2006, at 1:10 PM, Alex Zbyslaw wrote:



I've truncated the tests since nothing there showed any problem  
whatsoever.  I'm running out of ideas, so this one may be off the  
wall:

($ to indicate command lines but don;t type the $ :-))



Just as a preface, Mailman is working fine on another FreeBSD machine  
of mine. I'm wondering if this could be something as simple as bad  
permissions set somewhere?




$ egrep prefix /usr/local/mailman/bin/qrunner



nothing


I've found a mailman installation I can compare this next one against.

$ egrep prefix /usr/local/mailman/bin/paths.py

If this doesn't look like below, then we have found the problem, if  
not the cause.  If anything contains the <> you have the problem  
and can ignore the next item.  (Yours should have /usr/local for / 
var but it's a cruddy Linux machine which happens to have mailman).



# importing this module, sys.path gets `hacked' so that the $prefix/ 
Mailman

prefix = '/var/mailman'
exec_prefix = '${prefix}'
if exec_prefix == '${prefix}':
   exec_prefix = prefix
# Hack the path to include the parent directory of the $prefix/ 
Mailman package

sys.path.insert(0, prefix)
sys.path.insert(0, os.path.join(prefix, 'pythonlib'))
sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3],



# grep prefix /usr/local/mailman/bin/paths.py
# importing this module, sys.path gets `hacked' so that the $prefix/ 
Mailman

prefix = '/usr/local/mailman'
exec_prefix = '${prefix}'
if exec_prefix == '${prefix}':
exec_prefix = prefix
# Hack the path to include the parent directory of the $prefix/ 
Mailman package

sys.path.insert(0, prefix)
sys.path.insert(0, os.path.join(prefix, 'pythonlib'))
sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3],


Only difference here seems to be the prefix...




And one which may spew quite a lot.  Cut it off if it gets to  
printing help.


$ python -v /usr/local/mailman/bin/qrunner




# grep prefix /usr/local/mailman/bin/paths.py
# importing this module, sys.path gets `hacked' so that the $prefix/ 
Mailman

prefix = '/usr/local/mailman'
exec_prefix = '${prefix}'
if exec_prefix == '${prefix}':
exec_prefix = prefix
# Hack the path to include the parent directory of the $prefix/ 
Mailman package

sys.path.insert(0, prefix)
sys.path.insert(0, os.path.join(prefix, 'pythonlib'))
sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3],
jauty# python -v /usr/local/mailman/bin/qrunner
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# /usr/local/lib/python2.4/site.pyc matches /usr/local/lib/python2.4/ 
site.py

import site # precompiled from /usr/local/lib/python2.4/site.pyc
# /usr/local/lib/python2.4/os.pyc matches /usr/local/lib/python2.4/os.py
import os # precompiled from /usr/local/lib/python2.4/os.pyc
import posix # builtin
# /usr/local/lib/python2.4/posixpath.pyc matches /usr/local/lib/ 
python2.4/posixpath.py
import posixpath # precompiled from /usr/local/lib/python2.4/ 
posixpath.pyc
# /usr/local/lib/python2.4/stat.pyc matches /usr/local/lib/python2.4/ 
stat.py

import stat # precompiled from /usr/local/lib/python2.4/stat.pyc
# /usr/local/lib/python2.4/UserDict.pyc matches /usr/local/lib/ 
python2.4/UserDict.py

import UserDict # precompiled from /usr/local/lib/python2.4/UserDict.pyc
# /usr/local/lib/python2.4/copy_reg.pyc matches /usr/local/lib/ 
python2.4/copy_reg.py

import copy_reg # precompiled from /usr/local/lib/python2.4/copy_reg.pyc
# /usr/local/lib/python2.4/types.pyc matches /usr/local/lib/python2.4/ 
types.py

import types # precompiled from /usr/local/lib/python2.4/types.pyc
# /usr/local/lib/python2.4/warnings.pyc matches /usr/local/lib/ 
python2.4/warnings.py

import warnings # precompiled from /usr/local/lib/python2.4/warnings.pyc
# /usr/local/lib/python2.4/linecache.pyc matches /usr/local/lib/ 
python2.4/linecache.py
import linecache # precompiled from /usr/local/lib/python2.4/ 
linecache.pyc

import encodings # directory /usr/local/lib/python2.4/encodings
# /usr/local/lib/python2.4/encodings/__init__.pyc matches /usr/local/ 
lib/python2.4/encodings/__init__.py
import encodings # precompiled from /usr/local/lib/python2.4/ 
encodings/__init__.pyc
# /usr/local/lib/python2.4/codecs.pyc matches /usr/local/lib/ 
python2.4/codecs.py

import codecs # precompiled from /usr/local/lib/python2.4/codecs.pyc
import _codecs # builtin
# /usr/local/lib/python2.4/encodings/aliases.pyc matches /usr/local/ 
lib/python2.4/encodings/aliases.py
import encodings.aliases # precompiled from /usr/local/lib/python2.4/ 
encodings/aliases.pyc
# /usr/local/lib/python2.4/encodings/ascii.pyc matches /usr/local/lib/ 
python2.4/encodings/ascii.py
import encodings.ascii # precompiled from /usr/local/lib/python2.4/ 
encodings/ascii.pyc

Python 2.4.3 (#2, Jun 13 2006, 21:29:49)
[GCC 3.4.2 [FreeBSD] 20040728] on freebsd5
Type "help", "copyright", "credits" or "license" for more information.
# /usr/local/lib/python2.4/getopt.pyc matches /usr/local/lib/ 

ripping "enhanced" audio CDs

2006-06-14 Thread Mac Newbold


This has finally caused me enough grief that I'm going to ask about it and 
see if there's something I'm doing wrong or some nice solution to this 
really annyoing problem.


I'm on a 5-STABLE box, currently 5.5-PRERELEASE. I use cdparanoia and lame 
(via abcde) to rip my CDs to MP3. (This has happened to me with other 
rippers, like cdda2wav, IIRC, also.) Whenever I try to rip an "enhanced" 
CD that has one or more data tracks along with the audio tracks, it 
crashes the computer when it gets near the enhanced tracks. It has 
happened on a wide variety of CDs, all enhanced, and over a long 
period of time. It is very repeatable. Even if I ask the ripper to rip 
only the track prior to the enhanced track, it still crashes when it 
gets about 90-95% through the track. Even if I try to break out at that 
point, it still crashes the box.


Jun 14 11:27:21 mybox kernel: acd0: FAILURE - READ_CD HARDWARE ERROR 
asc=0x08 ascq=0x01 error=0
Jun 14 11:27:21 mybox kernel: acd0: FAILURE - READ_CD ILLEGAL REQUEST 
asc=0x64 ascq=0x00 error=0

Jun 14 11:27:22 mybox last message repeated 11 times

I know has happened to me on both CD-ROM/RW drives and on my atapicam 
DVD+/-RW drive. I seem to remember it happening on 4-STABLE boxes too, 
with widely different hardware (different mobo makers, chipsets, etc.)


Does anyone know what causes this or what the fix is? Has anyone else had 
this problem and found a suitable workaround?


Right now the only workaround I've found is to start ripping the track, 
and let it crash the computer, then encode the track when it boots back 
up. Not a very happy workaround, as I have to fsck every time. :(


Any help or suggestions you can offer are greatly appreciated!

Thanks,
Mac

--
Mac Newbold MNE - Mac Newbold Enterprises, LLC
[EMAIL PROTECTED]   http://www.macnewbold.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Multiple gateways

2006-06-14 Thread fbsd
First problem is you can not run an dhcp server for your ISP IP
address.
You should be using dhclient on the NIC interface name facing the
public ISP.
ifconfig_rl0="DHCP"# adsl 0
ifconfig_rl1="DHCP"# adsl 1
ifconfig_rl2="DHCP"# adsl 2

This will cover both dynamic and static IP address assigned by your
ISP to you.

The dhcp server on your gateway box should only contain lease info
for the 3 separate legs of your local LAN (192.168.2. 192.168.3.
192.168.4.).


The simplest way to utilize your 3 adsl connections to your ISP is
to allocate one adsl line per local LAN leg.

nat on $adsl0 from $net1:network to any -> ($adsl0)

nat on $adsl1 from $net2:network to any -> ($adsl1)

nat on $adsl2 from $net3:network to any -> ($adsl2)





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Luis José
Da
Silva González
Sent: Wednesday, June 14, 2006 12:56 PM
To: freebsd-questions@freebsd.org
Subject: Multiple gateways


Greetings,

I'm having bad times trying to set up a kind of advance router with
FreeBSD 6.1.
The system has 6 Network interfaces, 3 for adsl connections (one nic
for each adsl, same ISP) and other 3 for 3 sub networks class C
(192.168.2. 192.168.3. 192.168.4.)

The server is running Squid and is using only the first adsl
connection and thats ok.

I'm doing NAT with PF but the problem is when i try to nat each sub
network by each adsl connection.



nat on $adsl1 from $net1:network to any -> ($adsl1)

nat on $adsl2 from $net2:network to any -> ($adsl3)

nat on $adsl3 from $net3:network to any -> ($adsl3)

but that doesn't' work, right now I'm NATing all sub networks with
adsl1 only and the others 2 adsl are being waste without use.

these adsl use dhcp to get the IP and here is the info

lease {
  interface "adsl1";
  fixed-address 201.242.241.180;
  option subnet-mask 255.255.248.0;
  option routers 201.242.240.1;
  option domain-name-servers 200.44.32.13,200.44.32.12;
  option domain-name "cantv.net";
  option broadcast-address 201.242.247.255;
  option dhcp-lease-time 11637;
  option dhcp-message-type 5;
  option dhcp-server-identifier 200.109.126.37;
  renew 3 2006/6/14 16:56:54;
  rebind 3 2006/6/14 18:09:37;
  expire 3 2006/6/14 18:33:53;
}


lease {
  interface "adsl2";
  fixed-address 201.242.241.149;
  option subnet-mask 255.255.248.0;
  option routers 201.242.240.1;
  option domain-name-servers 200.44.32.13,200.44.32.12;
  option domain-name "cantv.net";
  option broadcast-address 201.242.247.255;
  option dhcp-lease-time 19174;
  option dhcp-message-type 5;
  option dhcp-server-identifier 200.109.126.37;
  renew 3 2006/6/14 17:59:58;
  rebind 3 2006/6/14 19:59:47;
  expire 3 2006/6/14 20:39:45;
}

lease {
  interface "adsl3";
  fixed-address 201.242.241.150;
  option subnet-mask 255.255.248.0;
  option routers 201.242.240.1;
  option domain-name-servers 200.44.32.13,200.44.32.12;
  option domain-name "cantv.net";
  option broadcast-address 201.242.247.255;
  option dhcp-lease-time 11627;
  option dhcp-message-type 5;
  option dhcp-server-identifier 200.109.126.37;
  renew 3 2006/6/14 16:57:13;
  rebind 3 2006/6/14 18:09:52;
  expire 3 2006/6/14 18:34:07;
}

Note that the 3 adsl interfaces have the same gateway, but now, how
i
can load balance or at least define the usage of each adsl
connection
for my sub networks? I tried using route but the routing table
always
use the interface of the first adsl.

Any ideas, suggestion?
thanks in advance.
--
Luis José Da Silva G.
___
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: Python port problems

2006-06-14 Thread fbsd
Try reloading the cvs base for changes / updates before reinstalling
both Python and Mailman.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joe Auty
Sent: Wednesday, June 14, 2006 12:11 PM
To: Alex Zbyslaw
Cc: FreeBSD Questions
Subject: Re: Python port problems



On Jun 14, 2006, at 6:01 AM, Alex Zbyslaw wrote:

> Joe Auty wrote:
>
>>
>> Sorry for the delay in response here. This is still a problem for
>> me,  and I would still like this problem resolved.
>>
>> Yes, I've tried reinstalling both Python and Mailman, and
upgraded
>> to  newer port revisions of Mailman which have been released
since
>> this  message. I'm still getting the same error message when I go
>> to start  Mailman via its rc script:
>>
>> ... snip
>> Traceback (most recent call last):
>> :
>> : No module named getopt  File "/usr/local/mailman/bin/qrunner",
>> line  76, in ?
>>
>> ImportErrorimport getopt
>> No module named getopt:
>> No module named getopt
>> ImportErrorCould not find platform independent libraries 
>> Could not find platform dependent libraries 
>> Consider setting $PYTHONHOME to [:]
>> 'import site' failed; use -v for traceback
>> : No module named getopt
>> Traceback (most recent call last):
>>   File "/usr/local/mailman/bin/qrunner", line 76, in ?
>> import getopt
>> ImportError: No module named getopt
>
> Honestly, this looks like a screwed python install or some screw
up
> when mailman compiled.  Can you do a few basic info things?
>

Sure, happy to do so!

> which python
>

/usr/local/bin/python

> whereis python
>

python: /usr/local/bin/python /usr/local/man/man1/python.1.gz /usr/
ports/lang/python

> python
> # and to the command interpreter type
> import getopt
> # and exit with ^D (control D)


# python
Python 2.4.3 (#2, Jun 13 2006, 21:29:49)
[GCC 3.4.2 [FreeBSD] 20040728] on freebsd5
Type "help", "copyright", "credits" or "license" for more
information.
 >>> import getopt
 >>>

(I'm assuming this means no issues here)


> egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf
/etc/make.conf
>

# egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf
/etc/make.conf
/usr/local/etc/pkgtools.conf-  # 'perl',
/usr/local/etc/pkgtools.conf-  # 'ruby',
/usr/local/etc/pkgtools.conf:  #'python',
/usr/local/etc/pkgtools.conf-  #   ]
/usr/local/etc/pkgtools.conf-  #


> egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf
/etc/make.conf
>

# egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf
/etc/make.conf
/usr/local/etc/pkgtools.conf-'security/clamav' => 'CLAMAVUSER?
=vscan CLAMAVGROUP?=vscan',
/usr/local/etc/pkgtools.conf-'www/MT' => '-DWITH_MYSQL',
/usr/local/etc/pkgtools.conf:'mail/mailman' =>
'MAIL_GID=mailman'
/usr/local/etc/pkgtools.conf-  }
/usr/local/etc/pkgtools.conf-



> head -5 /usr/local/mailman/bin/qrunner
>

# head -5 /usr/local/mailman/bin/qrunner
#! /usr/local/bin/python

# Copyright (C) 2001-2006 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or




> --Alex
>
>
>
>
> ___
> 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: unmounting a filesystem safely that doesn't exist anymore

2006-06-14 Thread Christopher Sean Hilton
On Mon, Jun 12, 2006 at 04:44:48PM -0400, Zaphod Beeblebrox wrote:
> On 6/12/06, Ulrich Spoerlein <[EMAIL PROTECTED]> wrote:
> >
> >Björn König wrote:
> >
> 
> 
> >> I did a mistake: I unplugged my digital camera accidentally before I
> >unmounted the
> >> filesystem. *doh* This happens very often, because I'm very
> >scatterbrained. =) The kernel
> >> will panic and all filesystems remain unclean in any case now. I know
> >that this is a well
> >> know issue and in past discussions you stated that this behaviour is
> >intended and won't be
> >> changed ad hoc. I just want to know if somebody knows a workaround or
> >small trick that
> >> prevents the other filesystems from being unclean on next boot-up.
> >
> >You might give the automounter (am-utils) a whirl. They are very
> >confusing to set up, but you can set the unmount-if-unused timeout to
> >something like 5 seconds. This could narrow the window enough to not
> >panic you system frequently :)
> 
> 
> That's rather hackish ... especially since this is a common problem and a
> rather obvious hole in using FreeBSD for noobs.
> 

I've been using the automounter to handle these mounts for about three
years now. When I started I would be have to run fsck on my memory
stick about twice a day. Now it's more like once a month. In short it
works.

I've got to admit that I agree with the fact that this is a more than
rather hackish solution to the problem. The real issue here is that
for Unix, filesystems come in two types: Those on hard disks which are
perpetually available once they've been mounted once, and those which
come from the network which can come and go as they please. The
automounter works as a solution to this problem by making a local
filesystem on hotplugable hardware look like it's coming from a
network.

It took me the better part of a day to figure out how to make the
automounter work properly in this situation. In my case I was using a
UFS formatted memory stick which complicated things. The automounter
was coded with the assumption that UFS filesystems only exist on
drives that are bolted into the computer. The automounter will gladly
mount a UFS volume but because it's a UFS volume it never feels the
need to dismount the volume and leave it in a clean state. 

Another problem is that most tools today makes a similar the
assumption about mounted volumes that they didn't graft into the
filesystem. So, for example opening up the Nautilus file browser on
/amd/ufs0 on my system creates an entry in some magic file somewhere
that tells Nautilus to periodically visit that directory. As far as
amd is concerned these visits are valid requests to mount the
filesystem. The end result is that the filesystem again remains
permanently mounted. 

With MS-DOS FAT filesystems the problem is who mounted the
filesystem. Amd mounts my MP3 player read-write on /amd/mp3 perms 777
root:wheel. I use rsync to copy podcasts from a holding directory on
my desktop to it. And rsync complains all the time that it can copy
the files but it cannot change the date/time. This is because
chris:chris cannot change an entry in a directory owned by root:wheel,
as it should be.

It doesn't sound like I'm trying to sell this but in the long run I
actually believe that amd is the best of a bunch of mediocre
solutions. I wish however that:

 Amd didn't make the assumption that a UFS volume was going to be
 there forever;

 Gnome could be told that filesystems under /amd or some other
 programmable mount point will come and go with the wind so don't
 cache the names;

 That more applications would understand that there are people
 using the automounter and that a mount request can be
 accomplished by a simple:

  $ ls -l /amd/foo

 and a umount request can be accomplished by a doing:

  $ amq -u /amd/foo

Look for a followup with configs.g

-- Chris

-- 
Chris Hilton   chris-at-vindaloo-dot-com

"All I was doing was trying to get home from work!"
 -- Rosa Parks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Making a L440GX+ work (was "Trying to revive a server... AIC-7896 freezes pre-POST completion")

2006-06-14 Thread Garrett Cooper

Derek Ragona wrote:
IF you can find the documentation for the motherboard, see if there is a 
reset jumper.  That jumper should reset the BIOS to factory defaults to 
allow it to get through the post and into setup.  Some motherboards 
actually take you into setup with the jumper moved to reset bad 
configurations.


Also, unplug any cards and drives, leave the system board with just ram 
and cpu and video (unless it is built in) until you get it configured.


-Derek


At 12:11 AM 6/14/2006, Garrett Cooper wrote:

Hello again all,
I know this isn't a FreeBSD question really, but I just 
started up a motherboard with onboard SCSI (Adaptec AIC-7896), and for 
some odd reason it freezes pre-POST before it attempts to boot and 
there isn't any way where I can get into the BIOS to change the 
settings it seems. Does anyone know how I can maybe disable the 
onboard SCSI controller since it appears to hang while detecting disks?

Thanks a million!
-Garrett


	Thanks all for the help. It turns out after a bit of researching and 
seeing some numbers on boot, I was able to find the documentation for 
the motherboard. It's an L440GX+ motherboard which does appear to still 
work properly, but here's the clincher. I read that the processors I 
have installed are compatible (2xP3 600E CPUs), _but_ only if the BIOS 
is updated past a particular version and I don't know if that is true or 
not. Plus I don't know what is causing the thing to halt because it 
appears to work on occasion--got the system to boot once but halted it 
since I couldn't get into the BIOS and change the settings. I cleared 
the CMOS--both by setting the jumper and removing the battery, and all 
it appears to have done superficially is make the original splash screen 
come up during boot.
	So, my question is has anyone experienced anything like this and if so 
how did you solve this problem, or does anyone know how to fix this 
situation apart from (maybe) installing Windows and updating the BIOS 
with a different processor?
	Also, I have a horde of PC133 SD RAM and only one stick of PC100 RAM, 
which doesn't appear to work in the motherboard, and the motherboard is 
rated to _only_ support PC100 SD RAM. Is it all right for me to use RAM 
which is rated 33MHz faster than recommended? I think it's possible with 
some motherboards but I'm not sure about this one.

Thanks again for all your help guys :).
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Trying to install Ethereal

2006-06-14 Thread Mayo, Richard A RDECOM CERDEC STCD SRI
I'm attempting to install Ethereal 10.14 from source.  When I run ./configure, 
however, I get the following error message:

  configure: error: Kerberos library requires -lcrypto but --with-ssl 
not specified

I'm guessing that there's some facet of FreeBSD that I need to install (I'm 
using ver. 6.1, by the way) and I was hoping the learned folks here could help.

Can anybody tell what my computer is missing and/or how to fix it?



Thanks,
Rich Mayo

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


Re: Trying to install Ethereal

2006-06-14 Thread Eric
Mayo, Richard A RDECOM CERDEC STCD SRI wrote:
> I'm attempting to install Ethereal 10.14 from source.  When I run 
> ./configure, however, I get the following error message:
> 
>   configure: error: Kerberos library requires -lcrypto but --with-ssl 
> not specified
> 
> I'm guessing that there's some facet of FreeBSD that I need to install (I'm 
> using ver. 6.1, by the way) and I was hoping the learned folks here could 
> help.
> 
> Can anybody tell what my computer is missing and/or how to fix it?
> 

why arent you using the port?

/usr/ports/net/ethereal
or
/usr/ports/net/tethereal
or
/usr/ports/net/ethereal-lite


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


Re: Python port problems

2006-06-14 Thread Joe Auty
I did do my usual portsnap update before my reinstallation, and have  
reinstalled both ports several times...


On Jun 14, 2006, at 3:36 PM, fbsd wrote:


Try reloading the cvs base for changes / updates before reinstalling
both Python and Mailman.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joe Auty
Sent: Wednesday, June 14, 2006 12:11 PM
To: Alex Zbyslaw
Cc: FreeBSD Questions
Subject: Re: Python port problems



On Jun 14, 2006, at 6:01 AM, Alex Zbyslaw wrote:


Joe Auty wrote:



Sorry for the delay in response here. This is still a problem for
me,  and I would still like this problem resolved.

Yes, I've tried reinstalling both Python and Mailman, and

upgraded

to  newer port revisions of Mailman which have been released

since

this  message. I'm still getting the same error message when I go
to start  Mailman via its rc script:

... snip
Traceback (most recent call last):
:
: No module named getopt  File "/usr/local/mailman/bin/qrunner",
line  76, in ?

ImportErrorimport getopt
No module named getopt:
No module named getopt
ImportErrorCould not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
: No module named getopt
Traceback (most recent call last):
  File "/usr/local/mailman/bin/qrunner", line 76, in ?
import getopt
ImportError: No module named getopt


Honestly, this looks like a screwed python install or some screw

up

when mailman compiled.  Can you do a few basic info things?



Sure, happy to do so!


which python



/usr/local/bin/python


whereis python



python: /usr/local/bin/python /usr/local/man/man1/python.1.gz /usr/
ports/lang/python


python
# and to the command interpreter type
import getopt
# and exit with ^D (control D)



# python
Python 2.4.3 (#2, Jun 13 2006, 21:29:49)
[GCC 3.4.2 [FreeBSD] 20040728] on freebsd5
Type "help", "copyright", "credits" or "license" for more
information.

import getopt



(I'm assuming this means no issues here)



egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf

/etc/make.conf




# egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf
/etc/make.conf
/usr/local/etc/pkgtools.conf-  # 'perl',
/usr/local/etc/pkgtools.conf-  # 'ruby',
/usr/local/etc/pkgtools.conf:  #'python',
/usr/local/etc/pkgtools.conf-  #   ]
/usr/local/etc/pkgtools.conf-  #



egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf

/etc/make.conf




# egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf
/etc/make.conf
/usr/local/etc/pkgtools.conf-'security/clamav' => 'CLAMAVUSER?
=vscan CLAMAVGROUP?=vscan',
/usr/local/etc/pkgtools.conf-'www/MT' => '-DWITH_MYSQL',
/usr/local/etc/pkgtools.conf:'mail/mailman' =>
'MAIL_GID=mailman'
/usr/local/etc/pkgtools.conf-  }
/usr/local/etc/pkgtools.conf-




head -5 /usr/local/mailman/bin/qrunner



# head -5 /usr/local/mailman/bin/qrunner
#! /usr/local/bin/python

# Copyright (C) 2001-2006 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or





--Alex




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







PGP.sig
Description: This is a digitally signed message part


Re: FreeBSD users of Thailand

2006-06-14 Thread Beech Rintoul
You might want to look at DesktopBSD.

http://www.desktopbsd.net

This is very easy to install for new users.

Beech


On Wednesday 14 June 2006 03:59, doi maesalong wrote:
> Dear Mr Nicole
> Thanks for the response. It is very nice that someone from the local
> academic institution  is interested in this particular problem.
> We willl need all the helps we can get.
>
> I am not sure if you see the underlying problems the new users in Thailand
> encountered.
>
> From  the thai webboard ( such as in www.thaibsd.com. This site is run by
> one of the staff at teacher college in Pitsanulok,Thailand - though it's
> domain name ends with dot com , this is not a commercial site. it was for
> the sake of convenience to get the site up quickly. Another site is
> http://www.thai-aec.org/forum/ ) , we noticed that the newbies faces a lot
> of problems during installation. Few commonly encountered problems are :
> 1 CD error ( burned from download iso )
> 2 incomplete software ( again error from either during download or during
> burning CD) . I encountered this problem myself inspite of correct MD5. So
> common occuring such that I resorted to obtaining the CD by direct ordering
> from FreeBSD Mall. And yet , I got error from the purchased disk. Perhaps
> this might be due to my old hardware.
> 3 Another very common complaint from the webboard is the failure during
> porting. This is a very common indeed. And this, in my opiniion having been
> in the same situation before, is very discouraging for the new users
> indeed. And as you might know,  compounding with the slow modem speed most
> user had in Thailand,this will certainly discourage the new users to persue
> the FreeBSD route. I do not think this is FreeBSD problem but rather the
> unfamiliarity of the FreeBSD and porting system on the new users part (
> perhaps they do not have latest port ).
> 4 the root of all problem is our lack goof background in english.
>
> What we have in our plan is to have an autorun cd filled with OS &
> necessary application softwares. Everything is in the CD so that users do
> not have to download ( only one option to install the software for users to
> select  ie, from CD). One last important thing is to have instruction to
> the user in Thai language ( we will definitely need someone to help on this
> ie. writing command ( in shell script or ???)  to automate the whole
> process, since most of us have no experience or know how.)
>
> This approach should have the new users up and running quickly without
> bandwidth problem or missing dependency files.
>
> Thanks in advance for the help. We definitely need your help.
>
> Regards,
>
> Somner Srivisal
>
> ps. I am currently living in the US and having been in contact with Khun
> presert regarding this matter. This proves that "The world is Flat" ( by
> Thomas Friedman )
>
>
> - Original Message -
> From: "Olivier Nicole" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: ; <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]
> Sent: Wednesday, June 14, 2006 4:34 AM
> Subject: Re: FreeBSD users of Thailand
>
> > Khun Prasert,
> >
> > Good initiative, very good idea.
> >
> > Well I have more interest in the server use of FreeBSD and obviously I
> > cannot read Thai, but if I can help...
> >
> > Best regards,
> >
> > Olivier
> > Pathumthani
> >
> >
> > --
> > Internal Virus Database is out-of-date.
> > Checked by AVG Free Edition.
> > Version: 7.1.394 / Virus Database: 268.8.3 - Release Date: 6/7/2006
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Alaska Paradise
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpH01j5ORY5Y.pgp
Description: PGP signature


RE: Trying to install Ethereal

2006-06-14 Thread Mayo, Richard A RDECOM CERDEC STCD SRI
> why arent you using the port?
> 
> /usr/ports/net/ethereal
> or
> /usr/ports/net/tethereal
> or
> /usr/ports/net/ethereal-lite
> 
A couple of reasons:

1) Installing from source is cool.
2) I didn't know there was a port.

I'll check into whether or not I installed the port, but if I didn't, do I fix 
that using "sysinstall"??


Thanks
Rich Mayo


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


Re: Trying to install Ethereal

2006-06-14 Thread Eric Schuele

On 06/14/06 15:29, Mayo, Richard A RDECOM CERDEC STCD SRI wrote:
I'm attempting to install Ethereal 10.14 from source.  


What version are you attempting to install??  0.99.0 was "released" 
April 26 2006 and is in ports.



When I run ./configure, however, I get the following error message:

  configure: error: Kerberos library requires -lcrypto but --with-ssl 
not specified

I'm guessing that there's some facet of FreeBSD that I need to install (I'm 
using ver. 6.1, by the way) and I was hoping the learned folks here could help.

Can anybody tell what my computer is missing and/or how to fix it?



Thanks,
Rich Mayo

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


adding an "old' disk as a new mount point?

2006-06-14 Thread Jeff D. Hamann
I'm sure this is a very RTFM question, but I'm getting a little lost in the 
minutae about just exactly what I'm looking for.


I've got an "old" freebsd 4.4 system (single hard disk) and a new server 
with 6.0 installed. The new system is working just fine and I would like to 
install the disk from the old server as a data disk in the new machine for a 
little while until I can kick it loose and use it for new data. What am I 
looking for becuase each time I try to search the internet for the question, 
i get results about adding brand new disks, adding swap space or converting 
filesystems...


I'm thinking I can simply plug in the older drive, find out what partition 
it's been named and then count it like I would any other mount point, 
provided I create the infrustructure to do that (creat mount point, fstab, 
etc.)


Is it that simple, or should I be afaid, very afraid...

Thanks,
Jeff.


--
Jeff D. Hamann
Forest Informatics, Inc.


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


Re: adding an "old' disk as a new mount point?

2006-06-14 Thread Chad Leigh -- Shire.Net LLC


On Jun 14, 2006, at 3:10 PM, Jeff D. Hamann wrote:

I'm sure this is a very RTFM question, but I'm getting a little  
lost in the minutae about just exactly what I'm looking for.


I've got an "old" freebsd 4.4 system (single hard disk) and a new  
server with 6.0 installed. The new system is working just fine and  
I would like to install the disk from the old server as a data disk  
in the new machine for a little while until I can kick it loose and  
use it for new data. What am I looking for becuase each time I try  
to search the internet for the question, i get results about adding  
brand new disks, adding swap space or converting filesystems...


I'm thinking I can simply plug in the older drive, find out what  
partition it's been named and then count it like I would any other  
mount point, provided I create the infrustructure to do that (creat  
mount point, fstab, etc.)


Is it that simple, or should I be afaid, very afraid...


Sounds like a plan to me.  I've done that  before

Chad



Thanks,
Jeff.


--
Jeff D. Hamann
Forest Informatics, Inc.


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


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: adding an "old' disk as a new mount point?

2006-06-14 Thread Erik Trulsson
On Wed, Jun 14, 2006 at 02:10:52PM -0700, Jeff D. Hamann wrote:
> I'm sure this is a very RTFM question, but I'm getting a little lost in the 
> minutae about just exactly what I'm looking for.
> 
> I've got an "old" freebsd 4.4 system (single hard disk) and a new server 
> with 6.0 installed. The new system is working just fine and I would like to 
> install the disk from the old server as a data disk in the new machine for 
> a little while until I can kick it loose and use it for new data. What am I 
> looking for becuase each time I try to search the internet for the 
> question, i get results about adding brand new disks, adding swap space or 
> converting filesystems...
> 
> I'm thinking I can simply plug in the older drive, find out what partition 
> it's been named and then count it like I would any other mount point, 
> provided I create the infrustructure to do that (creat mount point, fstab, 
> etc.)
> 
> Is it that simple, or should I be afaid, very afraid...

Yes, it should be that simple.



-- 

Erik Trulsson
[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: adding an "old' disk as a new mount point?

2006-06-14 Thread Derek Ragona
You may want to repartition the disk and do a newfs to update the 
filesystem, and be sure the whole disk is used.


-Derek


At 04:10 PM 6/14/2006, Jeff D. Hamann wrote:
I'm sure this is a very RTFM question, but I'm getting a little lost in 
the minutae about just exactly what I'm looking for.


I've got an "old" freebsd 4.4 system (single hard disk) and a new server 
with 6.0 installed. The new system is working just fine and I would like 
to install the disk from the old server as a data disk in the new machine 
for a little while until I can kick it loose and use it for new data. What 
am I looking for becuase each time I try to search the internet for the 
question, i get results about adding brand new disks, adding swap space or 
converting filesystems...


I'm thinking I can simply plug in the older drive, find out what partition 
it's been named and then count it like I would any other mount point, 
provided I create the infrustructure to do that (creat mount point, fstab, 
etc.)


Is it that simple, or should I be afaid, very afraid...

Thanks,
Jeff.


--
Jeff D. Hamann
Forest Informatics, Inc.


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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Making a L440GX+ work (was "Trying to revive a server... AIC-7896 freezes pre-POST completion")

2006-06-14 Thread Derek Ragona
The halt could be anything from bad RAM, or other IRQ issues.  This begs 
the question as to why this board is not in use?


You should be able to update the BIOS from a floppy or cd-rom boot 
disk.  You can take your pick at bootdisk.org


The general rule with ram is you can run faster ram than you need, just 
usually wastes money that faster RAM costs.  But speed isn't the only issue 
with ram, some are ECC or non-ECC, plus the CAS timing can be 
different.  So your RAM while it seems to work,may not be quite right.


-Derek



At 03:27 PM 6/14/2006, Garrett Cooper wrote:

Derek Ragona wrote:
IF you can find the documentation for the motherboard, see if there is a 
reset jumper.  That jumper should reset the BIOS to factory defaults to 
allow it to get through the post and into setup.  Some motherboards 
actually take you into setup with the jumper moved to reset bad configurations.
Also, unplug any cards and drives, leave the system board with just ram 
and cpu and video (unless it is built in) until you get it configured.

-Derek

At 12:11 AM 6/14/2006, Garrett Cooper wrote:

Hello again all,
I know this isn't a FreeBSD question really, but I just started 
up a motherboard with onboard SCSI (Adaptec AIC-7896), and for some odd 
reason it freezes pre-POST before it attempts to boot and there isn't 
any way where I can get into the BIOS to change the settings it seems. 
Does anyone know how I can maybe disable the onboard SCSI controller 
since it appears to hang while detecting disks?

Thanks a million!
-Garrett


Thanks all for the help. It turns out after a bit of researching 
and seeing some numbers on boot, I was able to find the documentation for 
the motherboard. It's an L440GX+ motherboard which does appear to still 
work properly, but here's the clincher. I read that the processors I have 
installed are compatible (2xP3 600E CPUs), _but_ only if the BIOS is 
updated past a particular version and I don't know if that is true or 
not. Plus I don't know what is causing the thing to halt because it 
appears to work on occasion--got the system to boot once but halted it 
since I couldn't get into the BIOS and change the settings. I cleared the 
CMOS--both by setting the jumper and removing the battery, and all it 
appears to have done superficially is make the original splash screen 
come up during boot.
So, my question is has anyone experienced anything like this and 
if so how did you solve this problem, or does anyone know how to fix this 
situation apart from (maybe) installing Windows and updating the BIOS 
with a different processor?
Also, I have a horde of PC133 SD RAM and only one stick of PC100 
RAM, which doesn't appear to work in the motherboard, and the motherboard 
is rated to _only_ support PC100 SD RAM. Is it all right for me to use 
RAM which is rated 33MHz faster than recommended? I think it's possible 
with some motherboards but I'm not sure about this one.

Thanks again for all your help guys :).
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


error 127

2006-06-14 Thread kalin mintchev

  i'm getting a lot of this crap latle with the ports... what is going on?!!

===>  Patching for pdflib-6.0.3
-e: not found
*** Error code 127

Stop in /usr/ports/print/pdflib.


what is not found?!!??!?!?!



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


Re: error 127

2006-06-14 Thread Garrett Cooper

kalin mintchev wrote:

  i'm getting a lot of this crap latle with the ports... what is going on?!!

===>  Patching for pdflib-6.0.3
-e: not found
*** Error code 127

Stop in /usr/ports/print/pdflib.


what is not found?!!??!?!?!


Are you sure patch is working?
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Making a L440GX+ work (was "Trying to revive a server... AIC-7896 freezes pre-POST completion")

2006-06-14 Thread Garrett Cooper

Derek Ragona wrote:
The halt could be anything from bad RAM, or other IRQ issues.  This begs 
the question as to why this board is not in use?


You should be able to update the BIOS from a floppy or cd-rom boot 
disk.  You can take your pick at bootdisk.org


The general rule with ram is you can run faster ram than you need, just 
usually wastes money that faster RAM costs.  But speed isn't the only 
issue with ram, some are ECC or non-ECC, plus the CAS timing can be 
different.  So your RAM while it seems to work,may not be quite right.


-Derek



At 03:27 PM 6/14/2006, Garrett Cooper wrote:

Derek Ragona wrote:
IF you can find the documentation for the motherboard, see if there 
is a reset jumper.  That jumper should reset the BIOS to factory 
defaults to allow it to get through the post and into setup.  Some 
motherboards actually take you into setup with the jumper moved to 
reset bad configurations.
Also, unplug any cards and drives, leave the system board with just 
ram and cpu and video (unless it is built in) until you get it 
configured.

-Derek

At 12:11 AM 6/14/2006, Garrett Cooper wrote:

Hello again all,
I know this isn't a FreeBSD question really, but I just 
started up a motherboard with onboard SCSI (Adaptec AIC-7896), and 
for some odd reason it freezes pre-POST before it attempts to boot 
and there isn't any way where I can get into the BIOS to change the 
settings it seems. Does anyone know how I can maybe disable the 
onboard SCSI controller since it appears to hang while detecting disks?

Thanks a million!
-Garrett


Thanks all for the help. It turns out after a bit of 
researching and seeing some numbers on boot, I was able to find the 
documentation for the motherboard. It's an L440GX+ motherboard which 
does appear to still work properly, but here's the clincher. I read 
that the processors I have installed are compatible (2xP3 600E CPUs), 
_but_ only if the BIOS is updated past a particular version and I 
don't know if that is true or not. Plus I don't know what is causing 
the thing to halt because it appears to work on occasion--got the 
system to boot once but halted it since I couldn't get into the BIOS 
and change the settings. I cleared the CMOS--both by setting the 
jumper and removing the battery, and all it appears to have done 
superficially is make the original splash screen come up during boot.
So, my question is has anyone experienced anything like this 
and if so how did you solve this problem, or does anyone know how to 
fix this situation apart from (maybe) installing Windows and updating 
the BIOS with a different processor?
Also, I have a horde of PC133 SD RAM and only one stick of 
PC100 RAM, which doesn't appear to work in the motherboard, and the 
motherboard is rated to _only_ support PC100 SD RAM. Is it all right 
for me to use RAM which is rated 33MHz faster than recommended? I 
think it's possible with some motherboards but I'm not sure about this 
one.

Thanks again for all your help guys :).
-Garrett


Thanks for your concerns. Supposedly when I received it last year in a 
trade, this motherboard was a spare that was not used by the owner 
because I don't think he had a reason to use the antique hardware. The 
thing is that I need a replacement motherboard with working IRQ/PCI 
slots because my previous motherboard (Tualatin ECS board) may have been 
partially fried thanks to a bad PSU and a series of SCSI hard drives 
drawing too much current within the case. Needless to say I fixed the 
PSU issue, but the issue with the original motherboard still may linger on.


I'll see about using a BIOS flash boot disk, but there is a list of 
procedures that Intel gives on their website, which seems to involve 
Windows a bit more extensively than I originally thought.


Thanks again about the RAM part. I know that mixing and matching is the 
only no-no in RAM-land, but other than that the motherboard says it 
supports both flavors--either ECC or non-ECC.


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


Re: Making a L440GX+ work (was "Trying to revive a server... AIC-7896 freezes pre-POST completion")

2006-06-14 Thread Garrett Cooper

Garrett Cooper wrote:

Derek Ragona wrote:
The halt could be anything from bad RAM, or other IRQ issues.  This 
begs the question as to why this board is not in use?


You should be able to update the BIOS from a floppy or cd-rom boot 
disk.  You can take your pick at bootdisk.org


The general rule with ram is you can run faster ram than you need, 
just usually wastes money that faster RAM costs.  But speed isn't the 
only issue with ram, some are ECC or non-ECC, plus the CAS timing can 
be different.  So your RAM while it seems to work,may not be quite right.


-Derek



At 03:27 PM 6/14/2006, Garrett Cooper wrote:

Derek Ragona wrote:
IF you can find the documentation for the motherboard, see if there 
is a reset jumper.  That jumper should reset the BIOS to factory 
defaults to allow it to get through the post and into setup.  Some 
motherboards actually take you into setup with the jumper moved to 
reset bad configurations.
Also, unplug any cards and drives, leave the system board with just 
ram and cpu and video (unless it is built in) until you get it 
configured.

-Derek

At 12:11 AM 6/14/2006, Garrett Cooper wrote:

Hello again all,
I know this isn't a FreeBSD question really, but I just 
started up a motherboard with onboard SCSI (Adaptec AIC-7896), and 
for some odd reason it freezes pre-POST before it attempts to boot 
and there isn't any way where I can get into the BIOS to change the 
settings it seems. Does anyone know how I can maybe disable the 
onboard SCSI controller since it appears to hang while detecting 
disks?

Thanks a million!
-Garrett


Thanks all for the help. It turns out after a bit of 
researching and seeing some numbers on boot, I was able to find the 
documentation for the motherboard. It's an L440GX+ motherboard which 
does appear to still work properly, but here's the clincher. I read 
that the processors I have installed are compatible (2xP3 600E CPUs), 
_but_ only if the BIOS is updated past a particular version and I 
don't know if that is true or not. Plus I don't know what is causing 
the thing to halt because it appears to work on occasion--got the 
system to boot once but halted it since I couldn't get into the BIOS 
and change the settings. I cleared the CMOS--both by setting the 
jumper and removing the battery, and all it appears to have done 
superficially is make the original splash screen come up during boot.
So, my question is has anyone experienced anything like this 
and if so how did you solve this problem, or does anyone know how to 
fix this situation apart from (maybe) installing Windows and updating 
the BIOS with a different processor?
Also, I have a horde of PC133 SD RAM and only one stick of 
PC100 RAM, which doesn't appear to work in the motherboard, and the 
motherboard is rated to _only_ support PC100 SD RAM. Is it all right 
for me to use RAM which is rated 33MHz faster than recommended? I 
think it's possible with some motherboards but I'm not sure about 
this one.

Thanks again for all your help guys :).
-Garrett


Thanks for your concerns. Supposedly when I received it last year in a 
trade, this motherboard was a spare that was not used by the owner 
because I don't think he had a reason to use the antique hardware. The 
thing is that I need a replacement motherboard with working IRQ/PCI 
slots because my previous motherboard (Tualatin ECS board) may have been 
partially fried thanks to a bad PSU and a series of SCSI hard drives 
drawing too much current within the case. Needless to say I fixed the 
PSU issue, but the issue with the original motherboard still may linger on.


I'll see about using a BIOS flash boot disk, but there is a list of 
procedures that Intel gives on their website, which seems to involve 
Windows a bit more extensively than I originally thought.


Thanks again about the RAM part. I know that mixing and matching is the 
only no-no in RAM-land, but other than that the motherboard says it 
supports both flavors--either ECC or non-ECC.


-Garrett


Also, I have nothing plugged in (never did) and was strictly using the 
onboard components.

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


Re: shebang line parsing changed in FreeBSD6

2006-06-14 Thread Alfred Morgan

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

I see that this problem is so convoluted that the shebang line has 
different implementations on the different systems.  What about the idea 
of adding a space after #! to indicate to parse it the way freebsd did.  
The space following #! will not affect old implementations and will 
signal the new implementation in FreeBSD6 to split up the arguments.


Examples:

Note the space after the #!.
This next line would work the same in both FreeBSD5 and FreeBSD6:
#! /bin/sh -x -e

Currently in FreeBSD6 we need to use env -S to get old functionality.
This will not work in FreeBSD5 because FreeBSD5's env is missing the -S 
option:

#!/usr/bin/env -S /bin/sh -x -e


Space after #! is better than the env -S solution we have now that 
doesn't work in FreeBSD5 or below.


-alfred

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


RE: error 127

2006-06-14 Thread fbsd
pdflib port is broken and affects all other ports that have it as a
dependant.
before running "make install" on the parent port try "make config"
to see if you
can deselect pdflib.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of kalin
mintchev
Sent: Wednesday, June 14, 2006 5:38 PM
To: freebsd-questions@freebsd.org
Subject: error 127



  i'm getting a lot of this crap latle with the ports... what is
going on?!!

===>  Patching for pdflib-6.0.3
-e: not found
*** Error code 127

Stop in /usr/ports/print/pdflib.


what is not found?!!??!?!?!



___
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: Upgrading Ports on 5.3

2006-06-14 Thread RW
On Wednesday 14 June 2006 11:12, Alex Zbyslaw wrote:

> would be quicker.  Any > needs upgrading.  Any < would mean you somehow
> had an installed version newer that the port version!

Presumably that could happen if the port were reverted. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: error 127

2006-06-14 Thread kalin mintchev
> pdflib port is broken and affects all other ports that have it as a
> dependant.
> before running "make install" on the parent port try "make config"
> to see if you
> can deselect pdflib.

thanks  here:

# make config
===> No options to configure




>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of kalin
> mintchev
> Sent: Wednesday, June 14, 2006 5:38 PM
> To: freebsd-questions@freebsd.org
> Subject: error 127
>
>
>
>   i'm getting a lot of this crap latle with the ports... what is
> going on?!!
>
> ===>  Patching for pdflib-6.0.3
> -e: not found
> *** Error code 127
>
> Stop in /usr/ports/print/pdflib.
>
>
> what is not found?!!??!?!?!
>
>
>
> ___
> 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: Making a L440GX+ work (was "Trying to revive a server... AIC-7896 freezes pre-POST completion")

2006-06-14 Thread Derek Ragona
Look for just the DOS flash update.  It will be smaller and from intel 
comes with its own boot image.  You will have to run that on a windows PC 
to make the floppy.


-Derek


At 05:18 PM 6/14/2006, Garrett Cooper wrote:

Derek Ragona wrote:
The halt could be anything from bad RAM, or other IRQ issues.  This begs 
the question as to why this board is not in use?
You should be able to update the BIOS from a floppy or cd-rom boot 
disk.  You can take your pick at bootdisk.org
The general rule with ram is you can run faster ram than you need, just 
usually wastes money that faster RAM costs.  But speed isn't the only 
issue with ram, some are ECC or non-ECC, plus the CAS timing can be 
different.  So your RAM while it seems to work,may not be quite right.

-Derek

At 03:27 PM 6/14/2006, Garrett Cooper wrote:

Derek Ragona wrote:
IF you can find the documentation for the motherboard, see if there is 
a reset jumper.  That jumper should reset the BIOS to factory defaults 
to allow it to get through the post and into setup.  Some motherboards 
actually take you into setup with the jumper moved to reset bad configurations.
Also, unplug any cards and drives, leave the system board with just ram 
and cpu and video (unless it is built in) until you get it configured.

-Derek

At 12:11 AM 6/14/2006, Garrett Cooper wrote:

Hello again all,
I know this isn't a FreeBSD question really, but I just 
started up a motherboard with onboard SCSI (Adaptec AIC-7896), and 
for some odd reason it freezes pre-POST before it attempts to boot 
and there isn't any way where I can get into the BIOS to change the 
settings it seems. Does anyone know how I can maybe disable the 
onboard SCSI controller since it appears to hang while detecting disks?

Thanks a million!
-Garrett


Thanks all for the help. It turns out after a bit of 
researching and seeing some numbers on boot, I was able to find the 
documentation for the motherboard. It's an L440GX+ motherboard which 
does appear to still work properly, but here's the clincher. I read 
that the processors I have installed are compatible (2xP3 600E CPUs), 
_but_ only if the BIOS is updated past a particular version and I don't 
know if that is true or not. Plus I don't know what is causing the 
thing to halt because it appears to work on occasion--got the system to 
boot once but halted it since I couldn't get into the BIOS and change 
the settings. I cleared the CMOS--both by setting the jumper and 
removing the battery, and all it appears to have done superficially is 
make the original splash screen come up during boot.
So, my question is has anyone experienced anything like this 
and if so how did you solve this problem, or does anyone know how to 
fix this situation apart from (maybe) installing Windows and updating 
the BIOS with a different processor?
Also, I have a horde of PC133 SD RAM and only one stick of 
PC100 RAM, which doesn't appear to work in the motherboard, and the 
motherboard is rated to _only_ support PC100 SD RAM. Is it all right 
for me to use RAM which is rated 33MHz faster than recommended? I think 
it's possible with some motherboards but I'm not sure about this one.

Thanks again for all your help guys :).
-Garrett


Thanks for your concerns. Supposedly when I received it last year in a 
trade, this motherboard was a spare that was not used by the owner because 
I don't think he had a reason to use the antique hardware. The thing is 
that I need a replacement motherboard with working IRQ/PCI slots because 
my previous motherboard (Tualatin ECS board) may have been partially fried 
thanks to a bad PSU and a series of SCSI hard drives drawing too much 
current within the case. Needless to say I fixed the PSU issue, but the 
issue with the original motherboard still may linger on.


I'll see about using a BIOS flash boot disk, but there is a list of 
procedures that Intel gives on their website, which seems to involve 
Windows a bit more extensively than I originally thought.


Thanks again about the RAM part. I know that mixing and matching is the 
only no-no in RAM-land, but other than that the motherboard says it 
supports both flavors--either ECC or non-ECC.


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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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

smb_maperror: Unmapped error 1:158 under FreeBSD 4.11 w/smbfs & pure-ftpd

2006-06-14 Thread Doug Lee
I run the latest 4.11-STABLE (yes I know that's not the latest STABLE
in general) and use smbfs to mount a 300-gig network file share.  I
also use pure-ftpd and hope to allow ftp access to parts of that
drive.

Problem:  When a user connects to pure-ftpd, it is possible to list
files, navigate among folders, and even upload; but on trying to
download any file from the smbfs share, the following error is logged
via syslog and the download instantly terminates:

 kirk /kernel: smb_maperror: Unmapped error 1:158

The error returned to the client (at least when I use FreeBSD's ftp as
a client) is (shown with context)

150-Accepted data connection
150 21286.3 kbytes to download
  0% |  | 0 --:-- ETA
  450 Error during write to data connection

This reminds me that, on older FreeBSD versions, attempting to FTP
straight off an smbfs mount, though not causing kernel errors, did
result in corrupt downloads.  That applied to the FreeBSD-internal
ftpd as well as to pure-ftpd, but not to wu-ftpd.  (I don't want to
use wu-ftpd though for security reasons.)  I can transfer files
to/from the smbfs share by other means, such as via cp, without
problems.

Anyone have any idea what's going on here?  Google searches for error
1:158 turned up very little solid (unless I missed something).

Please Cc replies.


-- 
Doug Lee [EMAIL PROTECTED]
SSB + BART Group [EMAIL PROTECTED]   http://www.ssbbartgroup.com
"It's not easy to be crafty and winsome at the same time, and few accomplish
it after the age of six." --John W. Gardner and Francesca Gardner Reese
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: error 127

2006-06-14 Thread kalin mintchev
>> ===>  Patching for pdflib-6.0.3
>> -e: not found
>> *** Error code 127
>>
>> Stop in /usr/ports/print/pdflib.
>>
>>
>> what is not found?!!??!?!?!
>
> Are you sure patch is working?

no. how do i know that? wasn't there something like a work log somewhere -
i can't find it under this port...

thanks..


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


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


Re: Trying to install Ethereal

2006-06-14 Thread Eric

Mayo, Richard A RDECOM CERDEC STCD SRI wrote:

why arent you using the port?

/usr/ports/net/ethereal
or
/usr/ports/net/tethereal
or
/usr/ports/net/ethereal-lite



A couple of reasons:

1) Installing from source is cool.
2) I didn't know there was a port.

I'll check into whether or not I installed the port, but if I didn't, do I fix that using 
"sysinstall"??
  
assuming your ports tree is current (if not, do a man portsnap and use 
that), you just need to:


# cd /usr/ports/net/ethereal
# make install;make clean

then wait for the build to commence. you are still building from source, 
so it has the cool factor, its just that the port will handle all the 
dependencies for you.


if you arent sure what the ports tree is, check out the handbook.

Good luck!

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


Sendmail patch; brings up a questions about buildworld

2006-06-14 Thread Jonathan Horne
with the sendmail patch that came out today, i ask this:

when in installed this machine as 6.1-RELEASE, i did a buildworld and 
buildkernel and updated to 6.1-STABLE.

question: if i choose Patch Solution 1 from 
http://security.freebsd.org/advisories/FreeBSD-SA-06:17.sendmail.asc, do i 
need to build a new kernel to go with this, or can i just build the world and 
be done with it?

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


Re: Sendmail patch; brings up a questions about buildworld

2006-06-14 Thread Giorgos Keramidas
On Wed, 14 Jun 2006 19:15:14 -0500, Jonathan Horne <[EMAIL PROTECTED]> wrote:
> with the sendmail patch that came out today, i ask this:
>
> when in installed this machine as 6.1-RELEASE, i did a buildworld and 
> buildkernel and updated to 6.1-STABLE.
>
> question: if i choose Patch Solution 1 from 
> http://security.freebsd.org/advisories/FreeBSD-SA-06:17.sendmail.asc, do i 
> need to build a new kernel to go with this, or can i just build the world and 
> be done with it?

You don't need to rebuild everything for Sendmail.  If you still have
your /usr/obj tree around, something like the following should build all
the Sendmail parts in order:

% [EMAIL PROTECTED]:/root# cat -n ~build/rebuild-sendmail.sh 
%  1  #!/bin/sh
%  2  
%  3  DIRS=""
%  4  DIRS="${DIRS} ./lib/libmilter"
%  5  DIRS="${DIRS} ./lib/libsm"
%  6  DIRS="${DIRS} ./lib/libsmdb"
%  7  DIRS="${DIRS} ./lib/libsmutil"
%  8  DIRS="${DIRS} ./libexec/mail.local"
%  9  DIRS="${DIRS} ./libexec/smrsh"
% 10  DIRS="${DIRS} ./bin/rmail"
% 11  DIRS="${DIRS} ./usr.bin/vacation"
% 12  DIRS="${DIRS} ./usr.sbin/editmap"
% 13  DIRS="${DIRS} ./usr.sbin/mailstats"
% 14  DIRS="${DIRS} ./usr.sbin/makemap"
% 15  DIRS="${DIRS} ./usr.sbin/praliases"
% 16  DIRS="${DIRS} ./usr.sbin/sendmail"
% 17  
% 18  export MAKEOBJDIRPREFIX=/home/build/obj
% 19  
% 20  for dname in ${DIRS} ; do
% 21  ( cd "${dname}" && make clean && make && make install )
% 22  if test $? -ne 0 ; then
% 23  echo ""
% 24  echo ">>> FAILED while rebuilding ${dname}"
% 25  exit 1
% 26  fi
% 27  done
% [EMAIL PROTECTED]:/root# 

Note that you may have to tweak the paths of this script (especially the
`MAKEOBJDIRPREFIX' part) and run it from `/usr/src' instead of my local
`/home/build/src' tree.

- Giorgos

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


Re: Sendmail patch; brings up a questions about buildworld

2006-06-14 Thread Joel Hatton
On Wed, 14 Jun 2006 19:15:14 -0500, Jonathan Horne wrote:
>
>question: if i choose Patch Solution 1 from 
>http://security.freebsd.org/advisories/FreeBSD-SA-06:17.sendmail.asc, do i 
>need to build a new kernel to go with this, or can i just build the world and 
>be done with it?

The phrase "Upgrade your vulnerable system" implies performing the full
upgrade as per handbook, which means kernel and world. 

I would never recommend rebuilding world without kernel, even it appears
to be without risk, for three extremely good reasons:

o the handbook says not to, and explains why

o so that you will never fall into the habit of just building world
and get caught out one day when it bites you

o so that the correct version of your system will be reflected in
the output of 'uname -a' eg: 5.3-RELEASE-p32 and hence you will
be able to track the patchlevel of your system

That said, I wouldn't discourage you from patching sendmail immediately
to correct the vulnerability as per procedure 2) if time is critical but
I would certainly encourage following through with a system update as per
1) as soon as possible.

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


Re: Sendmail patch; brings up a questions about buildworld

2006-06-14 Thread Jonathan Horne
On Wednesday 14 June 2006 19:56, Joel Hatton wrote:
> On Wed, 14 Jun 2006 19:15:14 -0500, Jonathan Horne wrote:
> >question: if i choose Patch Solution 1 from
> >http://security.freebsd.org/advisories/FreeBSD-SA-06:17.sendmail.asc, do i
> >need to build a new kernel to go with this, or can i just build the world
> > and be done with it?
>
> The phrase "Upgrade your vulnerable system" implies performing the full
> upgrade as per handbook, which means kernel and world.
>
> I would never recommend rebuilding world without kernel, even it appears
> to be without risk, for three extremely good reasons:
>
>   o the handbook says not to, and explains why
>
>   o so that you will never fall into the habit of just building world
>   and get caught out one day when it bites you
>
>   o so that the correct version of your system will be reflected in
>   the output of 'uname -a' eg: 5.3-RELEASE-p32 and hence you will
>   be able to track the patchlevel of your system
>
> That said, I wouldn't discourage you from patching sendmail immediately
> to correct the vulnerability as per procedure 2) if time is critical but
> I would certainly encourage following through with a system update as per
> 1) as soon as possible.
>
> cheers,
> joel
> ___

good enough for me... i was just wondering if it was ever done (as common 
practice) without the kernel.

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


???????????? Ubuntu 6.06 LTS Blognone

2006-06-14 Thread doi maesalong
??? 
?? ?? graphic ( ??  ) 
 ? ?? ??

 http://www.blognone.com/node/2454


?

?


UBUNTU~1.URL
Description: Binary data
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Verizon Wireless PC5740 on FreeBSD?

2006-06-14 Thread YTResearch
Has anyone been successful with using Verizon Wireless on FreeBSD. I  
have read where the PC5740 card has been successfully used on Linux  
claiming 160mbps with a ohci-hcd module. If that's true, I was  
thinking this should be possible on FreeBSD. I have a mix of Darwin  
and FreeBSD and it seems more likely that FreeBSD would be the better  
bet since the linux module might run as is. Hate to put the money out  
and find out differently. Has anyone tried this?


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


Re: ripping "enhanced" audio CDs

2006-06-14 Thread Mikhail Goriachev
Mac Newbold wrote:
> 
> This has finally caused me enough grief that I'm going to ask about it
> and see if there's something I'm doing wrong or some nice solution to
> this really annyoing problem.
> 
> I'm on a 5-STABLE box, currently 5.5-PRERELEASE. I use cdparanoia and
> lame (via abcde) to rip my CDs to MP3. (This has happened to me with
> other rippers, like cdda2wav, IIRC, also.) Whenever I try to rip an
> "enhanced" CD that has one or more data tracks along with the audio
> tracks, it crashes the computer when it gets near the enhanced tracks.
> It has happened on a wide variety of CDs, all enhanced, and over a long
> period of time. It is very repeatable. Even if I ask the ripper to rip
> only the track prior to the enhanced track, it still crashes when it
> gets about 90-95% through the track. Even if I try to break out at that
> point, it still crashes the box.
> 
> Jun 14 11:27:21 mybox kernel: acd0: FAILURE - READ_CD HARDWARE ERROR
> asc=0x08 ascq=0x01 error=0
> Jun 14 11:27:21 mybox kernel: acd0: FAILURE - READ_CD ILLEGAL REQUEST
> asc=0x64 ascq=0x00 error=0
> Jun 14 11:27:22 mybox last message repeated 11 times
> 
> I know has happened to me on both CD-ROM/RW drives and on my atapicam
> DVD+/-RW drive. I seem to remember it happening on 4-STABLE boxes too,
> with widely different hardware (different mobo makers, chipsets, etc.)
> 
> Does anyone know what causes this or what the fix is? Has anyone else
> had this problem and found a suitable workaround?
> 
> Right now the only workaround I've found is to start ripping the track,
> and let it crash the computer, then encode the track when it boots back
> up. Not a very happy workaround, as I have to fsck every time. :(
> 
> Any help or suggestions you can offer are greatly appreciated!


Hi,

This is an anti-piracy feature included on some discs. Nowadays there
are more and more protected discs around. Some of them even crash
computers when loading. How silly is that? Programs like CloneCD can
handle such things on Windows boxes. That is what I use after having
long frustrated sessions with open-source tools.

Cheers,
Mikhail.


-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"