Unable to reach hosts outside my subnet after initial install

2008-06-13 Thread Edward Lay
After a fresh installation of freeBSD 7.0, I am unable to communicate
with any hosts beyond the local subnet.  All important values
(gateway, netmask,etc) were copied from other unix hosts on the same
subnet.  Presumably I've either failed to include something important
or there is a conflict. Details follow...

thanks for any assistance,

ed



%uname -a
FreeBSD newdewey.soe.berkeley.edu 7.0-RELEASE FreeBSD 7.0-RELEASE #0:
Sun Feb 24
 19:59:52 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERICi386



here's the current net config:

newdewey# ifconfig
xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=9RXCSUM,VLAN_MTU
ether 00:01:02:c1:b6:fb
inet 128.32.157.5 netmask 0xff00 broadcast 128.32.157.255
media: Ethernet autoselect (100baseTX full-duplex)
status: active
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT metric 0 mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00


Here's the contents of /etc/rc.conf:

newdewey# more rc.conf

# -- sysinstall generated deltas -- # Thu May 22 21:45:55 2008
# Created: Thu May 22 21:45:55 2008
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter=128.32.157.1
hostname=newdewey.soe.berkeley.edu
ifconfig_xl0=inet 128.32.157.5  netmask 255.255.255.0
inetd_enable=YES
linux_enable=YES
# -- sysinstall generated deltas -- # Tue May 27 19:42:16 2008
router_flags=-q
router=/sbin/routed
router_enable=YES



%netstat -r
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif
Expire
defaultfast2-2.inr-240-mu UGS 0 1088xl0
localhost  localhost  UH  0  905lo0
128.32.157.0   link#1 UC  00xl0
fast2-2.inr-240-mu 00:0c:86:7a:75:c0  UHLW20xl0
1197
dewey  08:00:2b:86:6e:ca  UHLW1   77xl0
1144
tolman-18.LIPS.Ber 00:0a:95:b1:e7:fe  UHLW10xl0


  Finally, the current situation is that I can ping hosts on the 128.32.157.*
subnet, but not anything beyond.

newdewey# ping google.com
PING google.com (64.233.187.99): 56 data bytes
^C
--- google.com ping statistics ---
5 packets transmitted, 0 packets received, 100.0% packet loss
newdewey# ping dewey.soe.berkeley.edu
PING dewey.soe.berkeley.edu (128.32.157.3): 56 data bytes
64 bytes from 128.32.157.3: icmp_seq=0 ttl=64 time=0.360 ms
64 bytes from 128.32.157.3: icmp_seq=1 ttl=64 time=0.320 ms
^C
--- dewey.soe.berkeley.edu ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.320/0.340/0.360/0.020 ms

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


Re: IPv6 jails for FreeBSD (6.* preferably)

2008-06-13 Thread Wojciech Puchar

attached working patch against this:

FreeBSD wojtek.tensor.gdynia.pl 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Jun 
10 10:49:47 CEST 2008 
[EMAIL PROTECTED]:/usr2/src/sys/i386/compile/p234  i386



(cvsup'em 2 weeks ago, should work for present date)

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

Re: Stripe sizes with gstripe

2008-06-13 Thread Wojciech Puchar
Does gstripe read an entire stripe at a time?  If so, why do that instead 
of

just reading a few requested blocks?  If not, then is there any advantage
to large stripes?


Apparently it won't read anything larger than your stripe size which defaults 
to a miserable 4k.



depending from what's needed, but unless i need just huge linear transfer, 
i set stripe size to something huge, like 256MB.


then single read is rarely split on 2 disks, while multiple reads have 
good chances to touch different drives

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


[Ports] How to find where a port is located?

2008-06-13 Thread Gilles
Hello

Currently, to find where a software is located under /usr/ports/, I
rune the find command. Is there a database that I could query
instead so that it gives out the whole path to that the application?

Thank you.

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


Re: [Ports] How to find where a port is located?

2008-06-13 Thread Wojciech Puchar



Hello

Currently, to find where a software is located under /usr/ports/, I
rune the find command. Is there a database that I could query
instead so that it gives out the whole path to that the application?



grep in /usr/ports/INDEX

or

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


Re: Is FreeBSD suitable for my thinkpad T61 ?

2008-06-13 Thread Wojciech Puchar
It depends how much of a hacker you are. If you want out-of-the-box and you 
don't mind kde then choose between pcbsd or desktopbsd. If you want 
out-of-the-box and gnome I think you are out of luck. If you don't mind diy 
FreeBSD is your toolbox.


if you want out of the box cool desktop use Windows, because it's a 
system made for this.

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


Re: [Ports] How to find where a port is located?

2008-06-13 Thread Leslie Jensen



Gilles skrev:

Hello

Currently, to find where a software is located under /usr/ports/, I
rune the find command. Is there a database that I could query
instead so that it gives out the whole path to that the application?

Thank you.




Or

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


RE: [Ports] How to find where a port is located?

2008-06-13 Thread Catalin Miclaus
Gilles skrev:
 Hello
 
 Currently, to find where a software is located under /usr/ports/, I
 rune the find command. Is there a database that I could query
 instead so that it gives out the whole path to that the application?
 
 Thank you.

Try 'whereis portname'.





Best Regards
Catalin Miclaus
Network/Security ISP-Data
Starcomms Ltd.



Or

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


Re: [Ports] How to find where a port is located?

2008-06-13 Thread Gilles
On Fri, 13 Jun 2008 10:17:02 +0100, Catalin Miclaus
[EMAIL PROTECTED] wrote:
Try 'whereis portname'.

Thanks. That seems to be the fastest way:

# whereis lftp
lftp: /usr/local/bin/lftp /usr/local/man/man1/lftp.1.gz
/usr/ports/ftp/lftp

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


Re: [Ports] How to find where a port is located?

2008-06-13 Thread Gilles
On Fri, 13 Jun 2008 11:39:10 +0200, Gilles [EMAIL PROTECTED]
wrote:
Thanks. That seems to be the fastest way:

Actually... no:

# whereis samba
samba: /usr/ports/japanese/samba

# whereis samba3
samba3: /usr/ports/japanese/samba3

# find /usr/ports/ -name samba*
[...]
/usr/ports/net/samba3

Why didn't whereis find samba3? Do I need to run a command to keep
it up-to-date with csup ports-supfile?

Thank you.

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


Re: [Ports] How to find where a port is located?

2008-06-13 Thread Vince Hoffman
I use
cd /usr/ports  make search name=portname

It will return extraneous results from time to time.
eg.

[/usr/ports](11:39:22)
[EMAIL PROTECTED] /usr/ports  make search name=lftp
Port:   lftp-3.7.3_1
Path:   /usr/ports/ftp/lftp
Info:   Shell-like command line ftp client
Maint:  [EMAIL PROTECTED]
B-deps: expat-2.0.1 gettext-0.17_1 libiconv-1.11_1
R-deps: expat-2.0.1 gettext-0.17_1 libiconv-1.11_1
WWW:http://lftp.yar.ru/

Port:   fusefs-curlftpfs-0.9.1_1
Path:   /usr/ports/sysutils/fusefs-curlftpfs
Info:   Mount remote ftp directories
Maint:  [EMAIL PROTECTED]
B-deps: curl-7.18.0 fusefs-libs-2.7.2_1 gettext-0.17_1 glib-2.16.3_1
libiconv-1.11_1 pcre-7.7 perl-5.8.8_1 pkg-config-0.23_1 python25-2.5.2_2
R-deps: curl-7.18.0 fusefs-kmod-0.3.9.p1.20080208_1 fusefs-libs-2.7.2_1
gamin-0.1.9_2 gettext-0.17_1 gio-fam-backend-2.16.3_1 glib-2.16.3_1
libiconv-1.11_1 pcre-7.7 perl-5.8.8_1 pkg-config-0.23_1 python25-2.5.2_2
WWW:http://curlftpfs.sourceforge.net/


Vince


Catalin Miclaus wrote:
 Gilles skrev:
 Hello

 Currently, to find where a software is located under /usr/ports/, I
 rune the find command. Is there a database that I could query
 instead so that it gives out the whole path to that the application?

 Thank you.
 
 Try 'whereis portname'.
 
 
 
 
 
 Best Regards
 Catalin Miclaus
 Network/Security ISP-Data
 Starcomms Ltd.
 
 
 
 Or
 
 http://www.se.freebsd.org/ports/index.html
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: [Ports] How to find where a port is located?

2008-06-13 Thread Andreas Rudisch
On Fri, 13 Jun 2008 10:51:28 +0200
Gilles [EMAIL PROTECTED] wrote:

 Hello
 
 Currently, to find where a software is located under /usr/ports/, I
 rune the find command. Is there a database that I could query
 instead so that it gives out the whole path to that the application?
 
 Thank you.

You can use 'make search name=' or 'make search key='

For example in /usr/ports type:
  make search name=samba | grep Path

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgpeJOc8gxR6v.pgp
Description: PGP signature


Re: [Ports] How to find where a port is located?

2008-06-13 Thread Gilles
On Fri, 13 Jun 2008 12:43:13 +0200, Andreas Rudisch cyb.@gmx.net
wrote:
You can use 'make search name=' or 'make search key='

Thanks, much faster.

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


Re: Nanobsd on a CD-ROM

2008-06-13 Thread J. Porter Clark
On Thu, Jun 12, 2008 at 06:54:45PM +0200, Pietro Cerutti wrote:
 
 
 J. Porter Clark wrote:
 | On Thu, Jun 12, 2008 at 04:40:25PM +0200, Pietro Cerutti wrote:
 | J. Porter Clark wrote:
 | | Is it possible to build a CD-ROM with a bootable NanoBSD on it?
 | | If so, how?
 |
 | Yes, Section 2.2 of
 |
 | http://www.freebsd.org/doc/en/articles/nanobsd/index.html
 |
 | Well, no, because I can't do this:
 |
 |   # dd if=_.disk.full of=/dev/acd0 bs=64k
 |
 | If I do this:
 |
 |   % cdrecord -v -immed driveropts=burnfree dev=1,0,0 -data _.disk.full
 
 Try with burncd
 
 | burncd -f /dev/acd0 data _.disk.full fixate

No joy.  Produces the same disk that cdrecord does, and boots
from hard disk instead.

I think that this is the problem: The BIOS knows how to boot
from a CD if and only if that CD is an El Torito bootable
image.  That is, the first sector of the CD is NOT a Master Boot
Record.  That's just a hypothesis based on the observation that
all of the successfully bootable CDs I have appear to be in El
Torito format.

I don't have a way to make such an image without using mkisofs.
Figuring out how to pack the nanobsd image in such a way that
mkisofs can make an El Torito bootable CD from it sounds
difficult, offhand.  Anybody know how to do this sort of thing?
Is it even possible?

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


Re: error mounting USB disk: Invalid argument [SOLVED]

2008-06-13 Thread Colin_Brace


Colin_Brace wrote:
 
 I am having difficulties mounting a USB drive under 7.0-STABLE. Running
 sysinstall, I can create a partition and format it. But sysinstall is
 unable to mount it:
 
 Error mounting /dev/da0s1d on /media/disk6 : Invalid argument
 
 The same error ocurrs when I try to mount it manually on the command line.
 I have tried various mount points, to no avail. 
 
 Anyone have any ideas what is going wrong?
 

I am not sure what was going wrong then, but I now have this working, both
with a Myson-based chipset device (ATA-USB) as well as a JMicron-based
device (SATA-USB).

I am not sure whether this is a factor, but I also added a USB v2 PCI card
to the box (it is an older Pentium IV with a motherboard that only supports
USB v1.1). The chipset of this card is Via. 

For several of the ext3 partitions, I had to run fsck_ext2fs first before
I could mount them.

Thanks for the various suggestions; they pointed me in the right direction.
 

-
  Colin Brace
  Amsterdam
  http://lim.nl
-- 
View this message in context: 
http://www.nabble.com/error-mounting-USB-disk%3A-Invalid-argument-tp17572449p17823354.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: Nanobsd on a CD-ROM

2008-06-13 Thread Vince Hoffman
to make a freebsd CDROM bootable you need to use the /boot/cdboot as the
loader and make an ISO image. the nanobsd procedure creates a ufs disk
image from what I understand.
Try mounting the disk image
mdconfig -a -t vnode -u 11 -f /path/to/image/_.disk.full
mkdir /mnt/image
mount /dev/md11 /mnt/image
(might be /dev/md11s1a or similar, see whats created and find what works.)

Then make an ISO of the mounted nanobsd image

mkisofs -J -R -no-emul-boot -b /boot/cdboot \
-iso-level 3 -o nanobsd.iso /mnt/image

Then either burn it to CD or install qemu to see if it boots before
making another coaster.

I havent tried this exactly but this should work, may need polishing though.


Vince



J. Porter Clark wrote:
 On Thu, Jun 12, 2008 at 06:54:45PM +0200, Pietro Cerutti wrote:

 J. Porter Clark wrote:
 | On Thu, Jun 12, 2008 at 04:40:25PM +0200, Pietro Cerutti wrote:
 | J. Porter Clark wrote:
 | | Is it possible to build a CD-ROM with a bootable NanoBSD on it?
 | | If so, how?
 |
 | Yes, Section 2.2 of
 |
 | http://www.freebsd.org/doc/en/articles/nanobsd/index.html
 |
 | Well, no, because I can't do this:
 |
 |   # dd if=_.disk.full of=/dev/acd0 bs=64k
 |
 | If I do this:
 |
 |   % cdrecord -v -immed driveropts=burnfree dev=1,0,0 -data _.disk.full

 Try with burncd

 | burncd -f /dev/acd0 data _.disk.full fixate
 
 No joy.  Produces the same disk that cdrecord does, and boots
 from hard disk instead.
 
 I think that this is the problem: The BIOS knows how to boot
 from a CD if and only if that CD is an El Torito bootable
 image.  That is, the first sector of the CD is NOT a Master Boot
 Record.  That's just a hypothesis based on the observation that
 all of the successfully bootable CDs I have appear to be in El
 Torito format.
 
 I don't have a way to make such an image without using mkisofs.
 Figuring out how to pack the nanobsd image in such a way that
 mkisofs can make an El Torito bootable CD from it sounds
 difficult, offhand.  Anybody know how to do this sort of thing?
 Is it even possible?
 

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


Re: Nanobsd on a CD-ROM

2008-06-13 Thread Wojciech Puchar

Then make an ISO of the mounted nanobsd image

mkisofs -J -R -no-emul-boot -b /boot/cdboot \
-iso-level 3 -o nanobsd.iso /mnt/image


i don't know if -J is needed (rather not), and -iso-level 3 too, but it is 
OK.

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


Re: Stripe sizes with gstripe

2008-06-13 Thread Kirk Strauser
On Thursday 12 June 2008, David Kelly wrote:

 Apparently it won't read anything larger than your stripe size which
 defaults to a miserable 4k.

Ugh.  It seems like there are a few possibilities here, and I'm not sure 
which is actually true.

Say you have two drives, striped.

1) Ideally, you could have a 512 byte stripe size.  A program tries to read 
4KB.  Then, gstripe would issue a single request to each drive to read 4 
blocks and interleaves the results.

2) Less ideally, you'd have a 128KB stripe size.  A program requests a 
single block, but gstripe reads the entire stripe to fulfill the request.  
Not so hot for random access.

3) Worst, maybe?  You have a 512 byte stripe.  A program reads 4KB.  gstripe 
reads 512B from da0, then 512B from da1, then 512B from da0, etc.

Actually, I guess you could also have a combination of #2 and #3, where 
small reads fetch an entire stripe while large reads are broken into lots 
of tiny ones.

So, back to gstripe.  Which of those is it most like?

 If there is a tuning knob that I have missed, would appreciate being
 told what.

Pass it along, would ya?  :-)

Oh, and don't forget to make your partition offsets
-- 
Kirk Strauser


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


Re: Stripe sizes with gstripe

2008-06-13 Thread David Kelly
On Fri, Jun 13, 2008 at 09:08:48AM +0200, Wojciech Puchar wrote:
 Does gstripe read an entire stripe at a time?  If so, why do that instead 
 of
 just reading a few requested blocks?  If not, then is there any advantage
 to large stripes?
 
 Apparently it won't read anything larger than your stripe size which 
 defaults to a miserable 4k.
 
 
 depending from what's needed, but unless i need just huge linear transfer, 
 i set stripe size to something huge, like 256MB.
 
 then single read is rarely split on 2 disks, while multiple reads have 
 good chances to touch different drives

Come to think of it I didn't try setting the stripe size larger than the
ATA max transaction size of 128k.

Still, I don't understand what is going on when I use md5(1) on a
gigabyte file hosted on a gstripe partition with 128k stripes that
systat -v reports transactions are usually between 42k and 43k each?

On a non-striped filesystem the same operation runs 126k to 127k
transfers.

Transfer bandwidth seems to be limited by the number of transactions per
second more than the size of the transaction.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Nanobsd on a CD-ROM

2008-06-13 Thread Vince Hoffman
Wojciech Puchar wrote:
 Then make an ISO of the mounted nanobsd image

 mkisofs -J -R -no-emul-boot -b /boot/cdboot \
 -iso-level 3 -o nanobsd.iso /mnt/image
 
 i don't know if -J is needed (rather not), and -iso-level 3 too, but it
 is OK.
True, I just grabbed a command line I've used in the past., like I said,
needs polishing.
I'm building a nanobsd image at the moment to have a play (slow
afternoon at work ;)


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


Re: Stripe sizes with gstripe

2008-06-13 Thread Kirk Strauser
On Friday 13 June 2008, David Kelly wrote:

 Still, I don't understand what is going on when I use md5(1) on a
 gigabyte file hosted on a gstripe partition with 128k stripes that
 systat -v reports transactions are usually between 42k and 43k each?

Even more unlikely, why are *my* numbers almost identical to yours?  Here's 
a snapshot of mine at this very second:

Disks   da0   da1   da2   da3   da4
KB/t  26.77 42.05 41.70 41.98 41.70

where da[1-4] are my gstripe providers with a 128KB stripe size.  I find it 
unlikely that our workloads are so similar that we'd coincidentally have 
almost the exact same values.
-- 
Kirk Strauser


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


amule eats up my swap!!

2008-06-13 Thread Tsu-Fan Cheng
Hi all,
   I guess this is a rare issue, but I think my amule, when no
upload limit, eats up my swap, and cause amule to crash. After I set
limit to 10K, the mule runs fine. I have 1G ram and 2G swap, and
without upload limit, amule crash very often. does anyone know what is
going on?? thank you!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Stripe sizes with gstripe

2008-06-13 Thread Kirk Strauser
On Thursday 12 June 2008, you wrote:

 If there is a tuning knob that I have missed, would appreciate being
 told what.

Dang it; hit send on accident.

Anyway, should the partition offsets on your gstripe volume be a multiple of 
the stripe size or of the filesystem's block size?
-- 
Kirk Strauser


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


Re: Stripe sizes with gstripe

2008-06-13 Thread Wojciech Puchar

then single read is rarely split on 2 disks, while multiple reads have
good chances to touch different drives


Come to think of it I didn't try setting the stripe size larger than the
ATA max transaction size of 128k.


yes it is.

max transaction doesn't begin on boundary. may (usually will) start 
somewhere inbetween. making stripe size max transaction makes it 
inprobable.



BTW you mean ATA max transaction or FreeBSD default MAXBSIZE, which 
i change to 1MB

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


Re: Stripe sizes with gstripe

2008-06-13 Thread Wojciech Puchar


Still, I don't understand what is going on when I use md5(1) on a
gigabyte file hosted on a gstripe partition with 128k stripes that
systat -v reports transactions are usually between 42k and 43k each?


because every single 128kB reads is CROSSING 128kB boundary?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Nanobsd on a CD-ROM

2008-06-13 Thread Bjoern Koenig
J. Porter Clark wrote:

 I don't have a way to make such an image without using mkisofs.
 Figuring out how to pack the nanobsd image in such a way that
 mkisofs can make an El Torito bootable CD from it sounds
 difficult, offhand.  Anybody know how to do this sort of thing?
 Is it even possible?

Yes, of course this is possible. Think of the the FreeBSD installation
images that boot from CD too. I did this already with a custom
distribution, but I don't remember the steps right now. /boot/cdboot is
the boot code that should do this. Take a look at
/usr/src/release/i386/mkisoimages.sh.

Björn


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


Re: Is FreeBSD suitable for my thinkpad T61 ?

2008-06-13 Thread Chad Perrin
On Fri, Jun 13, 2008 at 11:02:51AM +0200, Wojciech Puchar wrote:
 It depends how much of a hacker you are. If you want out-of-the-box and 
 you don't mind kde then choose between pcbsd or desktopbsd. If you want 
 out-of-the-box and gnome I think you are out of luck. If you don't mind 
 diy FreeBSD is your toolbox.
 
 if you want out of the box cool desktop use Windows, because it's a 
 system made for this.

Is this meant to be trolling?

For glitzy, bells-and-whistles desktop featuritis, I find that open
source Unix-like OSes actually do better in general than MS Windows Vista
and even MacOS X (though at least with MacOS X you can install the X
Window System and get much the same functionality that you can with a
Linux distribution or BSD Unix system):

  http://sob.apotheon.org/?p=335

For actual productivity-enhancement, assuming you're a highly competent
computer user, I'd recommend against any of the GUI systems discussed at
that URL, and stick to window managers that just stay the heck out of
your way.  Good candidates include things like wmii, AHWM, Fluxbox, and
Sawfish.  Most people seem to prefer something between the two, however.

If someone wanted a cool desktop experience, though, MS Windows is
about the last place I'd send 'em.

Well, okay, maybe I'd send someone there before OpenVMS, but that's kind
of getting far afield.

-- 
Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
Marvin Minsky: It's just incredible that a trillion-synapse computer
could actually spend Saturday afternoon watching a football game.


pgptlV2Ha0eWm.pgp
Description: PGP signature


How to get best results from FreeBSD-questions

2008-06-13 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2008-06-13 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


Re: Is FreeBSD suitable for my thinkpad T61 ?

2008-06-13 Thread prad
On Fri, 13 Jun 2008 10:51:19 -0600
Chad Perrin [EMAIL PROTECTED] wrote:

 For actual productivity-enhancement, assuming you're a highly
 competent computer user, I'd recommend against any of the GUI systems
 discussed at that URL, and stick to window managers that just stay
 the heck out of your way.  Good candidates include things like wmii,
 AHWM, Fluxbox, and Sawfish.

the thing with windoze is that you don't have a choice - in fact, until
recently you couldn't even have multiple desktops.

with *nix and the creativity inspired by open source there are many,
many opportunities. i've been using ion for about a year having tried
and liked kde, gnome, fluxbox, even plwm and many others.

rather than merely playing with some personal options here and there to
customize it, you can actually make your desktop choice to the way you
work

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[6.3] watch(8) tty capture

2008-06-13 Thread Eric Masson
Hello,

I'm trying to capture trafic beetween vgetty and an Olitec modem on a
FreeBSD 6.3 box.

I've loaded snp(4) via kldload and watch -co /dev/ttyd2 only captures
traffic sent from vgetty to the modem, not its responses.

Am I missing something trivial or is it a known behaviour ?

TIA.

Regards

-- 
 J'ai essayé de creer un news un alt.west.virginia ou sur d'autres
 alt.west.wirginia.xxx mais quand je vais sur ces forums rien n'apparait?
 l'emetteur d'un new recoit il un avertissement si celui ci est censuré?
 -+- LM in: http://www.le-gnu.net - Bien sansurer ses news sur C-I -+-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Is Skype voice calling working for anyone? I get Call failed: problem with audio playback

2008-06-13 Thread Yuri

Googling didn't help. Maybe anyone here would know.

Any time I am trying to make a call I get: Call failed: problem with 
audio playback

I use Skype port which is 2.0.0.68 with OSS on 70-STABLE.

I use the following device:
$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0: Creative EMU10K1 at io 0xdc00 irq 17 kld snd_emu10k1 [MPSAFE] 
(4p:1v/2r:1v channels duplex default)


It works, sound plays fine. I tried a different sound card and got the 
same problem with Skype.

Anybody is able to use voice calling through Skype?

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


Running with a readonly root partition

2008-06-13 Thread A. Hamilton-Wright


As devfs is running by default, it seems to me that
it would be relatively easy to run with a readonly
root partition, assuming that the directories under
which writing is necessary (ie; /tmp, /var, /home)
are located in separate, writable partitions.

The main advantages are that none of the configuration
files or binaries in /etc and /usr (which may still
be on a separate readonly partition) are vulnerable
to attack (even from a local privilege escalation)
without remounting the partition as writable.

This used to be a very common setup in the *NIX
world, so I am surprised to find little to no mention
of it in the archives.

I set up my machine this way a couple of months back,
and have noticed some minor things (some few things
assume a writable /etc, notably including dump(8),
and the boot process update to /etc/motd).  Once these
have been rectified by relocating the files and setting
up symlinks, there have been no problems.

My questions are:
 - does anyone else do this?
 - if not, why not?

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


Re: Running with a readonly root partition

2008-06-13 Thread Mister Olli
hi...

do you have some kind of installation/setup manual? 
that would be really interesting to see your steps, and try that myself.

I have some questions too:
- how do you handle updates/ installation of new software?
- how do you prevent someone who hacked the machine to remount '/' as 
  writable
- how do users update theirs passwords when '/etc' is read-only?


greetz
olli


Am Freitag, den 13.06.2008, 14:47 -0300 schrieb A. Hamilton-Wright:
 As devfs is running by default, it seems to me that
 it would be relatively easy to run with a readonly
 root partition, assuming that the directories under
 which writing is necessary (ie; /tmp, /var, /home)
 are located in separate, writable partitions.
 
 The main advantages are that none of the configuration
 files or binaries in /etc and /usr (which may still
 be on a separate readonly partition) are vulnerable
 to attack (even from a local privilege escalation)
 without remounting the partition as writable.
 
 This used to be a very common setup in the *NIX
 world, so I am surprised to find little to no mention
 of it in the archives.
 
 I set up my machine this way a couple of months back,
 and have noticed some minor things (some few things
 assume a writable /etc, notably including dump(8),
 and the boot process update to /etc/motd).  Once these
 have been rectified by relocating the files and setting
 up symlinks, there have been no problems.
 
 My questions are:
   - does anyone else do this?
   - if not, why not?
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Running with a readonly root partition

2008-06-13 Thread Wojciech Puchar


As devfs is running by default, it seems to me that
it would be relatively easy to run with a readonly
root partition, assuming that the directories under
which writing is necessary (ie; /tmp, /var, /home)
are located in separate, writable partitions.


yes. 

The main advantages are that none of the configuration
files or binaries in /etc and /usr (which may still


/etc is rather writable - for example when user changes password.


be on a separate readonly partition) are vulnerable
and the boot process update to /etc/motd).  Once these
have been rectified by relocating the files and setting
up symlinks, there have been no problems.

My questions are:
- does anyone else do this?


no that - but i do this on my liveDVD


- if not, why not?


if you will set securelevel to prevent umounts - it may add much to the 
security.


but - the same time - you'll have to reboot system to change anything!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is FreeBSD suitable for my thinkpad T61 ?

2008-06-13 Thread Wojciech Puchar



the thing with windoze is that you don't have a choice - in fact, until
recently you couldn't even have multiple desktops.


it's OK. users that REQUIRE lots of graphics etc.. don't usually make use 
of it. so what's wrong with windoze. right software for the right people.



with *nix and the creativity inspired by open source there are many,
many opportunities.


in unix - as you say - you have a choice in every place. so that's good 
that desktop usage isn't improved in FreeBSD as this improvement == 
lack of choice.


for those who don't like to hack the system, just have everything just 
put up and ready to use, there is already windows!


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


Re: Running with a readonly root partition

2008-06-13 Thread Andrew Wright

On Fri, 13 Jun 2008, Mister Olli wrote:


do you have some kind of installation/setup manual?
that would be really interesting to see your steps, and try that myself.


There aren't very many steps:
- install as per normal, but with the following on separate
  partitions:  /, /tmp, /var
  Most people usually put /usr on a separate partition too,
  as it makes software updates easier

  DO NOT put /etc on a separate partition, or you will have
  an unbootable system

- make a directory /var/etc (or other similar location in the
  writable portion of your filesystem)

- copy the necessary files to /var/etc and create symlinks
  in /etc of the form ../var/etc/filename
  The files I have done this for are dumpdates and motd
  Other files may be required if you run other daemons;
  I experimented with denyhosts, and therefore had
  hosts.allow there for a while

- update /etc/fstab to have 'ro' instead of 'rw' for / and /usr

- reboot or run
mount -u -r / ; mount -u -r /usr

  if you want to test whether things are working, just run
  mount and see whether things are ok for a while before
  updating /etc/fstab -- then any major panics can be solved
  with a reboot.




I have some questions too:
- how do you handle updates/ installation of new software?



By remounting before doing updates.  I don't do updates
that often, so this is not a problem for me.



- how do you prevent someone who hacked the machine to remount '/' as
 writable


You don't; at least not this simply.  The main advantages of
this strategy are protection against (a) accidental changes
by root users and (b) trojans, scripts and other naive rootkits.

Like most security ideas, it is simply a single step along the
way, and the usual rule applies -- anyone who actually has root
has the privileges to damage the system to any extent they like.



- how do users update theirs passwords when '/etc' is read-only?


This is a larger problem, and one I had forgotten about as the
machine in question is a firewall/datashare that doesn't have
many users.  Things should work fine if you are running yp
or similar from another machine; alternatively a password
update script can be written to either (a) do the remount to
allow updating on the fly, or (b) queue the update until a
regular remount+update cycle (as many large shops do).

Certainly not a one-size fits all solution for everyone, but
I remain curious as to why this technique has fallen out of
favour.  Perhaps it is this weakness with local passwords that
has caused most people to give up the (relatively small)
security advantages in favour of simplicity?

Andrew.

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


Re: Apache

2008-06-13 Thread sergio lenzi
Helllo

I understand your problem (I was once a SCO user/programmer)
well
the easy way is:  a disk of 20GB miminum...   
1) Install FreeBSD 7.0 RELEASE (choose your favorite lay out...) that
is /root, /var,swap, /usr  
in diferent slices  swap is about 2Gb...  (later will hold
the /tmp)  /root is 512M... /var is 8Gb (or more ..)
/usr the rest of the disk
2) during the installation process do not forget to set up the ethernet,
dns...   and install docs, 
kernel sources, and PORTS
3) once the machine boots, and is in internet, setup the timezone using
tzsetup, fix the time using
ntpdate -t 10 pool.ntp.org...  (this is important)
4) update the ports with portsnap fetch update . 
5) install some shell with pkg_add -r bash
6) create a super user named admin or whaterver you want
echo PAWORD | pw adduser admin -o -u 0 -g wheel
-s /usr/local/bin/bash -h 0
7) logout and login as admin 
8) go to the /usr/ports/www/apache22 and type make package, The system
will build your apache
for you
9) put apache22_enable=YES  in /etc/rc.conf, start it with the
command  /usr/local/etc/rc.d/apache22 start.

Your are done

There are 18600 ports you may want to try.

I use the 64 bits FreeBSD... is very stable and incredible fast.

Sergio

 
 Hi. 
 
  
 
 I have a wealth of experience with SCO products, but I have to admit I
 am stumped with BSD and specifically upgrading a customers Apache from
 2.0.55 to 2.0.63 on BSD 5.4.  I have downloaded the product,  unsipped
 it and extracted the tar volume.  Where do I go from here?.  I have read
 many articles until I'm blue in the face.
 
  
 
 Any help would be appreciated!
 
  
 
 
 
 
 
 Dennis Kirschling
 
 Office 916 714-1002
 
 Cell916 825-3737
 
 [EMAIL PROTECTED]
 
  
 
   
 
  
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Intermittent -- yet regular -- v6.3 kernel panic

2008-06-13 Thread Ryan Coleman
Jun 12 23:02:41 UnixBox2 kernel: Fatal trap 12: page fault while in 
kernel mode

Jun 12 23:02:41 UnixBox2 kernel: cpuid = 1; apic id = 01
Jun 12 23:02:41 UnixBox2 kernel: fault virtual address  = 0x0
Jun 12 23:02:41 UnixBox2 kernel: fault code = supervisor 
read, page not present

Jun 12 23:02:41 UnixBox2 kernel: instruction pointer= 0x20:0x0
Jun 12 23:02:41 UnixBox2 kernel: stack pointer  = 0x28:0xec0ea8e0
Jun 12 23:02:41 UnixBox2 kernel: frame pointer  = 0x28:0xec0ea8e4
Jun 12 23:02:41 UnixBox2 kernel: code segment   = base 0x0, 
limit 0xf, type 0x1b

Jun 12 23:02:41 UnixBox2 kernel: = DPL 0, pres 1, def32 1, gran 1
Jun 12 23:02:41 UnixBox2 kernel: processor eflags   = interrupt 
enabled, resume, IOPL = 0

Jun 12 23:02:41 UnixBox2 kernel: current process= 925 (cp)
Jun 12 23:02:41 UnixBox2 kernel: trap number= 12
Jun 12 23:02:41 UnixBox2 kernel: panic: page fault
Jun 12 23:02:41 UnixBox2 kernel: cpuid = 1
Jun 12 23:02:41 UnixBox2 kernel: Uptime: 1h21m59s
Jun 12 23:02:41 UnixBox2 kernel: Cannot dump. No dump device defined.


This is a regular occurrence, but varies by source. Brand new fBSD 6.3 
machine, what more information do I need to provide?


Wednesday it was crashed by *pagedaemon* and about 15 hours earlier by 
*g_down*. This is the only record - thus far - to hit the syslog. Also 
it crashed twice today and has not recorded


I have an 8x1TB RAID5 on a HighPoint Tech RocketRaid, the primary drive 
is a 1TB drive partitioned three times. / 30G, 4G swap and the rest is /usr.


Please advise
--
Ryan

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


Re: Intermittent -- yet regular -- v6.3 kernel panic

2008-06-13 Thread Ryan Coleman

It just happened again:
Jun 13 14:32:21 UnixBox2 kernel:
Jun 13 14:32:21 UnixBox2 kernel:
Jun 13 14:32:21 UnixBox2 kernel: Fatal trap 12: page fault while in 
kernel mode

Jun 13 14:32:21 UnixBox2 kernel: cpuid = 1; apic id = 01
Jun 13 14:32:21 UnixBox2 kernel: fault virtual address  = 0x0
Jun 13 14:32:21 UnixBox2 kernel: fault code = supervisor 
read, page not present

Jun 13 14:32:21 UnixBox2 kernel: instruction pointer= 0x20:0x0
Jun 13 14:32:21 UnixBox2 kernel: stack pointer  = 0x28:0xec0738e0
Jun 13 14:32:21 UnixBox2 kernel: frame pointer  = 0x28:0xec0738e4
Jun 13 14:32:21 UnixBox2 kernel: code segment   = base 0x0, 
limit 0xf, type 0x1b

Jun 13 14:32:21 UnixBox2 kernel: = DPL 0, pres 1, def32 1, gran 1
Jun 13 14:32:21 UnixBox2 kernel: processor eflags   = interrupt 
enabled, resume, IOPL = 0

Jun 13 14:32:21 UnixBox2 kernel: current process= 1385 (cp)
Jun 13 14:32:21 UnixBox2 kernel: trap number= 12
Jun 13 14:32:21 UnixBox2 kernel: panic: page fault
Jun 13 14:32:21 UnixBox2 kernel: cpuid = 1
Jun 13 14:32:21 UnixBox2 kernel: Uptime: 4h54m13s
Jun 13 14:32:21 UnixBox2 kernel: Cannot dump. No dump device defined.


Ryan Coleman wrote:
Jun 12 23:02:41 UnixBox2 kernel: Fatal trap 12: page fault while in 
kernel mode

Jun 12 23:02:41 UnixBox2 kernel: cpuid = 1; apic id = 01
Jun 12 23:02:41 UnixBox2 kernel: fault virtual address  = 0x0
Jun 12 23:02:41 UnixBox2 kernel: fault code = supervisor 
read, page not present

Jun 12 23:02:41 UnixBox2 kernel: instruction pointer= 0x20:0x0
Jun 12 23:02:41 UnixBox2 kernel: stack pointer  = 0x28:0xec0ea8e0
Jun 12 23:02:41 UnixBox2 kernel: frame pointer  = 0x28:0xec0ea8e4
Jun 12 23:02:41 UnixBox2 kernel: code segment   = base 0x0, 
limit 0xf, type 0x1b

Jun 12 23:02:41 UnixBox2 kernel: = DPL 0, pres 1, def32 1, gran 1
Jun 12 23:02:41 UnixBox2 kernel: processor eflags   = interrupt 
enabled, resume, IOPL = 0

Jun 12 23:02:41 UnixBox2 kernel: current process= 925 (cp)
Jun 12 23:02:41 UnixBox2 kernel: trap number= 12
Jun 12 23:02:41 UnixBox2 kernel: panic: page fault
Jun 12 23:02:41 UnixBox2 kernel: cpuid = 1
Jun 12 23:02:41 UnixBox2 kernel: Uptime: 1h21m59s
Jun 12 23:02:41 UnixBox2 kernel: Cannot dump. No dump device defined.


This is a regular occurrence, but varies by source. Brand new fBSD 6.3 
machine, what more information do I need to provide?


Wednesday it was crashed by *pagedaemon* and about 15 hours earlier by 
*g_down*. This is the only record - thus far - to hit the syslog. Also 
it crashed twice today and has not recorded


I have an 8x1TB RAID5 on a HighPoint Tech RocketRaid, the primary 
drive is a 1TB drive partitioned three times. / 30G, 4G swap and the 
rest is /usr.


Please advise
--
Ryan




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


Samba on FreeBSD 7.0

2008-06-13 Thread white list
Hello ALL,
I want to install Samba on FreeBSD 7.0 from ports collection.
when i cd to /usr/ports/net/samba3
make config
LDAP
ADS
and many more options to enable with samba with ADS server 2008

What would  like to know which options will best work with ADS Windows
Server 2008? suggestions are welcome and appreciate.
Thanks in advance to all,
- Augustin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is Skype voice calling working for anyone? I get Call failed: problem with audio playback

2008-06-13 Thread Jan Henrik Sylvester

Yuri wrote:
 Any time I am trying to make a call I get: Call failed: problem with
 audio playback

Did you read /usr/ports/UPDATING (20080318)? You should upgrade to 
compat.linux.osrelease=2.6.16 with linux_base-fc6. Maybe you might want 
to read the thread linux 2.6 on 7.0-RELEASE on freebsd-emulation 
first. First one this month: 
http://lists.freebsd.org/pipermail/freebsd-emulation/2008-June/thread.html


I get the same error message with compat.linux.osrelease=2.4.2 (fc-4). 
Changing to the totally unsupported compat.linux.osrelease=2.4.20, skype 
seems to work. As far as I understood, this is just luck, because 2.4.2 
is the only supported 2.4 version and 2.6.16 the only (experimentally) 
supported 2.6 version. (Other Linux syscalls are not implemented.)


Unsurprisingly, I can reproducibly crash googleearth with 2.4.20, while 
it runs fine with 2.4.2 -- 2.4.20 really only helps skype.


For me, running evil skype in an unsupported setting is acceptable.

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


Re: Unable to reach hosts outside my subnet after initial install

2008-06-13 Thread Derek Ragona

At 01:14 AM 6/13/2008, Edward Lay wrote:

After a fresh installation of freeBSD 7.0, I am unable to communicate
with any hosts beyond the local subnet.  All important values
(gateway, netmask,etc) were copied from other unix hosts on the same
subnet.  Presumably I've either failed to include something important
or there is a conflict. Details follow...

thanks for any assistance,

ed


Check and/or create /etc/nsswitch.conf so you are looking in files and dns 
for hosts.


Check or create /etc/resolv.conf make sure your upsteam DNS servers are 
listed in this file along with any local caching DNS servers.


-Derek





%uname -a
FreeBSD newdewey.soe.berkeley.edu 7.0-RELEASE FreeBSD 7.0-RELEASE #0:
Sun Feb 24
 19:59:52 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERICi386



here's the current net config:

newdewey# ifconfig
xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=9RXCSUM,VLAN_MTU
ether 00:01:02:c1:b6:fb
inet 128.32.157.5 netmask 0xff00 broadcast 128.32.157.255
media: Ethernet autoselect (100baseTX full-duplex)
status: active
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT metric 0 mtu 
1500

lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00


Here's the contents of /etc/rc.conf:

newdewey# more rc.conf

# -- sysinstall generated deltas -- # Thu May 22 21:45:55 2008
# Created: Thu May 22 21:45:55 2008
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter=128.32.157.1
hostname=newdewey.soe.berkeley.edu
ifconfig_xl0=inet 128.32.157.5  netmask 255.255.255.0
inetd_enable=YES
linux_enable=YES
# -- sysinstall generated deltas -- # Tue May 27 19:42:16 2008
router_flags=-q
router=/sbin/routed
router_enable=YES



%netstat -r
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif
Expire
defaultfast2-2.inr-240-mu UGS 0 1088xl0
localhost  localhost  UH  0  905lo0
128.32.157.0   link#1 UC  00xl0
fast2-2.inr-240-mu 00:0c:86:7a:75:c0  UHLW20xl0
1197
dewey  08:00:2b:86:6e:ca  UHLW1   77xl0
1144
tolman-18.LIPS.Ber 00:0a:95:b1:e7:fe  UHLW10xl0


  Finally, the current situation is that I can ping hosts on the 128.32.157.*
subnet, but not anything beyond.

newdewey# ping google.com
PING google.com (64.233.187.99): 56 data bytes
^C
--- google.com ping statistics ---
5 packets transmitted, 0 packets received, 100.0% packet loss
newdewey# ping dewey.soe.berkeley.edu
PING dewey.soe.berkeley.edu (128.32.157.3): 56 data bytes
64 bytes from 128.32.157.3: icmp_seq=0 ttl=64 time=0.360 ms
64 bytes from 128.32.157.3: icmp_seq=1 ttl=64 time=0.320 ms
^C
--- dewey.soe.berkeley.edu ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.320/0.340/0.360/0.020 ms

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

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


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

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


Re: Intermittent -- yet regular -- v6.3 kernel panic

2008-06-13 Thread Ryan Coleman

I will attempt to do this and report back when it happens again.

Bruce Cran wrote:

On Fri, 13 Jun 2008 14:49:29 -0500
Ryan Coleman [EMAIL PROTECTED] wrote:

  
Jun 12 23:02:41 UnixBox2 kernel: Fatal trap 12: page fault while in 
kernel mode

Jun 12 23:02:41 UnixBox2 kernel: cpuid = 1; apic id = 01
Jun 12 23:02:41 UnixBox2 kernel: fault virtual address  = 0x0
Jun 12 23:02:41 UnixBox2 kernel: fault code = supervisor 
read, page not present

Jun 12 23:02:41 UnixBox2 kernel: instruction pointer= 0x20:0x0
Jun 12 23:02:41 UnixBox2 kernel: stack pointer  =
0x28:0xec0ea8e0 Jun 12 23:02:41 UnixBox2 kernel: frame
pointer  = 0x28:0xec0ea8e4 Jun 12 23:02:41 UnixBox2 kernel:
code segment   = base 0x0, limit 0xf, type 0x1b
Jun 12 23:02:41 UnixBox2 kernel: = DPL 0, pres 1, def32 1, gran 1
Jun 12 23:02:41 UnixBox2 kernel: processor eflags   = interrupt 
enabled, resume, IOPL = 0

Jun 12 23:02:41 UnixBox2 kernel: current process= 925 (cp)
Jun 12 23:02:41 UnixBox2 kernel: trap number= 12
Jun 12 23:02:41 UnixBox2 kernel: panic: page fault
Jun 12 23:02:41 UnixBox2 kernel: cpuid = 1
Jun 12 23:02:41 UnixBox2 kernel: Uptime: 1h21m59s
Jun 12 23:02:41 UnixBox2 kernel: Cannot dump. No dump device defined.


This is a regular occurrence, but varies by source. Brand new fBSD
6.3 machine, what more information do I need to provide?



To be of any use we need a backtrace.  See 
http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html

for details.  First you need to configure a dump device then when
the system crashes a crash dump will be written to /var/crash by
default.  You then run kgdb on the file to get the backtrace.

  


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


Re: Intermittent -- yet regular -- v6.3 kernel panic

2008-06-13 Thread Bruce Cran
On Fri, 13 Jun 2008 14:49:29 -0500
Ryan Coleman [EMAIL PROTECTED] wrote:

 Jun 12 23:02:41 UnixBox2 kernel: Fatal trap 12: page fault while in 
 kernel mode
 Jun 12 23:02:41 UnixBox2 kernel: cpuid = 1; apic id = 01
 Jun 12 23:02:41 UnixBox2 kernel: fault virtual address  = 0x0
 Jun 12 23:02:41 UnixBox2 kernel: fault code = supervisor 
 read, page not present
 Jun 12 23:02:41 UnixBox2 kernel: instruction pointer= 0x20:0x0
 Jun 12 23:02:41 UnixBox2 kernel: stack pointer  =
 0x28:0xec0ea8e0 Jun 12 23:02:41 UnixBox2 kernel: frame
 pointer  = 0x28:0xec0ea8e4 Jun 12 23:02:41 UnixBox2 kernel:
 code segment   = base 0x0, limit 0xf, type 0x1b
 Jun 12 23:02:41 UnixBox2 kernel: = DPL 0, pres 1, def32 1, gran 1
 Jun 12 23:02:41 UnixBox2 kernel: processor eflags   = interrupt 
 enabled, resume, IOPL = 0
 Jun 12 23:02:41 UnixBox2 kernel: current process= 925 (cp)
 Jun 12 23:02:41 UnixBox2 kernel: trap number= 12
 Jun 12 23:02:41 UnixBox2 kernel: panic: page fault
 Jun 12 23:02:41 UnixBox2 kernel: cpuid = 1
 Jun 12 23:02:41 UnixBox2 kernel: Uptime: 1h21m59s
 Jun 12 23:02:41 UnixBox2 kernel: Cannot dump. No dump device defined.
 
 
 This is a regular occurrence, but varies by source. Brand new fBSD
 6.3 machine, what more information do I need to provide?

To be of any use we need a backtrace.  See 
http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html
for details.  First you need to configure a dump device then when
the system crashes a crash dump will be written to /var/crash by
default.  You then run kgdb on the file to get the backtrace.

-- 
Bruce Cran


signature.asc
Description: PGP signature


Re: sendmail: stat=Deferred: Can't assign requested address

2008-06-13 Thread Derek Ragona

At 10:16 PM 6/12/2008, jonathan michaels wrote:

greetings, derek,

much appreciated the prompt reply

On Wed, Jun 11, 2008 at 12:43:42PM -0500, Derek Ragona wrote:
 At 06:36 AM 6/11/2008, jonathan michaels wrote:

bit of history trimed for brevity

 in teh freebsd.mc/sendmail.mc and a 'make install' to cover all
 bases.
 
 i treied to restart teh mailqueue ... no luck .. grrr
 
   and then an entry into the mailertable
 
 . esmpt:mail.caamora.com.au
 
 again did the make whatever thingie and ... tried to post,
 again this defered post business .. can't asign ..
 
 there is something going on here that i donot understand ..
 some enlightenment would be appreciated, please.
 
 the few bits i found in yahoosearch engine, google resfuses me
 access still but yahoo i can use. i looked uo the error message
 and turned up this one endrt refereing to teh linux incedent, i
 have a copy of bat book ed 1 it just says it exists, same for
 smart_host mail_hub macros.
 
 is there some way to fix this short of upgrading and mvoing to
 postfix ?? i don't have teh needed stuff to do that just yet
 (me and hardware issues)
 
 it looks like i've missed somethings but i don't know enough
 about freebsd v6.x to know even where to start to look for this
 one .. aside from this  i have another v6.2 host that also was
 doing the same thing but after i copied a working set of
 sendmail configs and restarted sendmail it work properly except
 teh it dosent forward the charlie root mail from teh
 maintenece events (at 2 am. 3 am and 4 am from teh /etc/cron
 events) the mail itesm just sit in teh /var/mail/root folder
 
 it has taken me just under 6 mnths to get this far, i've come
 to teh end of my rope and am seriously thinking of going back
 to freebsd v2.2.5 ..
 
 regards/appreciations/much graciousnessess
 
 jonathan

 You need to have in /etc/mail/mailertable:
 .caamora.com.au esmpt:mail.caamora.com.au
 and rebuild mailertable.db

should not the esmpt: rather be esmtp: most of teh literature that
i have read recently says it the esmtp way .. i live with dsylexia
amongst other neurological disabilities and need to double/triple/add a
few more time to check things before i am confident of success (not
failing) based on 'spelling' alone.


Yes, I must have a typo in my reply, sorry.



 In /etc/mail/domaintable:
 mail.caamora.com.au
 and rebuild domaintable.db

i used to run a uucp mail service for several clients back in teh
fidonet days (internet to fidonet gateway) and this made sence then,
now i fali to understand the need .. i just do not know and would
appreciate a bit of an explanation please ..

mail.caamora.com.au is an alias (in the dns file and /etc/hosts) for
the machine seaholm.caamora.com.au which is the primary mailserver for
the domain .caamora.com.au ... is not tthe domaintable used to remap an
old domain to a new domain name after some soprt of a change or to use
names in 'rule 3' mappings .. if i have missunderstood my readings i
apoloise, i am new to sendmail fiddlings, i set it up ten years ago and
it worked i now have to relearn who and why .. my disabilities have
gotten a bit worse because of teh medicines i need to take and this
makes learning a bit on teh harder side .. but not impossible gentle
smile


I assume that mail.caamora.com.au is the name the MX record points to, 
sendmail and most mail transfer applications strictly use the DNS MX record 
to resolve the names, and you need this entry to assure your server knows 
it is the recipient and sender for that domain.  Otherwise it tries to send 
the mail elseware and it becomes undeliverable as you had seen in the logs.





 in /etc/mail/local-host-names:
 caamora.com.au

check, it was done long time ago

 and double check your MX record and /etc/hosts

 i looked at my dns files and found a small disaprity from a name
change about 2 years ago, i made teh change in teh main file but forgot
to carry it into teh reverse lookup file, g.

as for the MX records they have been much teh same for about 15 years,
i like long term stability makes for peace of mind grin, the down
side is that when things go wrong like this, it is a nightmare to
recall what, how did/done way back when the system was built/changed
last .. makes for lots of work sometimes.


If you update DNS files, be sure to change the serial number in the file so 
the new file is propagated.




 Once that is all done, execute:
 /etc/rc.sendmail stop
 wait until all instances die then:
 /etc/rc.sendmail start

ok .. did teh checks, made teh changes, even the domaintable, though i
don;t understand how it works, the only thing i don't do as you wrote
was teh esmpt .. i used teh more popular esmtp ??


That should be fine now.



apart from fixing teh esmtp mistype i did it all and checked teh mx
host my dns setup and still its dead in teh water, still defering all
mail out from this box.

might it have some thing to do with this line in teh sendmail config
line it is commented out ??

the one 

Re: Tried to symlink /etc to another disk, now stuck

2008-06-13 Thread Glenn Gillis

Steve Bertrand wrote, On 6/12/2008 7:09 PM:

Steve Bertrand wrote:

Dan Nelson wrote:


I'm off to try it. I've got a system here with a da device. I'll fsck 
up /etc/fstab, reboot, and report back with the appropriate mountroot 
prompt entry...


# cat /etc/fstab

# DeviceMountpoint  FStype  Options Dump Pass#
/dev/da0a   /   ufs rw,noatime  1   1
md  /tmpmfs rw,-s32M,nosuid,noatime 
0   0


(..snip..)

..change /etc/fstab to mount root to /dev/ad15a, reboot:

mountroot

# mountrootufs:/dev/da0a {ENTER}

...machine boots up.

To the OP...if you know what your disk type is, you CAN get it to 
continue to mount root at the mountroot prompt.


Furthering that, you can also fsck and mount your other disk mountpoints 
in order to gain access to your editing binaries.


There is no need to use an external resource to boot the machine from if 
you are already aware that the only thing that got fsck'd up is the 
mountpoints in the fstab (or, like in this case, the file was 
unavailable entirely). The disk structure is still the same, and the 
system can see this with manual intervention.


OP: at the mountroot prompt, try this: ufs:/dev/ad0s1a

and see if you get anywhere.

Steve


Thanks to Steve, Dan and Andrew for offering suggestions for regaining 
access to my box!


I was finally able to mount / from the mountroot prompt using 
ufs:/dev/aacd0s1a (this is a Dell PowerEdge server with a SCSI RAID5 
array.) Fortunately, there was an /etc.old directory left over from the 
last patch level upgrade I did; that was enough to get the system 
booting normally so that I could copy back the former /etc directory 
that I had moved at the start of this whole fiasco.


I think I will start retaining electronic and hard-copy fstab files from 
my FreeBSD boxes for future reference, as Steve suggested in a later 
message.

--
Glenn Gillis
ELAW U.S. Information Technology Manager
Environmental Law Alliance Worldwide
http://www.elaw.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Restoring freeBSD boot loader

2008-06-13 Thread Lionel

  I've had to install Windows XP in dual boot on a freeBSD box, and of
course it erased the bootloader to replace it with its own. Now I'd like
to restore the freeBSD bootloader.

  I've tried booting with the install CD and I use the fdisk utility to
mark the fbsd partition bootable and then said I wanted to install the
freeBSD bootloader, but I didn't know how to make it actually write the
changes to the disk.

  So... is it possible to restore the bootloader this way? Maybe I could
install lilo from a live CD but I don't want to install grub from
windows because I'll probably remove it soon, but I think lilo just
places itself in the boot segment so it should be fine.

  Any help would be most welcome...

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


Re: Is FreeBSD suitable for my thinkpad T61 ?

2008-06-13 Thread Chad Perrin
On Fri, Jun 13, 2008 at 08:31:41PM +0200, Wojciech Puchar wrote:
 
 the thing with windoze is that you don't have a choice - in fact, until
 recently you couldn't even have multiple desktops.
 
 it's OK. users that REQUIRE lots of graphics etc.. don't usually make use 
 of it. so what's wrong with windoze. right software for the right people.
 
 with *nix and the creativity inspired by open source there are many,
 many opportunities.
 
 in unix - as you say - you have a choice in every place. so that's good 
 that desktop usage isn't improved in FreeBSD as this improvement == 
 lack of choice.
 
 for those who don't like to hack the system, just have everything just 
 put up and ready to use, there is already windows!

. . . but you'd still get a cooler desktop by going with something
else, like MacOS X, Ubuntu, or PC-BSD (in increasing order of coolness
in the glitzy, unnecessary dancing rodents sense) without having to
actually express any personal preferences during setup.

-- 
Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
I was essentially an anarcho-capitalist in high school, rather than
wasting the folly of my youth on something lame like revolutionary
communism.


pgpimWdCHeHnf.pgp
Description: PGP signature


Re: Restoring freeBSD boot loader

2008-06-13 Thread Sahil Tandon
Lionel [EMAIL PROTECTED] wrote:

   I've had to install Windows XP in dual boot on a freeBSD box, and of
 course it erased the bootloader to replace it with its own. Now I'd like
 to restore the freeBSD bootloader.
 
   I've tried booting with the install CD and I use the fdisk utility to
 mark the fbsd partition bootable and then said I wanted to install the
 freeBSD bootloader, but I didn't know how to make it actually write the
 changes to the disk.
 
   So... is it possible to restore the bootloader this way? Maybe I could
 install lilo from a live CD but I don't want to install grub from
 windows because I'll probably remove it soon, but I think lilo just
 places itself in the boot segment so it should be fine.

3.8 in http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html

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


Re: Restoring freeBSD boot loader

2008-06-13 Thread Derek Ragona

At 05:12 PM 6/13/2008, Lionel wrote:


  I've had to install Windows XP in dual boot on a freeBSD box, and of
course it erased the bootloader to replace it with its own. Now I'd like
to restore the freeBSD bootloader.

  I've tried booting with the install CD and I use the fdisk utility to
mark the fbsd partition bootable and then said I wanted to install the
freeBSD bootloader, but I didn't know how to make it actually write the
changes to the disk.

  So... is it possible to restore the bootloader this way? Maybe I could
install lilo from a live CD but I don't want to install grub from
windows because I'll probably remove it soon, but I think lilo just
places itself in the boot segment so it should be fine.

  Any help would be most welcome...

--
Lionel


Look in the tools folder on the FreeBSD install CD for booteasy.  Booteasy 
will run from Windows and install the boot loader.  It will also save the 
old MBR to a floppy, hard disk, or USB disk for safety.


-Derek

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

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


okay, it's time to ask....

2008-06-13 Thread Gary Kline

PEople,

After a long time, I've got phpbb configured into mysql.
I've downloaded phpBB2 and installed it.  My notes from 
2003 fail here; it may be because my apache-2 isn't configured.

Cann anybody clue me in?

thanks much,

gary



-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: Intermittent -- yet regular -- v6.3 kernel panic

2008-06-13 Thread Kris Kennaway

Bruce Cran wrote:

On Fri, 13 Jun 2008 14:49:29 -0500
Ryan Coleman [EMAIL PROTECTED] wrote:

Jun 12 23:02:41 UnixBox2 kernel: Fatal trap 12: page fault while in 
kernel mode

Jun 12 23:02:41 UnixBox2 kernel: cpuid = 1; apic id = 01
Jun 12 23:02:41 UnixBox2 kernel: fault virtual address  = 0x0
Jun 12 23:02:41 UnixBox2 kernel: fault code = supervisor 
read, page not present

Jun 12 23:02:41 UnixBox2 kernel: instruction pointer= 0x20:0x0
Jun 12 23:02:41 UnixBox2 kernel: stack pointer  =
0x28:0xec0ea8e0 Jun 12 23:02:41 UnixBox2 kernel: frame
pointer  = 0x28:0xec0ea8e4 Jun 12 23:02:41 UnixBox2 kernel:
code segment   = base 0x0, limit 0xf, type 0x1b
Jun 12 23:02:41 UnixBox2 kernel: = DPL 0, pres 1, def32 1, gran 1
Jun 12 23:02:41 UnixBox2 kernel: processor eflags   = interrupt 
enabled, resume, IOPL = 0

Jun 12 23:02:41 UnixBox2 kernel: current process= 925 (cp)
Jun 12 23:02:41 UnixBox2 kernel: trap number= 12
Jun 12 23:02:41 UnixBox2 kernel: panic: page fault
Jun 12 23:02:41 UnixBox2 kernel: cpuid = 1
Jun 12 23:02:41 UnixBox2 kernel: Uptime: 1h21m59s
Jun 12 23:02:41 UnixBox2 kernel: Cannot dump. No dump device defined.


This is a regular occurrence, but varies by source. Brand new fBSD
6.3 machine, what more information do I need to provide?


To be of any use we need a backtrace.  See 
http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html

for details.  First you need to configure a dump device then when
the system crashes a crash dump will be written to /var/crash by
default.  You then run kgdb on the file to get the backtrace.



It's quite likely to be due to bad hardware though.

Kris

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


Re: Intermittent -- yet regular -- v6.3 kernel panic

2008-06-13 Thread Ryan Coleman
I'm sure. I could get different RAM this weekend, but that just makes me 
angry. I bought all the items from recommended lists on NewEgg two weeks 
ago. This is probably the 11th crash in 12 days.


It's quite likely to be due to bad hardware though.

Kris



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


Re: Intermittent -- yet regular -- v6.3 kernel panic

2008-06-13 Thread Lowell Gilbert
[Don't top-post, please.]

 It's quite likely to be due to bad hardware though.

Ryan Coleman [EMAIL PROTECTED] writes:

 I'm sure. I could get different RAM this weekend, but that just makes
 me angry. I bought all the items from recommended lists on NewEgg two
 weeks ago. This is probably the 11th crash in 12 days.

Buying good hardware improves your odds a lot, but failures can still happen.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Re: Restoring freeBSD boot loader

2008-06-13 Thread Fraser Tweedale
On Fri, Jun 13, 2008 at 06:46:13PM -0400, Sahil Tandon wrote:
 Lionel [EMAIL PROTECTED] wrote:
 
I've had to install Windows XP in dual boot on a freeBSD box, and of
  course it erased the bootloader to replace it with its own. Now I'd like
  to restore the freeBSD bootloader.
  
I've tried booting with the install CD and I use the fdisk utility to
  mark the fbsd partition bootable and then said I wanted to install the
  freeBSD bootloader, but I didn't know how to make it actually write the
  changes to the disk.
  
So... is it possible to restore the bootloader this way? Maybe I could
  install lilo from a live CD but I don't want to install grub from
  windows because I'll probably remove it soon, but I think lilo just
  places itself in the boot segment so it should be fine.
 
 3.8 in http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html
 
 -- 
 Sahil Tandon [EMAIL PROTECTED]

Indeed, fdisk(8) can be used to do this.

frase



pgp9Ly5X508FR.pgp
Description: PGP signature


Re: Is FreeBSD suitable for my thinkpad T61 ?

2008-06-13 Thread prad
On Fri, 13 Jun 2008 16:39:44 -0600
Chad Perrin [EMAIL PROTECTED] wrote:

  for those who don't like to hack the system, just have everything
  just put up and ready to use, there is already windows!  
 
 . . . but you'd still get a cooler desktop by going with something
 else

i agree. i was rather amused when a friend told me recently she had gone
over to mac from xp and started raving about having discovered multiple
desktops. i told her i was happy for her and added that i did know what
these things were since we've had them for years in *nix.

in answer to Wojciech's ... there is already windows!, i don't think
there is anything 'wrong' with that os. in fact, i rather liked win95
and win98. on old machines back then win95 was a really easy install and
required only 50M - you had to work much harder to put on linux (especially X).

however, things are very different now and the *nix world offers a lot
more. if some people don't want this and prefer to pay for propriety,
more limited software then they can certainly find what they are
looking for with xp, vista and whatever else is conjured up.

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SPEEDLOTTO AWARD WINNER

2008-06-13 Thread Matilda Peterson

SPEEDLOTTO AWARD WINNER
SL001QCMAJ2008

AUTHORIZATION NOTE

SUBJECT: Guaranteed* Cash Notification
£1,000,000.00 Pounds Unclaimed

This is  £1,000,000.00 GBP(One Million Great Britain Pounds)that was
accredited to your e-mail address.You have been chosen as one of our 
Monthly Lucky winners.

Do send the following informations to enable us process your claims

Full Names:
Contact/Mailing Address:
Tel/ Fax Numbers:
Nationality:
Age / Sex

DRAW DATE:Saturday, June 14,2008


Contact Agent;
Matilda Peterson
[EMAIL PROTECTED]
Tel:+44 701 114 9680



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


Re: [Ports] How to find where a port is located?

2008-06-13 Thread Chris Hill

On Fri, 13 Jun 2008, Gilles wrote:


Hello

Currently, to find where a software is located under /usr/ports/, I
rune the find command. Is there a database that I could query
instead so that it gives out the whole path to that the application?


I wrote a lame-ass script to do this:

$ more /home/chris/bin/findport
#!/bin/sh
#
# Find a port whose name contains the string supplied as argument
#
prev_dir=`pwd`
cd /usr/ports
#
make search key=$1 | grep Path | grep -v deps | grep -i $1
#
cd $prev_dir

HTH.

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


Re: [Ports] How to find where a port is located?

2008-06-13 Thread Modulok
On 6/13/08, Chris Hill [EMAIL PROTECTED] wrote:
 On Fri, 13 Jun 2008, Gilles wrote:

 Hello

 Currently, to find where a software is located under /usr/ports/, I
 rune the find command. Is there a database that I could query
 instead so that it gives out the whole path to that the application?


Have you looked into the whereis(1) command?
-Modulok-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Ports] How to find where a port is located?

2008-06-13 Thread Pascal S Clermont

Modulok wrote:

On 6/13/08, Chris Hill [EMAIL PROTECTED] wrote:
  

On Fri, 13 Jun 2008, Gilles wrote:



Hello

Currently, to find where a software is located under /usr/ports/, I
rune the find command. Is there a database that I could query
instead so that it gives out the whole path to that the application?
  


Have you looked into the whereis(1) command?
-Modulok-

  
there is alot of differents ways to search for a port that you are 
looking for. My first suggestion would be to read this article from the 
freebsd handbook; 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-finding-applications.html 
.
Some people enjoy using some websites to do their searches since they 
value that more information can be used to search.

Here are some of the sites :
http://www.freebsd.org/ports/
http://www.freshports.org/
http://www.freebsdsoftware.org/

These are ones that come to me as I am writing this, they're are most 
likely several other websites that will give you some similar 
information such as these.


I would suggest that you refer to the handbook when you ask yourself 
questions concerning the operating system. The handbook is a great 
reference that I even use quite often myself when I am in doubt on a 
certain subject.


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


Re: question about posting to FreeBSD mailing lists

2008-06-13 Thread RW
On Thu, 12 Jun 2008 21:12:30 +0200
Tore Lund [EMAIL PROTECTED] wrote:

 Novembre wrote:
  On Mon, Jun 9, 2008 at 6:59 AM, Tore Lund [EMAIL PROTECTED]

  I'm sorry, but I didn't quite get it. Do you mean that if I
  subscribe to the newsgroup which mirrors the list, and if I answer
  the question in the newsgroup, then it will be shown properly in
  the freebsd mailing lists as well? I mean, is the mirroring one way
  or both-ways?
 
 The mirroring is one-way only.  What I do in Thunderbird is to hit
 Reply to All, delete the address lines beginning with muc* and add
 the address line To: freebsd-questions@freebsd.org.

gmane.org offers many mailing lists via its news.gmane.org server and 
most of the lists will allow posting. You need a real email address to
post, because the first one has to verified. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Java Dilemma

2008-06-13 Thread RW
On Wed, 11 Jun 2008 20:01:05 -0700 (PDT)
Camilo Reyes [EMAIL PROTECTED] wrote:

 Unfortunately after updating my portsnap; it did not work. Here is the
 error I get: 
 
 $ firefox
 INTERNAL ERROR on Browser End: SendRequest: Read of ack failed: 0
 
 System error?:: Unknown error: 0
 $ firefox
 INTERNAL ERROR on Browser End: SendRequest: Read of ack failed: 0
 
 System error?:: Unknown error: 0
 
 It's interesting to note that you don't have to download the tzupdater
 tool from Java (which requires you to create an account with their
 site). In order to avoid getting that file just edit the Makefile
 prior to running make. 


You don't have to do that, it's an option, just do a make config and
deselect it. 

If you are trying to to get the browser plugin to work, it probably
wont. The diablo java ports are precompiled binaries, currently built
against FreeBSD 6, and this is one of the few cases where compat6x
doesn't help. You need to build java from source e.g. with java/jdk15.

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


Re: Intermittent -- yet regular -- v6.3 kernel panic

2008-06-13 Thread Ryan Coleman

Kris Kennaway wrote:

Bruce Cran wrote:

On Fri, 13 Jun 2008 14:49:29 -0500
Ryan Coleman [EMAIL PROTECTED] wrote:

Jun 12 23:02:41 UnixBox2 kernel: Fatal trap 12: page fault while in 
kernel mode

Jun 12 23:02:41 UnixBox2 kernel: cpuid = 1; apic id = 01
Jun 12 23:02:41 UnixBox2 kernel: fault virtual address  = 0x0
Jun 12 23:02:41 UnixBox2 kernel: fault code = supervisor 
read, page not present

Jun 12 23:02:41 UnixBox2 kernel: instruction pointer= 0x20:0x0
Jun 12 23:02:41 UnixBox2 kernel: stack pointer  =
0x28:0xec0ea8e0 Jun 12 23:02:41 UnixBox2 kernel: frame
pointer  = 0x28:0xec0ea8e4 Jun 12 23:02:41 UnixBox2 kernel:
code segment   = base 0x0, limit 0xf, type 0x1b
Jun 12 23:02:41 UnixBox2 kernel: = DPL 0, pres 1, def32 1, gran 1
Jun 12 23:02:41 UnixBox2 kernel: processor eflags   = interrupt 
enabled, resume, IOPL = 0

Jun 12 23:02:41 UnixBox2 kernel: current process= 925 (cp)
Jun 12 23:02:41 UnixBox2 kernel: trap number= 12
Jun 12 23:02:41 UnixBox2 kernel: panic: page fault
Jun 12 23:02:41 UnixBox2 kernel: cpuid = 1
Jun 12 23:02:41 UnixBox2 kernel: Uptime: 1h21m59s
Jun 12 23:02:41 UnixBox2 kernel: Cannot dump. No dump device defined.


This is a regular occurrence, but varies by source. Brand new fBSD
6.3 machine, what more information do I need to provide?


To be of any use we need a backtrace.  See 
http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html

for details.  First you need to configure a dump device then when
the system crashes a crash dump will be written to /var/crash by
default.  You then run kgdb on the file to get the backtrace.



It's quite likely to be due to bad hardware though.

Kris



It's crashed twice and stalled on the dump. Any thoughts?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How do I install pphpBB2? [WAS: Re: okay, it's time to ask....]

2008-06-13 Thread Gary Kline
On Fri, Jun 13, 2008 at 03:50:28PM -0700, Gary Kline wrote:
 
   PEople,
 
   After a long time, I've got phpbb configured into mysql.
   I've downloaded phpBB2 and installed it.  My notes from 
   2003 fail here; it may be because my apache-2 isn't configured.
 
   Cann anybody clue me in?
 
   thanks much,
 
   gary
 
 
 
 -- 
   Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
 http://jottings.thought.org   http://transfinite.thought.org
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: How do I install pphpBB2? [WAS: Re: okay, it's time to ask....]

2008-06-13 Thread Sahil Tandon
Gary Kline [EMAIL PROTECTED] wrote:

   After a long time, I've got phpbb configured into mysql.
   I've downloaded phpBB2 and installed it.  My notes from 
   2003 fail here; it may be because my apache-2 isn't configured.

What notes?  What fails and how?  Show error output and logs.

   Cann anybody clue me in?

Only if you provide background, a better description of the problem and the 
steps you've taken to troubleshoot it.  When seeking help on this list, you 
should follow this advice:

http://www.lemis.com/questions.html
http://www.catb.org/~esr/faqs/smart-questions.html

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


Re: How do I install pphpBB2? [WAS: Re: okay, it's time to ask....]

2008-06-13 Thread Gary Kline
On Sat, Jun 14, 2008 at 12:56:56AM -0400, Sahil Tandon wrote:
 Gary Kline [EMAIL PROTECTED] wrote:
 
  After a long time, I've got phpbb configured into mysql.
  I've downloaded phpBB2 and installed it.  My notes from 
  2003 fail here; it may be because my apache-2 isn't configured.
 
 What notes?  What fails and how?  Show error output and logs.
 
  Cann anybody clue me in?
 
 Only if you provide background, a better description of the problem and the 
 steps you've taken to troubleshoot it.  When seeking help on this list, you 
 should follow this advice:


I've read Greg's advice page; I did google for instructions OR 
tutorial on installling phpbb2 , freebsd

and foundnothing helpful. Since I did create the mysql lines,
my'03 notes suggested tha it was timeto point my browser at the
BBS.  aristotle is a jail without X so I used lynx.

The only thing I seemto remember is that in 2003, phpBB2 was
installed withthe data directory, /usr/local/www/data/
Now itis installed in theweb ``root'' irectory, /usr/local/www

Below is what happened with lynx.




p4 22:05 Jail:: aristotle [2672] lynx http://localhost/phpBB2/
404 Not Found
   Not Found

  The requested URL /phpBB2/ was not found on this server.


gary

PS: Last time I was using apache13.  I don't understand very much
about apache22.  But looks like I'd better get busy... .

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: How do I install pphpBB2? [WAS: Re: okay, it's time to ask....]

2008-06-13 Thread Gary Kline
On Sat, Jun 14, 2008 at 12:56:56AM -0400, Sahil Tandon wrote:
 Gary Kline [EMAIL PROTECTED] wrote:
 
  After a long time, I've got phpbb configured into mysql.
  I've downloaded phpBB2 and installed it.  My notes from 
  2003 fail here; it may be because my apache-2 isn't configured.
 
 What notes?  [ ... ]


Appended are my original notes.
 
 -- 
 Sahil Tandon [EMAIL PROTECTED]

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org

STAGE 1

/*
 * mysql instruuctions
 */


STAGE 2 -- APACHE

# cd /usr/ports/www/apache13/  make install clean

***downloads and installs apache***

STAGE 3 -- MOD_PHP4

# cd /usr/ports/lang/php4/  make install clean

list of things i enable for php:
GD2 bzip2 cracklib mcrypt mhash pdflib IMAP GDBM OpenSSL SNMP XML FTP
CURL gettext iconv recode pspell BCMath mcve sockets

zlib and MySQL should already be selected, but DEFINITELY select them if
they are not.  One probably doesn't need any of the above options to run
phpBB...  I just like this set in case I use php for other things in the
future.

because we enabled snmp it stops to asks some questions while compiling
those libraries.  i just took the defaults without deviation...

***downloads and installs mod_php4***

STAGE 4 -- PHPBB

# cd /usr/ports/www/phpbb/  make install

# /usr/local/etc/rc.d/apache.sh start
 apache#

open browser now and point to http://localhost/phpBB2/;

fill in the following values according to the db we set up earlier:
Database Server Hostname / DSN:  localhost
Your Database Name:  phpbb
Database Username:  phpbb_user
Database Password:  X (starred out, of course) // was bbuser
Admin Email Address:  [EMAIL PROTECTED]
Domain Name:  hostname.real.address (if you do not have a valid dns name,
it is very important that you use your IP address here
instead of a fake DNS entry.  phpBB creates it's page links
dynamically with the value you enter here.
Server Port:  80
Script path:  /phpBB2/
Administrator Username:  Administrator
Administrator Password:  adminpass  (starred out again...)
Administrator Password [ Confirm ]:  adminpass

click Submit and on the next page click Finish

then back to the console...

# cd /usr/local/www/data/phpBB2/
# rm -rf install/

the web install says to make sure to remove /install and /contrib, but i
didn't find any /contrib directory in the version of phpbb that installed?
 guess we'll ignore that...


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