Fatal trap 18

2004-05-30 Thread Hector Rivera
Fatal trap 18
Hello,
i have an IBM Thinkpad A30 which comes with embedded wireless. the mini-pci 
card is Prism card. the following is information from the post or loader 
when i boot FreeBSD 5.2.1

wi0: Intersil Prism2.5 mem 0xf000 – 0xffff irq11 at device 2.0 on 
pci2
wi0: 802.11 address: 00:20:c0:8a:93:ce
wi0: using RF: PRISM2.5 MAC: ISL3874A(Mini-PCI)
wi0: Intersil Firmware: Primary (1.1.0), Station(1.4.2)
wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps

when i type in this
ifconfig wi0
i get the following info
wi0: flags = 8843 UP, BROADCAST, RUNNING, SIMPLEX, MULTICAST mtu 1500
inet6 fe80::220:e0ff:fe8a:93cd% wi0 prefixlen 64 scopeid 0x1
inet 0.0.0.0 netmask 0xff0880 broadcast 255.255.255.255
ether 00:20:e0:9a:93:ce
media: IEEE 802.11 Wireless Ethernet Autoselect (DS/2Mbps)
status: no carrier
ssid “”
stationname “FreeBSD Wavelan /IEEE node”
Channel -1 authmode OPEN powersavemode OFF powersaveleep 100
wepmode OFF weptxkey1
i then type in the following command
ifconfig wi0 inet 192.168.100.100 netmask 255.255.255.0 ssid my_ssid
immediately after this command is done, i get the following error
Fatal trap 18: integer divide fault while in kernel mode
cupid = 0; apicid = 00
instruction pointer = 0x8: 0xc0583642
stack pointer = 0x10: 0xcdcafcc8
fram pointer = 0x10: 0xcdcafcc8
code segment = base 0x0, limit oxf, type ox1b
= DPL 0, pres 1, det32 1, gram1
processor eflags = interrupt enabled, IOPL = 0
current process = 22 (irq11: cbb0 cbb1+++)
trap number = 18
panic : integer divide fault
cupid =0;
can someone help me out here? this happens no matter how many commands are 
tide on to ifconfg, what i mean is that i get the same error when i type in 
the following commands:

ifconfig wi0 inet 192.168.100.100 OR
ifconfig wi0 netmask 255.255.255.0 OR
ifconfig wi0 ssid my_ssid OR
any other combination.
thank you
Hector
_
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

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


1251 fonts in xmms

2004-05-30 Thread Mikhail TSaplin
Hi all
I have xmms 1.2.7 and mp3 files with russian tags in cp1251 encoding
How can i force xmms to present it in play list correctly?

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


Re: Measuring the stack usage of a program

2004-05-30 Thread Charles Swiger
On May 26, 2004, at 7:09 PM, Michael Sig Birkmose wrote:
Does anyone know, if it is possible to meassure the maximum stack 
usage of
a C program throughout it's entire execution?
Sure.  See man getrusage, specificly:
long ru_isrss;   /* integral unshared stack size */
...which tends to give you the maximum usage on most systems (because 
they don't shrink the stack if it becomes smaller).  You can also 
compare the addresses of automatic variables within the code of the 
program itself to see how the stack grows:

/* Test program to measure stack usage... */
void *
test_function(int count)
{
int foo = 1;
#if 0/* make the local frame much bigger */
char buf[1000];
sprintf(buf, %d\n, count);
#endif
if (count  0) {
return test_function(count - 1);
} else
return foo;
}
int
main(int argc, char *argv[])
{
int depth = 100;
unsigned long delta;
if (argc  1) depth = atoi(argv[1]);
delta = (unsigned long)depth - (unsigned long)test_function(depth);
printf(\nchange in stack size: %lu bytes.\n, delta);
return 0;
}
[ Yeah, yeah, I should use ptrdiff_t, but you get the idea... ]
--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: huge xfree86 problems with an acer on freebsd 5.2.1

2004-05-30 Thread Jorn Argelo
[EMAIL PROTECTED] wrote:
Hi, i already posted this on x11 but hey i really need help so please don't hold it 
against me...
I have an acer aspire 1350LC with a via chipset for the graphics. I got x working once 
on 4.9, same laptop when i had been messing around with 4.4.0 and ports so after a 
while it was a really broken install but suddenly it started working using the auto 
configure thing, first thing i tried to do was to write my own conf file which failed 
over and over again. I can't use the auto configure thing since it produced a very low 
resolution, even if i could figure out how to use auto configure with xfree and 
increase the res i doubt i'd be able to reproduce last time on 5.2.1 now because it 
was all a large mess of ports and bloody xfree86 guts all over the place.
Anyways the situation now is that i get no errors to stdout. Checking the logfile i 
see that everything is going just fine until it reads the hsync value, this is what it 
looks like:
(--) via(0): No DDC signal
(II) via(0): Monitor0: Using hsync value of 31.50 kHz
(II) via(0): Monitor0: Using vrefresh range of 50.00-90.00 Hz
(II) via(0): Clock range:  20.00 to 230.00 MHz
(II) via(0): Not using default mode 640x350 (hsync out of range)
(II) via(0): Not using default mode 320x175 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 640x400 (hsync out of range)
(II) via(0): Not using default mode 320x200 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 720x400 (hsync out of range)
(II) via(0): Not using default mode 360x200 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 320x240 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 640x480 (hsync out of range)
(II) via(0): Not using default mode 320x240 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 640x480 (hsync out of range)
(II) via(0): Not using default mode 320x240 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 640x480 (hsync out of range)
(II) via(0): Not using default mode 320x240 (bad mode clock/interlace/doublescan)
[...]
(II) via(0): Not using default mode 1600x1024 (hsync out of range)
(II) via(0): Not using default mode 800x512 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 1920x1440 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 960x720 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 2048x1536 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 1024x768 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 2048x1536 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 1024x768 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 2048x1536 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 1024x768 (bad mode clock/interlace/doublescan)
(II) via(0): Not using mode 1024x768 (no mode of this name)
(--) via(0): Virtual size is 640x480 (pitch 640)
(**) via(0): *Default mode 640x480: 25.2 MHz (scaled from -1206751.2 MHz), 31.5 kHz, 
60.0 Hz
(II) via(0): Modeline 640x480   25.20  640 656 752 800  480 490 492 525 -hsync -vsync
After this it goes on with loading a few modules, showing me some resource ranges 
after preInit, mapping frambuffer and exits after a few of these messages.
(II) via(0): vgaHWGetIOBase: hwp-IOBase is 0x03d0, hwp-PIOOffset is 0x
(==) via(0): Write-combining range (0xa,0x1) was already clear


Med vänliga hälsningar
Stefan Midjich, Swebase AB
Tel: 042-20 15 00
Fax: 042-20 15 03
E-post: [EMAIL PROTECTED]
Webb: http://swebase.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
.
 

Why don't you just run the auto configurator and change the resolution 
yourself? Then you won't have the problem that your hsync is out of 
range, since it has been auto probed by XFree86 itself.

Section  Screen
Identifier   Screen0
Device  Device0
MonitorMonitor0
DefaultDepth 16
SubSection Display
Depth16
Modes 1280x1074
EndSection
Cheers,
Jorn
Jorn
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The FreeBSD Diary: 2004-05-09 - 2004-05-29

2004-05-30 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to [EMAIL PROTECTED] with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

These are the articles posted during this period:

25-May : BSDCan - my photos
 My photos 
 http://freebsddiary.org/bsdcan-2004.php?2

22-May : Laptop stolen
 It's gone.  Nothing I can do about it. 
 http://freebsddiary.org/laptop-stolen.php?2

21-May : Xplanet - improve your background
 Provide a dynamic and interesting background for X 
 http://freebsddiary.org/xplanet.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


NFS server fail-over - how do you do it?

2004-05-30 Thread adp
I am running a FreeBSD 4.9-REL NFS server. Once every several hours our main
NFS server replicates everything to a backup FreeBSD NFS server. We are okay
with the gap in time between replication. What we aren't sure about is how
to automate the fail-over between the primary to the secondary NFS server.
This is for a web cluster. Each client mounts several directories from the
NFS server.

Let's say that our primary NFS server dies and just goes away. What then?
Are you periodically doing a mount or a file look-up of a mounted filesystem
to check if your NFS server died? If so are you just unmounting and
remounting everything using the backup NFS server?

Just curious how this problem is being solved.


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


Re: PWS 600au / Matrox G450 / XFree86-4.3.0 (fwd)

2004-05-30 Thread Thomas Schwarzkopf
On Saturday 29 May 2004 17:56, Marco Beishuizen wrote:
 Hi,

 I just installed FreeBSD 4.10-RELEASE on my PWS 600au and it comes
 with Xfree86-4.3.0. I can't seem to start X while Xfree-3.3.6 worked
 fine. My PWS has a Matrox G450 PCI videocard. I tried both the
 generic Matrox driver and the G400 driver in xf86config, but get the
 same errors.

 The errors I get when trying to start X are:

 ...
 (WW) MGA: No matching Device section for instance (BusID PCI:1:0:0)
 found (EE) No devices detected.

 Fatal server error:
 no screens found
 ...

 X connection to :0.0 broken (explicit kill or server shutdown).
 xauth: (argv):1: bad display name tsunami.bsd:0 in remove command

I had the same problem with a PC 164 but with a different videocard. 
Adding a line like 

BusID  PCI:0:9:0

to Section Device of my XF86Config file helped. pciconf -l can help 
you to find the BusID. /var/log/XFree86.0.log should also report the 
BusID of yor card.

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


Re: NFS server fail-over - how do you do it?

2004-05-30 Thread Mike Woods
On Sun, 30 May 2004 02:43:37 -0500
adp [EMAIL PROTECTED] wrote:

 Just curious how this problem is being solved.

I cant say i've ever looked into it myself but id susjest an easy solution would be to 
have a cron script store run every now and again to ping the servers and change the 
mounts depending on what the responce is.

also if your backup system is bespoke and can be modified you could use amd and have 
the script read stored data on nfs server availability so it can decide where to 
backup the data.

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


Re: PWS 600au / Matrox G450 / XFree86-4.3.0 (fwd)

2004-05-30 Thread Marco Beishuizen
On stardate Sun, 30 May 2004, the wise Thomas Schwarzkopf entered:
On Saturday 29 May 2004 17:56, Marco Beishuizen wrote:
(WW) MGA: No matching Device section for instance (BusID PCI:1:0:0)
found (EE) No devices detected.
Fatal server error:
no screens found
...
X connection to :0.0 broken (explicit kill or server shutdown).
xauth: (argv):1: bad display name tsunami.bsd:0 in remove command
I had the same problem with a PC 164 but with a different videocard.
Adding a line like
BusID  PCI:0:9:0
to Section Device of my XF86Config file helped. pciconf -l can help
you to find the BusID. /var/log/XFree86.0.log should also report the
BusID of yor card.
I added the line BusID PCI:1:0:0 and Xfree tries to start. But now my 
monitor turns to black and I get a big warning that the signal frequency 
is out of range. Really weird because I always used the (correct) values 
for horizontal and vertical frequencies for the monitor. The only thing I 
can do at that point is to reset the computer.

Marco
--
Gray's Law of Programming:
`_n+1' trivial tasks are expected to be accomplished in the same
time as `_n' tasks.
Logg's Rebuttal to Gray's Law:
`_n+1' trivial tasks take twice as long as `_n' trivial tasks.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


BGP server?

2004-05-30 Thread hugle
Hello all
I'm trying to get router ffrom mine country..
so I  will be able to NAT router to my country without any limit..

look what I get from my ISP:

(email)
configured:

router bgp 13194
 neighbor 213.226.136.250 remote-as 65006

configure Your ZEBRA:
remote-as:  13194
neighbor:   213.252.192.153
ebgp-multihop:  4

How is it done ?

here is my conf file:
cat bgpd.conf
password zebra
enable password zebra


router bgp 65006
 bgp router-id 213.226.136.253
 neighbor 213.252.192.153 remote-as 13194
 neighbor 213.252.192.153 ebgp-multihop 4

smux peer 1.3.6.1.2.1.14 test
log file /var/log/zebra/bgpd.log

but i still can't get those routes.. can anyone be so kind and help
me? Never worked with bgp routers
-- 
Best regards,Hugle

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


Problem after installing 'lprng'

2004-05-30 Thread Gerard Seibert
Obligatory OS system info:

uname -a
FreeBSD rcn.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 
GMT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

I was having problems printing from KDE, so I used the ports to download and 
install 'lprng' as well as the 'lprngtool'. The printing problem was solved. 
However, a new problem has arisen.

Upon boot up I receive the following error message:

Local package initialization:
Starting Dr. Web daemon...
 dnetc
 printer
Fatal error - Cannot bind to lpd port '515'
.
I have no idea why this is happening. In addition, when I attempt to run the 
'lprngtool' script from within KDE, I receive the following error message:

Error executing command 'lpq -a -s'
lpq: illegal option -- s
usage: lpq [-a] [-l] [-Pprinter] [user ...] [job ...]

I am not sure if that has anything to do with this or not.

I would certainly appreciate any assistance that someone can afford me.

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


Re: FreeBSD 5.2.1 on IBM T30

2004-05-30 Thread Arend P. van der Veen
Hi,
Thanks for you input.  I have made some progress.  I had to set 
hw.pci.allow_unsupported_io_range=1 during boot and then added it to 
/boot/loader.   I learned this from:

http://gerda.univie.ac.at/freebsd-laptops
I have not had any problems with ACPI yet but I will keep your 
suggestions in mind.  My next task will be power management, sound and 
cdrom.

Thanks again for you comments.
Arend
Charles Oppermann wrote:
Have you tried disabling ACPI support at the boot loader menu?  My T40 locks
up at a different location during the boot if ACPI is enabled.
Charles Oppermann, [EMAIL PROTECTED],
http://weblogs.asp.net/chuckop/
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Arend P. van der
Veen
Sent: Friday, May 28, 2004 7:41 AM
To: [EMAIL PROTECTED]
Subject: FreeBSD 5.2.1 on IBM T30
Hi,
I have just tried to install a fresh distribution of FreeBSD 5.2.1 on a 
IBM T30.   The system locks up with just after:

pccard0: 16-bit PCCard bus on cbb0
cbb0: [MPSAFE]
I have been using this same laptop with FreeBSD 4.9 and 4.10 without any 
problems.

Does anybody have FreeBSD 5.2.1 running on a IBM T30 ?
Thanks in advance,
Arend
 

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


Re: PWS 600au / Matrox G450 / XFree86-4.3.0 (fwd)

2004-05-30 Thread Jean-Francois Gobin
What did he do when you press [CTRL][ALT][BACKSPACE] ?

JF


On Sun, 30 May 2004, Marco Beishuizen wrote:

 On stardate Sun, 30 May 2004, the wise Thomas Schwarzkopf entered:

  On Saturday 29 May 2004 17:56, Marco Beishuizen wrote:
  (WW) MGA: No matching Device section for instance (BusID PCI:1:0:0)
  found (EE) No devices detected.
 
  Fatal server error:
  no screens found
  ...
 
  X connection to :0.0 broken (explicit kill or server shutdown).
  xauth: (argv):1: bad display name tsunami.bsd:0 in remove command
 
  I had the same problem with a PC 164 but with a different videocard.
  Adding a line like
 
  BusID  PCI:0:9:0
 
  to Section Device of my XF86Config file helped. pciconf -l can help
  you to find the BusID. /var/log/XFree86.0.log should also report the
  BusID of yor card.

 I added the line BusID PCI:1:0:0 and Xfree tries to start. But now my
 monitor turns to black and I get a big warning that the signal frequency
 is out of range. Really weird because I always used the (correct) values
 for horizontal and vertical frequencies for the monitor. The only thing I
 can do at that point is to reset the computer.

 Marco

 --
 Gray's Law of Programming:
   `_n+1' trivial tasks are expected to be accomplished in the same
 time as `_n' tasks.

 Logg's Rebuttal to Gray's Law:
   `_n+1' trivial tasks take twice as long as `_n' trivial tasks.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-alpha
 To unsubscribe, send any mail to [EMAIL PROTECTED]


--
Jean-Francois Gobin - Administrateur gobinjf.be
http://www.gobinjf.be   mailto:[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem after installing 'lprng'

2004-05-30 Thread Matthew Seaman
On Sun, May 30, 2004 at 09:12:53AM -0400, Gerard Seibert wrote:
 Obligatory OS system info:
 
 uname -a
 FreeBSD rcn.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 
 GMT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
 
 I was having problems printing from KDE, so I used the ports to download and 
 install 'lprng' as well as the 'lprngtool'. The printing problem was solved. 
 However, a new problem has arisen.
 
 Upon boot up I receive the following error message:
 
 Local package initialization:
 Starting Dr. Web daemon...
  dnetc
  printer
 Fatal error - Cannot bind to lpd port '515'
 .

You have probably managed to configure your machine to try and run
both the lpd(8) from the base system and the lpd from the lprNG port.
Which means the lprNG version can't start up because the base system
version has already bound the the lpd port.  Make sure that your
/etc/rc.conf has only the lprng entries.

 I have no idea why this is happening. In addition, when I attempt to run the 
 'lprngtool' script from within KDE, I receive the following error message:
 
 Error executing command 'lpq -a -s'
 lpq: illegal option -- s
 usage: lpq [-a] [-l] [-Pprinter] [user ...] [job ...]
 
 I am not sure if that has anything to do with this or not.
 
 I would certainly appreciate any assistance that someone can afford me.

lpq(8) from the base system is being run, and that doesn't understand
the '-s' option used by lpq(8) from lprNG.  Either you need to specify
the full path to the correct version of lpq (which will be
/usr/local/bin/lpq if you've installed lprNG from packages), or you
have to futz with the $PATH and put /usr/local/bin before /usr/bin.
Note that fiddling with the order of directories on the $PATH can
cause all sorts of weird effects in completely unrelated software so
test early and test often if you do that.

Cheers,

Matthew

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


pgp7ZissWL8mB.pgp
Description: PGP signature


Re: Problem after installing 'lprng'

2004-05-30 Thread Warren Block
On Sun, 30 May 2004, Gerard Seibert wrote:
I was having problems printing from KDE, so I used the ports to download and
install 'lprng' as well as the 'lprngtool'. The printing problem was solved.
However, a new problem has arisen.
Upon boot up I receive the following error message:
Local package initialization:
Starting Dr. Web daemon...
dnetc
printer
Fatal error - Cannot bind to lpd port '515'
.
I have no idea why this is happening.
Probably this means that you have the system lpd running instead of the 
one that lprng presumably wants to run.  See if you have a 
lpd_enable=YES in your /etc/rc.conf.

In addition, when I attempt to run the
'lprngtool' script from within KDE, I receive the following error message:
Error executing command 'lpq -a -s'
lpq: illegal option -- s
usage: lpq [-a] [-l] [-Pprinter] [user ...] [job ...]
Again, probably trying to run the system lpq command (/usr/bin/lpq) 
rather than the one that was installed in a different directory by 
lprng.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PWS 600au / Matrox G450 / XFree86-4.3.0 (fwd)

2004-05-30 Thread Jean-Francois Gobin
Also, it seems to me that you've got two cards in your system. What about
a small pciconf ?

JF

On Sun, 30 May 2004, Marco Beishuizen wrote:

 On stardate Sun, 30 May 2004, the wise Thomas Schwarzkopf entered:

  On Saturday 29 May 2004 17:56, Marco Beishuizen wrote:
  (WW) MGA: No matching Device section for instance (BusID PCI:1:0:0)
  found (EE) No devices detected.
 
  Fatal server error:
  no screens found
  ...
 
  X connection to :0.0 broken (explicit kill or server shutdown).
  xauth: (argv):1: bad display name tsunami.bsd:0 in remove command
 
  I had the same problem with a PC 164 but with a different videocard.
  Adding a line like
 
  BusID  PCI:0:9:0
 
  to Section Device of my XF86Config file helped. pciconf -l can help
  you to find the BusID. /var/log/XFree86.0.log should also report the
  BusID of yor card.

 I added the line BusID PCI:1:0:0 and Xfree tries to start. But now my
 monitor turns to black and I get a big warning that the signal frequency
 is out of range. Really weird because I always used the (correct) values
 for horizontal and vertical frequencies for the monitor. The only thing I
 can do at that point is to reset the computer.

 Marco

 --
 Gray's Law of Programming:
   `_n+1' trivial tasks are expected to be accomplished in the same
 time as `_n' tasks.

 Logg's Rebuttal to Gray's Law:
   `_n+1' trivial tasks take twice as long as `_n' trivial tasks.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-alpha
 To unsubscribe, send any mail to [EMAIL PROTECTED]


--
Jean-Francois Gobin - Administrateur gobinjf.be
http://www.gobinjf.be   mailto:[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Serial Device Views

2004-05-30 Thread Grant Peel
Hi all,

Here is the second most embarrasing question I have ever asked.

I have a switch (managed), that I can use HyperTerminal (when connected to a
windows box of course) to view the console.

I seem to be going blind reading the docs on how to view the same console
when I connect the Switch to the Serial (RS-232 port on any of my FreeBSD
servers.

Any hints, comments on how to set up freebsd to allow access to the switch
console would be appreciated.

-Grant


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


Re: PWS 600au / Matrox G450 / XFree86-4.3.0 (fwd)

2004-05-30 Thread Marco Beishuizen
On stardate Sun, 30 May 2004, the wise Jean-Francois Gobin entered:
What did he do when you press [CTRL][ALT][BACKSPACE] ?
JF
I think that killed xfree as it should but the monitor still remains black 
with the big warning. The only way to get into the cli again is to reboot 
the machine.

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


Re: PWS 600au / Matrox G450 / XFree86-4.3.0 (fwd)

2004-05-30 Thread Marco Beishuizen
On stardate Sun, 30 May 2004, the wise Jean-Francois Gobin entered:
Also, it seems to me that you've got two cards in your system. What about
a small pciconf ?
JF
No I have only one card in it. Pciconf -l says the Matrox has BusID 1:0:0.
Marco
--
Spelling is a lossed art.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Serial Device Views

2004-05-30 Thread Daan Vreeken [PA4DAN]
On Sunday 30 May 2004 15:52, Grant Peel wrote:
 Hi all,

 Here is the second most embarrasing question I have ever asked.

 I have a switch (managed), that I can use HyperTerminal (when connected to
 a windows box of course) to view the console.

 I seem to be going blind reading the docs on how to view the same console
 when I connect the Switch to the Serial (RS-232 port on any of my FreeBSD
 servers.

 Any hints, comments on how to set up freebsd to allow access to the switch
 console would be appreciated.
Try installing minicom. It's in the ports-tree in : /comms/minicom .
There are other programs to talk to serial ports on FreeBSD, but this is what 
I often use. It's a console program with a nice user interface.

grtz,
Daan

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


Re: PWS 600au / Matrox G450 / XFree86-4.3.0 (fwd)

2004-05-30 Thread Jean-Francois Gobin
Ok, so you [CTRL][ALT][BACKSPACE]-ed Xwindow. If possible, can you try a
ssh from another system ?

If the system is still responding, you should see it quite immediately.

BTW, I had a problem not really dissimilar, except it didn't black out
the screen. I had to upgrade Xfree from the provided version of
FreeBSD/Alpha 5.2.1 to the latest found on Xfree.org

JF


On Sun, 30 May 2004, Marco Beishuizen wrote:

 On stardate Sun, 30 May 2004, the wise Jean-Francois Gobin entered:

  What did he do when you press [CTRL][ALT][BACKSPACE] ?
 
  JF

 I think that killed xfree as it should but the monitor still remains black
 with the big warning. The only way to get into the cli again is to reboot
 the machine.

 Marco
 --
 Alex Haley was adopted!


--
Jean-Francois Gobin - Administrateur gobinjf.be
http://www.gobinjf.be   mailto:[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HP DJ 3550

2004-05-30 Thread Lowell Gilbert
Mikhail TSaplin [EMAIL PROTECTED] writes:

 I have hp deskjet 3550 usb printer, and freebsd 5.1
 ulpt determine this:
   ulpt0: hp deskjet 3500, rev 2.00/1.00, addr 2, iclass 7/1
   ulpt0: using bi-directional mode
 But when i issue lptest  /dev/ulpt0 or lptest  /dev/unlpt0,
 nothing happens. 
 
 Must i send HP-oriented special text to device?
 And is there anybody who have this printer working properly on freebsd?

HP-oriented special text won't even help; this printer isn't smart
enough to understand text; it requires the computer driver to more or
less drive the print heads directly.  I think that gimp-print somehow
managed to put together a driver for it, which means you should be
able to get it running with CUPS.  You can install gimp-print through
the ports system, but there probably aren't many other people using
this printer with FreeBSD to give you direct advice.  This printer is
extremely expensive to operate, and most of HP's work on it went into
a Windows driver rather than into the actual hardware. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem after installing 'lprng'

2004-05-30 Thread Gerard Seibert
On Sunday 30 May 2004 09:42 am, Matthew Seaman wrote:
 On Sun, May 30, 2004 at 09:12:53AM -0400, Gerard Seibert wrote:
  Obligatory OS system info:
 
  uname -a
  FreeBSD rcn.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23
  20:45:55 GMT 2004
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
 
  I was having problems printing from KDE, so I used the ports to download
  and install 'lprng' as well as the 'lprngtool'. The printing problem was
  solved. However, a new problem has arisen.
 
  Upon boot up I receive the following error message:
 
  Local package initialization:
  Starting Dr. Web daemon...
   dnetc
   printer
  Fatal error - Cannot bind to lpd port '515'
  .

 You have probably managed to configure your machine to try and run
 both the lpd(8) from the base system and the lpd from the lprNG port.
 Which means the lprNG version can't start up because the base system
 version has already bound the the lpd port.  Make sure that your
 /etc/rc.conf has only the lprng entries.

  I have no idea why this is happening. In addition, when I attempt to run
  the 'lprngtool' script from within KDE, I receive the following error
  message:
 
  Error executing command 'lpq -a -s'
  lpq: illegal option -- s
  usage: lpq [-a] [-l] [-Pprinter] [user ...] [job ...]
 
  I am not sure if that has anything to do with this or not.
 
  I would certainly appreciate any assistance that someone can afford me.

 lpq(8) from the base system is being run, and that doesn't understand
 the '-s' option used by lpq(8) from lprNG.  Either you need to specify
 the full path to the correct version of lpq (which will be
 /usr/local/bin/lpq if you've installed lprNG from packages), or you
 have to futz with the $PATH and put /usr/local/bin before /usr/bin.
 Note that fiddling with the order of directories on the $PATH can
 cause all sorts of weird effects in completely unrelated software so
 test early and test often if you do that.

   Cheers,

   Matthew

You were correct about there being two entries in '/etc/rc.conf'.. I have 
corrected that problem, and now my system boots correctly.

When trying to run the 'lprngtool' the error message that I described above 
still appears. In addition, no printers are listed, and I assume that there 
should be at least one (the one I defined)

Moreover,  a new problem seems to have surfaced. If I run the 'checkpc' 
command specifically  with the '-fV' options, the following is displayed:

[EMAIL PROTECTED] ~ $ checkpc -fV
LPRng-3.8.26, Copyright 1988-2003 Patrick Powell, [EMAIL PROTECTED]
Checking for configuration files '/usr/local/etc/lpd.conf'
  found '/usr/local/etc/lpd.conf', mod 0100644
Checking for printcap files '/etc/printcap'
Checking for lpd only printcap files '/usr/local/etc/lpd/lpd_printcap'
 DaemonUID 1, DaemonGID 1
Using Config file '/usr/local/etc/lpd.conf'
LPD lockfile '/var/run/lpd.515'

.names
 :lp=lp

.all
 :lp

#Printcap Information
lp|bj8oh06n.upp;r=2400x1200;q=high;c=full;p=letter;m=auto
 :af=/var/spool/lpd/lp/acct
 :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter
 :lf=/var/spool/lpd/lp/log
 :lp=/dev/null
 :mx#0
 :sd=/var/spool/lpd/lp
 :sh
Checking printcap info
Checking printer 'lp'
 Checking directory: '/var/spool/lpd/lp'
   directory '/'
   directory '//var'
   directory '//var/spool'
   directory '//var/spool/lpd'
   directory '//var/spool/lpd/lp'
  checking 'control.pr' file
  checking 'status.pr' file
  checking 'status' file
  checking '/var/spool/lpd/lp/log' file
  checking '/var/spool/lpd/lp/acct' file
2004-05-30-11:39:10.649 rcn lp: Checkwrite: fcntl F_SETFL of '/dev/null' 
failed - Inappropriate ioctl for device
Warning - lp: cannot open lp device '/dev/null' - Inappropriate ioctl for 
device
  'if' filter '/usr/local/etc/apsfilter/basedir/bin/apsfilter'
executable '/usr/local/etc/apsfilter/basedir/bin/apsfilter'

Everything seems fine until the end where the 'failed and then 'Warning' line 
begin. Is this something that I should be worried about? How would I go about 
correcting the situation?

Thanks!

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


Re: PWS 600au / Matrox G450 / XFree86-4.3.0 (fwd)

2004-05-30 Thread Bernd Walter
On Sun, May 30, 2004 at 04:11:07PM +0200, Marco Beishuizen wrote:
 On stardate Sun, 30 May 2004, the wise Jean-Francois Gobin entered:
 
 Also, it seems to me that you've got two cards in your system. What about
 a small pciconf ?
 
 JF
 
 No I have only one card in it. Pciconf -l says the Matrox has BusID 1:0:0.

I might make a difference if you put the card in a slot on bus 0.

-- 
B.Walter   BWCThttp://www.bwct.de
[EMAIL PROTECTED]  [EMAIL PROTECTED]

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


NFS server problems?

2004-05-30 Thread adp
I occasionally see error messages on NFS clients such as:

nfs server files:/rmt/mnt: not responding
pmap_collect: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC
got bad cookie vp 0xdc92a9c0 bp 0xcc578fac
got bad cookie vp 0xdc92a9c0 bp 0xcc578e60

NFS actually runs fine. We haven't had any real problems.

On the client I do see some errors:

# nfsstat -c
Client Info:
...
Rpc Info:
 TimedOut   Invalid X Replies   Retries  Requests
   26 0   162   508405121

My thoughts are a bad cable or switch going to the NFS server, but I'm
curious what others think.

This happens on multiple NFS clients.

(Well, I only found the PMAP_SHPGPERPROC entry on one.)

The NFS server is FreeBSD 4.9-STABLE and the clients FreeBSD 4.10.


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


Re: PWS 600au / Matrox G450 / XFree86-4.3.0 (fwd)

2004-05-30 Thread Marco Beishuizen
On stardate Sun, 30 May 2004, the wise Bernd Walter entered:
On Sun, May 30, 2004 at 04:11:07PM +0200, Marco Beishuizen wrote:
On stardate Sun, 30 May 2004, the wise Jean-Francois Gobin entered:
Also, it seems to me that you've got two cards in your system. What about
a small pciconf ?
JF
No I have only one card in it. Pciconf -l says the Matrox has BusID 1:0:0.
I might make a difference if you put the card in a slot on bus 0.
I just tried it but unfortunately it doesn't make any difference.
--
Swahili, n.:
The language used by the National Enquirer to print their
retractions.
-- Johnny Hart
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can I specify the resolver timeout?

2004-05-30 Thread adp
We have two internal DNS servers in a FreeBSD web cluster. If the first DNS
server fails then after a timeout period the client's resolver will try the
second DNS server. This works fine, but is a bit slow. It looks like the
timeout takes 10 to 15 seconds on FreeBSD 4.9-STABLE. Is there a way to
override this timeout value? I know it is possible on other UNIX systems,
such as AIX.

Basically, we want to get a response within 3 seconds or the resolver should
try the second DNS server.


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


Re: Serial Device Views

2004-05-30 Thread Warren Block
On Sun, 30 May 2004, Grant Peel wrote:
I have a switch (managed), that I can use HyperTerminal (when connected to a
windows box of course) to view the console.
I seem to be going blind reading the docs on how to view the same console
when I connect the Switch to the Serial (RS-232 port on any of my FreeBSD
servers.
Any hints, comments on how to set up freebsd to allow access to the switch
console would be appreciated.
cu -s9600 -l/dev/cuaa0
Change the values if needed.  And the next question is How do I get out 
of it? which is the key sequence ~. (tilde-dot).

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Profiling debugging on FreeBSD: loadable modules, profiler output, threads

2004-05-30 Thread Michal Pasternak
Hi,

I need to debug some software, written in Python (with threads), which uses
dynamically loadable modules, written in C. 

FreeBSD version is 5.2.1-RC. 

All Python modules are compiled with -g -pg, so is the python binary. 

By default, -g -pg -pthread doesn't seem to link libc to Python binary
(modules complain about missing 'strftime' on load). Any other combination
of options, than -g -pg -lc_r -lc -pthread causes Python binary to dump
core with sig 10 at start (with never ending _pthread_self calls in
backtrace).

Even if python.gmon is created, it contains only an information about calls
to '__fpsetreg'. 

My sysctl kern.debug.threads is 1. 

kdump output seems to reveal:

 88107 python2p3 NAMI  python2p3.gmon
 88107 python2p3 RET   open 5

... but only at the *end* of the log (shouldn't it be open some time earlier)?

I'd appreciate any help in this matter. I need this working by yesterday.

Thanks,
-- 
Michal Pasternak :: http://pasternak.w.lub.pl :: http://winsrc.sf.net

Frankly, any company would look bad if their corporate e-mail was available
for anyone to read, -- Jim Dose of Ritual Entertainment. 


pgpOScSnwIlfy.pgp
Description: PGP signature


problem of making php5

2004-05-30 Thread Hamilton
Hi,
I make php5 under FreeBSD release 5.2. I update the ports-databases to reach the 
version 1.5 for firebird. All is ok, but when run make install clean in 
/usr/ports/lang/php5, the error messages show as follow:

===   firebird-1.5 depends on executable: gmake - found
===   firebird-1.5 depends on file: /usr/local/bin/autoconf - found
===   firebird-1.5 depends on file: /usr/local/libexec/libtool13/libtool - found
===   firebird-1.5 depends on executable: bison - found
===  Configuring for firebird-1.5
cp: aclocal.m4: No such file or directory
*** Error code 1

Stop in /usr/ports/databases/firebird.

Please give me some advice.

Thanks

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


ifconfig in rc.conf network problems

2004-05-30 Thread Marco Beishuizen
I used to have two ifconfig lines in my rc.conf:
ifconfig_dc0=DHCP
ifconfig_dc0=media autoselect
The first to enable DHCP and the second to set my networkcard to 100BaseTX 
full duplex.

Now after an upgrade to 4.10-release this doesn't work anymore. When I put 
both lines in rc.conf only the second line is effective and overrides the 
first, but I want to use both DHCP and 100BaseTX. I need to use the media 
autoselect because the networkcard defaults to 10BaseT but I want to use 
100Mbit. When I don't use DHCP the network is unreachable. Pinging then 
gives a no route to host.

How do I solve this problem?
Marco
--
Sweater, n.:
A garment worn by a child when its mother feels chilly.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ifconfig in rc.conf network problems

2004-05-30 Thread Olaf Hoyer
On Sun, 30 May 2004, Marco Beishuizen wrote:


 I used to have two ifconfig lines in my rc.conf:
 ifconfig_dc0=DHCP
 ifconfig_dc0=media autoselect

 The first to enable DHCP and the second to set my networkcard to 100BaseTX
 full duplex.

 Now after an upgrade to 4.10-release this doesn't work anymore. When I put
 both lines in rc.conf only the second line is effective and overrides the
 first, but I want to use both DHCP and 100BaseTX. I need to use the media
 autoselect because the networkcard defaults to 10BaseT but I want to use
 100Mbit. When I don't use DHCP the network is unreachable. Pinging then
 gives a no route to host.


There are two solutions:

1) (Untested by me)

ifconfig_dc0=DHCP media 100baseTX

2) put the media change in a separate shell script, and throw it unter
/usr/local/etc/rc.d, so that it will be executed later on

something like:

cat dc0-speedchange.sh
#!/bin/sh
ifconfig dc0 media 100baseTX

HTH
Olaf
-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ifconfig in rc.conf network problems

2004-05-30 Thread Joost Bekkers
On Sun, May 30, 2004 at 11:34:43PM +0200, Olaf Hoyer wrote:
 
 2) put the media change in a separate shell script, and throw it unter
 /usr/local/etc/rc.d, so that it will be executed later on
 
 something like:
 
 cat dc0-speedchange.sh
 #!/bin/sh
 ifconfig dc0 media 100baseTX
 

You might want to put stuff like that in /etc/start_if.dc0
It gets executed just before the ip address is set or dhclient
is started.


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


Re: ifconfig in rc.conf network problems

2004-05-30 Thread Warren Block
On Sun, 30 May 2004, Marco Beishuizen wrote:
I used to have two ifconfig lines in my rc.conf:
ifconfig_dc0=DHCP
ifconfig_dc0=media autoselect
The first to enable DHCP and the second to set my networkcard to 100BaseTX 
full duplex.
Can rc.conf work that way?  rc.conf is just a shell script, and you're 
assigning values to variables, so the second declaration would overwrite 
the first.  As to why that would have worked for you...  After dhclient 
runs successfully once, some of the information is kept on disk 
(resolv.conf, default route).  Maybe it was enough?

Now after an upgrade to 4.10-release this doesn't work anymore. When I put 
both lines in rc.conf only the second line is effective and overrides the 
first, but I want to use both DHCP and 100BaseTX. I need to use the media 
autoselect because the networkcard defaults to 10BaseT but I want to use 
100Mbit. When I don't use DHCP the network is unreachable. Pinging then gives 
a no route to host.
There's an example of specifying media type in the dhclient.conf man 
page.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NFS server fail-over - how do you do it?

2004-05-30 Thread adp
One of my big problems right now is that if our primary NFS server goes down
then everything using that NFS mount locks up. If I change to the mounted
filesystem on the client then it stalls:

# pwd
/root
# cd /nfs-mount-dir
[locks]

If I try to reboot the reboot fails as well since FreeBSD can't unmount the
filesystem!?

How do I stop this from happening?

I am using this to mount NFS filesystems:

# mount -o bg,intr,soft ...

- Original Message -
From: adp [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, May 30, 2004 2:43 AM
Subject: NFS server fail-over - how do you do it?


 I am running a FreeBSD 4.9-REL NFS server. Once every several hours our
main
 NFS server replicates everything to a backup FreeBSD NFS server. We are
okay
 with the gap in time between replication. What we aren't sure about is how
 to automate the fail-over between the primary to the secondary NFS server.
 This is for a web cluster. Each client mounts several directories from the
 NFS server.

 Let's say that our primary NFS server dies and just goes away. What then?
 Are you periodically doing a mount or a file look-up of a mounted
filesystem
 to check if your NFS server died? If so are you just unmounting and
 remounting everything using the backup NFS server?

 Just curious how this problem is being solved.



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


pcmcia linksys wpc11 version 4

2004-05-30 Thread Paulo Roberto
Does anyone know if there is an ongoing project to support this driver?

thanks,

Paulo




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Serial Device Views

2004-05-30 Thread Murray Taylor
On Mon, 2004-05-31 at 03:15, Warren Block wrote:
 On Sun, 30 May 2004, Grant Peel wrote:
 
  I have a switch (managed), that I can use HyperTerminal (when connected to a
  windows box of course) to view the console.
 
  I seem to be going blind reading the docs on how to view the same console
  when I connect the Switch to the Serial (RS-232 port on any of my FreeBSD
  servers.
 
  Any hints, comments on how to set up freebsd to allow access to the switch
  console would be appreciated.
 
 cu -s9600 -l/dev/cuaa0
 
 Change the values if needed.  And the next question is How do I get out 
 of it? which is the key sequence ~. (tilde-dot).
 
 -Warren Block * Rapid City, South Dakota USA

Or use tip

Its like cu but more basic  no file transfers etc just keyboard to
serial port and return (I use it to manage networked serial servers via
comserv)

man tip 
and
man remote

-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems  Entertainment
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
M: +61 417 319 256
E: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com




This Email has been scanned for Viruses by MailMarshal.

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


Re: Policy filtering with postfix

2004-05-30 Thread Murray Taylor
On Sun, 2004-05-30 at 13:55, Robert Storey wrote:
 I'm not an expert on Postfix or any other MTA, but it might be that your
 logs are displaying headers or attachments with high-order ASCII text
 used by non-Roman scripts (Chinese, Korean and Japanese would be good
 examples).
 
 I have some files from Chinese Windows (Word docs and html) and when I
 list the filesnames at the console in FreeBSD, this is how they display:
 
 
 .doc
 .htm
 1?1.doc
 ??.doc
 ??? .doc
 ?  ??.doc
 ?? ?.doc
 ??.htm
 .doc
 ??.doc
 ??? ?.doc
 ??? ??.doc
 ???.doc
 ?.doc
 ??.doc
 .doc
 
 So maybe this is your problem.
 
 best regards,
 Robert
 
 On Sun, 30 May 2004 01:43:54 +0300
 Lefteris Tsintjelis [EMAIL PROTECTED] wrote:
 
  Hi,
  
  I am trying to setup policy but I keep on getting all these  in
  my log files.
  
  postfix/policy-spf[15755]: : testing: stripped
  [EMAIL PROTECTED], stripped [EMAIL PROTECTED]
  postfix/policy-spf[15755]: : SPF :
  smtp_comment=
  ,
  header_comment=??
  ?? postfix/policy-spf[15755]:
  decided action=DUNNO 
  
  Are all these  normal to show up in the maillog? Anyone has any
  idea what they are? I suspect it maybe an IPv6 problem. Can anyone
  please confirm it?
  
  Thank you,
  Lefteris

If you are using the header_check options in postfix the following rule

-8--
# This filter will block subjects that contain ISO specifications.
# If you use any languages other than English, 
#   you might need to comment this out.
/^Subject: .*\=\?ISO/   DISCARD ISO header
-8--

will discard emails that use other languages.
This could be what you are looking for if you need to manage content
that is in non-english character sets. You could look for the iso header
then sort/discard accordingly
-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems  Entertainment
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
M: +61 417 319 256
E: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com




This Email has been scanned for Viruses by MailMarshal.

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


RAID-5 Failure And Booting

2004-05-30 Thread Rishi Chopra
My RAID-5 array seems to have died this weekend.  After coming back from
a motorcycle-riding class, I noticed my internet connection was down.  I
hooked up a monitor and a keyboard to my FreeBSD box, and noticed that
the OS was no longer running, that the computer had rebooted, and that
the BIOS message was Insert Bootable Media In The Appropriate Drive.
My understanding is that this may be a result of a known bug (kernel 
panic in 5.1 causing MBR to overwrite itself).  I checked the
drives and all 4 are fine; the RAID BIOS also says the array is intact. 
 Unfortunately, Partition Magic and the FreeBSD install program both 
indicate that there are no slices or partitions allocated.

Can anyone suggest how I might go about editing the partition table 
(MBR) to reclaim the array?

--
   ._  .
   |\_|/__/|
 .--. / / \/ \  \
 | Rishi Chopra |/__| oo |__ \
 | http://www.ocf.berkeley.edu/~rchopra |   |/_ \_/\_/ _\ |
 `--'   | | () | ||
  \  \/\___/\__/  //
  \  (_/ ||
 |  ||
 |  ||\
  \   .//_/
   \__//
  __|| __||
 (()


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


Re: Can I specify the resolver timeout?

2004-05-30 Thread Giorgos Keramidas
On 2004-05-30 12:04, adp [EMAIL PROTECTED] wrote:
 Is there a way to override this timeout value? I know it is possible
 on other UNIX systems, such as AIX.

 Basically, we want to get a response within 3 seconds or the resolver
 should try the second DNS server.

Look at resolv.conf(5).  More specifically at the options timeout option.

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


FreeBSD

2004-05-30 Thread Yong Chu Eu
HI

Just wanna ask who expert in PIM6SN or PIM6

=
Happy and Healthy Always ! ^_^ !
My Homepage   : http://planet.time.net.my/sunwaycity/ceyong
My Buddhist Pages: http://planet.time.net.my/SunwayCity/ceyong/artikel.htm

Charity free donate Links :  
http://www.clearlandmines.com   
http://www.thehungersite.com 
http://www.freedonation.com   
http://www.stopthehunger.com
http://www.ecologyfund.com
http://www.care2.com
http://www.wildglobe.com
http://hungrychildren.com
http://www.buildaschool.org
http://www.feedsa.co.za
http://www.iwantcleanair.com




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can I specify the resolver timeout?

2004-05-30 Thread adp
I did in fact look at the manpage and did not find that option. I just
looked again and I still can't find it.

# man resolv.conf | grep -i timeout
# uname -r
4.10-BETA

Are you running FreeBSD 5.x perhaps?

If the option is available and my manpage is wrong then that's fine. Just
let me know. :)

- Original Message -
From: Giorgos Keramidas [EMAIL PROTECTED]
To: adp [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, May 30, 2004 10:12 PM
Subject: Re: Can I specify the resolver timeout?


 On 2004-05-30 12:04, adp [EMAIL PROTECTED] wrote:
  Is there a way to override this timeout value? I know it is possible
  on other UNIX systems, such as AIX.
 
  Basically, we want to get a response within 3 seconds or the resolver
  should try the second DNS server.

 Look at resolv.conf(5).  More specifically at the options timeout
option.

 - Giorgos



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


FreeBSD Multicast

2004-05-30 Thread Yong Chu Eu
HI

I have 1 FreeBSD 5.2.1 Multicast Router,How can i manually configure 2
access point(HOSTAP,Linux Based)to do subcription to multicast groups
which are based on Mobile node multicast address so that Access Point can
buffer multicast packet to be pass to mobile node if the mobile node roam
to that access point? sorry if it is a stupid question. Thanks!

=
Happy and Healthy Always ! ^_^ !
My Homepage   : http://planet.time.net.my/sunwaycity/ceyong
My Buddhist Pages: http://planet.time.net.my/SunwayCity/ceyong/artikel.htm

Charity free donate Links :  
http://www.clearlandmines.com   
http://www.thehungersite.com 
http://www.freedonation.com   
http://www.stopthehunger.com
http://www.ecologyfund.com
http://www.care2.com
http://www.wildglobe.com
http://hungrychildren.com
http://www.buildaschool.org
http://www.feedsa.co.za
http://www.iwantcleanair.com




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can I specify the resolver timeout?

2004-05-30 Thread Giorgos Keramidas
On 2004-05-30 22:26, adp [EMAIL PROTECTED] wrote:
Giorgos Keramidas [EMAIL PROTECTED] wrote:
On 2004-05-30 12:04, adp [EMAIL PROTECTED] wrote:
 Is there a way to override this timeout value? I know it is possible
 on other UNIX systems, such as AIX.

 Basically, we want to get a response within 3 seconds or the resolver
 should try the second DNS server.

 Look at resolv.conf(5).  More specifically at the options timeout option.

 I did in fact look at the manpage and did not find that option. I just
 looked again and I still can't find it.

 # man resolv.conf | grep -i timeout
 # uname -r
 4.10-BETA

 Are you running FreeBSD 5.x perhaps?

 If the option is available and my manpage is wrong then that's fine.
 Just let me know. :)

Hmmm, I *am* running 5.X.  Looking at the manpage source I see that this
option's missing from the 4.X sources :(

- Giorgos

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


3Com 3c905B-TX Fast EtherLink XL Packet Loss

2004-05-30 Thread Technical Director

Hello,

I have the following:

4.10 - Stable
PIII 1000MHz
3Com 3c905B-TX showing up as xl0

plugged in using a etl certified (whooie) cat-5e to:

Linksys EtherFast 4116

Using ping -f /{some address}/, I've noticed at these configured speeds
the following:

10baseT/UTP half-duplex == 11% packet loss
10baseT/UTP full-duplex == 30% packet loss
100baseTX half-duplex == 70-80% packet loss
100baseTX full-duplex == 95-99% packet loss

Looking back at some older posts I see that this card seemed to have some
problems, I was hoping though that someone had a idea or suggestion to get
this card to go a tad bit faster.

I have tried using media autoselect to which it goes to 100baseTX
full-duplex. Unfortunately the card/switch don't talk like lovers after
the first autonegotiation.

Thanks!

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