Re: FreeBSD and NetZero

2004-11-25 Thread Doug Hardie
On Nov 24, 2004, at 23:23, Ted Mittelstaedt wrote:
They are called dialup accellerators, and an entire industry has grown
up to make and sell these programs, with the sole purpose of shagging
money out of stupid people who run ISP's and don't understand you 
cannot
compress jpgs, zips, .mp3s and other precompressed data that people
download.
You might want to try one first before making those statements.  I run 
an ISP that makes SlipStream available for our users who want it.  We 
find that it does make improvements.  However, the amount of 
improvement is dependent on the settings you configure.  JPGs etc can 
be easily compressed.  You re-encode the JPG image using a lower 
quality setting.  You can achieve significant download time savings 
that way.  SlipStream lets to select the image quality setting to give 
the quality/improvement you want for initial image viewing.  You can 
always reload the original image quality then if you need it.  
SlipStream also uses a newer compression algorithm than those currently 
used by PPP.  Its not clear just how much more effective this is as its 
quite difficult to measure.

SlipStream is not for everyone.  There are other issues where its not 
totally transparent and it causes issues with some internet services.  
However, when used properly you can achive significant improvements in 
download times.

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


Re: DVD burner error

2004-11-25 Thread Edvard Fagerholm
On Wed, Nov 24, 2004 at 05:24:36PM -0600, Andrew L. Gould wrote:
 On Wednesday 24 November 2004 05:02 pm, Edvard Fagerholm wrote:
  On Wed, Nov 24, 2004 at 11:27:03PM +0200, Edvard Fagerholm wrote:
   Hello!
  
   I get sometimes the following error when I burn DVDs. Actually it
   happens more often than not... When burning a DVD with growisofs,
   burning stops with the following message:
  
   acd0 WARNING - removed from configuration
  
   :-( unable to [EMAIL PROTECTED]: Input/output error
  
   builtin_dd: 1028432*2KB out @ average 3.5x1385KBps
  
   :-( write failed: Input/output error
  
   /dev/pass0: flushing cache
   (cd0:ata1:0:0:0): lost device
   (probe0:ata1:0:0:0): Lost target 0???
  
   :-( unable to FLUSH CACHE: Input/output error
   :-( unable to SYNCHRONOUS FLUSH CACHE: Input/output error
  
   (cd0:ata1:0:0:0): removing device entry
  
   The funny thing is that this seems to be very file dependent. If I
   create an ISO it might work fine and I can burn it many times with
   no failures. However, some files always fail. With burncd I can
   burn every file, but fixating doesn't work. The error message I get
   with burncd is TEST_UNIT_READY Illegal request. I can get the exact
   data later (i.e. the next time I want to destroy yet another DVD).
  
   My DVD drive is an LG GSA-4160B
  
   Regards,
   Edvard
 
  Ok, I forgot to add that I'm running FreeBSD 5.3R. I also tried to
  use burncd to get the error message I mentioned in my earlier mail,
  but this time I got a kernel panic instead. I didn't see exactly what
  happened, but when I returned to the computer I saw this:
 
  burncd: ioctl(CDRIOCSETBLOCKSIZE): Device not configured
  burncd: ioctl(CDRIOCSETBLOCKSIZE): Device not configured
  burncd: ioctl(CDRIOCSETBLOCKSIZE): Device not configured
  ...
  burncd: ioctl(CDRIOCSETBLOCKSIZE): Device not configured
 
  Fatal trap 12: page fault while in kernel mode
  fault virtual address   = 0x0
  fault code  = supervisor read, page not present
  instruction pointer = 0x8:0xc0440470
  stack pointer   = 0x10:0xd4030bfc
  frame pointer   = 0x10:0xd4030c08
  code segment= base 0x0, limit 0x, type 0x1b
  = DPL 0, pres 1, def32 1, gran 1
  processor eflags= interrupt enabled, resume, IOPL = 0
  current process = 2 (g_event)
  trap number = 12
  panic: page fault
 
  I'm happy to provide extra information. I could look up the offending
  code with the kernel debugger tomorrow (it's 1AM, so I don't feel
  like it now).
 
  dmesg output as attachment.
 
  - edvard
 
 See the following links regarding burning cd's and dvd's.  With a DVD 
 burner, you need to add atapicam to the your kernel.  The use of 
 atapicam will also mean, however, that you will need to burn cd's using 
 cdrecord rather than burncd.
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-dvds.html
 
 Best of luck,
 
 Andrew Gould

I have atapicam installed. If you check my previous mail, you'll see that I was
using growisofs and all errors had something to do with /dev/cd0 and
/dev/pass0. Those are the atapicam devices. I tried to use burncd, because
atapicam burning was failing.

I already read the handbook when I installed the dvd burner and it has no
information that could be to any help regarding this problem.

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


Re: 5.3 on Intel 386 ?

2004-11-25 Thread Rob
Scott Long wrote:
Rob wrote:
Wilko Bulte wrote:
On Thu, Nov 25, 2004 at 04:02:28PM +0900, Rob wrote..
Hi,
I thought 386 support had been removed since 5.X. But
http://www.freebsd.org/releases/5.3R/installation-i386.html
says:
 1.2 Hardware Requirements
 FreeBSD for the i386 requires a 486 or better processor to install
 and run (although FreeBSD can run on 386 processors with a custom
 kernel)
What does this mean?

One thing you need on the target system (IIRC..) is a FPU. 

So?
The hardware requirements state FreeBSD can run on 386 processors

The GENERIC kernel that is shipped with FreeBSD will not boot on an 
80386 processor, period.

Can I induce an FPU into my system by customizing my kernel?

You'll need an FPU and a custom kernel that is compiled with the
CPU_I386 option.
I'm not an expert here, but I found this:
   80386SX = 386 w/o FPU
   80386DX = 386 w/ FPU
Should instead, the Hardware Requirements for 5.3 then mention
this:
  ...(although FreeBSD can run on 80386DX processors...
to be more precise, to avoid confusion/frustration for 80386SX
owners?
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Solved: Failure to initialise network infterface after pxeboot

2004-11-25 Thread Erik Norgaard
Error in the memory file system caused the problem.
Cheers, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: securing mailserver address

2004-11-25 Thread Martin Hepworth
for virus scanning you need something like ClamAV, amavis is wrapper 
application that can call anti-virus programs AFAIK.

Another wrapper program is MailScanner, that is widely used by many 
people including me..

--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300
Olivier Nicole wrote:
Hi,

Good Day can anyone help give me documentations about
on how to filter/stop  secure, on using my own email
address as spam.

Your question is unclear to me.
To filter spam, I'd recommend SpamAssassin (www.spamassassin.org)
To filter viruses (is that what you mean by secure) you could look
at Amavis (www.amavis.org)
Olivier
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.
**
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DVD burner error

2004-11-25 Thread cpghost
On Wed, Nov 24, 2004 at 10:21:32PM -0600, Andrew L. Gould wrote:
 On Wednesday 24 November 2004 05:38 pm, [EMAIL PROTECTED] wrote:
  On Wed, Nov 24, 2004 at 05:24:36PM -0600, Andrew L. Gould wrote:
   See the following links regarding burning cd's and dvd's.  With a
   DVD burner, you need to add atapicam to the your kernel.  The use
   of atapicam will also mean, however, that you will need to burn
   cd's using cdrecord rather than burncd.
 
  Is it absolutely necessary to use cdrecord once atapicam is in the
  kernel? I'm using
# growisofs -Z /dev/cd0 -R -J /path/to/files
  for burning dvds and
# burncd -f /dev/acd0 -s 4 data /path/to/isofile fixate
  for burning cds interchangeably without problems.
 
  At least, no problems cropped up yet.
 
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-
  cds.html
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-
  dvds.html
 
  Thanks,
  cpghost.
 
 Based upon your experience, the change to cdrecord would appear to be 
 optional.  Can you still mount /dev/acd0 to /cdrom?

Yes, /dev/acd0 and /dev/cd0 are both fully functional.

 Andrew Gould

Thanks,
cpghost.

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


Postfix/mutt/nfs @_HOSTNAME_

2004-11-25 Thread Glen Smith
Anytime I send email the recipient email looks like this:

[EMAIL PROTECTED]

I'm using a central maildir using NFS and mutt as my email client. If
I send mail from the server I don't have the problem only when I send
it from the client/NFS machine. Anybody have a clue?

Thanks

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


Re: 5.3 on Intel 386 ?

2004-11-25 Thread Nikolas Britton
Rob wrote:
Scott Long wrote:
Rob wrote:
Wilko Bulte wrote:
On Thu, Nov 25, 2004 at 04:02:28PM +0900, Rob wrote..
Hi,
I thought 386 support had been removed since 5.X. But
http://www.freebsd.org/releases/5.3R/installation-i386.html
says:
 1.2 Hardware Requirements
 FreeBSD for the i386 requires a 486 or better processor to install
 and run (although FreeBSD can run on 386 processors with a custom
 kernel)
What does this mean?


One thing you need on the target system (IIRC..) is a FPU. 


So?
The hardware requirements state FreeBSD can run on 386 processors

The GENERIC kernel that is shipped with FreeBSD will not boot on an 
80386 processor, period.

Can I induce an FPU into my system by customizing my kernel?

You'll need an FPU and a custom kernel that is compiled with the
CPU_I386 option.

I'm not an expert here, but I found this:
   80386SX = 386 w/o FPU
   80386DX = 386 w/ FPU
Should instead, the Hardware Requirements for 5.3 then mention
this:
  ...(although FreeBSD can run on 80386DX processors...
to be more precise, to avoid confusion/frustration for 80386SX
owners?

LMAO, I have a handful of i80386DX, 386SX/387s, even a few 286's + 
mainboards and a crap load of 30pin and 72pin SIMMs if someone want to 
upgrade, if you can't find an old Pentium I / 486DX4 systems in the 
garbage there's something wrong with you.

But seriously... There's still very good uses for these old timers in 
embedded control systems, routers and such... I WISH the mainboard 
manufacturers would make new mini-ITX, FlexATX, and MicroATX format 
mainboards and chipsets for these old guys, yes really!!!

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


Help...am I being hacked?

2004-11-25 Thread Dino Vliet
Hi all,

I'm using freebsd 4.10 on my laptop and I was browsing
my filesystem and looking at some log files, when I
stumbled into the file dmesg.yesterday in /var/log/

The contents of this file worried me. Take a look at
the last lines of it:

Connection attempt to TCP 192.168.1.101:5554 from
220.147.188.223:4970 flags:0x02
Connection attempt to TCP 192.168.1.101:9898 from
220.147.188.223:1288 flags:0x02
Connection attempt to TCP 192.168.1.101:21 from
168.126.102.33:57216 flags:0x02
Connection attempt to UDP 192.168.1.101:1026 from
222.88.173.5:31889
Connection attempt to TCP 192.168.1.101:9898 from
67.1.4.194:3161 flags:0x02

But my IP on this machine starts with 130.

But I recognize these IP's (192.168.1.101), because at
home I'm using a e-tech router and it assigns me
through DHCP 192.168.1.* as ip address every time I
connect my laptop with this. At the campus, I'm also
using dhcp to connect to the network. However, lately
I haven't used my router at home and was only
connecting through the network at the campus. There I
get the ip address 130.37.28.112. 

I have removed the old dhcp.leases in /var/db that had
the information of my e-tech router.

I am using ipfw too now, but still it would be
convenient to know where to look for hack attempts and
look for log files which give information about
connection attempts from outside. 

Thanks in advance
Dino Vliet 



__ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Free-BSD FTP Passive Ports?

2004-11-25 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 25 November 2004 04:24, robg wrote:
 Hi:

 I'm running the built-in FTP program in FreeBSD, but I can't figure
 out how to specify passive ports.  Could someone point me in the right
 direction

Do you mean ftpd - the ftp-server? Ftpd accepts option -U to change data 
portrange, but you need to mess around with the portrange sysctls. For more 
information please refer to 'man 8 ftpd' and 'man 4 ip'. 

Cheers,
ch

- -- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBpakX09WjGjvKU74RAjRiAJ4rFiXGBmc8/weSWKvWpQf3xQlcOACggYDw
YFrh4swgFoGqcBgdIYrRnXw=
=0mmh
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Don't know what else to do - NetGEAR WG311 54Mbps PCI card not recognized

2004-11-25 Thread Peter Risdon
Dundar Turker wrote:
Hi There,
I installed FreeBSD 5.3 from CD and later downloaded RELENG_5_3 from a FreeBSD CVS site, then added ath and ath_hal as devices in the kernel configuration file. I generated the new kernel and rebooted the machine with it successfully.  However, still I cannot get the kernel to recognize my WG311 NetGEAR PCI card.  I searched the net for possible solutions people provided but found none... There are a number of people repoting the same driver (or configuration) problem but there is no answer I could find. 

I am very desperate now and not sure where to go from here...  Could you please 
help to get this wireless network adapter to work. I looked into the output 
from dmesg and there is not even a word to show it was seen by the kernel.
This is becoming a FAQ.
The chipset changed in midstream from atheros to Texas Instruments. You 
need to use the NDIS compatibility stuff in 5.3 to make this work.

It's very annoying.
Peter.

--
the circle squared
network systems and software
http://www.circlesquared.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Postfix/mutt/nfs @_HOSTNAME_

2004-11-25 Thread Glen Smith
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi freebsd-questions

On Thu, 25 Nov 2004, Glen Smith wrote:

 Anytime I send email the recipient email looks like this:
 
 [EMAIL PROTECTED]
 
 I'm using a central maildir using NFS and mutt as my email client. If
 I send mail from the server I don't have the problem only when I send
 it from the client/NFS machine. Anybody have a clue?
 
 Thanks
 
 Glen

Try setting the 'ssmtp.conf' on the client machine ya moron. Maybe try
getting some sleep too.

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

iD8DBQFBpa4a0820Han9fTERAmuwAJ49tjr+PDVWjDQWx1JLkScFMHgE8wCeJBnO
VXBXATtOkoWf3QHALZlqiWk=
=f0mq
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: md5 problems

2004-11-25 Thread Tarc
On Fri, Oct 15, 2004 at 11:31:50AM +0100, Xian wrote:
 I am trying to compile a program using md5 and I had some problems. So I made 
 a test program to see if I was using it properly, and it still doesn't work. 
 ...
 The problem is it won't compile giving:
 [EMAIL PROTECTED]:~/devel] %g++ md5.cpp -o md5
 /tmp/cc8WdTS0.o: In function `main':
 /tmp/cc8WdTS0.o(.text+0x57): undefined reference to `MD5Data'
 
 It looks like I am missing a .o file or something. I am reasonably new to C++ 
 so any kind of help will be much appreciated.
You forget add the libmd with compilation (see manuals)
try
%g++ md5.cpp -o md5 -lmd
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


what is the bsd fs called outside the bsd sphere?

2004-11-25 Thread Richard Williamson
Hello all,

I have a 32Mb CF card, formatted with the native BSD fs type (ie, it
isn't fat16 or fat32).  I've dd'd a raw image off the card.
Using FreeBSD, I can clone the flash card using for example
dd if=./sandisk.32.img of=/dev/rad8 

I would like to be able to flash a card using a different 
system (MacOS X or Linux).  Getting sandisk.32.img to the
other machine is not a problem.  I'm assuming that the 
dd is not going to be a problem either.  The question I
have is about mounting the flash card on the other system

What would the BSD filesystem be called?

From the linux man page for mount:
   The  argument  following the -t is used to indicate
   the file system type.  The file system types  which
   are  currently  supported  are: adfs, affs, autofs,
   coda, coherent, cramfs,  devpts,  efs,  ext,  ext2,
   ext3, hfs, hpfs, iso9660, jfs, minix, msdos, ncpfs,
   nfs, ntfs,  proc,  qnx4,  reiserfs,  romfs,  smbfs,
   sysv,  tmpfs,  udf,  ufs, umsdos, vfat, xenix, xfs,
   xiafs.

From the MacOS X /sbin/mount_*, I see afp, cd9660, cddafs,
   devfs, fdesc, ftp, hfs, msdos, nfs, ntfs, smbfs, synthfs,
   udf, volfs, webdav

I've tried to mount it using ufs (the default for MacOS 
/bin/mount) and been given 'invalid super block'.

Any suggestions?

Regards,
Richard


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


Re: 5.3 on Intel 386 ?

2004-11-25 Thread Erik Trulsson
On Thu, Nov 25, 2004 at 05:20:02PM +0900, Rob wrote:
 Scott Long wrote:
 Rob wrote:
 
 Wilko Bulte wrote:
 
 On Thu, Nov 25, 2004 at 04:02:28PM +0900, Rob wrote..
 
 Hi,
 
 I thought 386 support had been removed since 5.X. But
 http://www.freebsd.org/releases/5.3R/installation-i386.html
 says:
 
  1.2 Hardware Requirements
  FreeBSD for the i386 requires a 486 or better processor to install
  and run (although FreeBSD can run on 386 processors with a custom
  kernel)
 
 What does this mean?
 
 
 
 One thing you need on the target system (IIRC..) is a FPU. 
 
 
 
 So?
 The hardware requirements state FreeBSD can run on 386 processors
 
 
 The GENERIC kernel that is shipped with FreeBSD will not boot on an 
 80386 processor, period.
 
 Can I induce an FPU into my system by customizing my kernel?
 
 
 You'll need an FPU and a custom kernel that is compiled with the
 CPU_I386 option.
 
 I'm not an expert here, but I found this:
 
80386SX = 386 w/o FPU
80386DX = 386 w/ FPU

That is wrong. Neither the 80386SX nor the 80386DX have an FPU.
The difference between them is that while the DX has a full 32-bit
databus and addressbus, the SX only has a 16-bit databus and a 24-bit
databus. This difference is not visible to the programmer but only to
the hardware designer, i.e. all programs that run on an 80386DX will run
on an 80386SX as well.
For both of them you can add an external FPU (80387DX/80387SX)

You might have been thinking of the 80486 where it is indeed the case
that
  80486SX = 486 w/o FPU
  80486DX = 486 w/  FPU
If you have an 80486SX you can add an 80487SX to get an FPU.
FreeBSD 5.3 requires an hardware FPU to run.


 
 Should instead, the Hardware Requirements for 5.3 then mention
 this:
 
   ...(although FreeBSD can run on 80386DX processors...
 
 to be more precise, to avoid confusion/frustration for 80386SX
 owners?

No.  FreeBSD 5.3 should be able to run on both 80386DX and 80386SX
processors *IF* you have an external FPU.  You will also need a
custom-compiled kernel with support for 80386. (The default GENERIC
kernel has 80386 support disabled since having it enabled makes it run
slower on more modern processors. 


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


Re: securing mailserver address

2004-11-25 Thread Mike Woods
Martin Hepworth wrote:
for virus scanning you need something like ClamAV, amavis is wrapper 
application that can call anti-virus programs AFAIK.
Amavis is a combined spam/virus scanner, it uses external programs for 
this and is able to use multiple programs also so you can say run sophos
AND clamAV for virus scanning while using spamassassin AND dcc for spam 
filtering, works very very well in my experience.

I used it both on my personal mail server and the student mail server 
there at work (along with mimedefang for attachment pruning and a boiler 
plate).

I would highly recomend it.
-
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: what is the bsd fs called outside the bsd sphere?

2004-11-25 Thread Giorgos Keramidas
On 2004-11-25 11:12, Richard Williamson [EMAIL PROTECTED] wrote:

 I would like to be able to flash a card using a different system
 (MacOS X or Linux).  Getting sandisk.32.img to the other machine is
 not a problem.  I'm assuming that the dd is not going to be a
 problem either.  The question I have is about mounting the flash
 card on the other system

 What would the BSD filesystem be called?

`ufs' most of the time.

 From the linux man page for mount:
The  argument  following the -t is used to indicate the file
system type.  The file system types  which are  currently
supported  are: adfs, affs, autofs, coda, coherent, cramfs,
devpts,  efs,  ext,  ext2, ext3, hfs, hpfs, iso9660, jfs, minix,
msdos, ncpfs, nfs, ntfs,  proc,  qnx4,  reiserfs,  romfs,  smbfs,
sysv,  tmpfs,  udf,  ufs, umsdos, vfat, xenix, xfs, xiafs.

 From the MacOS X /sbin/mount_*, I see afp, cd9660, cddafs,
devfs, fdesc, ftp, hfs, msdos, nfs, ntfs, smbfs, synthfs, udf,
volfs, webdav

 I've tried to mount it using ufs (the default for MacOS /bin/mount)
 and been given 'invalid super block'.

 Any suggestions?

Use the -O 1 option of newfs when you create the filesystem of the
flash card on FreeBSD.  Otherwise, it may be newfs'd to UFS2 which
the rest of the world doesn't really grok, yet.

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


Re: what is the bsd fs called outside the bsd sphere?

2004-11-25 Thread Richard Williamson
At 11:20 25/11/2004, you wrote:

Use the -O 1 option of newfs when you create the filesystem of the
flash card on FreeBSD.  Otherwise, it may be newfs'd to UFS2 which
the rest of the world doesn't really grok, yet.

_that's_ where I probably went wrong.

Ok, I'll recreate the original flash image to ensure it is -O 1,
and then try again.

Thanks!

Richard 


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


Re: Finding options for ports

2004-11-25 Thread David Landgren
[cc list trimmed]
Lowell Gilbert wrote:
Paul Schmehl [EMAIL PROTECTED] writes:

--On Monday, November 15, 2004 06:46:42 PM -0600 Conrad J. Sabatier
[EMAIL PROTECTED] wrote:
This is a useless use of cat.  You could accomplish the same thing
with:
grep WITH Makefile
When there are ten different ways to skin a cat, what makes one way
inherently better than another?

Efficiency.
Using cat(1) spins off a subprocess.
http://sial.org/howto/shell/useless-cat/
ooh, just saw this message while catching up on the list.
rant
This is a pet peeve of mine. Yeah, sure it spins off another 
sub-process, but who's counting?

A more important issue is that of comfort. Your comfort. If you have a 
number of strings that you want to grep for, it's much more cumbersome 
to work back past the files at the end of the command line to change the 
grep target string.

grep foo somefile
grep bar somefile
Assuming bask, you have to step over 'somefile' with some whacky Esc-B 
combo in order to ^W zap the 'foo' field. Contrast this with:

cat somefile | grep foo
cat somefile | grep bar
In this second case, you can recall the command and ^W to zap the token 
immediately, and replace it with bar. Much less typing effort. The 
different strings you grep with, the more you save. And then once you've 
grepped what you want, you might then replace the grep by sed, awk, wc 
or whatever. (Yes, I know about ^old^new, but that is even more 
cumbersome that Esc-B).

Let the damned computer burn another process. That's what it's good at!
/rant
David
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FreeBSD and NetZero

2004-11-25 Thread Ted Mittelstaedt


 -Original Message-
 From: Doug Hardie [mailto:[EMAIL PROTECTED]
 Sent: Thursday, November 25, 2004 12:15 AM
 To: Ted Mittelstaedt
 Cc: [EMAIL PROTECTED]; Steel City Phantom
 Subject: Re: FreeBSD and NetZero



 On Nov 24, 2004, at 23:23, Ted Mittelstaedt wrote:

 
  They are called dialup accellerators, and an entire industry has grown
  up to make and sell these programs, with the sole purpose of shagging
  money out of stupid people who run ISP's and don't understand you
  cannot
  compress jpgs, zips, .mp3s and other precompressed data that people
  download.

 You might want to try one first before making those statements.  I run
 an ISP that makes SlipStream available for our users who want it.  We
 find that it does make improvements.  However, the amount of
 improvement is dependent on the settings you configure.  JPGs etc can
 be easily compressed.  You re-encode the JPG image using a lower
 quality setting.  You can achieve significant download time savings
 that way.

Well, our experience is that most of the people pulling lots of images
are pulling porno off the web so I don't think they would want a worse
quality
image.  And a lot of them are sucking it off the news server, I suspect
that UUENCODED jpgs are going to be treated as random text, not go
through the re-encoding process.

I suppose this might help with sites like cnn.com which are heavy on
the graphics, and most of the graphics are useless and don't need to be
high-res.

 SlipStream lets to select the image quality setting to give
 the quality/improvement you want for initial image viewing.  You can
 always reload the original image quality then if you need it.
 SlipStream also uses a newer compression algorithm than those currently
 used by PPP.  Its not clear just how much more effective this is as its
 quite difficult to measure.


Most modems out of the box have v.42bis turned on, so you really get
no help from the ppp compression algorithims.  In fact our tests have
shown marked improvements when the user deselects hardware compression
and just leaves the software PPP compression going.  This is expically
true of softmodems for obvious reasons.  The big problem though is that
many modems are really brain dead and when you turn off hardware
compression the idiot things will connect without error correction as
well.  The decent modems like the USRs won't, but people wanting dialup
nowadays seem to buy the cheapo $9.95 softmodems or use the modems
on the motherboards which are softmodems.  I've even lately seen
USR 56k external modems for sale in the bins at Goodwill for $8 if
you can believe how idiot some people are.  (dump one of these in
favor of a new winmodem?)

Also, as more providers flash their terminal servers for V92 and
start supporting V.44 I suspect that the Slipstream algorithm will
be no better.

 SlipStream is not for everyone.  There are other issues where its not
 totally transparent and it causes issues with some internet services.
 However, when used properly you can achive significant improvements in
 download times.

The problem is that used properly is a very narrow definition - text
only sites without hardware compression on the modem, and the willingness
to take a degraded graphic.  And not mentioned is that a Pentium 200 isn't
going to have the CPU power to run an accellerator plus a softmodem
plus the pig that is Internet Exploder nowadays.  So you can just send
anything purchased before 1998 on it's way.  Most of our dialup customers
who are with dialup by choice (as opposed to being stuck with it because
they don't DSL qualify and can't get cable and cannot justify an $80
a month ISDN line) won't let a nickle through without rubbing off the face,
if you get my meaning, and tend towards older computers or systems that
power users have discarded.  And to be fair a lot of them are older on
fixed incomes, ie: retired, and only run the Internet to communicate
with the family.  I feel it's raising false hopes to tell that crowd
that an accellerator is going to run their stuff at 5 times faster like
they do in the TV ads.  And their TV ads don't say what the disclaimer
says, specifically Transmission of files including, without limitation,
streaming audio or video, digital photographs, MP3 or other music files,
executable files and other downloads, is not faster using NetZero HiSpeed
than with standard dial-up service.

This kind of thing just delays people from taking the plunge into DSL
or cable.  And to be perfectly honest about it, even though we ourselves
don't sell cable and I cannot stand the cable companies, many people
out there with a land POTS line, a cell phone, cable TV with HBO and
a selection of expensive movie channels, and a dialup ISP, would find
that if they ditched their ISP and their land phone line, got a slightly
more expensive cellular plan and used their cell phone as their main
phone number, and got cable Internet added to their cable bill, they
would be at the same price 

Building base system with CFLAGS=-static

2004-11-25 Thread Erik Norgaard
Hi,
I am trying to build the base system statically linked to create an 
installation root file system.

I have tried make CFLAGS=-static buildworld, which fails. Building 
each program separately, in most cases it works with make 
CFLAGS=-static but some like systinstall, sh, csh and init fails.

What is the suggested method to create a static built base system?
Alternatively, how do I trace which libraries are used/needed?
Thanks, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Building base system with CFLAGS=-static

2004-11-25 Thread Erik Trulsson
On Thu, Nov 25, 2004 at 01:19:44PM +0100, Erik Norgaard wrote:
 Hi,
 
 I am trying to build the base system statically linked to create an 
 installation root file system.
 
 I have tried make CFLAGS=-static buildworld, which fails. Building 
 each program separately, in most cases it works with make 
 CFLAGS=-static but some like systinstall, sh, csh and init fails.
 
 What is the suggested method to create a static built base system?
 Alternatively, how do I trace which libraries are used/needed?

make NOSHARED=yes buildworld

should work fine for building a statically linked system.

(If you are using 4-stable you will probably have to apply the
following patch to make the world build correctly using NOSHARED=yes,
at least if you use NOPAM=yes.  No idea how it works if you compile
with PAM support which is the default.)

Index: usr.bin/fetch/Makefile
===
RCS file: /ncvs/src/usr.bin/fetch/Makefile,v
retrieving revision 1.3.6.4
diff -u -r1.3.6.4 Makefile
--- usr.bin/fetch/Makefile  9 Jan 2003 11:54:58 -   1.3.6.4
+++ usr.bin/fetch/Makefile  20 Nov 2003 16:59:18 -
@@ -6,8 +6,8 @@
 DPADD= ${LIBFETCH}
 LDADD= -lfetch
 .if !defined(NOCRYPT)  !defined(NOSECURE)  !defined(NO_OPENSSL)
-DPADD+=${LIBCRYPTO} ${LIBSSL}
-LDADD+=-lcrypto -lssl
+DPADD+=${LIBSSL} ${LIBCRYPTO}
+LDADD+=-lssl -lcrypto
 .endif
 
 .include bsd.prog.mk
Index: usr.sbin/rpc.statd/file.c
===
RCS file: /ncvs/src/usr.sbin/rpc.statd/file.c,v
retrieving revision 1.3
diff -u -r1.3 file.c
--- usr.sbin/rpc.statd/file.c   13 Oct 1997 11:13:18 -  1.3
+++ usr.sbin/rpc.statd/file.c   20 Nov 2003 18:53:24 -
@@ -207,28 +207,6 @@
   }
 }
 
-/* xdr_stat_chge --- */
-/*
-   Purpose:XDR-encode structure of type stat_chge
-   Returns:TRUE if successful
-   Notes:  This function is missing from librpcsvc, because the
-   sm_inter.x distributed by Sun omits the SM_NOTIFY
-   procedure used between co-operating statd's
-*/
-
-bool_t xdr_stat_chge(XDR *xdrs, stat_chge *objp)
-{
-  if (!xdr_string(xdrs, objp-mon_name, SM_MAXSTRLEN))
-  {
-return (FALSE);
-  }
-  if (!xdr_int(xdrs, objp-state))
-  {
-return (FALSE);
-  }
-  return (TRUE);
-}
-
 
 /* notify_one_host - */
 /*




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


Can I use mtools to access usb flash memory?

2004-11-25 Thread Choy Kho Yee
The title says it all.
Can I use mtools to access usb flash memory stick? So that I don't have 
to mount
it manually.
What do I need to configure if the answer to the above question is 
yes?

Thanks.
---
Choy Kho Yee
url: http://dotkoyi.infoseek.ne.jp/
blog: http://dotkoyi.blogspot.com/
Have you had your apple today?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Getting devfs to recognize a hotplug floppy

2004-11-25 Thread Patrick Bowen
The subject line just about says it all. I'm trying to learn how to get 
devfs to create an fd0 enty in /dev automatically when I plug a floppy 
drive into the serial port of a running Dell D600 laptop running 6.0 
current. I've looked at 'man devfs/devfs.conf/devfs.rules', searched the 
lists, searched the web, etc. this is either really simple, and I/m 
trying to make it complicated (probably), or no one else is trying to do 
this (probably not).

If someone can point me in the right direction, I'd appreciate it.
TIA,
Patrick
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: diskspace used on full install?

2004-11-25 Thread J.D. Bronson
At 09:34 PM 11/24/2004, you wrote:
The full output of mount(8) might be helpful to us on the list.
Also, for your own use, (as root) you might try:
# cd /
# du -hxm  | sort -n
Which should get you human readable output on the disk
usage of your root file system, without crossing mount points,
output in megabytes and sorted in order by size.  Might take
a moment to output it, though...

When I did the install I chose full developer and sources, but no windows.
(Its all command line and headless)
The disk space in use is fine...I just want to make sure that something I 
did didnt copy files from one spot on / to another spot on / . That 
happened before to me :)

Here is my entire df:
# df
Filesystem  1K-blocksUsed   Avail Capacity  Mounted on
/dev/da0s1a507630  106664  36035623%/
devfs   1   1   0   100%/dev
/dev/da0s1d   9420078 1192212 747426014%/usr
/dev/da0s1e   94200781468 8665004 0%/var
/dev/da0s1g   9420078  234754 8431718 3%/home
/dev/da0s1h   2892164   4 2660788 0%/scratch
and the output of the command you offered above is nice, but doesnt show 
anything worrysome as far as I can tell...

# du -hxm  | sort -n
1   ./.snap
1   ./bin
1   ./boot/defaults
1   ./boot/modules
1   ./cdrom
1   ./dev
1   ./dist
1   ./etc/X11
1   ./etc/bluetooth
1   ./etc/defaults
1   ./etc/gnats
1   ./etc/isdn
1   ./etc/mail/certs
1   ./etc/mtree
1   ./etc/ntp
1   ./etc/pam.d
1   ./etc/periodic
1   ./etc/periodic/daily
1   ./etc/periodic/monthly
1   ./etc/periodic/security
1   ./etc/periodic/weekly
1   ./etc/postfix/HTML/README
1   ./etc/postfix/README
1   ./etc/postfix/certs
1   ./etc/postfix/freemail
1   ./etc/ppp
1   ./etc/rc.d
1   ./etc/skel
1   ./etc/ssh
1   ./etc/ssh2
1   ./etc/ssh2/hostkeys
1   ./etc/ssh2/knownhosts
1   ./etc/ssh2/subconfig
1   ./etc/ssl
1   ./home
1   ./junk
1   ./lib/geom
1   ./libexec
1   ./mnt
1   ./mnta
1   ./mntd
1   ./mnte
1   ./mntf
1   ./mntg
1   ./mnth
1   ./proc
1   ./root
1   ./root/.ncftp
1   ./root/.ssh2
1  ./scratch
1   ./stand/etc
1   ./stand/etc/defaults
1   ./stand/help
1   ./tftp
1   ./tmp
1   ./usr
1   ./var
2   ./etc/mail
3   ./etc/postfix/HTML
3   ./stand
4   ./lib
4   ./rescue
4   ./sbin
5   ./etc/postfix
7   ./etc
17  ./boot/kernel
18  ./boot
38  .


--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


more on space used on /

2004-11-25 Thread J.D. Bronson
I found the problem. It was my fault.
One of my mount points actually was a directory that -had- stuff in it 
prior to mounting...

once I unmounted the point and then removed it and recreated it
all is well.
Thanks for the pointers guys.
 -JDB
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Deleting Extra Partitions installing a second FreeBSD

2004-11-25 Thread RW
On Wednesday 24 November 2004 03:11, Lucas Holt wrote:
...
   First, I want to delete the dell partition and merge it into the
 windows partition.  Are there any hurdles with freebsd in doing this?
 Do i need to change any boot config options for freebsd to find itself
 if I do this?

This will, of course, change the slice numbers for the rest of the disk. You 
can probably get away with editing fstab and checking loader.conf for any 
overrides with device names, but is it really worth it. Any partion editing 
carries the risk of corruption and this partition is just 1/2000 of the disk 
space.   

 Second, I'd like to install a second freebsd installation for
 development and testing purposes on the second hard drive (disk1).
 Most likely i'll install 5.3 and upgrade to 6-Current.  Are there any
 issues I should be aware of in booting off a second disk or with two
 copies of freebsd on the same system?

I did this recently when I installed 5.3 on a new slice, and it was entirely 
straightforward.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with creating home directories when creating users using pw under 5.2.1 Release i386

2004-11-25 Thread Olaf Greve
Hi guys,

I'm new to this list, so I hope I'm not flogging a dead horse here, but
after an upgrade from 5.1 Release to 5.2.1 Release (i386) I encountered
a weird thing: when being root, and creating users using the pw command
as follows:

pw useradd testusr -g testgrp -s /bin/sh

No home directory gets created (whereas a home directory was properly
created when doing this under 5.1 Release). Then, when I try to fix this
afterwards by doing:

pw usermod testusr -d /usr/home/testusr

I get the message:

pw: WARNING: home `/usr/home/testusr' does not exist

This, in itself, is already weird, of course. Manually creating the
directory /usr/home/testusr and then trying the pw command doesn't work
either (neither when the directory is owned by root, nor when it's owned
by testusr:testgrp) ?!?

More bizarrely so, when adding a user using sysinstall, it all works
fine. Go figure...?!?

Does anyone have any ideas?

Cheers!
Olafo

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


Re: Problem with creating home directories when creating users using pw under 5.2.1 Release i386

2004-11-25 Thread Dennis Koegel
On Thu, Nov 25, 2004 at 03:37:24PM +0100, Olaf Greve wrote:
 pw useradd testusr -g testgrp -s /bin/sh
 No home directory gets created

Give pw the -m option to instruct it to mkdir the home directory.

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


RE: Problem with creating home directories when creating usersusing pw under 5.2.1 Release i386

2004-11-25 Thread Olaf Greve
Hi,

 Give pw the -m option to instruct it to mkdir the home directory.

Tnx!

That works a charm! No idea how I could have missed that one, guess I'd
better RTFM somewhat better than I did...:P

Cheers!
Olafo

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


securelevel 2

2004-11-25 Thread J.D. Bronson
I want to make sure that this is the case...
When I am in kernel secure level '2' - I cannot even mount
a partiton on the second disk?
# mount /dev/da1s1d /mnt
Operation not permitted
I need to be able to mount partitions at times using my 2nd hard drive in 
the system...but unless I mount them at boot, I cant do this under level '2' ?

Is this expected?
thanks-

--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Error in ghostscript

2004-11-25 Thread Doug Van Allen
At least that is what I think.  Still trying to install KDE and got
the ghostscript configuration menu.  All I took out was the printer I
would not use.  Then I hit enter and it started to go.  This is the
error I got:

./src/gdev1256.c:294: warning: traditional C rejects ISO C style
function definitions
./src/gdev1256.c: at top level:
./src/gdev1256.c:306: warning: non-static declaration of
'lvga256_draw_line' follows static declaration
./src/gdev1256.c:79: warning: previous declaration of
'lvga256_draw_line' was here
./src/gdev1256.c: in function 'lvga256_draw_line':
./src/gdev1256.c:306: warning: traditional C rejects ISO C style
function definitions
./src/gdev1256.c:307: warning: implicit declaration of function 'gl_line'
gmake: *** [obj/gdevl256.o] Error 1
*** Error code 2

Stop in  /usr/ports/print/ghostscript-gnu.
*** Error code 1

Stop in /usr/ports/graphics/ImageMagick.
*** Error code 1

Stop in /usr/ports/editors/koffice-kde3.
*** Error code 1

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


Xorg/Modes issue

2004-11-25 Thread Jake Stride
I have tried googling around to find the answer to my query but seem 
unable to find the answers. I have followed the handbook guide on 
setting up X and can get everything working OK except for the screen 
resolution.

I have a dell optiplex with an intel 810 card and a iiyama e481s monitor 
that can do 1280x1024 however everything always comes up on the screen 
at 640x480 no matter what I seem to put in the xorg.conf file.

Can anyone point me in the right direction please. I have attached a 
copy of the config file I am using too and am currently runng the 5.3 
stable release.

Thanks
Jake
Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection
Section Files
RgbPath  /usr/X11R6/lib/X11/rgb
ModulePath   /usr/X11R6/lib/modules
FontPath /usr/X11R6/lib/X11/fonts/misc/
FontPath /usr/X11R6/lib/X11/fonts/TTF/
FontPath /usr/X11R6/lib/X11/fonts/Speedo/
FontPath /usr/X11R6/lib/X11/fonts/Type1/
FontPath /usr/X11R6/lib/X11/fonts/CID/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/
FontPath /usr/X11R6/lib/X11/fonts/100dpi/
EndSection
Section Module
Load  dbe
Load  dri
Load  extmod
Load  glx
Load  record
Load  xtrap
Load  freetype
Load  speedo
Load  type1
EndSection
Section InputDevice
Identifier  Keyboard0
Driver  keyboard
EndSection
Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
EndSection
Section Monitor
#DisplaySize  380   300 # mm
Identifier   Monitor0
VendorName   IVM
ModelNamePLE481
 ### Uncomment if you don't want to default to DDC:
#   HorizSync842216256.0 - 52.0
#   HorizSync24.0 - 83.0
#   VertRefresh  858928448.0 - 0.0
HorizSync79.9
VertRefresh  75
Option  DPMS
EndSection
Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option NoAccel # [bool]
#Option SWcursor# [bool]
#Option ColorKey# i
#Option CacheLines  # i
#Option Dac6Bit # [bool]
#Option DRI # [bool]
#Option NoDDC   # [bool]
#Option ShowCache   # [bool]
#Option XvMCSurfaces# i
#Option PageFlip# [bool]
Identifier  Card0
Driver  i810
VendorName  Intel Corp.
BoardName   82865G Integrated Graphics Device
BusID   PCI:0:2:0
EndSection
Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
SubSection Display
Viewport   0 0
Depth 24
Modes 1280x1024
EndSubSection
EndSection
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg/Modes issue

2004-11-25 Thread Adam Fabian
Looking at (and/or posting) /var/log/Xorg.0.log could be very
enlightening.

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


Re: Xorg/Modes issue

2004-11-25 Thread Jake Stride
Adam Fabian wrote:
Looking at (and/or posting) /var/log/Xorg.0.log could be very
enlightening.

Release Date: 18 December 2003
X Protocol Version 11, Revision 0, Release 6.7
Build Operating System: FreeBSD 5.3 i386 [ELF] 
Current Operating System: FreeBSD lancelot.corp.senokian.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386
Build Date: 16 October 2004
	Before reporting problems, check http://wiki.X.Org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Thu Nov 25 17:23:05 2004
(++) Using config file: xorg.conf.new
(==) ServerLayout X.org Configured
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device Card0
(**) |--Input Device Mouse0
(**) |--Input Device Keyboard0
(==) Keyboard: CustomKeycode disabled
(WW) `fonts.dir' not found (or not valid) in /usr/X11R6/lib/X11/fonts/Speedo/.
	Entry deleted from font path.
	(Run 'mkfontdir' on /usr/X11R6/lib/X11/fonts/Speedo/).
(WW) `fonts.dir' not found (or not valid) in /usr/X11R6/lib/X11/fonts/Type1/.
	Entry deleted from font path.
	(Run 'mkfontdir' on /usr/X11R6/lib/X11/fonts/Type1/).
(WW) `fonts.dir' not found (or not valid) in /usr/X11R6/lib/X11/fonts/CID/.
	Entry deleted from font path.
	(Run 'mkfontdir' on /usr/X11R6/lib/X11/fonts/CID/).
(**) FontPath set to /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
(**) RgbPath set to /usr/X11R6/lib/X11/rgb
(**) ModulePath set to /usr/X11R6/lib/modules
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.2
	X.Org Video Driver: 0.7
	X.Org XInput driver : 0.4
	X.Org Server Extension : 0.2
	X.Org Font Renderer : 0.4
(II) Loader running on freebsd
(II) LoadModule: bitmap
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor=X.Org Foundation
	compiled for 6.7.0, module version = 1.0.0
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: pcidata
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor=X.Org Foundation
	compiled for 6.7.0, module version = 1.0.0
	ABI class: X.Org Video Driver, version 0.7
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,2570 card 1028,0151 rev 02 class 06,00,00 hdr 00
(II) PCI: 00:02:0: chip 8086,2572 card 1028,0151 rev 02 class 03,00,00 hdr 00
(II) PCI: 00:1d:0: chip 8086,24d2 card 1028,0151 rev 02 class 0c,03,00 hdr 80
(II) PCI: 00:1d:1: chip 8086,24d4 card 1028,0151 rev 02 class 0c,03,00 hdr 00
(II) PCI: 00:1d:2: chip 8086,24d7 card 1028,0151 rev 02 class 0c,03,00 hdr 00
(II) PCI: 00:1d:3: chip 8086,24de card 1028,0151 rev 02 class 0c,03,00 hdr 00
(II) PCI: 00:1d:7: chip 8086,24dd card 1028,0151 rev 02 class 0c,03,20 hdr 00
(II) PCI: 00:1e:0: chip 8086,244e card , rev c2 class 06,04,00 hdr 01
(II) PCI: 00:1f:0: chip 8086,24d0 card , rev 02 class 06,01,00 hdr 80
(II) PCI: 00:1f:1: chip 8086,24db card 1028,0151 rev 02 class 01,01,8a hdr 00
(II) PCI: 00:1f:2: chip 8086,24d1 card 1028,0151 rev 02 class 01,01,8f hdr 00
(II) PCI: 00:1f:3: chip 8086,24d3 card 1028,0151 rev 02 class 0c,05,00 hdr 00
(II) PCI: 00:1f:5: chip 8086,24d5 card 1028,0151 rev 02 class 04,01,00 hdr 00
(II) PCI: 01:0c:0: chip 8086,100e card 1028,0151 rev 02 class 02,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
	[0] -1	0	0x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
	[0] -1	0	0x - 0x (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
	[0] -1	0	0x - 0x (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:30:0), (0,1,1), BCTRL: 0x0002 (VGA_EN is cleared)
(II) Bus 1 I/O range:
	[0] -1	0	0xd000 - 0xdfff (0x1000) IX[B]
(II) Bus 1 non-prefetchable memory range:
	[0] -1	0	0xfea0 - 0xfeaf (0x10) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:31:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(0:2:0) Intel Corp. 82865G Integrated Graphics Device rev 2, Mem @ 0xe800/27, 0xfeb8/19, I/O @ 0xed98/3
(II) Addressable bus resource ranges are
	[0] -1	0	0x - 0x (0x0) MX[B]
	[1] -1	0	0x - 0x (0x1) IX[B]
(II) OS-reported resource ranges:
	[0] -1	0	0xffe0 - 0x (0x20) MX[B](B)
	[1] -1	0	0x0010 - 0x3fff (0x3ff0) MX[B]E(B)
	[2] -1	0	0x000f - 0x000f (0x1) 

Re: DVD burner error

2004-11-25 Thread Andrew L. Gould
On Thursday 25 November 2004 02:19 am, Edvard Fagerholm wrote:
 On Wed, Nov 24, 2004 at 05:24:36PM -0600, Andrew L. Gould wrote:
  On Wednesday 24 November 2004 05:02 pm, Edvard Fagerholm wrote:
   On Wed, Nov 24, 2004 at 11:27:03PM +0200, Edvard Fagerholm wrote:
Hello!
   
I get sometimes the following error when I burn DVDs. Actually
it happens more often than not... When burning a DVD with
growisofs, burning stops with the following message:
   
acd0 WARNING - removed from configuration
   
:-( unable to [EMAIL PROTECTED]: Input/output error
   
builtin_dd: 1028432*2KB out @ average 3.5x1385KBps
   
:-( write failed: Input/output error
   
/dev/pass0: flushing cache
(cd0:ata1:0:0:0): lost device
(probe0:ata1:0:0:0): Lost target 0???
   
:-( unable to FLUSH CACHE: Input/output error
:-( unable to SYNCHRONOUS FLUSH CACHE: Input/output error
   
(cd0:ata1:0:0:0): removing device entry
   
The funny thing is that this seems to be very file dependent.
If I create an ISO it might work fine and I can burn it many
times with no failures. However, some files always fail. With
burncd I can burn every file, but fixating doesn't work. The
error message I get with burncd is TEST_UNIT_READY Illegal
request. I can get the exact data later (i.e. the next time I
want to destroy yet another DVD).
   
My DVD drive is an LG GSA-4160B
   
Regards,
Edvard
  
   Ok, I forgot to add that I'm running FreeBSD 5.3R. I also tried
   to use burncd to get the error message I mentioned in my earlier
   mail, but this time I got a kernel panic instead. I didn't see
   exactly what happened, but when I returned to the computer I saw
   this:
  
   burncd: ioctl(CDRIOCSETBLOCKSIZE): Device not configured
   burncd: ioctl(CDRIOCSETBLOCKSIZE): Device not configured
   burncd: ioctl(CDRIOCSETBLOCKSIZE): Device not configured
   ...
   burncd: ioctl(CDRIOCSETBLOCKSIZE): Device not configured
  
   Fatal trap 12: page fault while in kernel mode
   fault virtual address = 0x0
   fault code= supervisor read, page not present
   instruction pointer   = 0x8:0xc0440470
   stack pointer = 0x10:0xd4030bfc
   frame pointer = 0x10:0xd4030c08
   code segment  = base 0x0, limit 0x, type 0x1b
 = DPL 0, pres 1, def32 1, gran 1
   processor eflags  = interrupt enabled, resume, IOPL = 0
   current process   = 2 (g_event)
   trap number   = 12
   panic: page fault
  
   I'm happy to provide extra information. I could look up the
   offending code with the kernel debugger tomorrow (it's 1AM, so I
   don't feel like it now).
  
   dmesg output as attachment.
  
   - edvard
 
  See the following links regarding burning cd's and dvd's.  With a
  DVD burner, you need to add atapicam to the your kernel.  The use
  of atapicam will also mean, however, that you will need to burn
  cd's using cdrecord rather than burncd.
 
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-
 cds.html
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-
 dvds.html
 
  Best of luck,
 
  Andrew Gould

 I have atapicam installed. If you check my previous mail, you'll see
 that I was using growisofs and all errors had something to do with
 /dev/cd0 and /dev/pass0. Those are the atapicam devices. I tried to
 use burncd, because atapicam burning was failing.

 I already read the handbook when I installed the dvd burner and it
 has no information that could be to any help regarding this problem.

 - edvard

What media are you using?  I know that my Sony burner doesn't like 
Maxwell or Lite-On media; but works consistently well with Imation CD-R 
and DVD-R.

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


Xorg/Modes issue

2004-11-25 Thread Doug Van Allen
Looks like you forgot to put in DefaultDepth under Section Screen.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg/Modes issue

2004-11-25 Thread Jake Stride
Doug Van Allen wrote:
Looks like you forgot to put in DefaultDepth under Section Screen.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
I'm not sure, I have managed to get it up to 1024x768 res with the 
following config and log, but can still not reach 1280x1024:

Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection
Section Files
RgbPath  /usr/X11R6/lib/X11/rgb
ModulePath   /usr/X11R6/lib/modules
FontPath /usr/X11R6/lib/X11/fonts/misc/
FontPath /usr/X11R6/lib/X11/fonts/TTF/
FontPath /usr/X11R6/lib/X11/fonts/Speedo/
FontPath /usr/X11R6/lib/X11/fonts/Type1/
FontPath /usr/X11R6/lib/X11/fonts/CID/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/
FontPath /usr/X11R6/lib/X11/fonts/100dpi/
EndSection
Section Module
Load  dbe
Load  dri
Load  extmod
Load  glx
Load  record
Load  xtrap
Load  freetype
Load  speedo
Load  type1
EndSection
Section InputDevice
Identifier  Keyboard0
Driver  keyboard
EndSection
Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
EndSection
Section Monitor
#DisplaySize  380   300 # mm
Identifier   Monitor0
VendorName   IVM
ModelNamePLE481
 ### Uncomment if you don't want to default to DDC:
#   HorizSync842216256.0 - 52.0
#   HorizSync24.0 - 83.0
#   VertRefresh  858928448.0 - 0.0
VertRefresh 75
Option  DPMS
EndSection
Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option NoAccel # [bool]
#Option SWcursor# [bool]
#Option ColorKey# i
#Option CacheLines  # i
#Option Dac6Bit # [bool]
#Option DRI # [bool]
#Option NoDDC   # [bool]
#Option ShowCache   # [bool]
#Option XvMCSurfaces# i
#Option PageFlip# [bool]
Identifier  Card0
Driver  i810
VendorName  Intel Corp.
BoardName   82865G Integrated Graphics Device
BusID   PCI:0:2:0
VideoRam 65536
EndSection
Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth 8
SubSection Display
#Viewport   0 0
Depth8
Modes 1280x1024
EndSubSection
EndSection
Section DRI
Mode 0666
EndSection

Release Date: 18 December 2003
X Protocol Version 11, Revision 0, Release 6.7
Build Operating System: FreeBSD 5.3 i386 [ELF]
Current Operating System: FreeBSD lancelot.corp.senokian.com 5.3-RELEASE 
FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386
Build Date: 16 October 2004
	Before reporting problems, check http://wiki.X.Org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Thu Nov 25 18:00:05 2004
(++) Using config file: xorg.conf.new
(==) ServerLayout X.org Configured
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device Card0
(**) |--Input Device Mouse0
(**) |--Input Device Keyboard0
(==) Keyboard: CustomKeycode disabled
(WW) `fonts.dir' not found (or not valid) in 
/usr/X11R6/lib/X11/fonts/Speedo/.
	Entry deleted from font path.
	(Run 'mkfontdir' on /usr/X11R6/lib/X11/fonts/Speedo/).
(WW) `fonts.dir' not found (or not valid) in 
/usr/X11R6/lib/X11/fonts/Type1/.
	Entry deleted from font path.
	(Run 'mkfontdir' on /usr/X11R6/lib/X11/fonts/Type1/).
(WW) `fonts.dir' not found (or not valid) in 
/usr/X11R6/lib/X11/fonts/CID/.
	Entry deleted from font path.
	(Run 'mkfontdir' on /usr/X11R6/lib/X11/fonts/CID/).
(**) FontPath set to 
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
(**) RgbPath set to /usr/X11R6/lib/X11/rgb
(**) ModulePath set to /usr/X11R6/lib/modules
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.2
	X.Org Video Driver: 0.7
	X.Org XInput driver : 0.4
	X.Org Server Extension : 0.2
	X.Org Font Renderer : 0.4
(II) 

shell programming challenge

2004-11-25 Thread Don Wilde
Hey, folks -
I need to find a way to kick off an xterm running BASH and then execute 
a program within that xterm, but NOT close the new xterm after the 
program finishes. Another desirable thing would be to also be able to 
'source in' a file of shell environment that would affect the new window 
 and shell.

Here's what I've found out so far:
Assume we have an executable test file 'ticktock':
#!/bin/sh
for n in 1 2 3 4 5 6 7 8
do
  echo $n MYVAR=$MYVAR
  sleep 1
  echo -n continue? 
  read reply
done
# end of ticktock
I want to do something like:
xterm -e bash (echo ./ticktock) 
When I do this, the program works  interacts, but the xterm dies upon 
completion of ticktock or INT. I also do not seem to be able to use the 
--rcfile switch as a bash option, although I can add KEY=VALUE pairs 
before the xterm launch.

Ideas? Please respond to me directly.
--
Don Wilde  - Silver Lynx --
 Raising the Trajectory of Human Development
-
 http://www.Silver-Lynx.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nslookup not working on client machines only

2004-11-25 Thread Nicolas
David Jenkins wrote:
On Wed, 24 November, 2004 0:47, Nicolas said:
Hello,
I've set up a FreeBSD box to provide my home network a NAT access to
the
Internet and a DNS caching-only server with bind 8.3.7 (among other
things).
It's working perfectly but today I noticed something that I do not
understand. When trying to $ nslookup google.com on a client host,
here's what it says :
8--
[EMAIL PROTECTED] nslookup google.com
*** Can't find server name for address 192.168.0.1: Non-existent
host/domain
*** Can't find server name for address ::: No response from server
*** Default servers are not available
[EMAIL PROTECTED]
--8
Now, trying the same thing directly on the DNS box :
8--
[EMAIL PROTECTED] nslookup google.com
Server: 192.168.0.1
Address:192.168.0.1#53
Non-authoritative answer:
Name:   google.com
Address: 216.239.57.99
Name:   google.com
Address: 216.239.37.99
Name:   google.com
Address: 216.239.39.99
[EMAIL PROTECTED]
--8
The resolv.conf files are the same on the 2 boxes :
8--
[EMAIL PROTECTED] cat /etc/resolv.conf
search serpe.org
nameserver 192.168.0.1
[EMAIL PROTECTED]
[EMAIL PROTECTED] cat /etc/resolv.conf
search serpe.org
nameserver 192.168.0.1
[EMAIL PROTECTED]
--8
Given this, I do not understand why it works on the DNS box and not on
the client.

I believe this might mean you don't have reverse DNS setup on your
server for you local network.
i.e. when you use nslookup it tries finding out the corresponding
hostname for it's own IP address. So if you have an IP address of
192.168.0.100 on the box that is having trouble with nslookup, you
will need to define what hostname that IP address map's to on your DNS
server.
You need to have the following in named.conf and the corresponding
zone file
zone 0.168.192.in-addr.arpa {
type master;
file localnetwork.rev;
};
which defines your home network and their IP address etc ...
Hope this helps.
David
PS - dig doesn't suffer from those problems AFAIK, so you may be
better of using dig.
Thank you for your reply.
I understand that adding a reverse dns zone may solve this problem, but 
I don't understand why nslookup doesn't output the error when used on 
the dns box itself.
It's the same process that is used, it should be the same error ?

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


Re: Xorg/Modes issue

2004-11-25 Thread Adam Fabian
 (II) I810(0): Not using mode 1280x1024 (no mode of this name)

[EMAIL PROTECTED] looks like it might be the name of a mode.  Otherwise,
you could just write a modeline that does what you want.
-- 
Adam Fabian ([EMAIL PROTECTED])
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: shell programming challenge

2004-11-25 Thread Adam Fabian
On Thu, Nov 25, 2004 at 10:26:38AM -0700, Don Wilde wrote:
 Hey, folks -
 
 I need to find a way to kick off an xterm running BASH and then execute 
 a program within that xterm, but NOT close the new xterm after the 
 program finishes. Another desirable thing would be to also be able to 
 'source in' a file of shell environment that would affect the new window 
  and shell.

bash --rc-file \
file_that_contains_the_environment_i_want_and_the_command_i_want_to_run

If you mean that you want the xterm to continue running the same
instance of bash.  I don't think xterms run without the benefit of a
program to emulate a terminal for.
-- 
Adam Fabian ([EMAIL PROTECTED])
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: shell programming challenge

2004-11-25 Thread Adam Fabian
On Thu, Nov 25, 2004 at 10:26:38AM -0700, Don Wilde wrote:

 completion of ticktock or INT. I also do not seem to be able to use the 
 --rcfile switch as a bash option, although I can add KEY=VALUE pairs 
 before the xterm launch.

Oops.  Didn't notice this until after I replied, but I did test the
--rcfile to see if it would work, and it worked like I expected and
you described.  For reference, it worked for me under FreeBSD 5.3 with
bash 2.05b, which I believe was installed from FreeBSD's binary
packages for 5.3
-- 
Adam Fabian ([EMAIL PROTECTED])
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: securelevel 2

2004-11-25 Thread Joshua Lokken
On Thu, 25 Nov 2004 09:39:48 -0600, J.D. Bronson [EMAIL PROTECTED] wrote:
 I want to make sure that this is the case...
 
 When I am in kernel secure level '2' - I cannot even mount
 a partiton on the second disk?

 Is this expected?

I think so...

[from man securelevel, or man init(8)]

2  Highly secure mode - same as secure mode, plus disks may not be
   opened for writing (except by mount(2)) whether mounted or not.
   This level precludes tampering with file systems by unmounting
   them, but also inhibits running newfs(8) while the system is multi-
   user.


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


Re: shell programming challenge

2004-11-25 Thread Don Wilde
Adam Fabian wrote:
On Thu, Nov 25, 2004 at 10:26:38AM -0700, Don Wilde wrote:
Hey, folks -
I need to find a way to kick off an xterm running BASH and then execute 
a program within that xterm, but NOT close the new xterm after the 
program finishes. Another desirable thing would be to also be able to 
'source in' a file of shell environment that would affect the new window 
and shell.

bash --rc-file \
file_that_contains_the_environment_i_want_and_the_command_i_want_to_run
If you mean that you want the xterm to continue running the same
instance of bash.  I don't think xterms run without the benefit of a
program to emulate a terminal for.
That's what I don't want to do. I could cat the rcfile and the command 
in a temp file, but that runs the risk of leaving junk around in /tmp. 
I'm actually eval'ing this command from another larger program and 
passing prog-to-be-run from it's argument string after a -e switch. This 
is to be generalized; I don't know what prog-to-be-run is going to be.

--
Don Wilde  - Silver Lynx --
 Raising the Trajectory of Human Development
-
 http://www.Silver-Lynx.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


What happened to agm-1.4?

2004-11-25 Thread David Fleck
Based on results of a Google search, it looks like the anagram-generating 
program 'agm' was at one time part of the ports collection.  Google 
returns multiple broken links to FreeBSD mirrors containing agm.

However, agm doesn't seem to be in ports currently.  Was there a reason 
for removing it?

I'd be happy to make a port of it, but if there's a good reason it's 
missing then I won't bother.

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


Re: shell programming challenge

2004-11-25 Thread Don Wilde
J65nko BSD wrote:
On Thu, 25 Nov 2004 10:26:38 -0700, Don Wilde [EMAIL PROTECTED] wrote:
Hey, folks -
I need to find a way to kick off an xterm running BASH and then execute
a program within that xterm, but NOT close the new xterm after the
program finishes. 
[snip]
xterm -hold -e sh -c  ./ticktock 
-hold is explained in the xterm man page ;)
Yes and no. I don't get as command prompt back in the new xterm, either 
with sh or bash. ALso, the --rcfile arcument does not appear to work in 
conjunction with -c.

This is what the man for hold specifies, but I need the prompt.
--
Don Wilde  - Silver Lynx --
 Raising the Trajectory of Human Development
-
 http://www.Silver-Lynx.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What happened to agm-1.4?

2004-11-25 Thread Michael Nottebrock
David Fleck wrote:
Based on results of a Google search, it looks like the 
anagram-generating program 'agm' was at one time part of the ports 
collection.  Google returns multiple broken links to FreeBSD mirrors 
containing agm.

However, agm doesn't seem to be in ports currently.  Was there a reason 
for removing it?
Yes, see http://www.freebsd.org/cgi/query-pr.cgi?pr=28091
--
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what is the bsd fs called outside the bsd sphere?

2004-11-25 Thread Matthias Buelow
Richard Williamson wrote:
Ok, I'll recreate the original flash image to ensure it is -O 1,
and then try again.
in order to mount ufs1 on linux, you also have to specify the 
ufstype=44bsd option to mount.  otherwise the mount might succeed, but 
you won't see any files.

--
  Matthias Buelow; [EMAIL PROTECTED],informatik.uni-wuerzburg}.de
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Copyright Issues

2004-11-25 Thread Kevin D. Kinsey, DaleCo, S.P.
Thierry Thomas wrote:
Le Mer 24 nov 04 à  7:24:48 +0100, Ted Mittelstaedt
[EMAIL PROTECTED]
écrivait :
   

That is not true.  All that is required is that it closely resembles the
image, I believe the language is something along the lines that if it is
likely
consumers would confuse the images then it's a violation.
 

The BSD demon is very popular: see http://www.lefaillitaire.com/.
This society always uses the demon as their logo, and they have big
posters along the roads in France.
--
   

Ted Mittelstaedt wrote:
And if you think that closely resembles Beastie you need glasses! ;-)
Ted
 

Hmm, perhaps looks a tad like the one in /boot/beastie.4th, but
not much like McCusick's, if you ask me :-D
Maybe the color   

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


Time sync with NTP questions

2004-11-25 Thread Michael Collette
On my network I have a machine in my DMZ I wish to use NTP to 
synchronize to a public server for it's time.  I then want to have 
another machine in my private network synchronize time to this box in 
the DMZ.  From there I want to have all my other machines in my private 
network to sync in to it.

Boy I hope that makes sense.  Just in case, a fun filled ASCII diagram
Public NTP Server
|
DMZ Server
|
  Private Server
|
All the rest of my servers
All my boxes are running 5.3-STABLE.
I have my DMZ box connecting to public NTP servers through my firewall 
now.  That part works great.  Able to ntpdate and run ntpd.

My private server is able to both ntpdate and ntpd to a public server. 
What I can't seem to get going here is to have the private server 
synchronize to the DMZ server with NTP.  Also can't get other machines 
sync in with what I want to be my primary NTP server on the private 
network.  Heck, I can't seem to get any two FreeBSD boxes to sync with 
eachother.

I've also been trying to get this to play with two boxes on the same 
subnet.  I can get one box to sync to another using timed, but I can't 
seem to get ntp to work.  I conistently get...

no server suitable for synchronization found
The client side can query what I'd like to be the ntp server with ntpq, 
but ntpdate or ntp -q always fail.  The client IS able to ntpdate to a 
public server.

The server has the following rc.conf flags...
ntpdate_enable=YES
ntpdate_flags=ntp.ucsd.edu
ntpd_enable=YES
ntpd_flags=-A -c /etc/ntp.conf -p /var/run/ntpd.pid -f /etc/ntp/ntpd.drift
/etc/ntp.conf looks very similar too...
server ntp.somedomain.com
restrict ntp.somedomain.com mask 255.255.255.255 nomodify notrap noquery
restrict 192.168.1.0 mask 255.255.255.0 notrust nomodify notrap
restrict 127.0.0.1
driftfile /etc/ntp/ntp.drift
There's actually 5 public NTP servers configured in my real ntp.conf and 
they all seem to work.  192.168.1.0 is, of course, where my clients 
would query this server.

So what am I missing here to make a working NTP server for my network??
Thanks,
--
In theory, there is no difference between theory and practice.
In practice, there is.
- Yogi Berra
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Is this a sign of memory going bad?

2004-11-25 Thread Jonathon McKitrick

This is what I get from make buildworld.  I've gotten signal 10, 11, and now
5.

Is this bad memory?


S -DYP  -c /usr/src/lib/libc/../libc/net/res_debug.c -o res_debug.o
cc -O -pipe  -DLIBC_RCS -DSYSLIBC_RCS -I/usr/src/lib/libc/include
-D__DBINTERFACE_PRIVATE -DINET6 -DPOSIX_MISTAKE
-I/usr/src/lib/libc/../libc/locale -DBROKEN_DES -DYP  -c
/usr/src/lib/libc/../libc/net/res_init.c -o res_init.o
cc: Internal compiler error: program cc1 got fatal signal 5
*** Error code 1

Stop in /usr/src/lib/libc.
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
neptune# 

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


Re: What happened to agm-1.4?

2004-11-25 Thread David Fleck
On Thu, 25 Nov 2004, Michael Nottebrock wrote:
Yes, see http://www.freebsd.org/cgi/query-pr.cgi?pr=28091
Ahh, I see. Thank you.
--
David Fleck
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mailing-lists behaviour on bounce

2004-11-25 Thread Jeremie Le Hen
Hi,

I recently have a problem with my primary mail server and some mails
have bounced today.  Now, everything seems to work.  I know that
FreeBSD mail servers handle a very large amount of mail addresses, so
I don't expect them to defer bounced mails for the next five days as
classical mail servers usually do.  I checked my subscritions on the
Mailman interface on FreeBSD wedsite and my bounce score is actually
1.0.  I wonder whether I'm going to get the bounced mails later in the
night or if they are lost forever because of a drastic policy and I'll
have to browse the archives to read them.

Please include me in the reply since I am not subscribed to this list.

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


Write failure on transfer for FTP install

2004-11-25 Thread Erik Norgaard
Hi,
I am trying to install via FTP, interactive or scripted install gives 
the same result:

  Write failure on transfer! (wrote -1 bytes of 1425408 bytes)
after fetching first chunk - I have tried multiple ftp sites.
sysinstall complains about the diskgeometry:
WARNING: A geometry of 116280/16/63 on ad0 isincorrect. Using a more 
likely gemoetry

CYL/HEAD/SEC:
Label on disk says: 16383/16/63
BIOS says: 28728/16/255
kernel says: 116280/16/63
sysinstall says: 7296/255/63
It may all have gone wrong because I first had diskpartion=exclusive 
rather than all. This is a Hitachi Travelstar ~60GB (57231MB), I have 
previously had FBSD 4.10 on it.

Even if I accept sysinstalls suggenstions and partion the disk as I 
normally would, it then fails with the write error.

Any ideas on this?
Thanks, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sound mysteriously not working

2004-11-25 Thread Louis LeBlanc
On 11/23/04 06:18 PM, Kevin Smith sat at the `puter and typed:
 I had followed the handbook to configure sound (sound blaser Live!)  on 
 my new 5.3 installation.  It was working yesterday but it doesn't work 
 now.  Just to verify, I booted windows on the same system and the sound 
 card/speakers are not working.
 
 Here is my dmesg output and sndstat:
 
   dmesg|fgrep pcm0
 pcm0: Creative EMU10K1 port 0xc800-0xc81f irq 18 at device 2.0 on pci2
 pcm0: TriTech TR28602 AC97 Codec
 
 /home/kevin cat /dev/sndstat
 FreeBSD Audio Driver (newpcm)
 Installed devices:
 pcm0: Creative EMU10K1 at io 0xc800 irq 18 kld snd_emu10k1 (4p/2r/0v 
 channels duplex default)
 
 Any suggestions on what to try next ?

I don't think this is a problem with the card or the volume.  I see
this a lot on FreeBSD, since 4.8.  Matter of fact, I just tried playing
a wmv file with mplayer, and got no sound.  It was working fine
before.

Every once in awhile my sound just disappears.  Now, even a simple
waveplay command acts like it's doing its job, but nothing comes out.
Catting a .au file directly to the /dev/audio0.* devices just
announces that the device is busy.

The only thing that brings the sound back is a reboot, which
isn't an option I really like.

The card on this particular machine is an onboard Intel 5.1 sound
chip.  How the heck am I supposed to reset these devices?  There's
nothing in the handbook or FAQ that I could find.

Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org Ô¿Ô¬

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


Re: How do you make install without direct internet access?

2004-11-25 Thread RW
On Tuesday 23 November 2004 21:22, Ralph wrote:
 [EMAIL PROTECTED]

 actually, since I was in csh, the setenv FTP_PROXY
 my.internal.proxy:80 worked like a charm, except that,
 for some reason, fetch refuses to work without
 internet DNS resolution.  As with our environment, no
 internal hosts have external DNS resolution - how do
 you solve that?

One possibility is  using something other than fetch, take a look at  
FETCH_CMD and the other FETCH_*  variables in 
/usr/ports/Mk/bsd.port.mk. 

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


Re: Is this a sign of memory going bad?

2004-11-25 Thread Lowell Gilbert
Jonathon McKitrick [EMAIL PROTECTED] writes:

 This is what I get from make buildworld.  I've gotten signal 10, 11, and now
 5.
 
 Is this bad memory?

That's a reasonable guess, but the only way to tell for sure is to
test it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: building any mozilla-based browser fails

2004-11-25 Thread Chip
Nikolas Britton wrote:
Chip wrote:
I used to have Firefox installed, then tried to run portupgrade, and 
it failed. I then did a make deinstall and make reinstall now I get a 
failed install. Also tried to install mozilla and netscape, both also 
fail. Below is the last bit from the firefox install. BTW, I sent this 
( a couple days ago) to the port maintainer as well, for all 3 
browsers. Haven't received a response yet.
--
Chip
snip
looks like freetype2 is broke, deinstall and rebuild/install it and see 
what happens. Have you ever ran portupgrade -arR? if you haven't then 
your dependencies are not being updated, so run that first and I bet it 
will fix all your problems.

Do this:
0: cvsup if you feel like it.
1: portsclean -C
2: portupgrade -arRwW
3: Go to bed.
4: portsclean -CDD
http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html
http://www.onlamp.com/pub/a/bsd/2001/11/29/Big_Scary_Daemons.html
Okay, I ran the above commnads and after a couple days it finally 
finished. It stopped half a dozen times with a gui window where I had to 
select some options (or not) and press the ok button. The results are 
copied below. I then ran the portsclean command and it errors out with 
this -
chip3# portsclean -CDD
\/usr/local/sbin/portsclean:35:in `require': No such file to load -- 
pkgtools (LoadError)
from /usr/local/sbin/portsclean:35
chip3#

And I still get the same errors when trying to build Firefox.
--
Chip
===  Building for mftrace-1.0.29_1
cc -O -pipe -mcpu=pentiumpro -I/usr/local/include -o gf2pbm gf2pbm.c 
-L/usr/local/lib
/usr/local/sbin/pkgdb:35:in `require': No such file to load -- pkgtools 
(LoadError)
from /usr/local/sbin/pkgdb:35
---  Backing up the old version
---  Uninstalling the old version
/usr/local/sbin/pkg_deinstall:35:in `require': No such file to load -- 
pkgtools (LoadError)
from /usr/local/sbin/pkg_deinstall:35
** The following packages were not installed or upgraded (*:skipped / 
!:failed)
! print/a2ps-letter (a2ps-letter-4.13b_1)   (install error)
! print/a2ps-letterdj (a2ps-letterdj-4.13b_1)   (install error)
! databases/ruby-bdb1 (ruby-bdb1-0.2.1) (uninstall error)
! misc/shared-mime-info (shared-mime-info-0.14_4) 
(uninstall error)
! lang/ruby16-shim-ruby18 (ruby-shim-ruby18-1.8.1.p2) 
(uninstall error)
! devel/ORBit2 (ORBit2-2.10.3)  (uninstall error)
! sysutils/portupgrade (portupgrade-20030723)   (uninstall error)
! devel/libbonobo (libbonobo-2.6.2) (uninstall error)
! devel/ORBit (ORBit-0.5.17_1)  (uninstall error)
! x11/XFree86-4-libraries (XFree86-libraries-4.4.0) 
(uninstall error)
! x11/XFree86-4-manuals (XFree86-manuals-4.3.0) (uninstall error)
! devel/libunicode (libunicode-0.4_3)   (uninstall error)
! graphics/libwmf (libwmf-0.2.8)(uninstall error)
! misc/gnomehier (gnomehier-1.0_10) (uninstall error)
! textproc/scrollkeeper (scrollkeeper-0.3.12_4,1) 
(uninstall error)
! x11-toolkits/tk84 (tk-8.4.6,1)(uninstall error)
! graphics/dri (dri-4.3.0,1)(uninstall error)
! graphics/libglut (libglut-5.0.2)  (uninstall error)
! x11-servers/XFree86-4-FontServer (XFree86-FontServer-4.3.0_2) 
(uninstall error)
! x11-servers/XFree86-4-Server (XFree86-Server-4.3.0_14) 
 (uninstall error)
! misc/gnomemimedata (gnomemimedata-2.4.1_2)(uninstall error)
! devel/oaf (oaf-0.6.10_1)  (uninstall error)
! x11/XFree86-4-documents (XFree86-documents-4.3.0) 
(uninstall error)
! x11/startup-notification (startup-notification-0.5_1) 
(uninstall error)
! devel/gconf (gconf-1.0.9_6)   (uninstall error)
* x11-fonts/libXft (Xft-2.1.2)
! x11/XFree86-4-clients (XFree86-clients-4.3.0_5) 
(unknown build error)
! print/ghostscript-gnu (ghostscript-gnu-7.07_4) 
(uninstall error)
! ftp/axyftp (axyftp-0.5.1) (uninstall error)
! x11-toolkits/qt33 (qt-3.2.1)  (uninstall error)
! x11-toolkits/py-tkinter (py23-tkinter-2.3.2_1) 
(uninstall error)
! audio/arts (arts-1.1.4,1) (configure error)
! devel/sdl12 (sdl-1.2.5_3) (uninstall error)
! net/aim (aim-1.5.234) (uninstall error)
! graphics/libflash (libflash-0.4.10)   (uninstall error)
! devel/t1lib (t1lib-5.0.0) (uninstall error)
! x11-toolkits/open-motif (open-motif-2.2.2_1)  (uninstall error)
! x11-fonts/XFree86-4-font100dpi (XFree86-font100dpi-4.3.0) 
 (uninstall error)
! x11-fonts/XFree86-4-fontCyrillic (XFree86-fontCyrillic-4.3.0) 
(uninstall error)
! x11-fonts/XFree86-4-font75dpi (XFree86-font75dpi-4.3.0) 
 (uninstall error)
! print/cups-pstoraster (cups-pstoraster-7.07_1) 
(uninstall error)
! x11-fonts/XFree86-4-fontDefaultBitmaps 
(XFree86-fontDefaultBitmaps-4.3.0) (uninstall error)
! editors/nedit (nedit-5.4) 

Re: Is this a sign of memory going bad?

2004-11-25 Thread Adam Fabian
On Thu, Nov 25, 2004 at 08:16:23PM +, Jonathon McKitrick wrote:
 Is this bad memory?

If you're not getting the same error every time, it's almost certainly
bad hardware, and memory is the most likely candidate.
-- 
Adam Fabian ([EMAIL PROTECTED])
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help...am I being hacked?

2004-11-25 Thread Conrad J. Sabatier
On Thu, 2004-11-25 at 01:35 -0800, Dino Vliet wrote:
 Hi all,
 
 I'm using freebsd 4.10 on my laptop and I was browsing
 my filesystem and looking at some log files, when I
 stumbled into the file dmesg.yesterday in /var/log/
 
 The contents of this file worried me. Take a look at
 the last lines of it:
 
 Connection attempt to TCP 192.168.1.101:5554 from
 220.147.188.223:4970 flags:0x02
 Connection attempt to TCP 192.168.1.101:9898 from
 220.147.188.223:1288 flags:0x02
 Connection attempt to TCP 192.168.1.101:21 from
 168.126.102.33:57216 flags:0x02
 Connection attempt to UDP 192.168.1.101:1026 from
 222.88.173.5:31889
 Connection attempt to TCP 192.168.1.101:9898 from
 67.1.4.194:3161 flags:0x02

These merely indicate connection *attempts*, not actual successful
connections to your machine.  They don't mean you've been hacked.

 But my IP on this machine starts with 130.
 
 But I recognize these IP's (192.168.1.101), because at
 home I'm using a e-tech router and it assigns me
 through DHCP 192.168.1.* as ip address every time I
 connect my laptop with this. At the campus, I'm also
 using dhcp to connect to the network. However, lately
 I haven't used my router at home and was only
 connecting through the network at the campus. There I
 get the ip address 130.37.28.112. 
 
 I have removed the old dhcp.leases in /var/db that had
 the information of my e-tech router.
 
 I am using ipfw too now, but still it would be
 convenient to know where to look for hack attempts and
 look for log files which give information about
 connection attempts from outside. 

/var/log/security, /var/log/ipfw.*, /var/log/messages, and so on.

With a more stealthy firewall setup, you wouldn't even be seeing these
connection attempt logs, as these outsiders would never even manage to
reach your machine at all.

-- 
Conrad J. Sabatier -- [EMAIL PROTECTED] -- In Unix veritas


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


Re: shell programming challenge

2004-11-25 Thread Conrad J. Sabatier
On Thu, 2004-11-25 at 10:26 -0700, Don Wilde wrote:
 Hey, folks -
 
 I need to find a way to kick off an xterm running BASH and then execute 
 a program within that xterm, but NOT close the new xterm after the 
 program finishes. Another desirable thing would be to also be able to 
 'source in' a file of shell environment that would affect the new window 
   and shell.
 
 Here's what I've found out so far:
 
 Assume we have an executable test file 'ticktock':
 
 #!/bin/sh
 for n in 1 2 3 4 5 6 7 8
 do
echo $n MYVAR=$MYVAR
sleep 1
echo -n continue? 
read reply
 done
 # end of ticktock
 
 I want to do something like:
 
 xterm -e bash (echo ./ticktock) 
 
 When I do this, the program works  interacts, but the xterm dies upon 
 completion of ticktock or INT. I also do not seem to be able to use the 
 --rcfile switch as a bash option, although I can add KEY=VALUE pairs 
 before the xterm launch.
 
 Ideas? Please respond to me directly.

man xterm.  There *is* an option to keep the term open after executing a
program.

-- 
Conrad J. Sabatier -- [EMAIL PROTECTED] -- In Unix veritas


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


Re: shell programming challenge

2004-11-25 Thread Don Wilde

When I do this, the program works  interacts, but the xterm dies upon 
completion of ticktock or INT. I also do not seem to be able to use the 
--rcfile switch as a bash option, although I can add KEY=VALUE pairs 
before the xterm launch.

Ideas? Please respond to me directly.

man xterm.  There *is* an option to keep the term open after executing a
program.
Yes, as another shared: -hold. Unfortunately, it doesn't return to shell 
prompt. The program is interactive until the program terminates, but I 
don't get a prompt back from the underlying shell.

--
Don Wilde  - Silver Lynx --
 Raising the Trajectory of Human Development
-
 http://www.Silver-Lynx.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disappearing directory/mount and Crash on umount since 5.3

2004-11-25 Thread Vince Hoffman

On Wed, 24 Nov 2004, Kris Kennaway wrote:
On Wed, Nov 24, 2004 at 11:29:26AM +, Vince Hoffman wrote:
I'm having a reoccuring problem with one of my mounts,
I have a disk i mount at /usr/scratch which is also exported via samba.
since upgrading to 5.3 after a little while (sorry no exact timings
yet,) an ls /usr/scratch gives ls: /usr/scratch: Bad file descriptor
[EMAIL PROTECTED]
(11:19:06 /usr) 0 # mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s1e on /tmp (ufs, local, soft-updates)
/dev/ad0s1f on /usr (ufs, local, soft-updates)
/dev/ad0s1d on /var (ufs, local, soft-updates)
/dev/ad2s1c on /usr/scratch (ufs, local, soft-updates)
/dev/ad3s1a on /big (ufs, local, soft-updates)
devfs on /var/named/dev (devfs, local)
[EMAIL PROTECTED]
(11:19:10 /usr) 0 # ls
ls: scratch: Bad file descriptor
.snap/ bin/   home/  libdata/   obj/   share/
@LongLink  compat/include/   libexec/   ports/ src/
X11R6/ games/ lib/   local/ sbin/  sup/
[EMAIL PROTECTED]
trying to umount /usr/scratch will crash the machine, (will do it once
more this evening and write down the error that pops up.)
Drop to single-user mode and run fsck -f /usr/scratch.  If it finds
errors, repeat until it stops finding them.
Kris
Seems to have fixed that problem, thanks Kris.
Looks like I may have to do a clean reinstall anyway though as I have had 
2 more hard crashes since then for no reason I can yet pin down,
the only semi useful log entry i have is:
Nov 25 18:15:01 lobster kernel: pid 60702 (hostname), uid 0: exited on 
signal 11
 (core dumped)
Nov 25 18:15:01 lobster kernel: pid 60718 (mailwrapper), uid 0: exited on 
signal
 11 (core dumped)
Think i'll try a clean install and see if thats more stable.
I guess the upgrade to 5.3 from 5.2.1 didnt go as well as I thought, which 
is a shame since my laptop upgraded from 5.2.1 to 5.3-current to 
5.3-stable with no issues.

Vince

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


Tar -N date error?

2004-11-25 Thread Mike Jeays
I have trouble with tar's -N format with 5.1 (yes, I am going to upgrade
to 5.3 this weekend).

Commands such as 
tar -cvzf arch.tar.gz -N '2004-09-01' * 
and 
tar -cvzf arch.tar.gz -N'10 days ago' * 
work fine for periods in the recent past (up to about 40 days), but for
more than that, everything in the directory gets archived.  It worked
fine with a version of Cygwin at work on a Windows machine.

Any clues, please?

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


Re: shell programming challenge

2004-11-25 Thread Conrad J. Sabatier
On Thu, 25 Nov 2004 11:59:47 -0600, Conrad J. Sabatier
[EMAIL PROTECTED] wrote:

 On Thu, 2004-11-25 at 10:26 -0700, Don Wilde wrote:
  Hey, folks -
  
  I need to find a way to kick off an xterm running BASH and then
  execute a program within that xterm, but NOT close the new xterm
  after the program finishes. Another desirable thing would be to also
  be able to 'source in' a file of shell environment that would affect
  the new window 
and shell.
  
  Here's what I've found out so far:
  
  Assume we have an executable test file 'ticktock':
  
  #!/bin/sh
  for n in 1 2 3 4 5 6 7 8
  do
 echo $n MYVAR=$MYVAR
 sleep 1
 echo -n continue? 
 read reply
  done
  # end of ticktock
  
  I want to do something like:
  
  xterm -e bash (echo ./ticktock) 
  
  When I do this, the program works  interacts, but the xterm dies
  upon completion of ticktock or INT. I also do not seem to be able to
  use the --rcfile switch as a bash option, although I can add
  KEY=VALUE pairs before the xterm launch.
  
  Ideas? Please respond to me directly.
 
 man xterm.  There *is* an option to keep the term open after executing
 a program.

OK, I think I've found what you're looking for:

xterm -e /usr/local/bin/bash --rcfile bash_commands -i

Substitute your program's startup script for bash_commands in the
above.  Using the -i switch to bash forces interactive mode, so when
the script exits, you'll be returned to the shell prompt in the xterm.
As it turns out, xterm's -hold switch is wholly unnecessary here.

Note that the --rcfile switch, being a double-hyphened option, must
precede the later -i switch in order to be recognized.

HTH

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


Re: shell programming challenge

2004-11-25 Thread Adam Fabian
It's possible to generate temporary files in a secure manner; there's
probably something in the ports collection to generate good, random
file names.  I'm not sure I'd go to so much trouble to avoid using
a file for --init-file or --rc-file.

That aside, you could try using expect to script the bash session.

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


got one question

2004-11-25 Thread Hasan Cana
hi, I am interested to translate the content of freebsd handbook or the site in 
my own language Albanian like many countries does..and I'm ready for 
this...please can you tell me what to do and is it possible?  

thank you!
-- 
___
Get your free email from http://mymail.bsdmail.com

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


Re: got one question

2004-11-25 Thread Jeremy Faulkner
Hasan Cana wrote:
hi, I am interested to translate the content of freebsd handbook
 or the site in my own language Albanian like many countries does
 ..and I'm ready for this...please can you tell me what to do
 and is it possible?
thank you!
See the FreeBSD Documentation Project:
http://www.freebsd.org/docproj/index.html
--
Jeremy Faulkner [EMAIL PROTECTED]
Resume: http://www.gldis.ca/gldisater/resume.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problems with http in fetch for ports

2004-11-25 Thread timopie
Hi everyone,
My primary internet access is at University (secondary is at home an a 
56k modem). When I want to use ftp, or cvsup, I have to log onto the 
firewall in order to access the needed ports.  This works great. The 
only time I ever have a problem is when fetch tries to access files 
through http rather than ftp (as are most of the files I want in the 
ports collection). I can get the files manually with firefox, but it is 
very slow and painful. I tried setting up a .netrc file in /root 
defining HTTP_PROXY and HTTP_PROXY_AUTH (using the username and password 
I use to access outside websites) but it still does not fetch through 
the http. It will sit waiting for quite a few minutes until it times out 
and goes to the next site on the list - and when getting something from 
sourceforge it takes forever just to begin downloading anything when it 
finally comes across an ftp.
Is there either a way to make it access http as well as ftp, or is there 
someway I can tell fetch to ignore or skip the http files and just use 
the ftp files, usually at the end of the list.

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


OT: Trying to learn C -- some questions

2004-11-25 Thread Tom Parquette
Hi.  This is a little off topic but I'm hoping someone can provide some 
guidance and answer a few questions.  TIA.

I'm trying to learn ANSI C using a book circa 1994.  It is written from 
a DOS perspective.
Someone at work, who knows a little C, told me that the book was close 
enough.
I'm having some trouble with some of the homework in the book.
I think I know some of the answers but I would like to confirm my 
understanding.
Some of the following I have no clue about.

1) gcc complains that conio.h was not found.  If I comment out the 
#include, the program compiles.  Is this a DOSism or something else?

2) fprintf is described with stdprn being valid for a default printer. 
This does not seem to be valid in, at least, the FreeBSD world.  man 
fprintf did not really help.  I believe I have to create a stream for 
the print but I'm not clear on how to do it.

3) gets() is used in a number of places.  Using this gets me:
/var/tmp//cciWrf9n.o(.text+0x20d): In function `get_data':
: warning: warning: this program uses gets(), which is unsafe.
I looked at the man page and found fgets.  I do not understand from the 
fgets man page how I'm supposed to code this.  I've tried a number of 
things along the lines of
fgets(rec.fname,sizeof(rec.fname));
but gcc does not like anything I've tried.  It keeps telling me I have 
too few arguments fo function `fgets'  Help!

4) A couple of the home work assignments use getch().  I figured out 
from the getch man page that I needed #include curses.h but that 
changes the errors to:
/var/tmp//cc1GEzyG.o(.text+0x6a): In function `main':
: undefined reference to `stdscr'
/var/tmp//cc1GEzyG.o(.text+0x6f): In function `main':
: undefined reference to `wgetch'
I do not know what header file I should be including.
Or is there something else I'm not understanding?

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


random reboots on 5.3 with securelevel 1/2

2004-11-25 Thread J.D. Bronson
I am at a loss on this one..
If I set securelevel at 1 or 2, the 5.3-REL machine will randomly reboot. 
No logs - nothing on the console...just as if someone hit reboot.

No one logged in during this time either. I removed WAN access from this 
box as well.

As long as I run the default level (-1) - I never see this machine reboot.
All it does is run postfix/bind...not X or anything. It is a headless machine.
Ideas? things to check?
I can run at default level for weeks, but cannot run at any secure level 
for more than a few hours.

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


Re: problems with http in fetch for ports

2004-11-25 Thread Kris Kennaway
On Fri, Nov 26, 2004 at 10:39:25AM +1000, timopie wrote:
 Hi everyone,
 
 My primary internet access is at University (secondary is at home an a 
 56k modem). When I want to use ftp, or cvsup, I have to log onto the 
 firewall in order to access the needed ports.  This works great. The 
 only time I ever have a problem is when fetch tries to access files 
 through http rather than ftp (as are most of the files I want in the 
 ports collection). I can get the files manually with firefox, but it is 
 very slow and painful. I tried setting up a .netrc file in /root 
 defining HTTP_PROXY and HTTP_PROXY_AUTH (using the username and password 
 I use to access outside websites) but it still does not fetch through 
 the http.

Where did you read about putting these variables in .netrc?  They're
environment variables and should be set in the environment, e.g. in
your shell login script.

Kris


pgpBbR0GdMkHR.pgp
Description: PGP signature


Re: OT: Trying to learn C -- some questions

2004-11-25 Thread Adam Fabian
On Thu, Nov 25, 2004 at 07:38:10PM -0500, Tom Parquette wrote:

 1) gcc complains that conio.h was not found.  If I comment out the 
 #include, the program compiles.  Is this a DOSism or something else?

Yes, it is.

 2) fprintf is described with stdprn being valid for a default printer. 
 This does not seem to be valid in, at least, the FreeBSD world.  man 
 fprintf did not really help.  I believe I have to create a stream for 
 the print but I'm not clear on how to do it.

I don't remember DOS having any concept of a default printer, and a
vague recollection of stdprn actually being something more like UNIX's
stdout.  But I could be misremembering.

 3) gets() is used in a number of places.  Using this gets me:
 /var/tmp//cciWrf9n.o(.text+0x20d): In function `get_data':
 : warning: warning: this program uses gets(), which is unsafe.
 I looked at the man page and found fgets.  I do not understand from the 
 fgets man page how I'm supposed to code this.  I've tried a number of 
 things along the lines of
 fgets(rec.fname,sizeof(rec.fname));
 but gcc does not like anything I've tried.  It keeps telling me I have 
 too few arguments fo function `fgets'  Help!

fgets take three parameters, and I only see two there.  It looks like
you need fgets(rec.fname,sizeof(rec.fname),stdin) or something of the
like.  gets() is vulnerable to buffer-overflows, but if you're just
writing some quick, throw-away programs, it doesn't really matter.  On
the other hand, no reason not to get used to doing something more
correct.

 4) A couple of the home work assignments use getch().  I figured out 
 from the getch man page that I needed #include curses.h but that 
 changes the errors to:
 /var/tmp//cc1GEzyG.o(.text+0x6a): In function `main':
 : undefined reference to `stdscr'
 /var/tmp//cc1GEzyG.o(.text+0x6f): In function `main':
 : undefined reference to `wgetch'
 I do not know what header file I should be including.
 Or is there something else I'm not understanding?

I believe you will need -lcurses in your gcc command to link against
the curses library.  The headers declare the functions, but the actual
machine code has to come from the library.

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


mount ntfs (windows) file system in /etc/fstab fails at boot

2004-11-25 Thread Kevin Smith
I am able to mount my windows partition manually by either:
 mount -t ntfs /dev/ad0s1 /windows
or by putting an entry in by /dev/fstab that looks like:
/dev/ad0s1 /windows  ntfs ro  2   2
and using command:
 mount /windows
-however,
If I leave this entry in my /etc/fstab, the OS reports inconsistency 
errors on bootup when it tries to mount and goes into single-user mode.  
I then had to remount / for read-write and delete the line in the fstab 
before it would boot again.

Am I using the wrong syntax for the fstab entry  ?- also, why does it 
mount manually with no error - but complain at boot time ?

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


Re: Copyright Issues

2004-11-25 Thread Matthias Buelow
Thierry Thomas wrote:
The BSD demon is very popular: see http://www.lefaillitaire.com/.
This society always uses the demon as their logo, and they have big
posters along the roads in France.
I've seen one of the standard BSD daemon images on at least one german 
online sexshop, used as a logo for that shop (I won't tell which one, 
'cause I'm not a copyright prosecutor.)  So it seems to be quite popular 
indeed (maybe people also like it because it's cute.)

--
  Matthias Buelow; [EMAIL PROTECTED],informatik.uni-wuerzburg}.de
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mount ntfs (windows) file system in /etc/fstab fails at boot

2004-11-25 Thread Kris Kennaway
On Fri, Nov 26, 2004 at 01:53:11AM -0800, Kevin Smith wrote:
 I am able to mount my windows partition manually by either:
 
  mount -t ntfs /dev/ad0s1 /windows
 
 or by putting an entry in by /dev/fstab that looks like:
 
 /dev/ad0s1 /windows  ntfs ro  2   2
 
 and using command:
   ^^^ 

 The sixth field, (fs_passno), is used by the fsck(8) program to determine
 the order in which filesystem checks are done at reboot time.  The root
 filesystem should be specified with a fs_passno of 1, and other filesys-
 tems should have a fs_passno of 2.  Filesystems within a drive will be
 checked sequentially, but filesystems on different drives will be checked
 at the same time to utilize parallelism available in the hardware.  If
 the sixth field is not present or is zero, a value of zero is returned
 and fsck(8) will assume that the filesystem does not need to be checked.

Since you don't want to run fsck on the ntfs volume, set this to zero.

 If I leave this entry in my /etc/fstab, the OS reports inconsistency 
 errors on bootup when it tries to mount and goes into single-user mode.  
 I then had to remount / for read-write and delete the line in the fstab 
 before it would boot again.

P.S. It's usually helpful to transcribe the exact error, instead of
describing vague symptoms.

Kris


pgpuxfgXZStFZ.pgp
Description: PGP signature


Re: mount ntfs (windows) file system in /etc/fstab fails at boot

2004-11-25 Thread Kevin Smith
Yes, putting a 0 in the sixth field takes care of the problem and the 
/windows file system is now mounted. thanks.

P.S. It's usually helpful to transcribe the exact error, instead of
describing vague symptoms.

Yes,I agree. I was not able to retreive the exact error message from 
dmesg on boot as I had rebooted again and lost that. If you can tell me 
where I can get previous boot messages (dmesg.today didn have it 
either), I will post the message for the benefit of others in case they 
have this problem.

Thanks again.
-K
Kris Kennaway wrote:
On Fri, Nov 26, 2004 at 01:53:11AM -0800, Kevin Smith wrote:
 

I am able to mount my windows partition manually by either:
   

mount -t ntfs /dev/ad0s1 /windows
 

or by putting an entry in by /dev/fstab that looks like:
/dev/ad0s1 /windows  ntfs ro  2   2
and using command:
   

  ^^^ 

The sixth field, (fs_passno), is used by the fsck(8) program to determine
the order in which filesystem checks are done at reboot time.  The root
filesystem should be specified with a fs_passno of 1, and other filesys-
tems should have a fs_passno of 2.  Filesystems within a drive will be
checked sequentially, but filesystems on different drives will be checked
at the same time to utilize parallelism available in the hardware.  If
the sixth field is not present or is zero, a value of zero is returned
and fsck(8) will assume that the filesystem does not need to be checked.
Since you don't want to run fsck on the ntfs volume, set this to zero.
 

If I leave this entry in my /etc/fstab, the OS reports inconsistency 
errors on bootup when it tries to mount and goes into single-user mode.  
I then had to remount / for read-write and delete the line in the fstab 
before it would boot again.
   

P.S. It's usually helpful to transcribe the exact error, instead of
describing vague symptoms.
Kris
 

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


Re: mount ntfs (windows) file system in /etc/fstab fails at boot

2004-11-25 Thread Kris Kennaway
On Fri, Nov 26, 2004 at 02:16:45AM -0800, Kevin Smith wrote:
 Yes, putting a 0 in the sixth field takes care of the problem and the 
 /windows file system is now mounted. thanks.
 
 P.S. It's usually helpful to transcribe the exact error, instead of
 describing vague symptoms.
 
 
 
 Yes,I agree. I was not able to retreive the exact error message from 
 dmesg on boot as I had rebooted again and lost that. If you can tell me 
 where I can get previous boot messages (dmesg.today didn have it 
 either), I will post the message for the benefit of others in case they 
 have this problem.

Thanks for the offer, although it may not be logged so you'd have to
have transcribed it by hand during boot (e.g. pause the display with
the pause key to give you time to copy it down, or use the scroll lock
and then page up back to it after the system has booted)

Kris


pgpNFDA1gMlYQ.pgp
Description: PGP signature


RE: Why can't I mount a Video CD in FreeBSD??

2004-11-25 Thread James Hong
isnt VCD another CDFS with MPG1 DAT files ?
Why wouldnt it mount ?

damaged CD ? 

or are we talking about different VCD ?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam Fabian
Sent: Thursday, November 25, 2004 1:58 PM
To: Mark Jayson Alvarez
Cc: [EMAIL PROTECTED]
Subject: Re: Why can't I mount a Video CD in FreeBSD??

On Wed, Nov 24, 2004 at 05:40:09PM -0800, Mark Jayson Alvarez wrote:
 Good day!
I'm getting an error whenever I mount a video cd. I can't remember 
 the error right now because I already brought it back to the rental 
 shop (its already overdue). I was also told by my friend that he too 
 can't mount a video cd in his linux box. Do you happen to know why?

A video CD does not have a filesystem, therefore it can't be mounted.
You may be able to play it with the appropriate program, or extract the
video data to files.

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

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


Partition sizes

2004-11-25 Thread Trey Sizemore
I'll be installing FBSD 5.3 on an 80GB hard drive (machine has 512MB of
RAM) and was considering the following partitions:

/
/usr
/usr/local
/var
/var/tmp
/tmp
/home
SWAP

I'm looking for some recommendations around what the partition sizes
should be assuming I'm allocating the entire disk to FreeBSD.  It will
be a used as a desktop and not a server, but I'd be curious about the
sizing differences as I'll be setting up a similar machine as a
mail/FTP/web server.

Thanks.


-- 
Cheers,
Trey
---

The most costly of all follies is to believe passionately in the
palpably
not true. It is the chief occupation of mankind.
-- H.L. Mencken 

9:25pm up 3:13, 4 users, load average: 1.74, 0.80, 0.56 
Linux salamander 2.6.8-20041025161453-default #1 Mon Oct 25 16:14:53 UTC
2004 i686 i686 i386 GNU/Linux


signature.asc
Description: This is a digitally signed message part


Re: OT: Trying to learn C -- some questions

2004-11-25 Thread David Fleck
On Thu, 25 Nov 2004, Tom Parquette wrote:
I'm trying to learn ANSI C using a book circa 1994.  It is written from 
a DOS perspective. Someone at work, who knows a little C, told me that 
the book was close enough.
I think they are probably wrong.

1) gcc complains that conio.h was not found.  If I comment out the 
#include, the program compiles.  Is this a DOSism or something else?
I don't know if it's a DOSism, but it's definitely not a standard header 
file in the UNIX world.  I've never encountered it outside of Microsoft 
systems.


2) fprintf is described with stdprn being valid for a default printer. This 
does not seem to be valid in, at least, the FreeBSD world.  man fprintf did 
not really help.  I believe I have to create a stream for the print but I'm 
not clear on how to do it.
Sorry, not sure about this, but again, it sounds like a DOS (or MS) 
specific implementation.


3) gets() is used in a number of places.  Using this gets me:
/var/tmp//cciWrf9n.o(.text+0x20d): In function `get_data':
: warning: warning: this program uses gets(), which is unsafe.
'gets()' will still work, but its use isn't advised.  If you're just using 
it in test programs, though, it's not a big deal.


4) A couple of the home work assignments use getch().  I figured out from the 
getch man page that I needed #include curses.h but that changes the 
errors to:
/var/tmp//cc1GEzyG.o(.text+0x6a): In function `main':
: undefined reference to `stdscr'
/var/tmp//cc1GEzyG.o(.text+0x6f): In function `main':
: undefined reference to `wgetch'
I do not know what header file I should be including.
Or is there something else I'm not understanding?
I think the real problem hear is that the getch() the example is 
referencing is actually a function found in conio.h.  The getch() in 
curses probably isn't the one you want anyway.
(Ref.: http://lists.apple.com/archives/mpw-dev/2001/Aug/msg00182.html)

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


KDE stops install

2004-11-25 Thread Doug Van Allen
At least that is what I think.  Still trying to install KDE and got
the ghostscript configuration menu.  All I took out was the printer I
would not use.  Then I hit enter and it started to go.  This is the
error I got:

./src/gdev1256.c:294: warning: traditional C rejects ISO C style
function definitions
./src/gdev1256.c: at top level:
./src/gdev1256.c:306: warning: non-static declaration of
'lvga256_draw_line' follows static declaration
./src/gdev1256.c:79: warning: previous declaration of
'lvga256_draw_line' was here
./src/gdev1256.c: in function 'lvga256_draw_line':
./src/gdev1256.c:306: warning: traditional C rejects ISO C style
function definitions
./src/gdev1256.c:307: warning: implicit declaration of function 'gl_line'
gmake: *** [obj/gdevl256.o] Error 1
*** Error code 2

Stop in  /usr/ports/print/ghostscript-gnu.
*** Error code 1

Stop in /usr/ports/graphics/ImageMagick.
*** Error code 1

Stop in /usr/ports/editors/koffice-kde3.
*** Error code 1

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


RE: Why can't I mount a Video CD in FreeBSD??

2004-11-25 Thread Mark Jayson Alvarez

--- James Hong [EMAIL PROTECTED] wrote:

 isnt VCD another CDFS with MPG1 DAT files ?
According to the some people here, VCD isn't really a
file system. I don't know what Windows did to make it
visible in their file Explorer. The actual video file
seems to be located at cdrom:\mpeg\avseq(n).dat

 Why wouldnt it mount ?
I don't know, that's why I'm asking.=)Why?, Have you
tried it already?

 damaged CD ? 
The movie played well in our VCD player.

 or are we talking about different VCD ?
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On
 Behalf Of Adam Fabian
 Sent: Thursday, November 25, 2004 1:58 PM
 To: Mark Jayson Alvarez
 Cc: [EMAIL PROTECTED]
 Subject: Re: Why can't I mount a Video CD in
 FreeBSD??
 
 On Wed, Nov 24, 2004 at 05:40:09PM -0800, Mark
 Jayson Alvarez wrote:
  Good day!
 I'm getting an error whenever I mount a video
 cd. I can't remember 
  the error right now because I already brought it
 back to the rental 
  shop (its already overdue). I was also told by my
 friend that he too 
  can't mount a video cd in his linux box. Do you
 happen to know why?
 
 A video CD does not have a filesystem, therefore it
 can't be mounted.
 You may be able to play it with the appropriate
 program, or extract the
 video data to files.
 
 --
 Adam Fabian ([EMAIL PROTECTED])
 ___
 [EMAIL PROTECTED] mailing list

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




__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 

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


Re: OT: Trying to learn C -- some questions

2004-11-25 Thread Michael C. Shultz
On Thursday 25 November 2004 04:38 pm, Tom Parquette wrote:
 Hi.  This is a little off topic but I'm hoping someone can provide
 some guidance and answer a few questions.  TIA.

 I'm trying to learn ANSI C using a book circa 1994.  It is written
 from a DOS perspective.
 Someone at work, who knows a little C, told me that the book was
 close enough.
 I'm having some trouble with some of the homework in the book.
 I think I know some of the answers but I would like to confirm my
 understanding.
 Some of the following I have no clue about.

 1) gcc complains that conio.h was not found.  If I comment out the
 #include, the program compiles.  Is this a DOSism or something else?

 2) fprintf is described with stdprn being valid for a default
 printer. This does not seem to be valid in, at least, the FreeBSD
 world.  man fprintf did not really help.  I believe I have to create
 a stream for the print but I'm not clear on how to do it.

I suggest you learn one function well, then expand from there. fprintf 
is a good place to start. 

man 3 fprintf has the following:

LIBRARY
 Standard C Library (libc, -lc)

means this command is in libc, 

lib is always stripped when you use -l to include a library
when you compile so -lc means include libc.
-lc is automatically included when you compile with gcc
so you usually don't need it.

SYNOPSIS
 #include stdio.h

that means include stdio.h when you use fprintf

fprintf(stdout, hello\n) will print to the screen
and so will fprintf(stderr, hello\n).  You can replace
stdout/stderr with a filestream for example:

sample code:

#includestdio.h

FILE*   fileStream;
fileStream  = fopen( hello.txt, w);
fprintf( stdout,hello\n);
fprintf( fileStream,hello\n);
fclose(fileStream);

save as hello.c
compile with
gcc hellow.c -o hello
run and it will print hello to the screen and create a file
hello.txt with hello printed in the file.

Once your really comfortable with fprintf then look up the man
page and google the next command you want to learn.  Google
beats any programming books in my opinion once you learn to use it.

If you get stuck on one specific command, feel free to email me directly
and I'll give you a pointer if I know it.

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


Re: OT: Trying to learn C -- some questions

2004-11-25 Thread Matt Emmerton
 On Thu, 25 Nov 2004, Tom Parquette wrote:
  I'm trying to learn ANSI C using a book circa 1994.  It is written from
  a DOS perspective. Someone at work, who knows a little C, told me that
  the book was close enough.

 I think they are probably wrong.

  1) gcc complains that conio.h was not found.  If I comment out the
  #include, the program compiles.  Is this a DOSism or something else?

 I don't know if it's a DOSism, but it's definitely not a standard header
 file in the UNIX world.  I've never encountered it outside of Microsoft
 systems.

This is definitely a DOSism.  On UNIX, most of the functionality in conio.h
can be found in stdio.h or curses.h.

  2) fprintf is described with stdprn being valid for a default printer.
This
  does not seem to be valid in, at least, the FreeBSD world.  man fprintf
did
  not really help.  I believe I have to create a stream for the print but
I'm
  not clear on how to do it.

 Sorry, not sure about this, but again, it sounds like a DOS (or MS)
 specific implementation.

stdprn is definitely another DOSism.

If you want to print directly to a printer, you have a bunch of choices:
1) write the output to a temporary file, and then use lpr to print the file
to a printer (defined in /etc/printcap)
2) open a stream to /dev/lpt0 and fprintf directly to it -- this assumes
that your printer is attached to parallel port 1.

  3) gets() is used in a number of places.  Using this gets me:
  /var/tmp//cciWrf9n.o(.text+0x20d): In function `get_data':
  : warning: warning: this program uses gets(), which is unsafe.

 'gets()' will still work, but its use isn't advised.  If you're just using
 it in test programs, though, it's not a big deal.

Regardless, you should convert your code to use fgets(), as it prevents
against buffer overflow problems.

  4) A couple of the home work assignments use getch().  I figured out
from the
  getch man page that I needed #include curses.h but that changes the
  errors to:
  /var/tmp//cc1GEzyG.o(.text+0x6a): In function `main':
  : undefined reference to `stdscr'
  /var/tmp//cc1GEzyG.o(.text+0x6f): In function `main':
  : undefined reference to `wgetch'
  I do not know what header file I should be including.
  Or is there something else I'm not understanding?

 I think the real problem hear is that the getch() the example is
 referencing is actually a function found in conio.h.  The getch() in
 curses probably isn't the one you want anyway.
 (Ref.: http://lists.apple.com/archives/mpw-dev/2001/Aug/msg00182.html)

The curses.h version of getch() should work fine, although you could use
fgets() from stdin instead.

--
Matt Emmerton

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


Re: Is this a sign of memory going bad?

2004-11-25 Thread Jonathon McKitrick
On Thu, Nov 25, 2004 at 04:05:53PM -0500, Lowell Gilbert wrote:
: Jonathon McKitrick [EMAIL PROTECTED] writes:
: 
:  This is what I get from make buildworld.  I've gotten signal 10, 11, and now
:  5.
:  
:  Is this bad memory?
: 
: That's a reasonable guess, but the only way to tell for sure is to
: test it.

Is there a port to do this, or do I have to take it out and take it
somewhere else to get it tested?

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


RE: Is this a sign of memory going bad?

2004-11-25 Thread Haulmark, Chris
Someone broke the silence: 

 On Thu, Nov 25, 2004 at 04:05:53PM -0500, Lowell Gilbert wrote:
 Jonathon McKitrick [EMAIL PROTECTED] writes:
 
 This is what I get from make buildworld.  I've gotten signal 10,
 11, and now 5. 
 
 Is this bad memory?
 
 That's a reasonable guess, but the only way to tell for sure is to
 test it.
 
 Is there a port to do this, or do I have to take it out and take it
 somewhere else to get it tested?
 
 jm

sysutils/memtest in the ports.

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


How to boot FreeBSD from a slave IDE disk

2004-11-25 Thread rain cip
Hello, 
 
I hope I can get some help from this list to figure out how to boot FreeBSD 
from a slave drive.  My PC has two disks.  The sysinstall sees both: ad0 and 
ad3.  My hardware configuration is such:
 
ad0 -- primary IDE, master  (all for Win2k)
ad3 -- secondary IDE, slave (all for FreeBSD 5.3)
 
No more device on the primary IDE while a CD drive acts as the master on the 
secondary IDE.
 
I used the entire space on ad3 for a FreeBSD 5.3 release installation while the 
ad0 contains my old Win 2k.  The problem now is that I can't boot FreeBSD at 
all even though I had selected install boot manager during the installation.  
The PC went straight to Win2k every time I booted.  I tried to reboot from the 
distribution CDROM and used the FDISK utility to make sure that the FreeBSD 
slice is flagged as A= but it did nothing.  In the BIOS setting, I selected 
the slave drive, i.e. ad3, to be the first boot device, and the ad0 to be 
second.  Still, I couldn't get to FreeBSD.
 
It appears to me that I did not have the boot manager installed on the ad0.  
But when I tried to install boot manager onto the ad0, the fdisk gave me no 
hint where to write the MBR.  Basically what I did was:
 
select install boot manager
select ad0
hit the q key
select install boot manager
select ad3
hit the q key
 
I know I must have done something wrong.  But what did I do wrong?
 
rain


-
Do you Yahoo!?
 Yahoo! Mail - Helps protect you from nasty viruses.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Is this a sign of memory going bad?

2004-11-25 Thread Chuck Robey
On Thu, 25 Nov 2004, Haulmark, Chris wrote:

 Someone broke the silence:

  On Thu, Nov 25, 2004 at 04:05:53PM -0500, Lowell Gilbert wrote:
  Jonathon McKitrick [EMAIL PROTECTED] writes:
 
  This is what I get from make buildworld.  I've gotten signal 10,
  11, and now 5.
 
  Is this bad memory?
 
  That's a reasonable guess, but the only way to tell for sure is to
  test it.
 
  Is there a port to do this, or do I have to take it out and take it
  somewhere else to get it tested?
 
  jm

 sysutils/memtest in the ports.

I don't want to embarrass anyone here, but something needs to be said.
Note this next sentence carefully: THERE IS NO SUCH THING AS A WORKING
MEMORY TEST PROGRAM!!!

Anyone who tells you otherwise is no friend of yours, because they are
making your life hard.  It's very alluring to assume that programs written
to do a job actually do that job, and most especially in the case of
memory test, one would *really* **REALLY** wish that Chuck here was lying,
cause you honestly need a memory test program, but the truth is otherwise:
memory test programs don't work.  At the very best, if they spend 30
minutes carefully exercising memory, you get a factor that is maybe 10%
reliable, and 90% wishful guessing.

With that in mind, sometimes, the very best memory test programs can give
you better ideas that memory you thought was failing IS failing.  The
opposite, proving that memory is good, is just totally, totally useless,
you cannot take any data home at all about your memory being good.



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




Chuck Robey | Interests include C  Java programming, FreeBSD,
[EMAIL PROTECTED]   | electronics, communications, and SF/Fantasy.

New Year's Resolution:  I will not sphroxify gullible people into looking up
fictitious words in the dictionary (on the wall at my old fraternity,
Signa Phi Nothing).

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


Playing DVD movies with Xine

2004-11-25 Thread RL
I just installed Xine from ports because I have been having very odd
issues with ogle.  However, it says there is no demuxer plugin to
handle /dev/acd0  Usually this means that the file format was not
recognized when I attempt to play DVD movies.  Similarily, xine -p
dvd:/ produces that same message, except it says there is no plugin
available to handle dvd:/

I'm lost :(
Is there some plugin I'm missing? Where do I get it?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DVD burner error

2004-11-25 Thread Mark
On Thu, Nov 25, 2004 at 10:19:51AM +0200, Edvard Fagerholm wrote:
 On Wed, Nov 24, 2004 at 05:24:36PM -0600, Andrew L. Gould wrote:
  On Wednesday 24 November 2004 05:02 pm, Edvard Fagerholm wrote:
   On Wed, Nov 24, 2004 at 11:27:03PM +0200, Edvard Fagerholm wrote:
Hello!
   
I get sometimes the following error when I burn DVDs. Actually it
happens more often than not... When burning a DVD with growisofs,
burning stops with the following message:
   
acd0 WARNING - removed from configuration
   
:-( unable to [EMAIL PROTECTED]: Input/output error
   
builtin_dd: 1028432*2KB out @ average 3.5x1385KBps
   
:-( write failed: Input/output error
   
/dev/pass0: flushing cache
(cd0:ata1:0:0:0): lost device
(probe0:ata1:0:0:0): Lost target 0???
   
:-( unable to FLUSH CACHE: Input/output error
:-( unable to SYNCHRONOUS FLUSH CACHE: Input/output error
   
(cd0:ata1:0:0:0): removing device entry
   
The funny thing is that this seems to be very file dependent. If I
create an ISO it might work fine and I can burn it many times with
no failures. However, some files always fail. With burncd I can
burn every file, but fixating doesn't work. The error message I get
with burncd is TEST_UNIT_READY Illegal request. I can get the exact
data later (i.e. the next time I want to destroy yet another DVD).
   
My DVD drive is an LG GSA-4160B
   
Regards,
Edvard
  
   Ok, I forgot to add that I'm running FreeBSD 5.3R. I also tried to
   use burncd to get the error message I mentioned in my earlier mail,
   but this time I got a kernel panic instead. I didn't see exactly what
   happened, but when I returned to the computer I saw this:
  
   burncd: ioctl(CDRIOCSETBLOCKSIZE): Device not configured
   burncd: ioctl(CDRIOCSETBLOCKSIZE): Device not configured
   burncd: ioctl(CDRIOCSETBLOCKSIZE): Device not configured
   ...
   burncd: ioctl(CDRIOCSETBLOCKSIZE): Device not configured
  
   Fatal trap 12: page fault while in kernel mode
   fault virtual address = 0x0
   fault code= supervisor read, page not present
   instruction pointer   = 0x8:0xc0440470
   stack pointer = 0x10:0xd4030bfc
   frame pointer = 0x10:0xd4030c08
   code segment  = base 0x0, limit 0x, type 0x1b
 = DPL 0, pres 1, def32 1, gran 1
   processor eflags  = interrupt enabled, resume, IOPL = 0
   current process   = 2 (g_event)
   trap number   = 12
   panic: page fault
  
   I'm happy to provide extra information. I could look up the offending
   code with the kernel debugger tomorrow (it's 1AM, so I don't feel
   like it now).
  
   dmesg output as attachment.
  
   - edvard
  
  See the following links regarding burning cd's and dvd's.  With a DVD 
  burner, you need to add atapicam to the your kernel.  The use of 
  atapicam will also mean, however, that you will need to burn cd's using 
  cdrecord rather than burncd.
  
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-dvds.html
  
  Best of luck,
  
  Andrew Gould
 
 I have atapicam installed. If you check my previous mail, you'll see that I 
 was
 using growisofs and all errors had something to do with /dev/cd0 and
 /dev/pass0. Those are the atapicam devices. I tried to use burncd, because
 atapicam burning was failing.
 
 I already read the handbook when I installed the dvd burner and it has no
 information that could be to any help regarding this problem.
 
 - edvard
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

 Hi  Edvard,

I am having the same problem as you, but have yet to find a fix,
but after trial and error I have found that slowing the write speed
down will help.  My 4x limited to -speed=3 works. Not a fix but saves
coasters.
-- 

==

The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of the
addressee.  Unauthorized use, disclosure, distribution or copying is strictly
prohibited and may be unlawful.  If you have received this communication in
error, please notify the sender immediately.

==

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


Re: Is this a sign of memory going bad?

2004-11-25 Thread Rob
Chuck Robey wrote:
On Thu, 25 Nov 2004, Haulmark, Chris wrote:

Someone broke the silence:

On Thu, Nov 25, 2004 at 04:05:53PM -0500, Lowell Gilbert wrote:
Jonathon McKitrick [EMAIL PROTECTED] writes:

This is what I get from make buildworld.  I've gotten signal 10,
11, and now 5.
Is this bad memory?
That's a reasonable guess, but the only way to tell for sure is to
test it.
Is there a port to do this, or do I have to take it out and take it
somewhere else to get it tested?
jm
sysutils/memtest in the ports.

I don't want to embarrass anyone here, but something needs to be said.
Note this next sentence carefully: THERE IS NO SUCH THING AS A WORKING
MEMORY TEST PROGRAM!!!
What about the BIOS RAM test? I mean the counter that you can interrupt with
the ESC key, at the beginning of the boot process? Will that reliably indicate
problems with the RAM, or is that test also rubbish?
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is this a sign of memory going bad?

2004-11-25 Thread Matt Emmerton
 On Thu, 25 Nov 2004, Haulmark, Chris wrote:

  Someone broke the silence:
 
   On Thu, Nov 25, 2004 at 04:05:53PM -0500, Lowell Gilbert wrote:
   Jonathon McKitrick [EMAIL PROTECTED] writes:
  
   This is what I get from make buildworld.  I've gotten signal 10,
   11, and now 5.
  
   Is this bad memory?
  
   That's a reasonable guess, but the only way to tell for sure is to
   test it.
  
   Is there a port to do this, or do I have to take it out and take it
   somewhere else to get it tested?
  
   jm
 
  sysutils/memtest in the ports.

 I don't want to embarrass anyone here, but something needs to be said.
 Note this next sentence carefully: THERE IS NO SUCH THING AS A WORKING
 MEMORY TEST PROGRAM!!!

 Anyone who tells you otherwise is no friend of yours, because they are
 making your life hard.  It's very alluring to assume that programs written
 to do a job actually do that job, and most especially in the case of
 memory test, one would *really* **REALLY** wish that Chuck here was lying,
 cause you honestly need a memory test program, but the truth is otherwise:
 memory test programs don't work.  At the very best, if they spend 30
 minutes carefully exercising memory, you get a factor that is maybe 10%
 reliable, and 90% wishful guessing.

 With that in mind, sometimes, the very best memory test programs can give
 you better ideas that memory you thought was failing IS failing.  The
 opposite, proving that memory is good, is just totally, totally useless,
 you cannot take any data home at all about your memory being good.

And it's for this very reason that I often keep a few extra sticks of memory
lying around my office.  When a system starts acting wonky (intermittent
crashes, especially under load like during a buildworld or heavy
spamassassin/razor activity), I take it offline, swap memory, and see if the
bad behaviour continues.  If it does, I'm no worse off than before.  If it
doesn't, I have a pretty good confidence level in saying that the memory was
bad.

While this method may seem somewhat brute-force-ish, it's often much quicker
and easier than futzing around with memtest and guessing.
Given the cost of memory these days, swapping it out is generally cheaper
than the cost of random downtime and recovering from crashes in a production
environment.

--
Matt Emmerton


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


Re: Is this a sign of memory going bad?

2004-11-25 Thread Matt Emmerton
 Chuck Robey wrote:
  On Thu, 25 Nov 2004, Haulmark, Chris wrote:
 
 
 Someone broke the silence:
 
 
 On Thu, Nov 25, 2004 at 04:05:53PM -0500, Lowell Gilbert wrote:
 
 Jonathon McKitrick [EMAIL PROTECTED] writes:
 
 
 This is what I get from make buildworld.  I've gotten signal 10,
 11, and now 5.
 
 Is this bad memory?
 
 That's a reasonable guess, but the only way to tell for sure is to
 test it.
 
 Is there a port to do this, or do I have to take it out and take it
 somewhere else to get it tested?
 
 jm
 
 sysutils/memtest in the ports.
 
 
  I don't want to embarrass anyone here, but something needs to be said.
  Note this next sentence carefully: THERE IS NO SUCH THING AS A WORKING
  MEMORY TEST PROGRAM!!!

 What about the BIOS RAM test? I mean the counter that you can interrupt
with
 the ESC key, at the beginning of the boot process? Will that reliably
indicate
 problems with the RAM, or is that test also rubbish?

That just tests that the RAM is accessible (ie, electrical interface is
sound).

--
Matt Emmerton

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


Re: Is this a sign of memory going bad?

2004-11-25 Thread Chuck Robey
On Fri, 26 Nov 2004, Rob wrote:

 Chuck Robey wrote:
  On Thu, 25 Nov 2004, Haulmark, Chris wrote:
 
 
 Someone broke the silence:
 
 
 On Thu, Nov 25, 2004 at 04:05:53PM -0500, Lowell Gilbert wrote:
 
 Jonathon McKitrick [EMAIL PROTECTED] writes:
 
 
 This is what I get from make buildworld.  I've gotten signal 10,
 11, and now 5.
 
 Is this bad memory?
 
 That's a reasonable guess, but the only way to tell for sure is to
 test it.
 
 Is there a port to do this, or do I have to take it out and take it
 somewhere else to get it tested?
 
 jm
 
 sysutils/memtest in the ports.
 
 
  I don't want to embarrass anyone here, but something needs to be said.
  Note this next sentence carefully: THERE IS NO SUCH THING AS A WORKING
  MEMORY TEST PROGRAM!!!

 What about the BIOS RAM test? I mean the counter that you can interrupt with
 the ESC key, at the beginning of the boot process? Will that reliably indicate
 problems with the RAM, or is that test also rubbish?

It's total rubbish, the only thing you can say is, it tells you that there
is a possiblity that the memory *might* be installed.  It's really more
helpful in the negative: if it tells you that you DON'T have memory, it's
confirming a problem, but that the memory is OK?  Utterly worthless.

This is a problem mainly because, well, you NEED the function, and it's so
convenient just to say hey, they wrote it to check memory, it wouldn't be
there otherwise.  Too bad that it's just totally a waste of your time.

Experienced hackers already know this sad news, I'm just posting this to
FreeBSD-questions, to the newbies who might otherwise be led astray.


 Rob.


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



Chuck Robey | Interests include C  Java programming, FreeBSD,
[EMAIL PROTECTED]   | electronics, communications, and SF/Fantasy.

New Year's Resolution:  I will not sphroxify gullible people into looking up
fictitious words in the dictionary (on the wall at my old fraternity,
Signa Phi Nothing).

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


Re: Is this a sign of memory going bad?

2004-11-25 Thread Chuck Robey
On Fri, 26 Nov 2004, Matt Emmerton wrote:

  Chuck Robey wrote:
   On Thu, 25 Nov 2004, Haulmark, Chris wrote:
  
  
  Someone broke the silence:
  
  
  On Thu, Nov 25, 2004 at 04:05:53PM -0500, Lowell Gilbert wrote:
  
  Jonathon McKitrick [EMAIL PROTECTED] writes:
  
  
  This is what I get from make buildworld.  I've gotten signal 10,
  11, and now 5.
  
  Is this bad memory?
  
  That's a reasonable guess, but the only way to tell for sure is to
  test it.
  
  Is there a port to do this, or do I have to take it out and take it
  somewhere else to get it tested?
  
  jm
  
  sysutils/memtest in the ports.
  
  
   I don't want to embarrass anyone here, but something needs to be said.
   Note this next sentence carefully: THERE IS NO SUCH THING AS A WORKING
   MEMORY TEST PROGRAM!!!
 
  What about the BIOS RAM test? I mean the counter that you can interrupt
 with
  the ESC key, at the beginning of the boot process? Will that reliably
 indicate
  problems with the RAM, or is that test also rubbish?

 That just tests that the RAM is accessible (ie, electrical interface is
 sound).

Got to be careful how you word it; it doesn't even mean that, cause there
are so many corner cases that memory needs to meet, really needs it, and
the electrical checks are unbelieveably thin.  I know YOU know that, but
we're writing for the newbies, they're going to take you at your words
here, and that check, it's so useless.

Something like looking at your car's fuel guage to tell if your car is
working.  If the fuel guage reads 3/4 full, it does't say much about the
state of your spark plugs, does it?  Unfortunately, that IS a fair
analogy.  Now, let the newbies read that one, it's accurate, far as it
goes.

You have to realize, newbies will guess, if you don't give them enough
data, they're not stupid, just ignorant, so be careful what sort of
guessing data you give them.


 --
 Matt Emmerton

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



Chuck Robey | Interests include C  Java programming, FreeBSD,
[EMAIL PROTECTED]   | electronics, communications, and SF/Fantasy.

New Year's Resolution:  I will not sphroxify gullible people into looking up
fictitious words in the dictionary (on the wall at my old fraternity,
Signa Phi Nothing).

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


Re: Why can't I mount a Video CD in FreeBSD??

2004-11-25 Thread Vulpes Velox
On Wed, 24 Nov 2004 17:40:09 -0800 (PST)
Mark Jayson Alvarez [EMAIL PROTECTED] wrote:

 Good day!
I'm getting an error whenever I mount a video cd. I
 can't remember the error right now because I already
 brought it back to the rental shop (its already
 overdue). I was also told by my friend that he too
 can't mount a video cd in his linux box. Do you happen
 to know why?

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


[OT] Re: Is this a sign of memory going bad?

2004-11-25 Thread Adam Fabian
Does parity RAM reliably report on it's reliability?

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


kernel compile error

2004-11-25 Thread Gert Cuykens
/usr/src/sys/dev/usb/if_rue.c:104:23: miibus_if.h: No such file or directory
/usr/src/sys/pci/if_rl.c:122:23: miibus_if.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/obj/usr/src/sys/gert.
*** Error code 1

Stop in /usr/obj/usr/src/sys/gert.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
7rxI#
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >