Re: Telnet Secure login SRA?

2010-08-24 Thread Dan Nelson
In the last episode (Aug 23), jaymax said:
 I've just reset my telnet setup, now it comes up with a SRA secure login
 prompt, how can I get rid of it.  I'm just using it for a short while to
 troubleshoot another installation, Qmail.
 
telnet localhost
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Trying SRA secure login:
User (UserName):

SRA is a login sequence that encrypts the password (something that regular
telnet doesn't do).  It's only is activated if the other end advertises
itself as a telnet server.
 
 Then if I do 
 
telnet local host 25
 ==
telnet localhost 25
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection reset by peer
telnet: Unable to connect to remote host

That means that whatever was listening on port 25 reset the connection.
 
 Don't know if the SRA prompt is impeding the connection to the port

It isn't.  Say, didn't I answer a similar question a week ago?  Hm.  Looks
like you responded but I never saw the response.

http://lists.freebsd.org/pipermail/freebsd-questions/2010-August/220263.html

Looking at that tcpdump output, it looks like qmail accepted the connection
then immediately dropped it.  You'll have to look at your qmail logs to find
out why.  If it's not generating logs, try running truss or ktrace on the
listening process to see if it's crashing on you before it has a change to
log anything.

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: running FreeBSD on Windows host

2010-08-24 Thread Matthias Apitz
El día Monday, August 23, 2010 a las 02:31:08PM +0300, Manolis Kiagias escribió:

  Once having setup VMware (workstation), I plan to boot from FreeBSD live
  CD, create the slices big enough and fill in the dumps of my current
  system. Any objectives with this? Thx
 
  matthias

 
 This should work nicely. In fact, in one of my recent projects I did the
 exact opposite with great success:
 
 I installed and configured a full system on Vmware Workstation, dumped
 the partitions and restored on real hardware.
 Saved me countless hours and had the school lab running in less than a day.

I have produced three dumps: from the /, /var and /usr file system. The
man page of restore(8) reads about creating pristine file system, made
by newfs(8). Later, in the VM environment, I'd like to have only one big
file system... Is it possible to restore the tree dumps into one big
file system or do I have to rebuild the same slicing as I now have?

In the original posting I was asking for some kind of benchmark tool in
the ports, to compare current and VM disk i/o... any hits? Thanks

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
Solidarity with the zionistic pirates of Israel?   Not in my  name!
¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Lingua franca file system Linux-NetBSD-FreeBSD?

2010-08-24 Thread Thomas Mueller
What is the best choice for a file system that can be read, and safely written 
to, by Linux, NetBSD and FreeBSD? 

With NetBSD through 5.1_RC3, I got unsupported inode size when trying to 
mount Linux ext2fs partition from NetBSD.

With FreeBSD through 7.2, I could mount, but got Bad file descriptor when 
trying to access the Linux partition.  With FreeBSD 8.0, I could mount and read 
the Linux partition, but in the only attempt to write to the ext2fs partition, 
I was editing a file with vi, and when I tried to write (save), the file was 
truncated.  I was able to recover by saving to FreeBSD file system and copying 
to msdos (FAT32) partition and subsequently copying to the Linux partition 
(this was a nonbootable USB stick used for data rather than Linux 
installation).  I haven't tried under FreeBSD 8.1 yet.

Would I have better luck using newfs_ext2fs from NetBSD or FreeBSD and possibly 
getting a flavor of ext2fs more to BSD's liking?  This would be for data as 
opposed to Linux installation.

There is the obvious possibility of using msdos (FAT32); I could run FreeDOS on 
such a partition as well as using the partition to share data between Linux, 
NetBSD and FreeBSD, and FreeDOS too.  Drawback is some problems getting long 
file names straight, and lack of case sensitivity.  But maybe FAT32 is the 
safest choice?

Linux, NetBSD and FreeBSD are supposed to be able to read and write NTFS 
partition, but I see from a very recent thread on this list, subject Re: 
External HD, that writing to NTFS partition is very dangerous, and I figure 
that would be also true for NetBSD and Linux, and any other 
non-MS-Windows-NT-line OS that might have support for NTFS. 

There is also the caveat that such a data-sharing partition would have to be in 
a primary or extended/logical slice/partition, since Linux seems unable to read 
BSD disklabels, and NetBSD and FreeBSD can't read each other's disklabels.  
Also, Linux and the BSDs go separate ways with some newer file systems (ext4fs, 
btrfs, jfs in Linux; zfs in FreeBSD).

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


Free compilation album from legendary songsmith Billy Franks - With an introduction by best selling author, Christopher Brookmyre

2010-08-24 Thread Billy Franks
Hi,

Penning Classics and garnering praise from Bono, Peter Gabriel  Oasis THE 
GUARDIAN

Songwriting from the top drawer TIME OUT.

Imagine McCartney's craftsmanship and Springsteen's power and you'll get the 
gist Q MAGAZINE



As it seems I am only really know by famous novelists and rock stars, I thought 
I might introduce myself by giving awayt a free compilation of 12 of my best 
songs from 6 albums spanning 2 decades.

To grab your's just email  eupho...@billyfranks.com  and you will get the 
download link.

If ya want to read Christopher Brookmyres introduction, here it is:

Euphoria

It?s the first word that always comes to mind whenever I attempt to describe 
Billy Franks? music. It refers primarily to an almost excessive feeling of joy, 
but for me the more important aspect that connects it to these songs is that 
sense of being consumed by an emotion; that sense of an unstoppable, volcanic, 
up-rushing of passion, that exhilarating but tantalising feeling you get when 
you are experiencing something that cannot be expressed in mere language, nor 
even mere music. 

Anybody can write a song about love. Not anybody can make you feel love, feel 
loss, feel pain, feel desire, feel ecstasy. Not anybody can make you feel 
euphoria. Billy Franks can.

Christopher Brookmyre



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


Re: running FreeBSD on Windows host

2010-08-24 Thread Manolis Kiagias
On 24/08/2010 11:42 π.μ., Matthias Apitz wrote:
 El día Monday, August 23, 2010 a las 02:31:08PM +0300, Manolis Kiagias 
 escribió:

   
 Once having setup VMware (workstation), I plan to boot from FreeBSD live
 CD, create the slices big enough and fill in the dumps of my current
 system. Any objectives with this? Thx

 matthias
   
   
 This should work nicely. In fact, in one of my recent projects I did the
 exact opposite with great success:

 I installed and configured a full system on Vmware Workstation, dumped
 the partitions and restored on real hardware.
 Saved me countless hours and had the school lab running in less than a day.
 
 I have produced three dumps: from the /, /var and /usr file system. The
 man page of restore(8) reads about creating pristine file system, made
 by newfs(8). Later, in the VM environment, I'd like to have only one big
 file system... Is it possible to restore the tree dumps into one big
 file system or do I have to rebuild the same slicing as I now have?
   

You won't have to rebuild the slicing. Just create the relevant
directories in your big file system, cd into them and use restore.
 In the original posting I was asking for some kind of benchmark tool in
 the ports, to compare current and VM disk i/o... any hits? Thanks

   matthias
   

Sorry I have no hard evidence on that. FWIW, virtual desktop systems
running on core2duo class machines feel very fast and responsive.
Definitely faster than my Atom 330 (dual core) running FreeBSD natively.
There are lots of benchmarks in ports/benchmarks, some of them may be
useful. I've used bonnie / bonnie++ in the past, but I am never certain
I can interpret the results in a meaningful way. The base system gstat
could also prove useful.

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


Re: Lingua franca file system Linux-NetBSD-FreeBSD?

2010-08-24 Thread Samuel Martín Moro
the problem is not which version of mkfs (ext2fs) you use.
the problem is that BSD only handle ext2fs partitions with 128b inodes,
while default value is 256.
when running mkfs/newfs, be sure to specify -I 128

also, I won't recommand ntfs.
but, ntfs works correctly under BSD and Linux.
so, if you just want the partition to be read/writeable on both BSD and
Linux, and don't wan't to use 128b inodes, nor ext2, you may wanna consider
using fat (except the file size limit thing, it works great), or ntfs (quite
ugly, but still working)


Samuel Martín Moro
{EPITECH.} tek4
CamTrace S.A.S
  (+033) 1 41 38 37 60
  1 Allée de la Venelle
  92150 Suresnes
  FRANCE

Nobody wants to say how this works.
  Maybe nobody knows ...
  Xorg.conf(5)


On Tue, Aug 24, 2010 at 11:53 AM, Thomas Mueller
mueller6...@bellsouth.netwrote:

 What is the best choice for a file system that can be read, and safely
 written to, by Linux, NetBSD and FreeBSD?

 With NetBSD through 5.1_RC3, I got unsupported inode size when trying to
 mount Linux ext2fs partition from NetBSD.

 With FreeBSD through 7.2, I could mount, but got Bad file descriptor when
 trying to access the Linux partition.  With FreeBSD 8.0, I could mount and
 read the Linux partition, but in the only attempt to write to the ext2fs
 partition, I was editing a file with vi, and when I tried to write (save),
 the file was truncated.  I was able to recover by saving to FreeBSD file
 system and copying to msdos (FAT32) partition and subsequently copying to
 the Linux partition (this was a nonbootable USB stick used for data rather
 than Linux installation).  I haven't tried under FreeBSD 8.1 yet.

 Would I have better luck using newfs_ext2fs from NetBSD or FreeBSD and
 possibly getting a flavor of ext2fs more to BSD's liking?  This would be for
 data as opposed to Linux installation.

 There is the obvious possibility of using msdos (FAT32); I could run
 FreeDOS on such a partition as well as using the partition to share data
 between Linux, NetBSD and FreeBSD, and FreeDOS too.  Drawback is some
 problems getting long file names straight, and lack of case sensitivity.
  But maybe FAT32 is the safest choice?

 Linux, NetBSD and FreeBSD are supposed to be able to read and write NTFS
 partition, but I see from a very recent thread on this list, subject Re:
 External HD, that writing to NTFS partition is very dangerous, and I figure
 that would be also true for NetBSD and Linux, and any other
 non-MS-Windows-NT-line OS that might have support for NTFS.

 There is also the caveat that such a data-sharing partition would have to
 be in a primary or extended/logical slice/partition, since Linux seems
 unable to read BSD disklabels, and NetBSD and FreeBSD can't read each
 other's disklabels.  Also, Linux and the BSDs go separate ways with some
 newer file systems (ext4fs, btrfs, jfs in Linux; zfs in FreeBSD).

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

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


Re: Lingua franca file system Linux-NetBSD-FreeBSD?

2010-08-24 Thread Polytropon
On Tue, 24 Aug 2010 09:53:09 +, Thomas Mueller 
mueller6...@bellsouth.net wrote:
 There is the obvious possibility of using msdos (FAT32); I could
 run FreeDOS on such a partition as well as using the partition to
 share data between Linux, NetBSD and FreeBSD, and FreeDOS too. 
 Drawback is some problems getting long file names straight, and
 lack of case sensitivity.  But maybe FAT32 is the safest choice?

There is a way around this: Put the files to be transferred into
a tar archive. In this way, only the archives name will have to
obey 8.3, and its content will keep intact (case sensitive long
file names); the only downside is that extraction in DOS will
result in 8.3 filenames again (there's TAR.EXE for DOS).

Know that tar is the most universal file system. :-) I did use
this approach in the past when having to fransfer files between
non-networked UNIX and Linux systems via floppy disk: Simply used
tar directly on the device (which's device name was of course
different on all the systems).



 Linux, NetBSD and FreeBSD are supposed to be able to read and
 write NTFS partition, but I see from a very recent thread on
 this list, subject Re: External HD, that writing to NTFS
 partition is very dangerous, and I figure that would be also
 true for NetBSD and Linux, and any other non-MS-Windows-NT-line
 OS that might have support for NTFS. 

NTFS is known to be an unstable file system.



 There is also the caveat that such a data-sharing partition would
 have to be in a primary or extended/logical slice/partition,
 since Linux seems unable to read BSD disklabels, and NetBSD and
 FreeBSD can't read each other's disklabels. 

Linux and DOS do, as far as I remember, only operate on slice level.
Partitioned slices (such as FreeBSD uses them) are a bit problematic.
With 4 slices (so called DOS primary partitions) a disk is full.



 Also, Linux and the BSDs go separate ways with some newer file
 systems (ext4fs, btrfs, jfs in Linux; zfs in FreeBSD).

An option would be to avoid the file system level at all. Maybe that's
not a solution to your requirements, but let me mention this: In a
interoperability environment, I did use a disk enclosure with built-in
FTP server. In this way, all OSes can r/w access its content via FTP.
There are no limits regarding 8.3 filenames. Even MacOS X runs well
in such a setting. The downside, of course, is that you have to run
a FTP session for every transfer (instead of just mounting a disk's
partition), but it's basically no problem to use a kind of FTP-backed
file system, I think I have seen this in some KDE or Gnome...



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


sendmail rdns question

2010-08-24 Thread Paul Macdonald


Hi,

Sorry for posting on a bsd list but i figure there's more than a few 
sendmail experts here.


I would like to run reverse dns checks on one of my boxes but the 
check_rnds macro looks a bit overkill to me.


I want to reject the mail if there's no reverse dns, but not if there is 
rdns but the PTR loop isn't closed (which is very common).


So accepting these types:

reject=451 4.1.8 Possibly forged hostname for

   but rejecting these types
  reject=550 5.7.1 ... Fix reverse DNS for 
...


In sendmail, FEATURE(`require_rdns')dnl  seems to do both.

many thanks
Paul.


--

-
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-
t: 0131 5548070
m: 07534206249
e: p...@ifdnrg.com
w: http://www.ifdnrg.com
-
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
-

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


RE: Lingua franca file system Linux-NetBSD-FreeBSD?

2010-08-24 Thread Christer Solstrand Johannessen

 -Original Message-
 From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
 questi...@freebsd.org] On Behalf Of Polytropon
 Sent: 24. august 2010 12:55
 To: Thomas Mueller
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Lingua franca file system Linux-NetBSD-FreeBSD?
 
 
  Also, Linux and the BSDs go separate ways with some newer file
  systems (ext4fs, btrfs, jfs in Linux; zfs in FreeBSD).
 
 An option would be to avoid the file system level at all. Maybe
 that's
 not a solution to your requirements, but let me mention this: In a
 interoperability environment, I did use a disk enclosure with
 built-in
 FTP server. In this way, all OSes can r/w access its content via
 FTP.
 There are no limits regarding 8.3 filenames. Even MacOS X runs
 well
 in such a setting. The downside, of course, is that you have to
 run
 a FTP session for every transfer (instead of just mounting a
 disk's
 partition), but it's basically no problem to use a kind of FTP-
 backed
 file system, I think I have seen this in some KDE or Gnome...

I've successfully used CIFS/Samba and NFS between Linux, OpenBSD,
FreeBSD, Solaris and Windows for years. Easy to set up and works well.

If there are no Windows clients involved, I'd use NFS or AFS; with
Windows in the mix, CIFS/Samba may be a better choice as Windows NFS
clients are dodgy at best.

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


ghostscript-8.71 update

2010-08-24 Thread Alain G. Fabry
Trying to update ghostscript, but seems to fail. Can somebody provide me with 
info on how to solve this?


Here error during build of port

..
cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -fno-strict-aliasing 
-pipe -fPIC -DUPD_SIGNAL=0 -I.  
-I/usr/ports/print/ghostscript8/work/ghostscript-8.71/jasper/src/libjasper/include
  -I/usr/local/include/libpng  -I/usr/local/include  -Wall -Wstrict-prototypes 
-Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings 
-Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common 
-DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE=unsigned long long -O2 
-fno-strict-aliasing -pipe -DUSE_LIBPAPER -DGS_DEVS_SHARED 
-DGS_DEVS_SHARED_DIR=\/usr/local/lib/ghostscript/8.71\ -I./obj/../soobj 
-I./base  -g -o ./bin/../sobin/gsc ./psi/dxmainc.c -L./bin/../sobin -lgs
./bin/../sobin/libgs.so: undefined reference to `gx_default_buffer_page'
./bin/../sobin/libgs.so: undefined reference to `gx_default_start_render_thread'
./bin/../sobin/libgs.so: undefined reference to `clist_get_data'
./bin/../sobin/libgs.so: undefined reference to `gdev_prn_put_params'
./bin/../sobin/libgs.so: undefined reference to `gx_default_open_render_device'
./bin/../sobin/libgs.so: undefined reference to `gx_default_close_render_device'
./bin/../sobin/libgs.so: undefined reference to `cmd_clear_known'
./bin/../sobin/libgs.so: undefined reference to `gdev_prn_open'
./bin/../sobin/libgs.so: undefined reference to `gx_default_print_page_copies'
./bin/../sobin/libgs.so: undefined reference to `gx_default_size_buf_device'
./bin/../sobin/libgs.so: undefined reference to `cmd_write_ctm'
./bin/../sobin/libgs.so: undefined reference to `gs_clist_device_procs'
./bin/../sobin/libgs.so: undefined reference to `gx_default_setup_buf_device'
./bin/../sobin/libgs.so: undefined reference to `gx_default_get_space_params'
./bin/../sobin/libgs.so: undefined reference to `gdev_prn_get_params'
./bin/../sobin/libgs.so: undefined reference to `cmd_read_matrix'
./bin/../sobin/libgs.so: undefined reference to `clist_pattern_manage'
./bin/../sobin/libgs.so: undefined reference to 
`cmd_write_ctm_return_length_nodevice'
./bin/../sobin/libgs.so: undefined reference to `cmd_put_color_mapping'
./bin/../sobin/libgs.so: undefined reference to `gdev_prn_close'
./bin/../sobin/libgs.so: undefined reference to 
`clist_writer_check_empty_cropping_stack'
./bin/../sobin/libgs.so: undefined reference to `st_device_clist'
./bin/../sobin/libgs.so: undefined reference to `clist_playback_file_bands'
./bin/../sobin/libgs.so: undefined reference to `gx_default_destroy_buf_device'
./bin/../sobin/libgs.so: undefined reference to `gdev_prn_output_page'
./bin/../sobin/libgs.so: undefined reference to `clist_init_io_procs'
./bin/../sobin/libgs.so: undefined reference to `clist_put_data'
./bin/../sobin/libgs.so: undefined reference to `gx_default_create_buf_device'
./bin/../sobin/libgs.so: undefined reference to `gdev_prn_get_bits'
./bin/../sobin/libgs.so: undefined reference to `clist_end_page'
./bin/../sobin/libgs.so: undefined reference to `clist_data_size'
./bin/../sobin/libgs.so: undefined reference to `st_device_printer'
gmake[1]: *** [bin/../sobin/gsc] Error 1
gmake[1]: Leaving directory 
`/usr/ports/print/ghostscript8/work/ghostscript-8.71'
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall20100824-60860-1222o6h-0 env make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! print/ghostscript8(linker error)
Command failed [exit code 1]: /usr/local/sbin/portinstall 
print/ghostscript8

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


Re: Installation problem

2010-08-24 Thread Erich Dollansky
Hi,

On Monday 23 August 2010 15:01:22 Mubeesh ali wrote:
 Hi,
 
 In my case(stuck at bios splash after freebsd install) ,i had to give it to
 acer support ,as i risked losing warranty if i opened/dismantled  my laptop.
 They have diagnosed harddrive to be faulty(the laptop is hardly 15 days old
 :-(  ).  The lappy was running ubuntu and fedora fine.
 
this is real bad luck.

 Hope this does not repeat with my next try at freebsd .

This was just a hardware fault not detected at the factory. This happens.

Good luck for your next installation.

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


Msmtp

2010-08-24 Thread Rem P Roberti
 Anyone using msmtp as an smtp client?  I have Comcast as an ISP and am 
unable to achieve authentication.  The weird thing is that I saved my 
.msmtprc file from a previous installation where it worked just fine.

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


Molecular Modeling Software?

2010-08-24 Thread Chris Maness
Is there any molecular modeling software in ports?

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


Re: Molecular Modeling Software?

2010-08-24 Thread Rodrigo Gonzalez
 Maybe /usr/ports/biology/pymol is what you need

On Tue, 24 Aug 2010 08:22:57 -0700
Chris Maness ch...@chrismaness.com wrote:

 Is there any molecular modeling software in ports?
 
 Regards,
 Chris Maness
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org



signature.asc
Description: PGP signature


Re: Molecular Modeling Software?

2010-08-24 Thread Chris Maness
On Tue, Aug 24, 2010 at 8:27 AM, Rodrigo Gonzalez
rjgonz...@estrads.com.ar wrote:
  Maybe /usr/ports/biology/pymol is what you need

 On Tue, 24 Aug 2010 08:22:57 -0700
 Chris Maness ch...@chrismaness.com wrote:

 Is there any molecular modeling software in ports?

 Regards,
 Chris Maness


Yea, I see that one there plus tinker and vmd.  I want to do a
spectroscopy lab with my chemistry students, and I am wondering if any
of these would do emission line predictions.

Any suggestions?

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


Re: Lingua franca file system Linux-NetBSD-FreeBSD?

2010-08-24 Thread Polytropon
On Tue, 24 Aug 2010 08:09:04 -0400, Christer Solstrand Johannessen 
chris...@csj.no wrote:
 If there are no Windows clients involved, I'd use NFS or AFS; 

Yes, I forgot to mention NFS. Of course it works, as the support
for it in UNIX, Linux, BSD and Mac OS X is sufficiently good. But
it may not be a solution in a one-PC-setting. :-)



 with
 Windows in the mix, CIFS/Samba may be a better choice as Windows NFS
 clients are dodgy at best.

I've also seen enclosures for hard disks including a CIFS share
management system via their network connection. A built-in browser-
accessible configuration tool can be used for customization. As
there is no separate software on the hard disk itself, the disk
can be replaced easily (if full or defective). This would be an
acceptable add-on for the PC in a one-PC-setting.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Spontaneous Reboots (I thought it was Virtualbox Kernel Modules)

2010-08-24 Thread Chris Maness
I have commented out the lines that load kernel modules for
virtualbox, and made sure they were gone with kldstat.  However I am
still getting VERY infrequent spontaneous reboots.  So it is not the
modules.  I am thinking hardware.  It has a temperature alarm that
sounds when it is hot, but since I have cleaned it out I have not had
any issues with heat.  I am thinking bad processor/ram.  It is
behaving the same way before/after the upgraded to the latest release.
 What do you guys think?

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


Re: Spontaneous Reboots (I thought it was Virtualbox Kernel Modules)

2010-08-24 Thread C. P. Ghost
On Tue, Aug 24, 2010 at 7:29 PM, Chris Maness ch...@chrismaness.com wrote:
 I have commented out the lines that load kernel modules for
 virtualbox, and made sure they were gone with kldstat. However I am
 still getting VERY infrequent spontaneous reboots. So it is not the
 modules. I am thinking hardware. It has a temperature alarm that
 sounds when it is hot, but since I have cleaned it out I have not had
 any issues with heat. I am thinking bad processor/ram. It is
 behaving the same way before/after the upgraded to the latest release.
 What do you guys think?

Unless you're using ECC RAM, bad RAM should still be #1 on your
watchlist, closely followed by bad PSU. Even RAM that worked fine in
the past can start exhibiting bit errors a few years later (maybe due
to mechanical stress, i.e. vibrations or frequent temperature
differences?) and esp. el cheapo PSUs have the tendency to degrade
over time.

Of course, a software bug may always be possible. Have you tried to
get a core dump? If so, does the error always happen at the same place
(backtrace / bt is your friend)? If the error keeps occurring at
different locations, it's almost always dodgy hardware.

 Regards,
 Chris Maness

-cpghost.

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


Re: Lingua franca file system Linux-NetBSD-FreeBSD?

2010-08-24 Thread Jerry McAllister
On Tue, Aug 24, 2010 at 06:29:31PM +0200, Polytropon wrote:

 On Tue, 24 Aug 2010 08:09:04 -0400, Christer Solstrand Johannessen 
 chris...@csj.no wrote:
  If there are no Windows clients involved, I'd use NFS or AFS; 
 
 Yes, I forgot to mention NFS. Of course it works, as the support
 for it in UNIX, Linux, BSD and Mac OS X is sufficiently good. But
 it may not be a solution in a one-PC-setting. :-)
 
 
 
  with
  Windows in the mix, CIFS/Samba may be a better choice as Windows NFS
  clients are dodgy at best.

I have deleted the OP, so I may not remember exactly what [s]he is
looking for, but if it is just to have some common space that each
OS can read/write, but not necessarily boot from eg each OS has its
own bootable disk space and this is just used between then, then
maybe FAT32 might do the trick.   It doesn't preserve some of
the UNIX ownership and permission stuff though.

jerry

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


Opera 10.61 (FreeBSD 8/i386) crash - can't read kernel memory

2010-08-24 Thread parv
Why does Opera 10.61.6430 want to read kernel memory (on FreeBSD
8[.0]-STABLE/i386), leading to eventual death ...

  opera [crash logging]: Can't read kernel memory: : /dev/mem: Permission denied
  opera [crash logging]: CRASH!!
  no name got signal SIGSEGV at address 0819DEA6


... while shutting down normally? (Yes, of course, only root:kmem
has read access to /dev/mem.)

Also, is there any way to prevent creation of /var/tmp/crashdatetime.txt
every time it crashes?


  - parv

-- 

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


Re: Lingua franca file system Linux-NetBSD-FreeBSD?

2010-08-24 Thread Joshua Isom

On 8/24/2010 4:53 AM, Thomas Mueller wrote:

What is the best choice for a file system that can be read, and safely written 
to, by Linux, NetBSD and FreeBSD?

With NetBSD through 5.1_RC3, I got unsupported inode size when trying to 
mount Linux ext2fs partition from NetBSD.

With FreeBSD through 7.2, I could mount, but got Bad file descriptor when 
trying to access the Linux partition.  With FreeBSD 8.0, I could mount and read the Linux 
partition, but in the only attempt to write to the ext2fs partition, I was editing a file 
with vi, and when I tried to write (save), the file was truncated.  I was able to recover 
by saving to FreeBSD file system and copying to msdos (FAT32) partition and subsequently 
copying to the Linux partition (this was a nonbootable USB stick used for data rather 
than Linux installation).  I haven't tried under FreeBSD 8.1 yet.

Would I have better luck using newfs_ext2fs from NetBSD or FreeBSD and possibly 
getting a flavor of ext2fs more to BSD's liking?  This would be for data as 
opposed to Linux installation.

There is the obvious possibility of using msdos (FAT32); I could run FreeDOS on 
such a partition as well as using the partition to share data between Linux, 
NetBSD and FreeBSD, and FreeDOS too.  Drawback is some problems getting long 
file names straight, and lack of case sensitivity.  But maybe FAT32 is the 
safest choice?

Linux, NetBSD and FreeBSD are supposed to be able to read and write NTFS partition, but I 
see from a very recent thread on this list, subject Re: External HD, that 
writing to NTFS partition is very dangerous, and I figure that would be also true for 
NetBSD and Linux, and any other non-MS-Windows-NT-line OS that might have support for 
NTFS.

There is also the caveat that such a data-sharing partition would have to be in 
a primary or extended/logical slice/partition, since Linux seems unable to read 
BSD disklabels, and NetBSD and FreeBSD can't read each other's disklabels.  
Also, Linux and the BSDs go separate ways with some newer file systems (ext4fs, 
btrfs, jfs in Linux; zfs in FreeBSD).

Tom


One other possibility is using UDF on the disk.  It's forgotten about 
but I believe it's more interoperable and unix-compatible than fat32 
or the rest.

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


nfs server /home not responding

2010-08-24 Thread Lucas Wang
Hi experts,

We use NFS to store /home directory for users in our lab.
However, we occasionally get blocked from logging in because 
the automount daemon on a NFS client machine hangs. When
that happens, we get this error message on the NFS client machine
called bucks in its system logs:
Aug 24 10:53:40 bucks kernel: nfs server pid...@bucks:/home: not responding

pid670 is the amd process.

Our NFS server(raptors) has the following configuration:
FreeBSD raptors.cs.ucla.edu 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0: Tue Feb  
9 12:59:50 PST 2010 r...@raptors.cs.ucla.edu:/usr/obj/usr/src/sys/RAPTORS  
amd64

And the client machine is configured as:
FreeBSD bucks.cs.ucla.edu 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0: Tue Feb  9 
20:47:50 UTC 2010 r...@bucks.cs.ucla.edu:/usr/obj/usr/src/sys/BUCKS  amd64

Another thing I want to add is that several other NFS client machines
also hang from time to time. But they don't usually hang at the same time.
Even though rebooting can fix the problem once, we don't want it keep hurting 
us.

So any insights or suggestions will be greatly appreciated. Thanks a lot.

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


Re: nfs server /home not responding

2010-08-24 Thread Bill Moran
In response to Lucas Wang lw...@us.toyota-itc.com:
 
 We use NFS to store /home directory for users in our lab.
 However, we occasionally get blocked from logging in because 
 the automount daemon on a NFS client machine hangs. When
 that happens, we get this error message on the NFS client machine
 called bucks in its system logs:
 Aug 24 10:53:40 bucks kernel: nfs server pid...@bucks:/home: not responding
 
 pid670 is the amd process.
 
 Our NFS server(raptors) has the following configuration:
 FreeBSD raptors.cs.ucla.edu 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0: Tue Feb 
  9 12:59:50 PST 2010 
 r...@raptors.cs.ucla.edu:/usr/obj/usr/src/sys/RAPTORS  amd64
 
 And the client machine is configured as:
 FreeBSD bucks.cs.ucla.edu 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0: Tue Feb  
 9 20:47:50 UTC 2010 r...@bucks.cs.ucla.edu:/usr/obj/usr/src/sys/BUCKS  
 amd64
 
 Another thing I want to add is that several other NFS client machines
 also hang from time to time. But they don't usually hang at the same time.
 Even though rebooting can fix the problem once, we don't want it keep hurting 
 us.
 
 So any insights or suggestions will be greatly appreciated. Thanks a lot.

Do you have dumbtimer in the options for the nfs mount?

My research into this indicated that the NFS client keeps track of average
response times from the server.  If the server starts to respond significantly
slower than is expected, the code assumes that the server is down and the
mount freezes and that message appears in the logs.  Usually, after a
short wait (a few minutes) the connection resumes and you see a server
is alive again message.  See man mount_nfs for more info.  Also, try
switching to TCP mounts.

If you have a network that occasionally gets hit with traffic spikes that
cause data packets to take abnormally long to travel, or an NFS server that
occasionally gets usage spikes that cause it to respond slowly, this will
happen.

In addition to dumbtimer you can also look at better segmenting your
network, or increasing the capacity of the NFS server to prevent the
problem.

If the NFS hangs occur and the mount never recovers (even after several
minutes) then you probably have a different problem.  Possibly a firewall
is losing the state table and thus the connection is going bad?

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Spontaneous Reboots (I thought it was Virtualbox Kernel Modules)

2010-08-24 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Tue Aug 24 12:29:16 2010
 Date: Tue, 24 Aug 2010 10:29:27 -0700
 From: Chris Maness ch...@chrismaness.com
 To: freebsd-questions@freebsd.org
 Subject: Spontaneous Reboots (I thought it was Virtualbox Kernel Modules)

 I have commented out the lines that load kernel modules for
 virtualbox, and made sure they were gone with kldstat. However I am
 still getting VERY infrequent spontaneous reboots.  So it is not the
 modules.  I am thinking hardware.  It has a temperature alarm that
 sounds when it is hot, but since I have cleaned it out I have not had
 any issues with heat.  I am thinking bad processor/ram.  It is
 behaving the same way before/after the upgraded to the latest release.
  What do you guys think?

I think its 100% certain that it is hardware, or software.  *GRIN*

You can try randomly replacing things, which can be expensive, time-
consuming, and not necessarily effective -- how do you *KNOW* that the
parts you're putting _IN_ do not, themselves, have (as-yet undiscovered)
problems?

I'd try to make the box tell me something about *why* it crashed.

crank up the level of logging for 'kernel' events in syslog.con,
enable crash dumps, and make sure the boot process saves the dump 
Then you can get into the weird,wonderful, world of 'crash dump'
analysis.

With a few dumps in hand, you can begin to see if there is any consistency
in what the machine was doing -when- it crashed.

Happy hunting

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


Re: Spontaneous Reboots (I thought it was Virtualbox Kernel Modules)

2010-08-24 Thread Chris Maness
On Tue, Aug 24, 2010 at 12:47 PM, Robert Bonomi
bon...@mail.r-bonomi.com wrote:
 From owner-freebsd-questi...@freebsd.org  Tue Aug 24 12:29:16 2010
 Date: Tue, 24 Aug 2010 10:29:27 -0700
 From: Chris Maness ch...@chrismaness.com
 To: freebsd-questions@freebsd.org
 Subject: Spontaneous Reboots (I thought it was Virtualbox Kernel Modules)

 I have commented out the lines that load kernel modules for
 virtualbox, and made sure they were gone with kldstat. However I am
 still getting VERY infrequent spontaneous reboots.  So it is not the
 modules.  I am thinking hardware.  It has a temperature alarm that
 sounds when it is hot, but since I have cleaned it out I have not had
 any issues with heat.  I am thinking bad processor/ram.  It is
 behaving the same way before/after the upgraded to the latest release.
  What do you guys think?

 I think its 100% certain that it is hardware, or software.  *GRIN*

 You can try randomly replacing things, which can be expensive, time-
 consuming, and not necessarily effective -- how do you *KNOW* that the
 parts you're putting _IN_ do not, themselves, have (as-yet undiscovered)
 problems?

 I'd try to make the box tell me something about *why* it crashed.

 crank up the level of logging for 'kernel' events in syslog.con,
 enable crash dumps, and make sure the boot process saves the dump
 Then you can get into the weird,wonderful, world of 'crash dump'
 analysis.

 With a few dumps in hand, you can begin to see if there is any consistency
 in what the machine was doing -when- it crashed.

 Happy hunting


When I looked at the regular level kernel log, it seemed  to be out of
the clear blue.  I am an experienced user, but I am not sure if I have
the programing skills to look at debug output to find a fault.  I
might need a bit of hand holding on this one.  I looked at backtrace
to.  I was thinking it was a command or something, but it looks like
some debugging procedure.

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


Re: Spontaneous Reboots (I thought it was Virtualbox Kernel Modules)

2010-08-24 Thread Manolis Kiagias
On 24/08/2010 10:58 μ.μ., Chris Maness wrote:
 On Tue, Aug 24, 2010 at 12:47 PM, Robert Bonomi
 bon...@mail.r-bonomi.com wrote:
   
 From owner-freebsd-questi...@freebsd.org  Tue Aug 24 12:29:16 2010
 Date: Tue, 24 Aug 2010 10:29:27 -0700
 From: Chris Maness ch...@chrismaness.com
 To: freebsd-questions@freebsd.org
 Subject: Spontaneous Reboots (I thought it was Virtualbox Kernel Modules)

 I have commented out the lines that load kernel modules for
 virtualbox, and made sure they were gone with kldstat. However I am
 still getting VERY infrequent spontaneous reboots.  So it is not the
 modules.  I am thinking hardware.  It has a temperature alarm that
 sounds when it is hot, but since I have cleaned it out I have not had
 any issues with heat.  I am thinking bad processor/ram.  It is
 behaving the same way before/after the upgraded to the latest release.
  What do you guys think?
   
 I think its 100% certain that it is hardware, or software.  *GRIN*

 You can try randomly replacing things, which can be expensive, time-
 consuming, and not necessarily effective -- how do you *KNOW* that the
 parts you're putting _IN_ do not, themselves, have (as-yet undiscovered)
 problems?

 I'd try to make the box tell me something about *why* it crashed.

 crank up the level of logging for 'kernel' events in syslog.con,
 enable crash dumps, and make sure the boot process saves the dump
 Then you can get into the weird,wonderful, world of 'crash dump'
 analysis.

 With a few dumps in hand, you can begin to see if there is any consistency
 in what the machine was doing -when- it crashed.

 Happy hunting

 
 When I looked at the regular level kernel log, it seemed  to be out of
 the clear blue.  I am an experienced user, but I am not sure if I have
 the programing skills to look at debug output to find a fault.  I
 might need a bit of hand holding on this one.  I looked at backtrace
 to.  I was thinking it was a command or something, but it looks like
 some debugging procedure.

 Regards,
 Chris Maness
   

If the reboot is so abrupt and sudden that nothing is logged (like
someone pressing the reset button), it is most probably hardware.
As others have said the most usual culprits are RAM and power supply. If
you have any spare parts at hand, it may be worth the effort to try with
an other power supply.
If the reboot happens when the system is stressed (lots of disk activity
and/or high power consumption by the CPU, like when portupgrading) the
power supply is even more suspect.
Bad RAM usually causes error messages and dumps to appear rather than
out of the blue reboots. Since it is unlikely that the same program will
always be in the faulty area of memory each time, the dumps will not be
consistent - will seem to be caused by entirely different apps. It is
still worthy to at least take out the RAM modules and clean the contacts
before reinstalling. Use rubbing alcohol (a pen eraser is also good for
gold plated contacts). Many RAM problems on older systems are definitely
caused by dust and corrosion on these contacts.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Spontaneous Reboots (I thought it was Virtualbox Kernel Modules)

2010-08-24 Thread Reko Turja
When I looked at the regular level kernel log, it seemed  to be out 
of

the clear blue.


I've seen once behaviour like this on FreeBSD and it was caused by 
faulty ECC memory comb. Incorrectable CRC error just caused a 
diagnosis beep sequence and then machine shut down immediately after.


-Reko 


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


printing outside browser cuts off top and bottom of page

2010-08-24 Thread Chad Perrin
I'm using CUPS on FreeBSD 8.0, and any time I try to print from outside
Firefox the top and bottom of a PDF gets cut off.  I don't have any means
installed for printing a PDF from inside Firefox, but Webpages and the
CUPS test page print just fine from within the browser.  For instance:

/usr/local/bin/lpr -P 4050N sheet.pdf

(using an HP 4050N printer)

This results in the top and bottom edge of the PDF getting cut off.  I've
tried tweaking settings in GUI tools such as GtkLP to try to force it to
print the PDF at a smaller size on the page so it would fit within the
cut-off points, and it still prints exactly the same way.  I've tried
adjusting margins in such GUI tools as well, to no avail.  Trying to
print from Xpdf produces the same problematic results.

If there's a command line solution to this, I haven't encountered it.

Where should I start looking to figure out the problem?  Unfortunately,
it looks like the FreeBSD Handbook only deals with lpd.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpZfQj1rGqwg.pgp
Description: PGP signature


Re: Spontaneous Reboots (I thought it was Virtualbox Kernel Modules)

2010-08-24 Thread Frank Shute
On Tue, Aug 24, 2010 at 10:29:27AM -0700, Chris Maness wrote:

 I have commented out the lines that load kernel modules for
 virtualbox, and made sure they were gone with kldstat.  However I am
 still getting VERY infrequent spontaneous reboots.  So it is not the
 modules.  I am thinking hardware.  It has a temperature alarm that
 sounds when it is hot, but since I have cleaned it out I have not had
 any issues with heat.  I am thinking bad processor/ram.  It is
 behaving the same way before/after the upgraded to the latest release.
  What do you guys think?
 
 Regards,
 Chris Maness

Sounds to me like power supply. Is the machine on a UPS? Have you
checked out the power leads are properly seated? Have these reboots
started to happen after you cleaned it out?


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html


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


Re: printing outside browser cuts off top and bottom of page

2010-08-24 Thread Chip Camden
Quoth Chad Perrin on Tuesday, 24 August 2010:
 I'm using CUPS on FreeBSD 8.0, and any time I try to print from outside
 Firefox the top and bottom of a PDF gets cut off.  I don't have any means
 installed for printing a PDF from inside Firefox, but Webpages and the
 CUPS test page print just fine from within the browser.  For instance:
 
 /usr/local/bin/lpr -P 4050N sheet.pdf
 
 (using an HP 4050N printer)
 
 This results in the top and bottom edge of the PDF getting cut off.  I've
 tried tweaking settings in GUI tools such as GtkLP to try to force it to
 print the PDF at a smaller size on the page so it would fit within the
 cut-off points, and it still prints exactly the same way.  I've tried
 adjusting margins in such GUI tools as well, to no avail.  Trying to
 print from Xpdf produces the same problematic results.
 
 If there's a command line solution to this, I haven't encountered it.
 
 Where should I start looking to figure out the problem?  Unfortunately,
 it looks like the FreeBSD Handbook only deals with lpd.
 
 -- 
 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]

I'm not seeing that here, but I don't have a PDF that prints data in the
margins.  If you have one, can you email it to me?

I'm using CUPS, too, but printing to an HP OfficeJet 7310.


-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpTrqgGWesfx.pgp
Description: PGP signature


Re: Spontaneous Reboots (I thought it was Virtualbox Kernel Modules)

2010-08-24 Thread Ryan Coleman
I was thinking that, maybe, it's the PSU itself.  Does the fan work? Do you 
have the ability to get temperatures inside your computer? Get those to poll 
every minute or so and write to a flat file?

--
Ryan

On Aug 24, 2010, at 4:02 PM, Frank Shute wrote:

 On Tue, Aug 24, 2010 at 10:29:27AM -0700, Chris Maness wrote:
 
 I have commented out the lines that load kernel modules for
 virtualbox, and made sure they were gone with kldstat.  However I am
 still getting VERY infrequent spontaneous reboots.  So it is not the
 modules.  I am thinking hardware.  It has a temperature alarm that
 sounds when it is hot, but since I have cleaned it out I have not had
 any issues with heat.  I am thinking bad processor/ram.  It is
 behaving the same way before/after the upgraded to the latest release.
  What do you guys think?
 
 Regards,
 Chris Maness
 
 Sounds to me like power supply. Is the machine on a UPS? Have you
 checked out the power leads are properly seated? Have these reboots
 started to happen after you cleaned it out?
 
 
 Regards,
 
 -- 
 
 Frank
 
 Contact info: http://www.shute.org.uk/misc/contact.html
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: printing outside browser cuts off top and bottom of page

2010-08-24 Thread Chad Perrin
On Tue, Aug 24, 2010 at 02:04:32PM -0700, Chip Camden wrote:
 
 I'm not seeing that here, but I don't have a PDF that prints data in the
 margins.  If you have one, can you email it to me?

I don't think it prints to the margins, per se.

I also know that it's not particular to the printer, since my
girlfriend's laptop (running Ubuntu) prints the same PDF just fine.

I'll send the specific PDF I've been trying to print lately, off-list.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgp7iG4wnA2Ts.pgp
Description: PGP signature


Re: Spontaneous Reboots (I thought it was Virtualbox Kernel Modules)

2010-08-24 Thread Mark Atkinson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/24/10 10:29, Chris Maness wrote:
 I have commented out the lines that load kernel modules for
 virtualbox, and made sure they were gone with kldstat.  However I am
 still getting VERY infrequent spontaneous reboots.  So it is not the
 modules.  I am thinking hardware.  It has a temperature alarm that
 sounds when it is hot, but since I have cleaned it out I have not had
 any issues with heat.  I am thinking bad processor/ram.  It is
 behaving the same way before/after the upgraded to the latest release.
  What do you guys think?

You can try the following ( I believe this is in 8-STABLE )

echo 'hw.mca.enabled=1'  /boot/loader.conf

and reboot.   If it's hardware supported machine check exception, then
you may see which component has an issue on the console in the machine
check output.

- -Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.16 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx0N74ACgkQrDN5kXnx8yZfSgCeIrd2qXmatERuOhPwW2W6cqY0
FtEAnj3154huE/8aVl5W3zA22YjNw2UL
=p002
-END PGP SIGNATURE-

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


Re: printing outside browser cuts off top and bottom of page

2010-08-24 Thread Chip Camden
Quoth Chad Perrin on Tuesday, 24 August 2010:
 On Tue, Aug 24, 2010 at 02:04:32PM -0700, Chip Camden wrote:
  
  I'm not seeing that here, but I don't have a PDF that prints data in the
  margins.  If you have one, can you email it to me?
 
 I don't think it prints to the margins, per se.
 
 I also know that it's not particular to the printer, since my
 girlfriend's laptop (running Ubuntu) prints the same PDF just fine.
 
 I'll send the specific PDF I've been trying to print lately, off-list.
 
 -- 
 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]

Well, if it makes you feel any better, it does the same thing here
(truncates top and bottom).

Looks like CUPS is addressing the page as if there were no unprintable
areas on the page (i.e., it's scaled to fit an 8-1/2 x 11 piece of paper
exactly) rather than squeezing it into the printable area.  I'm afraid I
don't know enough about CUPS to say any more.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpaZXLsEnPNY.pgp
Description: PGP signature


Re: printing outside browser cuts off top and bottom of page

2010-08-24 Thread Warren Block

On Tue, 24 Aug 2010, Chad Perrin wrote:


I'm using CUPS on FreeBSD 8.0, and any time I try to print from outside
Firefox the top and bottom of a PDF gets cut off.  I don't have any means
installed for printing a PDF from inside Firefox, but Webpages and the
CUPS test page print just fine from within the browser.  For instance:

   /usr/local/bin/lpr -P 4050N sheet.pdf

(using an HP 4050N printer)

This results in the top and bottom edge of the PDF getting cut off.  I've
tried tweaking settings in GUI tools such as GtkLP to try to force it to
print the PDF at a smaller size on the page so it would fit within the
cut-off points, and it still prints exactly the same way.  I've tried
adjusting margins in such GUI tools as well, to no avail.  Trying to
print from Xpdf produces the same problematic results.

If there's a command line solution to this, I haven't encountered it.

Where should I start looking to figure out the problem?  Unfortunately,
it looks like the FreeBSD Handbook only deals with lpd.


The LJ4050 is a great printer, but it doesn't print PDFs natively.

So you need to find what CUPS is using to convert PDFs to PostScript and 
adjust that.  It may be an A4 to letter conversion, or it's trying to 
intelligently scale the page to fit your printer.

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


Re: Lingua franca file system Linux-NetBSD-FreeBSD?

2010-08-24 Thread Bruce Cran
On Tue, 24 Aug 2010 09:53:09 +
Thomas Mueller mueller6...@bellsouth.net wrote:

 What is the best choice for a file system that can be read, and
 safely written to, by Linux, NetBSD and FreeBSD?

I've not tried it recently, but I think UFS (both UFS1 and UFS2 seem to
be supported) should work well; since 2.6.29 Linux has supported
writing to UFS too; you may need to recompile the kernel to add support
for writing depending on how old the kernel is, but
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/filesystems/ufs.txt;h=7a602adeca2b7399f04b50232c838a9aec305712;hb=HEAD
says simply that ufs2 has read-write support.

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


Re: printing outside browser cuts off top and bottom of page

2010-08-24 Thread Chad Perrin
On Tue, Aug 24, 2010 at 03:49:24PM -0600, Warren Block wrote:
 
 The LJ4050 is a great printer, but it doesn't print PDFs natively.
 
 So you need to find what CUPS is using to convert PDFs to PostScript and 
 adjust that.  It may be an A4 to letter conversion, or it's trying to 
 intelligently scale the page to fit your printer.

CUPS is a black box to me, filled with black magic.  I wave chicken bones
over it, and it works, mostly.  The documentation has always seemed
somewhat opaque and incomplete.

I've got both pdf2ps and pdftops on the system.  I'm not sure which is
being used by CUPS, and I'm not really sure where to check.  If I had to
guess, I'd say it's pdf2ps, since I think ghostscript fits into this
somewhere.

Interestingly, if I use either one of these individually to translate
from PDF to PS, then print using /usr/local/bin/lpr to print, the same
problem occurs -- so it's not specific to either of those tools.  I
really do seem to be having a problem with CUPS behavior itself.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpPUxpZz3VAn.pgp
Description: PGP signature


Re: printing outside browser cuts off top and bottom of page

2010-08-24 Thread Warren Block

On Tue, 24 Aug 2010, Chad Perrin wrote:


On Tue, Aug 24, 2010 at 03:49:24PM -0600, Warren Block wrote:


The LJ4050 is a great printer, but it doesn't print PDFs natively.

So you need to find what CUPS is using to convert PDFs to PostScript and
adjust that.  It may be an A4 to letter conversion, or it's trying to
intelligently scale the page to fit your printer.


CUPS is a black box to me, filled with black magic.


Me too.  That's why I use lpd.


I've got both pdf2ps and pdftops on the system.  I'm not sure which is
being used by CUPS, and I'm not really sure where to check.  If I had to
guess, I'd say it's pdf2ps, since I think ghostscript fits into this
somewhere.

Interestingly, if I use either one of these individually to translate
from PDF to PS, then print using /usr/local/bin/lpr to print, the same
problem occurs -- so it's not specific to either of those tools.  I
really do seem to be having a problem with CUPS behavior itself.


Could you send me the PDF?

As Chip Camden noted, it could be a problem with the printable area not 
being correct.  CUPS should get that information from a PPD file--I 
think.  Do you have the correct PPD installed...er...wherever it should 
be installed?  Or maybe that's automatic, and you just need to set CUPS 
to the right printer.

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


Re: Lingua franca file system Linux-NetBSD-FreeBSD?

2010-08-24 Thread Gustavo De Nardin
On 24 August 2010 06:53, Thomas Mueller mueller6...@bellsouth.net wrote:
 What is the best choice for a file system that can be read, and safely 
 written to, by Linux, NetBSD and FreeBSD?

I've been trying NTFS(-3g). It's been going well, with even occasional
Windows thrown in the mix. But it is very slow, mostly, I believe, due
to being an userspace implementation. And I do keep backups.


 With NetBSD through 5.1_RC3, I got unsupported inode size when trying to 
 mount Linux ext2fs partition from NetBSD.

I've tested ext2/3 in the past, found it very risky to mix OSs (Linux
and FreeBSD only, though). FreeBSD's Ext2 seemed very lacky regarding
new FS features. I wouldn't risk it.


 There is the obvious possibility of using msdos (FAT32); I could run FreeDOS 
 on such a partition as well as using the partition to share data between 
 Linux, NetBSD and FreeBSD, and FreeDOS too.  Drawback is some problems 
 getting long file names straight, and lack of case sensitivity.  But maybe 
 FAT32 is the safest choice?

IMHO NTFS should be better, also, NTFS-3G has an (opensource
friendly?) company behind it:
http://www.tuxera.com/community/ntfs-3g-download/


 Linux, NetBSD and FreeBSD are supposed to be able to read and write NTFS 
 partition, but I see from a very recent thread on this list, subject Re: 
 External HD, that writing to NTFS partition is very dangerous, and I figure 
 that would be also true for NetBSD and Linux, and any other 
 non-MS-Windows-NT-line OS that might have support for NTFS.

I haven't seen recent horror stories about NTFS use on Linux, since
the userspace/fuse implementations. Haven't had any problemas myself
too. Except for a hiccup: one of the implementations (can't remember
which) would semi-silently ignore files/paths for which it couldn't
parse the charset, that it, it didn't copy the files/dirs, also didn't
error, just spit some mumbling in dmesg (this was on Linux also). So
beware of your FS charset.

As Joshua Isom mentioned, there's also UDF. But IIRC FreeBSD wasn't
able to write on it when I checked. Also slow compared to native FSs
(same league or worse than the userspace NTFSs). I'd love to go with
UDF, if only it had better support/performance.

And don't underestimate your backups.

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


Re: Lingua franca file system Linux-NetBSD-FreeBSD?

2010-08-24 Thread Gustavo De Nardin
On 24 August 2010 20:48, Gustavo De Nardin gustav...@gmail.com wrote:
 On 24 August 2010 06:53, Thomas Mueller mueller6...@bellsouth.net wrote:
 What is the best choice for a file system that can be read, and safely 
 written to, by Linux, NetBSD and FreeBSD?

 I've been trying NTFS(-3g). It's been going well, with even occasional
 Windows thrown in the mix. But it is very slow, mostly, I believe, due
 to being an userspace implementation. And I do keep backups.

I thought I must correct myself: the problem is not exaclt it being
slow, but rather using a lot of CPU. On non fast machines, you may
easily be bound by the CPU, not I/O.


 With NetBSD through 5.1_RC3, I got unsupported inode size when trying to 
 mount Linux ext2fs partition from NetBSD.

 I've tested ext2/3 in the past, found it very risky to mix OSs (Linux
 and FreeBSD only, though). FreeBSD's Ext2 seemed very lacky regarding
 new FS features. I wouldn't risk it.


 There is the obvious possibility of using msdos (FAT32); I could run FreeDOS 
 on such a partition as well as using the partition to share data between 
 Linux, NetBSD and FreeBSD, and FreeDOS too.  Drawback is some problems 
 getting long file names straight, and lack of case sensitivity.  But maybe 
 FAT32 is the safest choice?

 IMHO NTFS should be better, also, NTFS-3G has an (opensource
 friendly?) company behind it:
 http://www.tuxera.com/community/ntfs-3g-download/


 Linux, NetBSD and FreeBSD are supposed to be able to read and write NTFS 
 partition, but I see from a very recent thread on this list, subject Re: 
 External HD, that writing to NTFS partition is very dangerous, and I figure 
 that would be also true for NetBSD and Linux, and any other 
 non-MS-Windows-NT-line OS that might have support for NTFS.

 I haven't seen recent horror stories about NTFS use on Linux, since
 the userspace/fuse implementations. Haven't had any problemas myself
 too. Except for a hiccup: one of the implementations (can't remember
 which) would semi-silently ignore files/paths for which it couldn't
 parse the charset, that it, it didn't copy the files/dirs, also didn't
 error, just spit some mumbling in dmesg (this was on Linux also). So
 beware of your FS charset.

 As Joshua Isom mentioned, there's also UDF. But IIRC FreeBSD wasn't
 able to write on it when I checked. Also slow compared to native FSs
 (same league or worse than the userspace NTFSs). I'd love to go with
 UDF, if only it had better support/performance.

 And don't underestimate your backups.

 --
 (nil)




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


Re: printing outside browser cuts off top and bottom of page

2010-08-24 Thread Chip Camden
Quoth Warren Block on Tuesday, 24 August 2010:
 On Tue, 24 Aug 2010, Chad Perrin wrote:
 
 On Tue, Aug 24, 2010 at 03:49:24PM -0600, Warren Block wrote:
 
 The LJ4050 is a great printer, but it doesn't print PDFs natively.
 
 So you need to find what CUPS is using to convert PDFs to PostScript and
 adjust that.  It may be an A4 to letter conversion, or it's trying to
 intelligently scale the page to fit your printer.
 
 CUPS is a black box to me, filled with black magic.
 
 Me too.  That's why I use lpd.
 
 I've got both pdf2ps and pdftops on the system.  I'm not sure which is
 being used by CUPS, and I'm not really sure where to check.  If I had to
 guess, I'd say it's pdf2ps, since I think ghostscript fits into this
 somewhere.
 
 Interestingly, if I use either one of these individually to translate
 from PDF to PS, then print using /usr/local/bin/lpr to print, the same
 problem occurs -- so it's not specific to either of those tools.  I
 really do seem to be having a problem with CUPS behavior itself.
 
 Could you send me the PDF?
 
 As Chip Camden noted, it could be a problem with the printable area not 
 being correct.  CUPS should get that information from a PPD file--I 
 think.  Do you have the correct PPD installed...er...wherever it should 
 be installed?  Or maybe that's automatic, and you just need to set CUPS 
 to the right printer.

From the CUPS help, this appears to be what needs specification:

http://localhost:631/help/api-ppd.html?QUERY=printable area#ppd_size_s

How you get to that, I'm not sure.

`lpr -o fit-to-page` didn't help, so I'm reasonably certain that CUPS
thinks the page size is the full sheet.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpuR7J1L3O1S.pgp
Description: PGP signature


Re: printing outside browser cuts off top and bottom of page

2010-08-24 Thread Warren Block

On Tue, 24 Aug 2010, Chip Camden wrote:

Quoth Warren Block on Tuesday, 24 August 2010:

As Chip Camden noted, it could be a problem with the printable area not
being correct.  CUPS should get that information from a PPD file--I
think.  Do you have the correct PPD installed...er...wherever it should
be installed?  Or maybe that's automatic, and you just need to set CUPS
to the right printer.


From the CUPS help, this appears to be what needs specification:

http://localhost:631/help/api-ppd.html?QUERY=printable area#ppd_size_s

How you get to that, I'm not sure.

`lpr -o fit-to-page` didn't help, so I'm reasonably certain that CUPS
thinks the page size is the full sheet.


It appears that PPDs are stored in the reasonably-named 
/usr/local/etc/cups/ppd.  There's a PPD for the LJ4050 in 
print/foomatic-db...


And it has
  *ImageableArea Letter/Letter: 12.24 12.06 599.76 780.06

12-point margins on that printer sound about right.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: printing outside browser cuts off top and bottom of page

2010-08-24 Thread Chip Camden
Quoth Warren Block on Tuesday, 24 August 2010:
 On Tue, 24 Aug 2010, Chip Camden wrote:
 Quoth Warren Block on Tuesday, 24 August 2010:
 As Chip Camden noted, it could be a problem with the printable area not
 being correct.  CUPS should get that information from a PPD file--I
 think.  Do you have the correct PPD installed...er...wherever it should
 be installed?  Or maybe that's automatic, and you just need to set CUPS
 to the right printer.
 
 From the CUPS help, this appears to be what needs specification:
 
 http://localhost:631/help/api-ppd.html?QUERY=printable area#ppd_size_s
 
 How you get to that, I'm not sure.
 
 `lpr -o fit-to-page` didn't help, so I'm reasonably certain that CUPS
 thinks the page size is the full sheet.
 
 It appears that PPDs are stored in the reasonably-named 
 /usr/local/etc/cups/ppd.  There's a PPD for the LJ4050 in 
 print/foomatic-db...
 
 And it has
   *ImageableArea Letter/Letter: 12.24 12.06 599.76 780.06
 
 12-point margins on that printer sound about right.

Mine had 18 and 36 for the first two (for an OfficeJet 7310).  I tried
doubling them but that didn't seem to make a difference.  Did I need to
restart something to get that to take effect?

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpjbqJtl7oWD.pgp
Description: PGP signature