mutt working throu NFS only in read-only

2005-03-08 Thread Eugene M. Minkovskii
Hello, I have some trouble in NFS configure. I need to read mail
through NFS. So I say on the server:

[EMAIL PROTECTED] cat /etc/exports:
/var/mail 172.16.0.2

On client:
[EMAIL PROTECTED] sudo mount_nfs 172.16.0.1:/var/mail ~user/mnt/nfs
[EMAIL PROTECTED] ls -l ~user/mnt/nfs
...
-rw---  1 user   user   28610895  8  10:06 user
...
[EMAIL PROTECTED] mutt -f ~user/mnt/nfs/user

All working good, except one: mutt open this mailbox only in
read-only variant :(

Can I change this? You can see in ls command above --- I can read
and write my mailbox. For example, I try to change this file
using vim, and have a success

==
[EMAIL PROTECTED] mutt -v
Mutt 1.4.2.1i (2004-02-12)
Copyright (C) 1996-2002 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: FreeBSD 5.3-RELEASE-p5 (i386) [using ncurses 5.2]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
-USE_FCNTL  +USE_FLOCK
+USE_POP  +USE_IMAP  -USE_GSS  +USE_SSL  -USE_SASL  
+HAVE_REGCOMP  -USE_GNU_REGEX  +COMPRESSED  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  
+HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO  
-ISPELL
SENDMAIL=/usr/sbin/sendmail
MAILPATH=/var/mail
PKGDATADIR=/usr/local/share/mutt
SYSCONFDIR=/usr/local/etc
EXECSHELL=/bin/sh
-MIXMASTER
To contact the developers, please mail to [EMAIL PROTECTED].
To report a bug, please use the flea(1) utility.

vvv.initials
1.3.28.nr.threadcomplete
rr.compressed

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


Re: FreeBSD 5.3 freezes under heavy hdd load

2005-03-08 Thread cyb
On Mon, 2005-03-07 at 23:59 -0800, pete wright wrote:

 A couple of things will be neccessary to help us help you.  Custum
 kernel, post or link to your KERNEL_CONFIG, or better yet a dmesg. 
 Also I'd suggest testing this first w/o SMP enabled (not sure if SMP
 is even that helpfull with hyper-threading IMO) and secondly test with
 AICP disabled as well.  I may even go as far as running the system w/o
 SMP and hyper threading enabled for testing purposes.  Doing this will
 help limit the variables at play here, and is generally considered
 good debugging practice.  Finally, I would post any debugging or error
 messages your are getting in your logs as well.
 
 -pete

As I said before, I do not get any log entries/messages. I'll do some
more testing now.

Andreas


KERNEL_CONFIG:
__

#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check
first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.6.2.2 2004/10/24
18:02:52 scottl Exp $

machinei386
#cpuI486_CPU
#cpuI586_CPU
cpuI686_CPU
identKERNEL_CYB_P4

# To statically compile in device wiring instead of /boot/device.hints
#hintsGENERIC.hints# Default places to look for devices.

options SCHED_4BSD# 4BSD scheduler
options INET# InterNETworking
options INET6# IPv6 communications protocols
options FFS# Berkeley Fast Filesystem
options SOFTUPDATES# Enable FFS soft updates support
options UFS_ACL# Support for access control lists
options UFS_DIRHASH# Improve performance on big directories
options MD_ROOT# MD is a potential root device
options NFSCLIENT# Network Filesystem Client
options NFSSERVER# Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires NFSCLIENT
options MSDOSFS# MSDOS Filesystem
options CD9660# ISO 9660 Filesystem
options PROCFS# Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43# Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4# Compatible with FreeBSD4
#options SCSI_DELAY=15000# Delay (in ms) before probing SCSI
options KTRACE# ktrace(1) support
options SYSVSHM# SYSV-style shared memory
options SYSVMSG# SYSV-style message queues
options SYSVSEM# SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~215k to driver.
options ADAPTIVE_GIANT# Giant mutex is adaptive.

deviceapic# I/O APIC

#cyb: kernel smp support (device apic + options SMP)
optionsSMP

# Bus support.  Do not remove isa, even if you have no isa slots
deviceisa
#deviceeisa
devicepci

# Floppy drives
devicefdc

# ATA and ATAPI devices
deviceata
deviceatadisk# ATA disk drives
#deviceataraid# ATA RAID drives
deviceatapicd# ATAPI CDROM drives
#deviceatapifd# ATAPI floppy drives
#deviceatapist# ATAPI tape drives
options ATA_STATIC_ID# Static device numbering
deviceatapicam# allows ATAPI devices to be accessed through SCSI
subsystem

# SCSI Controllers
#deviceahb# EISA AHA1742 family
#deviceahc# AHA2940 and onboard AIC7xxx devices
#deviceahd# AHA39320/29320 and onboard AIC79xx devices
#deviceamd# AMD 53C974 (Tekram DC-390(T))
#deviceisp# Qlogic family
#devicempt# LSI-Logic MPT-Fusion
##devicencr# NCR/Symbios Logic
#devicesym# NCR/Symbios Logic (newer chipsets + those of `ncr')
#devicetrm# Tekram DC395U/UW/F DC315U adapters

#deviceadv# Advansys SCSI adapters
#deviceadw# Advansys wide SCSI adapters
#deviceaha# Adaptec 154x SCSI adapters
#deviceaic# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
#devicebt# Buslogic/Mylex MultiMaster SCSI adapters

#devicencv# NCR 53C500
#devicensp# Workbit Ninja SCSI-3
#devicestg# TMC 18C30/18C50

# SCSI peripherals
devicescbus# SCSI bus (required for SCSI)
#devicech# SCSI media changers
deviceda# Direct Access (disks)
#devicesa# Sequential Access (tape etc)
devicecd# CD
devicepass# Passthrough device (direct SCSI access)
#deviceses# SCSI Environmental Services (and SAF-TE)

# RAID controllers interfaced to the SCSI subsystem
#deviceamr# AMI MegaRAID
#deviceasr# DPT SmartRAID V, VI and Adaptec SCSI RAID
#deviceciss# Compaq Smart RAID 5*
#devicedpt# DPT Smartcache III, IV - See NOTES for options
#devicehptmv# Highpoint 

[no subject]

2005-03-08 Thread ticli
Troppo spam e virus: la casella è inattiva!
Scusate l'inconveniente.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


www statistics ?

2005-03-08 Thread RJ45
Hello I tryed to use awstats to make statistic pages of my apache 1.3 
server but it does not work fine. it is in the port collection.
anyone is using any other nice tool to create statistic pages for apache 
web server on FreeBSD ?
wwwstat works fine but it is not graphics.

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


Re: www statistics ?

2005-03-08 Thread Norberto Meijome
RJ45 wrote:
Hello I tryed to use awstats to make statistic pages of my apache 1.3 
server but it does not work fine. it is in the port collection.
anyone is using any other nice tool to create statistic pages for apache 
web server on FreeBSD ?
wwwstat works fine but it is not graphics.
Hello,
have you tried Webalizer? www/webalizer ,

[EMAIL PROTECTED] [Tue Mar  8 21:13:43 2005]
/usr/ports/www/webalizer
$ cat pkg-descr
What is The Webalizer?
--
A fast, free web server log file analysis program.  Produces
HTML output for viewing with a web browser.  Written in C on
a Linux platform, however designed to be as ANSI/POSIX
compliant as possible so porting to other UNIX platforms should
be painless.  Binary distributions for most popular platforms
are available.  Features multiple language support, incremental
processing capabilities, reverse DNS lookup support, export via
tab separated ascii files to popular databases and spreadsheets,
and much more.  Supports standard CLF and combined logs, as well
as wu-ftpd xferlog and squid proxy logs, which can be either in
standard text format or gzip compressed.
Keywords:  Web Analysis, Log Analysis, Usage Statistics, Linux, Unix
Author:Bradford L. Barrett
Maintained-by: Bradford L. Barrett
WWW: http://www.mrunix.net/webalizer/
Alternate-site:http://samhain.unix.cslab.tuwien.ac.at/webalizer/
FTP: ftp://www.mrunix.net/pub/webalizer/
Platforms: Linux, SCO, other UNIX's
Copying-policy: GPL

and www/geolizer/ if you want to resolve client IPs to countries via 
geoIP from Maxmind , net/GeoIP

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


Is this a function or a structure???(once again, a mind-boggling example from Kernighan)

2005-03-08 Thread Mark Jayson Alvarez
Hi,

  On chapter 6 section 2 of The C Programming
Language, the topic is Structures and Function.

His very first example for this topic contains the
lines of code:

struct point makepoint(int x, int y)
{
  struct point temp;
  temp.x = x;
  temp.y = y;
  return temp;
}

As I can understand it, he is trying to declare a
structure of type point, and the value of that
structure will be the return value of the function
makepoint, or is it a function definition?

Can anyone enlighten me if this is really a structure
declaration or a function? If this is a structure,
then there must be a definition outside the main for
the function makepoint, right?Only that he didn't
showed anything.

But if this is already a function definition, like all
of his examples before, perhaps a simple program
should look like this

#include...
/* declare function makepoint */
/*i don't know how, do you?:) */

main()
{
/* call function make point and pass some arguments */
/* i'm not sure how to do this either.. help =( */

print(%d%d, newcreatedstruct.x,newlycreatedstruct.y)


}
struct point makepoint(int x, int y)
{
  struct point temp;
  temp.x = x;
  temp.y = y;
  return temp;
}

My problem is how am i going to call the function
makepoint. Why is there the word point in the above
definition of makepoint. 

Another thing is the words temp.x and temp.y, if they
are both members of structure temp, why didn't the
author declared it first, instead he immediately
initializing it to (x, y)

I'm reading the Notes To accompany The C Programming
Language-
http://www.eskimo.com/~scs/cclass/krnotes/top.html;
but it didn't help me that much in this topic. Perhaps
you could. I have only 2 chapters left to read and I
can't wait to reach the topics unix system calls, and
sockets. But I don't want to leave this chapter
floating in the air as if I've never read it.

I really need all the help I can get.
Thank you very much.

Sincerely,
jayson











 






__ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is this a function or a structure???(once again, a mind-boggling example from Kernighan)

2005-03-08 Thread Erik Trulsson
On Tue, Mar 08, 2005 at 02:26:47AM -0800, Mark Jayson Alvarez wrote:
 Hi,
 
   On chapter 6 section 2 of The C Programming
 Language, the topic is Structures and Function.
 
 His very first example for this topic contains the
 lines of code:
 
 struct point makepoint(int x, int y)
 {
   struct point temp;
   temp.x = x;
   temp.y = y;
   return temp;
 }
 
 As I can understand it, he is trying to declare a
 structure of type point, and the value of that
 structure will be the return value of the function
 makepoint, or is it a function definition?

No, he is defining a function 'makepoint' that returns a value of type
'struct point'.
'struct point' is presumably defined at some earlier point.

(At a guess 'struct point' is defined as:

  struct point
   {
   int x;
   int y;
   };

Such a definition would at least be reasonable, and consistent wwith
the usage of 'struct point' in the function 'makepoint')




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


Re: vt220 and wrong pgup, pgdn, home and end keys

2005-03-08 Thread Giorgos Keramidas
On 2005-03-07 19:31, Jeremy C. Reed [EMAIL PROTECTED] wrote:
 Please cc me on replies.

 My /etc/ttys uses vt220 for one of my consoles. (Because I am logging
 into a host that doesn't know cons25.)

That's not a good idea.  Your console is not a vt220 terminal, so some
keys will act in funny ways.

I usually run screen to do what you're trying to accomplish.

Setting TERM=vt220 inside screen is not a problem.  In fact, it's the
best way I've found so far for SSH'ing into arbitrary remote hosts
(which may not have 'cons25' in their termcap or terminfo).

Both my .screenrc and .bashrc know about this and set TERM=vt220 inside
screen windows:

( .screenrc )

term vt220

( .bashrc )

# Terminal hacks for screen(1).
case $TERM in
screen*|vt220*)
stty status '^T'
export TERM='vt220'
unset TERMCAP
unset DISPLAY
;;
esac

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


pf question

2005-03-08 Thread J.D. Bronson
First my ifconfig -A:
# ifconfig -A
bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
address: 
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.82.1 netmask 0xff00 broadcast 192.168.82.255
inet 192.168.82.2 netmask 0x broadcast 192.168.82.2
I use a rule in the firewall such as this:
# macros
int_if = bge0
pass in on $int_if from $int_if:network to any modulate state
pass out on $int_if from any to $int_if:network modulate state
This expands to:
pass in on bge0 inet from 192.168.82.0/24 to any modulate state
pass in on bge0 inet from 192.168.82.2 to any modulate state
pass out on bge0 inet from any to 192.168.82.0/24 modulate state
pass out on bge0 inet from any to 192.168.82.2 modulate state
..Why does it pick the alias IP on the nic and not the actual IP?
Is this intended by design?

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


connection problems with apache and mod_ssl

2005-03-08 Thread MINAROVIC, Peter
Hello Eric,

I have found your problem with error message

SSL handshake interrupted by system [Hint: Stop button pressed in browser?!] 
(System error follows)

on Intranet. Did you received any solution? We have also this problem and no 
solution.

Thank you very much.

Regards,

Peter

Peter Minarovi
Database Administrator
+421-905-011246
Orange Slovensko, a.s.

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


Re: Just installed FreeBSD

2005-03-08 Thread RW
On Monday 07 March 2005 16:01, Ean Kingston wrote:

 run 'pkg_add -r kde' from the command line

 edit /etc/ttys (with ee or whatever editor you like.

 Look for the line that looks like this:

 ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off secure

 and change the word 'off' to 'on'. Then save the file.


Better still leave the line commented out and enter:

ttyv8  /usr/local/bin/kdm -nodaemon   xterm   on secure

KDM is part of KDE and is fully integrated with it, as well as being a 
general-purpose login manager.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pf question

2005-03-08 Thread Giorgos Keramidas
On 2005-03-08 06:49, J.D. Bronson [EMAIL PROTECTED] wrote:
 First my ifconfig -A:

 # ifconfig -A
 bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 address: 
 media: Ethernet autoselect (100baseTX full-duplex)
 status: active
 inet 192.168.82.1 netmask 0xff00 broadcast 192.168.82.255
 inet 192.168.82.2 netmask 0x broadcast 192.168.82.2


 I use a rule in the firewall such as this:
 # macros
 int_if = bge0

 pass in on $int_if from $int_if:network to any modulate state
 pass out on $int_if from any to $int_if:network modulate state

 This expands to:
 pass in on bge0 inet from 192.168.82.0/24 to any modulate state
 pass in on bge0 inet from 192.168.82.2 to any modulate state
 pass out on bge0 inet from any to 192.168.82.0/24 modulate state
 pass out on bge0 inet from any to 192.168.82.2 modulate state

 Why does it pick the alias IP on the nic and not the actual IP?
 Is this intended by design?

Because the first IP address has a netmask with zero bits, and pf is
smart enough to recognize this as part of a subnet/network (this is,
after all the meaning of the :network modifier).  The alias IP has a
netmask of 0x, which may match only that alias address.

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


qlogic 2340 and dell cx200

2005-03-08 Thread Omer Faruk Sen
Hi, 

I have been trying to use a SAN system using Dell CX200 fiber SAN Storage 
with Qlogic 2340 (PCI-X 133) HBA. But I had lots of error messages and 
unstable OS behaviour. I have tried different scenarios on that system. This 
qlogic 2340 card has a qlogic 2312 chipset which is recognized by my kernel: 

isp0: Qlogic ISP 2312 PCI FC-AL Adapter port 0xcc00-0xccff mem 
0xfcd0-0xfcd00fff irq 24 at device 6.0 on pci3 

But in my test setup I receive following errors: 

(da0:isp0:0:0:0): READ(06). CDB: 8 f 3f 9f 80 0
(da0:isp0:0:0:0): CAM Status: SCSI Status Error
(da0:isp0:0:0:0): SCSI Status: Check Condition
(da0:isp0:0:0:0): UNIT ATTENTION asc:2a,81
(da0:isp0:0:0:0): Vendor Specific ASCQ
(da0:isp0:0:0:0): Retrying Command (per Sense Data) 

Sometime I receive following errors: 

isp0: bad execution throttle of 0- using 16
(da1:isp0:0:0:2): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
(da1:isp0:0:0:2): NOT READY asc:4,3
(da1:isp0:0:0:2): Logical unit not ready, manual intervention required 

I have enabled ispfw and my system sometime recognizes my LUN's that is 
smaller than 8 GB (I am not sure about size. I have tried 5GB LUNs). I can 
format and use it in one of my tries. But after adding a second 5GB LUN my 
system finds it as da1 but can't format it. I have also added a 30 GB LUN. 
This LUN can't be formatted to. 

(da1:isp0:0:0:2): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
(da1:isp0:0:0:2): NOT READY asc:4,3
(da0:isp0:0:0:0): removing device entry
da1 at isp0 bus 0 target 0 lun 2
da1: DGC RAID 5 0207 Fixed Direct Access SCSI-4 device
da1: 200.000MB/s transfers, Tagged Queueing Enabled
da1: 30720MB (62914560 512 byte sectors: 255H 63S/T 3916C)
(da1:isp0:0:0:2): READ(06). CDB: 8 0 0 0 1 0
(da1:isp0:0:0:2): CAM Status: SCSI Status Error
(da1:isp0:0:0:2): SCSI Status: Check Condition
(da1:isp0:0:0:2): NOT READY asc:4,3
(da1:isp0:0:0:2): Logical unit not ready, manual intervention required
(da1:isp0:0:0:2): Unretryable error
(da1:isp0:0:0:2): Invalidating pack
(da1:isp0:0:0:2): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
(da1:isp0:0:0:2): NOT READY asc:4,3
(da1:isp0:0:0:2): Logical unit not ready, manual intervention required
(da1:isp0:0:0:2): READ(06). CDB: 8 0 0 1 1 0
(da1:isp0:0:0:2): CAM Status: SCSI Status Error
(da1:isp0:0:0:2): SCSI Status: Check Condition
(da1:isp0:0:0:2): NOT READY asc:4,3
(da1:isp0:0:0:2): Logical unit not ready, manual intervention required
(da1:isp0:0:0:2): Unretryable error
(da1:isp0:0:0:2): Invalidating pack
(da1:isp0:0:0:2): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
(da1:isp0:0:0:2): NOT READY asc:4,3
(da1:isp0:0:0:2): Logical unit not ready, manual intervention required
(da1:isp0:0:0:2): READ(06). CDB: 8 0 0 0 2 0
(da1:isp0:0:0:2): CAM Status: SCSI Status Error
(da1:isp0:0:0:2): SCSI Status: Check Condition
(da1:isp0:0:0:2): NOT READY asc:4,3
(da1:isp0:0:0:2): Logical unit not ready, manual intervention required
(da1:isp0:0:0:2): Unretryable error
(da1:isp0:0:0:2): Invalidating pack
(da1:isp0:0:0:2): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
(da1:isp0:0:0:2): NOT READY asc:4,3
(da1:isp0:0:0:2): Logical unit not ready, manual intervention required
Mounting root from ufs:/dev/amrd0s1a
(da1:isp0:0:0:2): READ(06). CDB: 8 0 0 0 1 0
(da1:isp0:0:0:2): CAM Status: SCSI Status Error
(da1:isp0:0:0:2): SCSI Status: Check Condition
(da1:isp0:0:0:2): NOT READY asc:4,3
(da1:isp0:0:0:2): Logical unit not ready, manual intervention required
(da1:isp0:0:0:2): Unretryable error
(da1:isp0:0:0:2): Invalidating pack 

Has anyone a clue on what is going on? I am very new to that SAN concepts. 
But I am thinking that the HBA card is the problem but don't have a chance 
to try another HBA. 


I have also used ISP_TARGET_MODE=1 in my kernel (both 5.3R and 5-STABLE). 
But that totally disabled isp card. 



---
Omer Faruk Sen
http://www.EnderUNIX.ORG
Software Development Team @ Turkey
http://www.Faruk.NET
For Public key: http://www.enderunix.org/ofsen/ofsen.asc
 

First Turkish FreeBSD book is out! Go check it.
Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti.
http://www.acikkod.com/freebsd.php 

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


Re: www statistics ?

2005-03-08 Thread Per olof Ljungmark
RJ45 wrote:
Hello I tryed to use awstats to make statistic pages of my apache 1.3 
server but it does not work fine. it is in the port collection.
anyone is using any other nice tool to create statistic pages for apache 
web server on FreeBSD ?
wwwstat works fine but it is not graphics.
http://www.analog.cx/ is a very good tool for in-depth analysis. We use 
both analog and webalizer here depending on the needs.

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


Re: Recompiling the Kernel for better ATA support

2005-03-08 Thread Alejandro Pulver
On Mon, 7 Mar 2005 15:00:24 -0800
Benjamin Keating [EMAIL PROTECTED] wrote:

 I'm having a problem with my drives and found a promising solution
 (http://lists.freebsd.org/pipermail/freebsd-hackers/2004-October/0088
 21.html) It looks like i need to modify
 /usr/src/sys/dev/ata/ata-lowlevel.c with the following, but im unsure
 how to read it. Some pointers about how to understand this would be
 awesome.
 
 % --
 
 --- ata-lowlevel.c.orig Fri Oct 29 12:06:09 2004
 +++ ata-lowlevel.c  Fri Oct 29 12:05:38 2004
 @@ -700,7 +700,7 @@
  ATA_IDX_OUTB(atadev-channel, ATA_ALTSTAT, ATA_A_4BIT);
 
  /* only use 48bit addressing if needed (avoid bugs and overhead)
  */
 -if ((lba  268435455 || count  256)  atadev-param 
 +if ((lba  268435454 || count  256)  atadev-param 
 atadev-param-support.command2  ATA_SUPPORT_ADDRESS48) {
 
 % --
 

It is just a patch (a file generated by diff(1) that outputs the
difference between two files, generally the original file, and the
modified file).

It just changes the value 268435455 to 268435454.

For more information see diff(1) and patch(1).

 After modifying this file, do I simply recompile my kernel? Here is
 how i go about recompiling mine (open to suggestions):
 
 # cd /usr/src/sys/i386/conf
 # cp GENERIC MYKERNEL
 # vi MYKERNEL
 # config MYKERNEL
 # cd /usr/src
 # make buildkernel KERNCONF=MYKERNEL
 # make installkernel KERNCONF=MYKERNEL
 

You have to patch the file '/usr/src/sys/dev/ata/ata-lowlevel.c' with:

# patch /usr/src/sys/dev/ata/ata-lowlevel.c patchfile

And then recompile your kernel.

Personally I use the traditional way (procedure 1) for just compiling
the kernel.

 Im new to kernel compiling and never patched files in the source
 before.
 
 Keep up the good work guys! I love this OS.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

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


Re: www statistics ?

2005-03-08 Thread Troy
On Tue, 2005-03-08 at 03:10 -0700, RJ45 wrote:
 Hello I tryed to use awstats to make statistic pages of my apache 1.3 
 server but it does not work fine. it is in the port collection.
 anyone is using any other nice tool to create statistic pages for apache 
 web server on FreeBSD ?
 wwwstat works fine but it is not graphics.
 

I personally prefer webalizer. It has very nice graphics and statistics.
It's in /usr/ports/www/webalizer.  You can see screenshots at:

http://www.mrunix.net/webalizer/


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


Re: quick q

2005-03-08 Thread Lowell Gilbert
D3xt3r G3niu5 none [EMAIL PROTECTED] writes:

Hi guys, sorry to bother you but this was my last resort since the
forum could not help me. I added device sound, and device
snd_emu10k1 to my kernel, i compiled and at restart i hear the music
but then it cuts off at the end. By any chanse do you know why?
thank you for the time taken
to help me.
krnload sais it is already loaded and krnstat doesn't show any sound
loaded. but if i do a grep or another command it shows my sound
blaster card which it corectly detected it.

What programs are you using to play music on the sound card?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disk Error ... back up method

2005-03-08 Thread Lowell Gilbert
Yance Kowara [EMAIL PROTECTED] writes:

 Hi all,
  
 I am a FreeBSD newbie... would like to know more about backing up the whole 
 FreeBSD system to a new hard disk.
  
 What is the most convenient method of backing up to a new harddisk?
 any pointers appreciated

The question isn't completely clear, but I think the FAQ entry for
How do I move my system over to my huge new disk? is probably what
you're looking for.
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK

  
 I cut and pasted Aftabs' reply to Disk Error thread ...
  
 Thanks in advance.
  
 ASAP
 1. fsck -y
 2. tunefs ( enable softupdate)
 3. backup to new hard disk
 4. remove this faulty hard disk
 
 Your hard disk is dyeing .
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IP aliases and forcing outbound IP

2005-03-08 Thread Xian
On Monday 07 March 2005 19:52, patrick wrote:
 Should I assume by the lack of replies that this just isn't possible
 under FreeBSD? Seems like it should be doable.

 Any help would be greatly appreciated,

 Patrick

 On Thu, 3 Mar 2005 13:04:37 -0800, patrick [EMAIL PROTECTED] wrote:
  I have a FreeBSD 4.11 box whose ethernet card has several IP address.
 
  inet 10.0.1.254 netmask 0xff00 broadcast 10.0.1.255
  inet 10.0.1.111 netmask 0x broadcast 10.0.1.111
 
  Is there a way I can cause outbound connections to certain hosts to be
  from 10.0.1.111 instead of the default 10.0.1.254? I used to be able
  to do this fairly easy in Linux because each alias is actually a
  separate ethernet device (eg. eth0:0, eth0:1, etc.), but I haven't
  figured out how to do this in FreeBSD.
 
  Patrick

Swapping the addresses over in rc.conf might make 10.0.1.254 the default. I 
don't really know though.

-- 
/Xian

INDECISION is the key to FLEXIBILITY
unknown author
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD book in Romanian...

2005-03-08 Thread Daniel
Hi, check this out...

http://www.polirom.ro/titluri.cgi?action=titluriclass=detailsid=1791colectia=

it's a very good book about FreeBSD written in 2005

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


[no subject]

2005-03-08 Thread dogpile
I have a problem with a sound card :(
Sound card : ESS Maestro 2E 
Commputer : HP Omnibook XE2
FreeBSD 5.3

dmesg | grep pcm0 :

pcm0: ESS Technology Maestro-2E port 0xf800-0xf8ff irq 5 at device 14.0 on 
pci0
pcm0: agg_rdcodec() RW_DONE timed out.
pcm0: agg_rdcodec() PROGLESS timed out.
pcm0: agg_rdcodec() RW_DONE timed out.
pcm0: agg_wrcodec() PROGLESS timed out.
pcm0: agg_rdcodec() PROGLESS timed out.
pcm0: agg_rdcodec() RW_DONE timed out.
pcm0: agg_wrcodec() PROGLESS timed out.
pcm0: agg_rdcodec() PROGLESS timed out.
pcm0: agg_rdcodec() RW_DONE timed out.
pcm0: agg_wrcodec() PROGLESS timed out.
pcm0: agg_rdcodec() PROGLESS timed out.
pcm0: agg_rdcodec() RW_DONE timed out.
pcm0: agg_wrcodec() PROGLESS timed out.
pcm0: agg_rdcodec() PROGLESS timed out.
pcm0: agg_rdcodec() RW_DONE timed out.
pcm0: agg_wrcodec() PROGLESS timed out.
pcm0: agg_rdcodec() PROGLESS timed out.
pcm0: agg_rdcodec() RW_DONE timed out.
pcm0: agg_wrcodec() PROGLESS timed out.
pcm0: agg_rdcodec() PROGLESS timed out.
pcm0: agg_rdcodec() RW_DONE timed out.
pcm0: agg_wrcodec() PROGLESS timed out.
pcm0: agg_rdcodec() PROGLESS timed out.
pcm0: agg_rdcodec() RW_DONE timed out.
pcm0: agg_wrcodec() PROGLESS timed out.
pcm0: agg_rdcodec() PROGLESS timed out.
pcm0: agg_rdcodec() RW_DONE timed out.
pcm0: agg_wrcodec() PROGLESS timed out.
pcm0: agg_rdcodec() PROGLESS timed out.
pcm0: agg_rdcodec() RW_DONE timed out.
pcm0: agg_wrcodec() PROGLESS timed out.
pcm0: Asahi Kasei AK4540 AC97 Codec
pcm0: agg_rdcodec() PROGLESS timed out.
pcm0: agg_rdcodec() RW_DONE timed out.
pcm0: ac97 codec reports dac not ready
pcm0: agg_wrcodec() PROGLESS timed out.
pcm0: agg_wrcodec() PROGLESS timed out.
pcm0: [GIANT-LOCKED]

mixer :
Mixer rec currently set to 75:75 
Recording source : mic

If you know how to solve my problem please write me a letter 

[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: mutt working throu NFS only in read-only

2005-03-08 Thread Doug Poland
On Tue, Mar 08, 2005 at 11:37:19AM +0300, Eugene M. Minkovskii wrote:
 Hello, I have some trouble in NFS configure. I need to read mail
 through NFS. So I say on the server:
 
...snip...
 
 System: FreeBSD 5.3-RELEASE-p5 (i386) [using ncurses 5.2]

On FreeBSD 5.x you need to run rpc lockd and statd on both the client
and server.  Here's snippets from /etc/rc.conf on my boxes:

client:
nfs_client_enable=YES
rpc_lockd_enable=YES  # Run NFS rpc.lockd needed for
rpc_statd_enable=YES  # Run NFS rpc.statd needed for

server:
nfs_server_flags=-u -n 10
nfs_server_enable=YES
rpc_lockd_enable=YES  # Run NFS rpc.lockd needed for
rpc_statd_enable=YES  # Run NFS rpc.statd needed for

Implement those changes, reboot (or restart daemons), and you should be
good to go.

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


Re: ndis problem

2005-03-08 Thread Volodymyr Kostyrko
Pablo Allietti wrote:
hi all me again.
i have a problem with ndis in freebsd 5.3
i do 

sony# cd /usr/src/sys/modules/if_ndis/
sony# make clean
rm -f /usr/src/sys/modules/if_ndis/export_syms if_ndis.ko if_ndis.kld
if_ndis.o if_ndis_pci.o if_ndis_pccard.o @ machine symb.tmp tmp.o
opt_bdg.h bus_if.h device_if.h card_if.h pci_if.h pccarddevs.h
sony# ndiscvt -i /usr/win/CVS/rt2500usb.inf -s
/usr/win/CVS/rt2500usb.sys -o ndis_driver_data.h

sony# make
make install
  Did it say something?
sony# make load
/sbin/kldload -v /usr/src/sys/modules/if_ndis/if_ndis.ko
kldload: can't load /usr/src/sys/modules/if_ndis/if_ndis.ko: No such
file or directory
*** Error code 1
Stop in /usr/src/sys/modules/if_ndis.
the file if_ndis.ko exist but i dont know why the message say not found.
maybe a problem with windows drivers? any boby can help me.
this drivers work under fedora with ndiswrapper. but in freebsd mmm i
dont know what happend.
  1. man kldxref. Just compiling module is not enough, it must be 
listed in the hint files. kldxref /boot/kernel
  2. kldload if_ndis

--
[WBR], Arcade. [SAT Astronomy/Think to survive!]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Thunderbird crash

2005-03-08 Thread Alex Zbyslaw
Thanks for the suggestion.  However the only other report of Thunderbird 
problems I could find was someone running latest Xorg on 5.something.

So many bus errors and seg faults from an established set of libraries 
like XFree seems unlikely to me.  Why thunderbird and not mozilla or 
gimp or any other X app?

As to CFLAGS etc, I don't set anything, I'm just compiling the port as 
it comes.

Since no-one else has suggested anything I guess I'll have to try 
recompiling with debugging and without optimisation and see if I can 
track anything down.  Time permitting :-(

Jason Henson wrote:
The default xserver is now xorg.  Other than that do you have any  
CFLAGS or CXXFLAGS set you shouldn't.  From my experience you should  
not use any, especially -f*. 

On 03/04/05 07:52:39, Alex Zbyslaw wrote:
I installed the latest thunderbird port (1.01) to see how it 
compared  to Mozilla Mail.  So far I have had three bus errors and a  
segmentation fault!  SO far I haven't even been able to reply to an  
email.  Needless to say, Mozilla Mail does not have this level of  
problems for me.

I imported all my Mozilla setting when I first ran.
Anyone have similar problems or suggest how I can figure out what's  
going on?

Running FreeBSD 4.10 and XFree86 4.4.  XFree server package is a  
couple of minor revisions off latest, but everything else (gtk etc)  
fully up-to-date.


--
Phone: +44 131 468 2422
Email: [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


beastie.4th language ?

2005-03-08 Thread michelbh

Hi,

My question might seem basic. Nevertheless I didn't find the answer on
the net. Excuse me in case I did look seriously enough, which might
afterall, be the case.

The files under the /boot directory on FreeBSD : beastie.4th and the
included ones screen.4th and frames.4th are obviously written in a
certain scripting language.

What is this language ?
Can I get a turorial for this scripting language ?
Or even a reference manual ?

Any URL or suggestion would be appreciated.

Thanks in advance.

Michel

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


JAVA Server

2005-03-08 Thread Grant Peel
Hello all,
I have a number of simple FreeBSD Hosting boxes running FBSD 4.x and have 
had a request to add a Java Server to one of them.

I am not experienced with JAVA at all.
My Boxes run simple Apache 1.3.36, EXim, ProFTP vmpop3d, and are tuned and 
running well.

I am looking for advise on what JAVA server to consider installing. SImple 
to install would be good, Low overhead would be better, and seamless 
operation with Apache would be perfect.

Any Comments welcome, help appreciated!
-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: beastie.4th language ?

2005-03-08 Thread Morten Liebach
On 2005-03-09 00:00:44 +0900, [EMAIL PROTECTED] wrote:
 The files under the /boot directory on FreeBSD : beastie.4th and the
 included ones screen.4th and frames.4th are obviously written in a
 certain scripting language.
 
 What is this language ?
 Can I get a turorial for this scripting language ?
 Or even a reference manual ?

The language is forth.  http://www.forth.org/ looks like a start.

Have a nice day
 Morten

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


Re: ttydX and xterm size (LINES and COLUMNS understanding)

2005-03-08 Thread Dan Nelson
In the last episode (Mar 08), Emanuel Strobl said:
 Am Dienstag, 8. Mrz 2005 08:29 schrieb Dan Nelson:
  In the last episode (Mar 08), Emanuel Strobl said:
   When I open a xterm on the local machine, say with 100x37, vi and
   man recognizes the size and display the content correctly. If I
   use cu/tip in a 100x37 xterm ls works fine (uses all lines) as
   long as I start vi but man doesn't work (no scrolling possible).
   After the vi session only 24 lines (or whatever type I set in
   /etc/ttys) are used, but man works correctly. Why can I use
   different terminal sizes on the local machine and in ssh sessions
   but not over a serial console? If I set setenv LINES 37 and
   setenv COLUMNS 100 it works also on the serial line but why or
   how can vi and others know what size my terminal is via ssh
   session? I'm sure this behaviour is adoptable to serial consoles
   too.
 
  Telnet and ssh have out-of-band control sequences that let the
  client pass things like terminal size to the server.  There's no
  equivalent
 
 Where are they set? I can't find any environment variable which
 reflect this.

It's part of the tty interface (man 4 tty).  You can run stty -a to
see the settings.  Forcing a particular screen size can be done with
stty 80 25 for example.
 
  for serial lines.  You can get the screen size from vt100 terminals
  (and many emulators) though, by moving the cursor to the far
  lower-right corner, asking the terminal for the cursor position,
  and reading the result on stdin.
 
 Even with knwon values I have the problem that when I recall the
 previous command in tcsh which was longer than one line there's no
 linefeed, the second line overwrites the first line.
 
 My problem is that I don't really understand how and why different
 applications seem to use different methods of displaying text and
 determining size values. man, vi and tcsh are at least very
 different. Any links highly appreciated.

vi seems to look for $LINES and $COLUMNS and will use them instead of
the tty's reported size.  Most other programs always trust the tty
(since they have to trust it anyway to respond to window size changes).

-- 
Dan Nelson
[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: beastie.4th language ?

2005-03-08 Thread Jerry McAllister
 Hi,
 
 My question might seem basic. Nevertheless I didn't find the answer on
 the net. Excuse me in case I did look seriously enough, which might
 afterall, be the case.
 
 The files under the /boot directory on FreeBSD : beastie.4th and the
 included ones screen.4th and frames.4th are obviously written in a
 certain scripting language.
 
 What is this language ?
 Can I get a turorial for this scripting language ?
 Or even a reference manual ?

I believe the language is Forth.   It is a fairly esotheric language
that is used because it has a very small footprint and is still
quite flexible.   I don't know about tutorials, but I have seen 
an occasional book on it.  I had one and actually installed Forth
on a machine and tried to learn it once, several years ago but the 
rewards/effort ratio got to me and I haven't gone back to it.

jerry

 
 Any URL or suggestion would be appreciated.
 
 Thanks in advance.
 
 Michel
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Strange Xorg problems - SOLVED

2005-03-08 Thread Richard Danter
Richard Danter wrote:
Hi All,
I have a strange problem with starting Xorg after a boot on my Compaq 
Presario 1800T laptop. First time I try to startx the screen is 
corrupted, the mouse moves very slowly (if at all) and sometimes the 
only way out is to kill the window manager by SSH'ing in from a remote 
host.

What is odd is that the second time I run startx it works perfectly! 
Same for all subsequent starts, so only the very first startx after a 
boot has this problem.

Lookling through the logs I can see that there is a failure to open the 
device /dev/dri/card0 first time, but it seems to work second time.

I managed to find some references to problems with dri by googling but 
could not find any resolutions.

I have attached a dump from dmesg after starting X so you can see the 
boot and drm messages. Also attached are logs from Xorg after both a bad 
and a good start. I hope attachments are ok. One think I noticed from 
the dmesg dump is that the graphics card is detected as an ATI Rage 128 
Mobility LF, but Linux said it was an M3. Not sure if that is relevant.

I used to have RedHat Linux 7.2 and then 9 running on this machine and 
never had any problems with X, was even able to play DVD's perfectly 
using Ogle, so I am sure Xorg should work.

Does anyone know what is going on here? Have I made a mistake somewhere??
I fixed it! It was simply a matter of adding r128_load=YES to 
/boot/loader.conf.

Another newbie mistake I think. :)
Rich
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FP extensions

2005-03-08 Thread Darryl Hoar
Greetings,
I have already installed frontpage extensions version 5 on my apache
webserver.
It works fine for the website I had on the server.

Recently I had to add another website to the server.  It too needs frontpage
extensions.   The fp_install script does more than just setup another
website
with extensions.  It does things regarding httpd, etc.

So, how do I add extensions to a website I've added ?

thanks,
Darryl


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


Re: Help with GIANT-LOCKED in REL5.3

2005-03-08 Thread Kris Kennaway
On Tue, Mar 08, 2005 at 12:51:15AM -0500, Chiang Seng Chang wrote:
 Kris Kennaway wrote:
 On Mon, Mar 07, 2005 at 08:50:06PM -0500, Chiang Seng Chang wrote:
 
 Hi,
 
 Anyone knows if GIANT-LOCKED is something new in 5.3 ?
 
 
 It's just a status message, under earlier versions (4.x) the ENTIRE
 KERNEL was giant locked.
 
 Kris
 
 The GIANT-LOCKED status message is not displayed in 5.2 also ?

No, but most (more) of the drivers still are giant-locked.  The
message was added later in the 5.x development cycle as more drivers
started getting out from underneath Giant and so it made sense to
start pointing them out to developers as areas for future work.

Kris

--
In God we Trust -- all others must submit an X.509 certificate.
-- Charles Forsythe [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: JAVA Server

2005-03-08 Thread MikeM
On 3/8/2005 at 10:06 AM Grant Peel wrote:

|Hello all,
|
|I have a number of simple FreeBSD Hosting boxes running FBSD 4.x and have 
|had a request to add a Java Server to one of them.
|
|I am not experienced with JAVA at all.
|
|My Boxes run simple Apache 1.3.36, EXim, ProFTP vmpop3d, and are tuned and

|running well.
|
|I am looking for advise on what JAVA server to consider installing. SImple

|to install would be good, Low overhead would be better, and seamless 
|operation with Apache would be perfect.
 =

Place to start:
http://jakarta.apache.org/tomcat/




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


non writable disks

2005-03-08 Thread koen de wijs
Hello,
I did something really stupid when I was root. I changed something in 
device.hints. Now I can't change anything on my system. It starts up but 
doesn't start the deamons (apache, ftp, ssh). When I start FreeBSD, it 
looks like I'm in some kind of safe mode. I can't write to the 
harddisks. How can I change this?
I want to make a backup from some files and put them on another 
harddisk, so I can do a clean install.

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


Re: reload rc.conf without rebooting

2005-03-08 Thread Luyt
On Saturday 05 March 2005 22:34, Ben Munat wrote:

 Sigh... I just want my delete key to work...

I put this in my .cshrc:

stty erase ^H
bindkey ^? delete-char
bindkey \e[3~ delete-char
bindkey \e[1~ beginning-of-line
bindkey \e[4~ end-of-line

-- 

The ability of the OSS process to collect and harness 
the collective IQ of thousands of individuals across 
the Internet is simply amazing. - Vinod Vallopillil
http://www.opensource.org/halloween/halloween4.php
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: JAVA Server

2005-03-08 Thread Corey Brune
On Tue, 08 Mar 2005 11:59:00 -0500, MikeM [EMAIL PROTECTED] wrote:
 On 3/8/2005 at 10:06 AM Grant Peel wrote:
 
 |Hello all,
 |
 |I have a number of simple FreeBSD Hosting boxes running FBSD 4.x and have
 |had a request to add a Java Server to one of them.
 |
 |I am not experienced with JAVA at all.
 |
 |My Boxes run simple Apache 1.3.36, EXim, ProFTP vmpop3d, and are tuned and
 
 |running well.
 |
 |I am looking for advise on what JAVA server to consider installing. SImple
 
 |to install would be good, Low overhead would be better, and seamless
 |operation with Apache would be perfect.
  =
 
 Place to start:
 http://jakarta.apache.org/tomcat/
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Do you know what your client is wanting from java? If they are writing
a simple web application (known as a WAR), then tomcat/apache with
mod_jk or mod_jk2 will work. If they require EJBs (Enterprise Java
Beans), the you will need more than a servlet engine. Jboss,
http://jboss.com/downloads/index#as, will run EJBs and servlets, and
it uses tomcat for its servlet engine. You will use mod_jk or mod_jk2
with jboss as well.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ndis problem

2005-03-08 Thread Pablo Allietti
On Tue, Mar 08, 2005 at 04:40:07PM +0200, Volodymyr Kostyrko wrote:
 Pablo Allietti wrote:
 hi all me again.

no , my problems are with the compilation with NDIS and USB. 


 
 i have a problem with ndis in freebsd 5.3
 
 i do 
 
 
 sony# cd /usr/src/sys/modules/if_ndis/
 sony# make clean
 rm -f /usr/src/sys/modules/if_ndis/export_syms if_ndis.ko if_ndis.kld
 if_ndis.o if_ndis_pci.o if_ndis_pccard.o @ machine symb.tmp tmp.o
 opt_bdg.h bus_if.h device_if.h card_if.h pci_if.h pccarddevs.h
 
 
 sony# ndiscvt -i /usr/win/CVS/rt2500usb.inf -s
 /usr/win/CVS/rt2500usb.sys -o ndis_driver_data.h
 
 
 
 sony# make
 
 
 make install
 
   Did it say something?
 
 sony# make load
 /sbin/kldload -v /usr/src/sys/modules/if_ndis/if_ndis.ko
 kldload: can't load /usr/src/sys/modules/if_ndis/if_ndis.ko: No such
 file or directory
 *** Error code 1
 
 Stop in /usr/src/sys/modules/if_ndis.
 
 
 the file if_ndis.ko exist but i dont know why the message say not found.
 maybe a problem with windows drivers? any boby can help me.
 
 this drivers work under fedora with ndiswrapper. but in freebsd mmm i
 dont know what happend.
 
   1. man kldxref. Just compiling module is not enough, it must be 
 listed in the hint files. kldxref /boot/kernel
   2. kldload if_ndis
 
 -- 
 [WBR], Arcade. [SAT Astronomy/Think to survive!]
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
---end quoted text---

-- 


Pablo Allietti
LACNIC
--

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


FreeBSD Hardware Recomendations - NIC/HD

2005-03-08 Thread Nick Pavlica
All,
  I'm looking at adding some hardware to my FreeBSD 5.3+ Backup
servers and would like your recommendations for the following items:

- Gigabit Ethernet cards:  I'm going to use them as dedicated cards in
the primary and backup servers so that I can quickly rsync between
them.  I would like to find a card  that is currently MP safe and a
good performer.

-  SATA HD:  I'm currently planning on adding two 200GB drives to both
servers.  Are there any that stand out as good performers?

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


Re: Dual boot FreeBSD 4.10 and FreeBSD 5.3

2005-03-08 Thread Jerry McAllister
 
 I'm about to make the switch from 4.10 to 5.3. However, I don't want to 
 do it in one go, but rather first install 5.3 on a separate physical 
 disk and get all applications installed and configured correctly. Once 
 I've completed the process, the scenario is a RAID-1 setup (gmirror is 
 the route I've chosen after extensive reading).
 
 Current situation
 -
 
   [homebell] ~ uname -a
 FreeBSD homebell.dyndns.org 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0: 
 Mon Oct 18 21:48:34 CEST 2004 
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HOMEBELLapmipfw  i386
 
   [homebell] ~ df -h
 FilesystemSize   Used  Avail Capacity  Mounted on
 /dev/ad4s1a   126M66M50M57%/
 /dev/ad5s1e   252M64M   168M28%/rootback
 /dev/ad5s1f   150G28G   110G20%/backup
 /dev/ad4s1f   252M90K   232M 0%/tmp
 /dev/ad4s1g   112G   9.8G93G10%/usr
 /dev/ad4s1e   252M   123M   108M53%/var
 procfs4.0K   4.0K 0B   100%/proc
 
   [homebell] ~# atacontrol list
 ATA channel 0:
  Master: acd0 COMPAQ DVD-ROM GD-2500/0011 ATA/ATAPI rev 0
  Slave:  acd1 Hewlett-Packard CD-Writer cd16n/1.15 ATA/ATAPI rev 0
 ATA channel 1:
  Master:  no device present
  Slave:   no device present
 ATA channel 2:
  Master:  ad4 HDS722512VLAT80/V33OA60A ATA/ATAPI rev 6
  Slave:   ad5 HDS722516VLAT80/V34OA6EA ATA/ATAPI rev 6
 ATA channel 3:
  Master:  ad6 HDS722512VLAT80/V33OA6EA ATA/ATAPI rev 6
  Slave:   no device present
 
 ATA channels 2 and 3 are on a Promise TX2 ATA133 controller. ATA channel 
 1 on the motherboard is fried and unused.
 
 ad4 hosts my 4.10 installation, ad5 is a pure backup disk, and ad6 is 
 today empty and it's where I will put 5.3 (ad4 will be the mirror to ad6 
 once the migration is completed).
 
 Therefore, I first want to install 5.3 on ad6 (actually ad6s1 I believe) 
 and dual boot between ad4s1(4.10) and ad6s1(5.3) during the migration phase.
 
 I'm a bit uncertain as to the procedure to get to the dual boot status. 
 Currently, I have no boot manager installed. Can I install 5.3 onto 
 ad6s1 and from sysinstall install the FreeBSD Boot Manager to both ad4 
 and ad6? Or should I first do 'fdisk -B -b /boot/boot0 ad4' from within 
 4.10 (as per the handbook)? Or is 'boot0cfg -B ad4' the proper way of 
 doing it?

Essentially, setting it up as a dual boot is a good idea, since you
have the room.

You can use the install CD and I believe it will do everything for you.
Tell it to install the boot manager.   It should be installed on the 
first bootable disk.   I believe the installer will do it for you if
you say to install the standard FreeBSD iboot manager.   I think the MBR 
will also need to be installed on the as6 disk as well.   

If the installer does not want to put on one of those MBRs, then you
will have to do it with fdisk as you indicate.   That can be done
from a boot from your 4.xxx system or from the fixit CD which is
on the FreeBSD disk 2.   Boot the CD up and quit out of the kernel
config stuff and then find Fixit in the subsequent menu.

Either way, it will not muck up you 4.10 installation - unless you
select the wrong disk for the whole install, of course.  

jerry

Then just make sure you choose to make the ad6s1 slice bootable and it 
will write the boot block on to it as well.
 
 My concern is of course to not mess up my current 4.10 installation.
 
 -- 
 Kjell
 ___
 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: FreeBSD Hardware Recomendations - NIC/HD

2005-03-08 Thread sn1tch
I like Intel's network adapters alot, I've never had a single issue
out of the gigabit adapter I use (Intel Pro/1000 MT PWLA8490MT)

As far as SATA drives if its size you are going for then WD has a
fairly decent SATA drive for a good price, but in my book the best
SATA drive is the Raptor by WD..even if its only 74Gb it still has to
be the fastest SATA drive out.. imo :)


On Tue, 8 Mar 2005 11:29:11 -0700, Nick Pavlica [EMAIL PROTECTED] wrote:
 All,
  I'm looking at adding some hardware to my FreeBSD 5.3+ Backup
 servers and would like your recommendations for the following items:
 
 - Gigabit Ethernet cards:  I'm going to use them as dedicated cards in
 the primary and backup servers so that I can quickly rsync between
 them.  I would like to find a card  that is currently MP safe and a
 good performer.
 
 -  SATA HD:  I'm currently planning on adding two 200GB drives to both
 servers.  Are there any that stand out as good performers?
 
 Thanks!
 --Nick
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


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


Re: ndis problem

2005-03-08 Thread Pietro Cerutti
On Thu, 3 Mar 2005 14:19:54 -0300, Pablo Allietti [EMAIL PROTECTED] wrote:
 hi all me again.

Hi Pablo,

 sony# make load
 /sbin/kldload -v /usr/src/sys/modules/if_ndis/if_ndis.ko
 kldload: can't load /usr/src/sys/modules/if_ndis/if_ndis.ko: No such
 file or directory
 *** Error code 1
 
 Stop in /usr/src/sys/modules/if_ndis.
 

I had a similar problem, just because when I unpacked my Win driver
file, I had these files:
- w70n51.inf
- w70n51.sys
- w70n5.inf
- w70n5.sys

And I ndiscvt-ed the w70n5* files instead of the w70n51* ones.

I know that your wireless device is not the same as mine, but maybe it can help.

 --
 
 Pablo Allietti
 LACNIC


-- 
Pietro Piter Cerutti
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


firefox and flash on freebsd

2005-03-08 Thread Antoine Solomon
hello all, I have a problem with the flash plugin for firefox and
mozilla.  everytime I goto a website that has flash on it, firefox
simply crashs.  Anyone else have this problem?  Anyone have a
solution?
-- 
Antoine W. Solomon Jr.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Size of FreeBSD

2005-03-08 Thread Mark Goodell
Could you please tell me how big FreeBSD is, in terms
of both (1) the bare minimum needed to run
applications and (2) the typical installation.  How
many 1.44MB diskettes, for example.  

The point of my interest has to do with an old concern
about how the OS's (Microsoft's especially) have
become gargantuan in size.  

Thank you!

Mark Goodell, Richmond, VA.





__ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: qlogic 2340 and dell cx200

2005-03-08 Thread Matthew Jacob
Hi, 
I have been trying to use a SAN system using Dell CX200 fiber SAN Storage 
with Qlogic 2340 (PCI-X 133) HBA. But I had lots of error messages and 
unstable OS behaviour. I have tried different scenarios on that system. This 
qlogic 2340 card has a qlogic 2312 chipset which is recognized by my kernel: 
isp0: Qlogic ISP 2312 PCI FC-AL Adapter port 0xcc00-0xccff mem 
0xfcd0-0xfcd00fff irq 24 at device 6.0 on pci3 
But in my test setup I receive following errors: 

(da0:isp0:0:0:0): READ(06). CDB: 8 f 3f 9f 80 0
(da0:isp0:0:0:0): CAM Status: SCSI Status Error
(da0:isp0:0:0:0): SCSI Status: Check Condition
(da0:isp0:0:0:0): UNIT ATTENTION asc:2a,81
(da0:isp0:0:0:0): Vendor Specific ASCQ
(da0:isp0:0:0:0): Retrying Command (per Sense Data)

Well, your storage is saying Retry, so we do.
Sometime I receive following errors: 
isp0: bad execution throttle of 0- using 16
The DELL CX200 card clearly has a different NVRAM layout.
(da1:isp0:0:0:2): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
(da1:isp0:0:0:2): NOT READY asc:4,3
(da1:isp0:0:0:2): Logical unit not ready, manual intervention required

The unit said it wasn't rready.
I have enabled ispfw and my system sometime recognizes my LUN's that is 
smaller than 8 GB (I am not sure about size. I have tried 5GB LUNs). I can 
format and use it in one of my tries. But after adding a second 5GB LUN my 
system finds it as da1 but can't format it. I have also added a 30 GB LUN. 
This LUN can't be formatted to.
You must use ispfw until I rewrite the driver to recognize the 2Klogin 
options- some of the newer cards and f/w have an option for doing 2048 
port logins (instead of 0..255)- the data structures change 
substantially because of this, so in the interim (and its generally a 
good idea anyway), make sure ispfw is either loaded at boot time or 
compiled into your kernel.


(da1:isp0:0:0:2): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
(da1:isp0:0:0:2): NOT READY asc:4,3
(da0:isp0:0:0:0): removing device entry
da1 at isp0 bus 0 target 0 lun 2
da1: DGC RAID 5 0207 Fixed Direct Access SCSI-4 device
da1: 200.000MB/s transfers, Tagged Queueing Enabled
da1: 30720MB (62914560 512 byte sectors: 255H 63S/T 3916C)
(da1:isp0:0:0:2): READ(06). CDB: 8 0 0 0 1 0
(da1:isp0:0:0:2): CAM Status: SCSI Status Error
(da1:isp0:0:0:2): SCSI Status: Check Condition
(da1:isp0:0:0:2): NOT READY asc:4,3
(da1:isp0:0:0:2): Logical unit not ready, manual intervention required
(da1:isp0:0:0:2): Unretryable error
(da1:isp0:0:0:2): Invalidating pack
(da1:isp0:0:0:2): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
(da1:isp0:0:0:2): NOT READY asc:4,3
All of the not ready messages are the RAID box saying I'm not ready.
Has anyone a clue on what is going on? I am very new to that SAN concepts. 
But I am thinking that the HBA card is the problem but don't have a chance to 
try another HBA. 

I have also used ISP_TARGET_MODE=1 in my kernel (both 5.3R and 5-STABLE). But 
that totally disabled isp card.
Don't turn on ISP_TARGET_MODE- that's to make the FreeBSD box a target, 
not an initiator.

Conclusion:
It's the RAID Box.
It's the RAID Box.
It's the RAID Box.
It's the RAID Box.
It's the RAID Box.
It's the RAID Box.
It's the RAID Box.
It's the RAID Box.
It's the RAID Box.
It's the RAID Box.
It's the RAID Box.
It's the RAID Box.
It's the RAID Box.
It's the RAID Box.
It's the RAID Box.
It's the RAID Box.
-matt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Size of FreeBSD

2005-03-08 Thread Kris Kennaway
On Tue, Mar 08, 2005 at 11:04:11AM -0800, Mark Goodell wrote:
 Could you please tell me how big FreeBSD is, in terms
 of both (1) the bare minimum needed to run
 applications and (2) the typical installation.  How
 many 1.44MB diskettes, for example.  

Isn't this information available on the website?

Kris

--
In God we Trust -- all others must submit an X.509 certificate.
-- Charles Forsythe [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: ndis problem

2005-03-08 Thread Pablo Allietti
On Tue, Mar 08, 2005 at 06:54:46PM +, Pietro Cerutti wrote:
 On Thu, 3 Mar 2005 14:19:54 -0300, Pablo Allietti [EMAIL PROTECTED] wrote:
  hi all me again.
 
 Hi Pablo,
 
  sony# make load
  /sbin/kldload -v /usr/src/sys/modules/if_ndis/if_ndis.ko
  kldload: can't load /usr/src/sys/modules/if_ndis/if_ndis.ko: No such
  file or directory
  *** Error code 1
  
  Stop in /usr/src/sys/modules/if_ndis.
  
 
 I had a similar problem, just because when I unpacked my Win driver
 file, I had these files:
 - w70n51.inf
 - w70n51.sys
 - w70n5.inf
 - w70n5.sys
 
 And I ndiscvt-ed the w70n5* files instead of the w70n51* ones.

no. not help. my files are

rt2500usb.inf
rt2500usb.sys 

:(


 
 I know that your wireless device is not the same as mine, but maybe it can 
 help.
 
  --
  
  Pablo Allietti
  LACNIC
 
 
 -- 
 Pietro Piter Cerutti
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 
 Beansidhe - SwiSS Death / Thrash Metal
 www.beansidhe.ch
 
 Windows: Where do you want to go today?
 Linux: Where do you want to go tomorrow?
 FreeBSD: Are you guys coming or what?
---end quoted text---

-- 


Pablo Allietti
LACNIC
--

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


Re: Moving a slice

2005-03-08 Thread james . cook
On Sun, Mar 06, 2005 at 07:48:07PM -0300, Alejandro Pulver wrote:
 On 6 Mar 2005 16:47:34 -0500
 [EMAIL PROTECTED] wrote:
  I moved a FreeBSD slice from the end of my hard disk to somewhere
  close to the beginning a month or so ago, using nothing but dd, and it
  worked.
  
  Please note that the original space occupied by the slice and the
  place I moved it to did not overlap at all, so I have no idea if
  you'll run into problems when you overwrite the start of it.  It would
  probably work, but if you have to start over for some reason, you're
  sunk -- and you'd need some sort of boot media to get it to work.. 
  Maybe you can copy it one partition at a time?
  
  Also, beware that the FreeBSD disklabel seems to use absolute offsets
  instead of relative offsets.  If you copy the whole slice at once,
  something like
  
  # bsdlabel /dev/{old slice}  /tmp/text-label
  # bsdlabel -R /dev/{new slice} /tmp/text-label
  
  should work, since the human-readable output uses relative offsets. 
  (But beware; I'm just working from memory here and haven't tested
  those commands at all.)
  
  If you copy the data one partition at a time (as I ended up doing for
  some reason) it's a bit more complicated: you have to set up the
  disklabel before you start, but then when you copy partition a, the
  label will be messed up(assuming partition a starts at the beginning
  of the slice).  I just fixed the label again after copying partition
  a, and it seemed to work, but I can't guarantee that the system won't
  re-read the label while dd is working and decide that the destination
  partition is suddenly somewhere else and kill your original slice.
  
  Er, just sharing my experience.  You might want to wait for furthur
  guidance, since all this is pretty messy.
  
  - James Cook
[EMAIL PROTECTED]
 
 Thank you for your reply.
 
 I only want to experiment (I can store all the data in my FreeBSD system
 to my first disk).
 
 Aren't Partition Magic and such programs so dangerous as 'dd' in this
 case?
 
 'df' shows me the following:
 
 /dev/ad2s4f 16G2.9G 12G19%/usr
 
 Is it recommended to make '/usr' shorter (before moving) or it makes
 things more complicated (I mean, I will have to move all other
 partitions near '/usr', change BSD label, and revert the whole process
 after moving the slice)? I also think I can delete the swap partition
 (998 MB).
 
 Can growfs(8) make a partition shorter? If not, can this be done?

I don't think there's currently any way to shorten a UFS filesystem.

 How can I resize/create swap partitions?

I don't think swap partitions have any particular format, so just create a
partition of the appropriate size and swapon (man 8 swapon).  If you want to
resize one that's currently in use for some reason, be sure to swapoff the
partition first.

 You mentioned copying the root partition will overrite the BSD label.
 So is the BSD label in the root partition?

I'm pretty sure the BSD label is stored at the start of the disk, although I
don't know of any documentation that says that.  It's pretty much a guess.

So, if your root partition covers the start of the slice, then it will
include the disklabel as part of it.  I guess the UFS2 filesytem knows about
disklabels and can co-exist with them.

Or I could be wrong about all this.  I just know that when I copied
/dev/ad0s4a to /dev/ad0s2a, I'm pretty sure I remember the disklabel got
clobbered and I had to recreate it before going on to copy b, e, f and g.

 For my personal interest: Where can I find information about the
 phisical locations of the slice table, BSD label, and file system
 data(TOC, superblock, etc.; not files)? And the file system components?

The slice table is common to all x86-style computers (referred to as the
partition table outside of BSD land), so you can probably just search for
partition table and find lots of info.  I'm pretty sure it's stored
somewhere in the first 512 bytes of your hard disk, though.

I don't know any details about the bsd label, filesystem etc, but you can
probably find info about it in the FreeBSD docs if you look...

 Is there a patch or something like that that allows 'dd' to perform the
 transfer from the end to the begining (to move partitions forward)?

Not that I know of, but I haven't looked... again, you're probably safest
copying everywhere to some other medium and then copying it back once you're
sure you've got a working backup.

 Thanks and Best Regards,
 Ale

Sorry to be so vague about all this... I'm really not an expert about this
sort of thing.  But nobody else has replied, so...

- James Cook
  [EMAIL PROTECTED]

P.S. The reply from [EMAIL PROTECTED] is actually from me; I made a
 small mistake when I sent that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Issue to install Gnomemeeting

2005-03-08 Thread Lowell Gilbert
Bachelier Vincent [EMAIL PROTECTED] writes:

 I have a problem to install gnomemeeting

openh323 is what's actually failing for you.
It builds for me, with ports and system updated yesterday...

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


Re: FreeBSD book in Romanian...

2005-03-08 Thread Ion-Mihai Tetcu
On Tue, 8 Mar 2005 16:17:11 +0200
Daniel [EMAIL PROTECTED] wrote:

 Hi, check this out...
 
 http://www.polirom.ro/titluri.cgi?action=titluriclass=detailsid=1791colectia=
 
 it's a very good book about FreeBSD written in 2005

I haven't read the book, but since it's the only one in Romanian I'll
submit a patch the appropriate in the Handbook and www.


I fail to understand why the authors didn't bother to do this themselves
or announced it on RoFUG (Romaian FreeBSD User Group) mailing lists.


-- 
IOnut
Unregistered ;) FreeBSD user


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


Re: firefox and flash on freebsd

2005-03-08 Thread Eric Schuele
Antoine Solomon wrote:
hello all, I have a problem with the flash plugin for firefox and
mozilla.  everytime I goto a website that has flash on it, firefox
simply crashs.  Anyone else have this problem?  Anyone have a
solution?
Antoine,
This has been discussed a handful of times (by myself for one)... so if 
the link below does not help, try the archives.  I was not having 
trouble... just looking for instructions.  Many were nice enough to 
offer assistance.  Here is a link to the set of instructions that 
ultimately set me on the right road.

http://www.freebsd.org/cgi/getmsg.cgi?fetch=1302736+0+/usr/local/www/db/text/2005/freebsd-stable/20050306.freebsd-stable
So.. the solution for you may be to install things differently then you 
previously did.  Its my understanding that it seems to work well for 
many people.  Some seem to have eternal troubles.

I am presently experimenting with it on a test machine, and have had 
good results.  I don't need flash... but my wife and kids do 
(playhousedisney.com, leapfrog.com, etc).  It seems to work well on 
those, and most others I have found.

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


Issues with the SuperMicro P8SGA (915G chipset) Mobo?

2005-03-08 Thread Mike Loiterman
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Anone using a SuperMicro P8SGA Mobo with the 915G chipset with 5.3?  I'll
be using it with a P4 2.8 LGA 775 520.

I just purchased these and would like to know of any compatibility
problems.

Thanks.  

- --
Mike Loiterman
grantADLER
Tel: 630-302-4944
Fax: 773-442-0992
Email: [EMAIL PROTECTED]
PGP Key: 0xD1B9D18E

-BEGIN PGP SIGNATURE-
Version: PGP 8.1

iQA/AwUBQi4D4GjZbUnRudGOEQI+jgCdE6YHErPsU0KNPFYolDNIn9Jbt+sAnjfK
sRyP+jQ7990RYuLijPPpcvZQ
=OTYT
-END PGP SIGNATURE-

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


Re: Size of FreeBSD

2005-03-08 Thread Philip M. Gollucci
Kris Kennaway wrote:
On Tue, Mar 08, 2005 at 11:04:11AM -0800, Mark Goodell wrote:
 

Could you please tell me how big FreeBSD is, in terms
of both (1) the bare minimum needed to run
applications and (2) the typical installation.  How
many 1.44MB diskettes, for example.  
   

Isn't this information available on the website?
Kris
--
In God we Trust -- all others must submit an X.509 certificate.
   -- Charles Forsythe [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Hi,
This is either in the webpage or in the docs, but I forget where.
Back in the days of ~4.5 I was able to install a stripped down version
in about 76MB.  I think the last time I tried sometime around 5.0 to do 
this it was up to about 90MB


--
END
-
Philip M. Gollucci
Senior Developer - Liquidity Services Inc.
Phone:  202.467.6868 x 268
E-Mail: [EMAIL PROTECTED]
Web:http://www.liquidation.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Make buildworld and reboot

2005-03-08 Thread Bnonn
Hi everyone.

I recently let a make buildworld run overnight following updating
source, and came back in the morning to find that the process had
completed successfully, but that my keyboard had gone completely dead. I
don't know why this happened, but it might have something to do with
having a USB keyboard. Anyway, I couldn't run make installworld
following this since the keyboard was no-go, so I was forced to
hard-reboot.

Not knowing a great deal about what make buildworld really does, I'm not
sure if the changes it effects are persistent through a reboot. Do I
need to run make buildworld again before running make installworld? I've
skimmed the manpages on make, but they seem directed to the sort of
people who want to create makefiles, rather than just run them, and I
thought I could probably get the quick and dirty answer here without
having to resort to three days of study :)

Your help is appreciated

Bnonn

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


Re: Size of FreeBSD

2005-03-08 Thread John Pettitt


Mark Goodell wrote:

Could you please tell me how big FreeBSD is, in terms
of both (1) the bare minimum needed to run
applications and (2) the typical installation.  How
many 1.44MB diskettes, for example.  

The point of my interest has to do with an old concern
about how the OS's (Microsoft's especially) have
become gargantuan in size.  

Thank you!

Mark Goodell, Richmond, VA.

  

Part of the answer to your question relates to the definition of
operating system  FreeBSD will boot from 2 floppies - thats how the
install works and if you were building an embedded  system without all
the normal utilities and user interface you could do so from a flash
card with ease.  If you want a real computer - with compilers, tools
UI and the like then you'll need a bigger box.   Some real world examples:

m0n0wall runs a bare bones FreeBSD from an 8MB flash card but suggests
64MB of RAM..

I have an old PIII/200 with a 4G disk and 64MB memory running FreeBSD
that runs my solar power system - it's total overkill the cpuload runs
about 2%.  However to compile some of the tools I wanted to use 64MB was
too small - the compiler was paging it it took forever.   If I wanted to
just run the solar power application I could probably run the whole
thing on a 486 class machine with 32mb ram and boot from a 32mb flash
card (but why buy a new box when you've got a 'free' old one?)

My home server / router / stratum one time server / firewall / fax
server / and every thing else server runs on a $350 eMachines box with a
2.9GHz Celeron and 512MB memory (oh and 2TB of disks :)

It comes down to what do you want to do, what application do you want to
run.   As they say - YMMV.

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


Re: Size of FreeBSD

2005-03-08 Thread Jerry McAllister
 
 Kris Kennaway wrote:
 
 On Tue, Mar 08, 2005 at 11:04:11AM -0800, Mark Goodell wrote:
 
 Could you please tell me how big FreeBSD is, in terms
 of both (1) the bare minimum needed to run
 applications and (2) the typical installation.  How
 many 1.44MB diskettes, for example.  
 
 Isn't this information available on the website?
 
 Kris
 
 Hi,
 
 This is either in the webpage or in the docs, but I forget where.
 
 Back in the days of ~4.5 I was able to install a stripped down version
 in about 76MB.  I think the last time I tried sometime around 5.0 to do 
 this it was up to about 90MB

That's a really stripped down installation though.

Between all binaries, plus source, plus ports tree and X and KDE
I probably use around 1.2 Gigabyte for typical install.
Install a few ports (Apache, MySQL, PHP, browser, etc) and a medium 
database and it can easily use a couple of Gigabytes.   Add media
files (sound, video) and the sky is the limit.

jerry

 -
 Philip M. Gollucci
 Senior Developer - Liquidity Services Inc.
 Phone:  202.467.6868 x 268
 E-Mail: [EMAIL PROTECTED]
 Web:http://www.liquidation.com
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Size of FreeBSD

2005-03-08 Thread Ean Kingston

 On Tue, Mar 08, 2005 at 11:04:11AM -0800, Mark Goodell wrote:
 Could you please tell me how big FreeBSD is, in terms
 of both (1) the bare minimum needed to run
 applications and (2) the typical installation.  How
 many 1.44MB diskettes, for example.

 Isn't this information available on the website?

It is to some degree.

The floppy installer requires 2 1.44MB floppies and performs a network
install. See the handbook for more details on this.

The base system, fully installed is around 250MB. This does not include
source, ports, or X11 (the GUI). You can trim that down quite a bit by
removing development tools, examples, man pages, ... BUT I don't know of
any documentation on exactly how to do it.

A typical desktop install is going to use between 2 and 8 GB depending on
what you install. It can also get much bigger (again depending on what you
want installed).

I personally have had a 4.x system running as a firewall on a single 540MB
hard drive. It included proxies for e-mail, http, and dns (inbound and
outbound) as well as local logging of ipfw and natd. I stripped the base
OS down to about 80MB on that system.

-- 
Ean Kingston
E-Mail: ean_AT_hedron_DOT_org
 PGP KeyID: 1024D/CBC5D6BB
   URL: http://www.hedron.org/


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


Re: beastie.4th language ?

2005-03-08 Thread McCy Ron
Starting Forth by Leo Brodie is a good book on Forth.
http://www.forth.org/   will offer other tutorialsl.
Jerry McAllister wrote:
Hi,
My question might seem basic. Nevertheless I didn't find the answer on
the net. Excuse me in case I did look seriously enough, which might
afterall, be the case.
The files under the /boot directory on FreeBSD : beastie.4th and the
included ones screen.4th and frames.4th are obviously written in a
certain scripting language.
What is this language ?
Can I get a turorial for this scripting language ?
Or even a reference manual ?
   

I believe the language is Forth.   It is a fairly esotheric language
that is used because it has a very small footprint and is still
quite flexible.   I don't know about tutorials, but I have seen 
an occasional book on it.  I had one and actually installed Forth
on a machine and tried to learn it once, several years ago but the 
rewards/effort ratio got to me and I haven't gone back to it.

jerry
 

Any URL or suggestion would be appreciated.
Thanks in advance.
Michel
   

___
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 for the organization

2005-03-08 Thread Fafa Diliha Romanova
to my fellow peers; hello.

i'm the board member of this organization.
so far i'm using mysql databases for our forum and webmail.

what i need to know, and i barely know mysql at all,
is how it is best to create and maintain effective member
databases on a freebsd system.

any suggestions are welcome.

all the best,
fafa

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: Make buildworld and reboot

2005-03-08 Thread Kent Stewart
On Tuesday 08 March 2005 12:31 pm, Bnonn wrote:
 Hi everyone.

 I recently let a make buildworld run overnight following updating
 source, and came back in the morning to find that the process had
 completed successfully, but that my keyboard had gone completely
 dead. I don't know why this happened, but it might have something to
 do with having a USB keyboard. Anyway, I couldn't run make
 installworld following this since the keyboard was no-go, so I was
 forced to hard-reboot.

If that is happening, then I would suspect you have hardware problems. 
The reasoning is that buildworld does not change your local environment 
and couldn't cause a hang. Everything that it builds goes 
into /usr/obj.

Now, Murphy likes to embarass me but that is my current $0.02 :).

Kent


 Not knowing a great deal about what make buildworld really does, I'm
 not sure if the changes it effects are persistent through a reboot.
 Do I need to run make buildworld again before running make
 installworld? I've skimmed the manpages on make, but they seem
 directed to the sort of people who want to create makefiles, rather
 than just run them, and I thought I could probably get the quick and
 dirty answer here without having to resort to three days of study :)

 Your help is appreciated

 Bnonn

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

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/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: Disk Geometry

2005-03-08 Thread Kevin Kinsey
Dan Simmonds wrote:
I have a relatively new installation of FreeBSD 5.3 which I have been 
running
as a file server. Recently we had a power outage and when I booted up the
machine again, instead of a normal boot sequence I was given an 
automount prompt.

I understand that I have to mount a disk slice and fsck my hard drive 
(I think
this is right, please correct me if I'm wrong), only its been a while 
since I sliced
up my hard drive and I've forgotten what the disk looks like. Is there 
anyway
of investigating the disk geometry from this automount prompt? The only
commands I seem to have available are mount commands.

Thanks,
Dan.

(Hi, Dan ... this probably needs to go over to [EMAIL PROTECTED],
where more experience folks will see it, so I'm redirecting the CC there...)
Ouch!  I hope your disk can recover.  Once you get this grassfire
out, be sure and check your backup strategies
The *only* command you can enter isn't even really a command,
it's simply the answer to the question where the heck is /boot?
which is something the system desperately needs to know.
IIRC (and who knows, it has been a little while since I saw this
one, thank Deity) it gives you a hint or two about what to
do.  The usual boot device is /dev/ad0s1 (for IDE drives) or
/dev/da0s1 (for SCSI) and the filesystem type is normally
ufs (but that could vary, ufs2 for example?).
Once you get in, you will want to fsck and attempt to
remount your slices; you probably won't have access to a lot
of normal tools (for at least two reasons I can think of:
one being that some of them are on the /usr partition,
and the other being that $PATH is not set, so even stuff
in /bin and /sbin will *say* not found, just call 'em by the
full path /sbin/fsck, /sbin/mount, etc.)  If everything fscks
clean, try rebooting again to return to multi-user (normal)
mode.
Good luck.
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Issue to install Gnomemeeting

2005-03-08 Thread Bachelier Vincent
It work now !
thx
Le Tue, Mar 08, 2005 at 02:32:52PM -0500, Lowell Gilbert a écrit:
 To: Bachelier Vincent [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Issue to install Gnomemeeting
 From: Lowell Gilbert [EMAIL PROTECTED]
 Date: 08 Mar 2005 14:32:52 -0500
 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
 
 Bachelier Vincent [EMAIL PROTECTED] writes:
 
  I have a problem to install gnomemeeting
 
 openh323 is what's actually failing for you.
 It builds for me, with ports and system updated yesterday...

-- 
Vincent Bachelier [EMAIL PROTECTED]
Language: Francais / English
Societ(e/y) : Solintech - http://www.solintech.fr - Serveurs linux
Blog: http://dieghostfbsd.blogspot.com
Site perso  : http://www.solintech.fr/freebsd/ - FreeBSD Donjon

Citation (fortune):

Bumper sticker:

All the parts falling off this car are of the very finest British
manufacture
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Size of FreeBSD

2005-03-08 Thread David Kelly
On Tue, Mar 08, 2005 at 03:42:29PM -0500, Jerry McAllister wrote:
  
  Back in the days of ~4.5 I was able to install a stripped down
  version in about 76MB.  I think the last time I tried sometime
  around 5.0 to do this it was up to about 90MB
 
 That's a really stripped down installation though.

I once stripped down 4.7 to under 10 MB then another 10 MB of Apache 
extensions, and another 10 MB of Perl.

My stripping technique was not to remove that which was unneeded but to
add only that which was needed, drawn from a chroot'ed custom build
which dynamically linked items such as /bin/sh which are normally
statically linked so that they work when /usr/lib isn't available.
Wasn't an issue for this application as everything went on as single
read-only filesystem on a Compact Flash card.

Used my list of binaries to extract a list of libraries referenced, then
only copied those libraries to my target.

-- 
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: Disk Geometry

2005-03-08 Thread Philip M. Gollucci
Kevin Kinsey wrote:
Dan Simmonds wrote:
I have a relatively new installation of FreeBSD 5.3 which I have been 
running
as a file server. Recently we had a power outage and when I booted up 
the
machine again, instead of a normal boot sequence I was given an 
automount prompt.

I understand that I have to mount a disk slice and fsck my hard drive 
(I think
this is right, please correct me if I'm wrong), only its been a while 
since I sliced
up my hard drive and I've forgotten what the disk looks like. Is 
there anyway
of investigating the disk geometry from this automount prompt? The only
commands I seem to have available are mount commands.

Thanks,
Dan.

(Hi, Dan ... this probably needs to go over to [EMAIL PROTECTED],
where more experience folks will see it, so I'm redirecting the CC 
there...)

Ouch!  I hope your disk can recover.  Once you get this grassfire
out, be sure and check your backup strategies
The *only* command you can enter isn't even really a command,
it's simply the answer to the question where the heck is /boot?
which is something the system desperately needs to know.
IIRC (and who knows, it has been a little while since I saw this
one, thank Deity) it gives you a hint or two about what to
do.  The usual boot device is /dev/ad0s1 (for IDE drives) or
/dev/da0s1 (for SCSI) and the filesystem type is normally
ufs (but that could vary, ufs2 for example?).
Once you get in, you will want to fsck and attempt to
remount your slices; you probably won't have access to a lot
of normal tools (for at least two reasons I can think of:
one being that some of them are on the /usr partition,
and the other being that $PATH is not set, so even stuff
in /bin and /sbin will *say* not found, just call 'em by the
full path /sbin/fsck, /sbin/mount, etc.)  If everything fscks
clean, try rebooting again to return to multi-user (normal)
mode.
Good luck.
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
Being that this is a file server, its probably a good assumption that
he's using raid which would be ar0s1a by default.
Also
specifically you'll want to do:
fsck /
mount /
swapon -a
/bin/cat /etc/fstab
for each of your partitions other then /
fsck /usr
fsck /tmp
... etc
mount -a
exit
[normal boot should continue]
If you don't want fsck to ask you questions you can use the fsck -y command
(answer yes to all questions)
Be sure the check the lost+found in the root of each slice for recovered 
inodes.

--
END
-
Philip M. Gollucci
Senior Developer - Liquidity Services Inc.
Phone:  202.467.6868 x 268
E-Mail: [EMAIL PROTECTED]
Web:http://www.liquidation.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disk Geometry

2005-03-08 Thread Dan Simmonds
Thanks Kevin,
This is quite helpful, only I have a fairly unusual disk structure, 
since the disk was originally a dual boot system with windows XP which I 
eventually converted into a full ufs drive. So all the BSD partitions 
are located on what was originally the second half of the disk. Is there 
anyway I can escape out of the automount prompt and run fdisk, or 
anything. I've been trying everything I can think of.

Thanks,
Dan.
Kevin Kinsey wrote:
Dan Simmonds wrote:
I have a relatively new installation of FreeBSD 5.3 which I have been 
running
as a file server. Recently we had a power outage and when I booted up 
the
machine again, instead of a normal boot sequence I was given an 
automount prompt.

I understand that I have to mount a disk slice and fsck my hard drive 
(I think
this is right, please correct me if I'm wrong), only its been a while 
since I sliced
up my hard drive and I've forgotten what the disk looks like. Is 
there anyway
of investigating the disk geometry from this automount prompt? The only
commands I seem to have available are mount commands.

Thanks,
Dan.

(Hi, Dan ... this probably needs to go over to [EMAIL PROTECTED],
where more experience folks will see it, so I'm redirecting the CC 
there...)

Ouch!  I hope your disk can recover.  Once you get this grassfire
out, be sure and check your backup strategies
The *only* command you can enter isn't even really a command,
it's simply the answer to the question where the heck is /boot?
which is something the system desperately needs to know.
IIRC (and who knows, it has been a little while since I saw this
one, thank Deity) it gives you a hint or two about what to
do.  The usual boot device is /dev/ad0s1 (for IDE drives) or
/dev/da0s1 (for SCSI) and the filesystem type is normally
ufs (but that could vary, ufs2 for example?).
Once you get in, you will want to fsck and attempt to
remount your slices; you probably won't have access to a lot
of normal tools (for at least two reasons I can think of:
one being that some of them are on the /usr partition,
and the other being that $PATH is not set, so even stuff
in /bin and /sbin will *say* not found, just call 'em by the
full path /sbin/fsck, /sbin/mount, etc.)  If everything fscks
clean, try rebooting again to return to multi-user (normal)
mode.
Good luck.
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems with Cron not deleting log files

2005-03-08 Thread Richard Mcintyre
All,
I am having a problem. Back in December I installed FreeBSD5.3 onto a 
server and have just recently found some new time to 'play' with the 
settings etc.

I think I know what happened but I'm not sure how to fix it.
I currently have a 'large number' of auth.log.x and cron.xx 
files under /var/log.

When I first installed I remember reading some advice on 'securing' 
FreeBSD a little and ran the following commands:
# echo root  /var/cron/allow  echo root  /var/at/at.allow

# chmod o= /etc/crontab  chmod o= /usr/bin/crontab  chmod o= 
/usr/bin/at  chmod o= /usr/bin/atq  chmod o= /usr/bin/atrm  chmod 
o= /usr/bin/batch  chmod o= /etc/fstab  chmod o= /etc/ftpusers  
chmod o= /etc/group  chmod o= /etc/hosts  chmod o= /etc/hosts.allow 
 chmod o= /etc/hosts.equiv  chmod o= /etc/hosts.lpd   chmod o= 
/etc/inetd.conf  chmod o= /etc/login.access  chmod o= 
/etc/login.conf  chmod o= /etc/newsyslog.conf  chmod o= /etc/rc.conf 
 chmod o= /etc/ssh/sshd_config  chmod o= /etc/sysctl.conf  chmod 
o= /etc/syslog.conf  chmod o= /etc/ttys  chmod o= /var/log  
chflags sappnd /var/log  chflags sappnd /var/log/*  chmod o= 
/usr/bin/users  chmod o= /usr/bin/w  chmod o= /usr/bin/who  chmod 
o= /usr/bin/lastcomm  chmod o= /usr/sbin/jls  chmod o= /usr/bin/last 
 chmod o= /usr/sbin/lastlogin  chmod ugo= /usr/bin/rlogin  chmod 
ugo= /usr/bin/rsh

I believe that for some reason the Cron daemon was unable to copy the 
files properly when it was trying to turn them over. Now when I try to 
remove the files I get an error. Below is a small sample...

Thanks in advance for your help.
~REM
# rm cron.zzuL4BB
rm: cron.zzuL4BB: Operation not permitted
FreeBSD tco1.iaminsane.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  
5 04:19:18 UTC 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

-rwxr-  1 root  wheel 75 Jan 12 02:00 auth.log.zzcek12
-rwxr-  1 root  wheel 76 Feb 17 23:00 auth.log.zzhTnRK
-rwxr-  1 root  wheel 76 Feb 13 02:00 auth.log.zziSwsY
-rwxr-  1 root  wheel 76 Feb 19 01:00 auth.log.zzkW0uv
-rwxr-  1 root  wheel 76 Feb 11 08:00 auth.log.zzkwJcT
-rwxr-  1 root  wheel 76 Jan  4 13:00 auth.log.zzkzLR4
-rwxr-  1 root  wheel 76 Jan 15 03:00 auth.log.zzpMZnk
-rwxr-  1 root  wheel 76 Feb 26 01:00 auth.log.zzqHHQF
-rwxr-  1 root  wheel 75 Jan 10 05:00 auth.log.zzsUDaP
-rwxr-  1 root  wheel 76 Jan  5 01:00 auth.log.zzyMumT
-rwxr-  1 root  wheel 76 Jan  7 02:00 auth.log.zzzLgvw
-rw---  1 root  wheel3464472 Mar  8 17:15 cron
-rwxr-  1 root  wheel 919147 Dec 29 18:00 cron.0
-rwxr-  1 root  wheel 76 Dec  9 14:00 cron.z01GcNu
-rwxr-  1 root  wheel 76 Dec 18 20:00 cron.z0smBRG
-rwxr-  1 root  wheel 76 Dec 28 03:00 cron.z1POYdD
-rwxr-  1 root  wheel 76 Dec 16 17:00 cron.zvh7LvG
-rwxr-  1 root  wheel 76 Dec 19 10:00 cron.zvmZm3L
-rwxr-  1 root  wheel 76 Dec 27 19:00 cron.zvnEACt
-rwxr-  1 root  wheel 76 Dec 23 22:00 cron.zw9E9HU
-rwxr-  1 root  wheel 76 Dec 21 09:00 cron.zwJmzq5
-rwxr-  1 root  wheel 76 Dec 18 13:00 cron.zwTOEch
-rwxr-  1 root  wheel 76 Dec  8 16:00 cron.zwn8Fgs
-rwxr-  1 root  wheel 76 Dec 16 00:00 cron.zzSAEOg
-rwxr-  1 root  wheel 76 Mar  8 16:54 cron.zzuL4BB
-rw---  1 root  wheel 68 Mar  8 14:28 debug.log
-rwxr-  1 root  wheel   5944 Dec  6 03:01 dmesg.today
-rw-r--r--  1 root  wheel  28028 Dec  5 21:51 lastlog
-rw-r--r--  1 root  wheel  0 Nov  4 20:27 lpd-errs
-rw-r-  1 root  wheel2018303 Mar  8 14:29 maillog
-rwxr-  1 root  wheel   6479 Dec  8 00:00 maillog.0
-rwxr-  1 root  wheel 59 Dec  7 00:00 maillog.z4Bh3Oh
-rwxr-  1 root  wheel 59 Dec  6 00:00 maillog.zFWlD9W
-rwxr-  1 root  wheel 59 Dec  8 00:00 maillog.zcjrODo
-rw-r--r--  1 root  wheel  46520 Mar  8 17:19 messages
-rwxr-  1 root  wheel192 Dec  6 03:01 mount.today
-rwxr-  1 root  wheel  0 Mar  8 14:24 newfile
-rw-r-  1 root  network0 Nov  4 20:27 ppp.log
-rw---  1 root  wheel  0 Nov  4 20:27 security
-rw-r-  1 root  wheel  0 Nov  4 20:27 sendmail.st
-rwxr-  1 root  wheel  0 Dec  5 22:00 sendmail.st.0
-rwxr-  1 root  wheel  0 Dec  5 22:00 sendmail.st.zJ24IkB
-rwxr-  1 root  wheel   3721 Dec  6 03:01 setuid.today
-rw-r-  1 root  network0 Nov  4 20:27 slip.log
-rw---  1 root  wheel310 Feb 11 17:19 userlog
drwxr-  2 root  bin  512 Mar  8 13:57 webmin
-rw-r--r--  1 root  wheel   3168 Mar  8 15:34 wtmp
-rw---  1 root  wheel  0 Nov  4 20:27 xferlog
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 

128bit WEP

2005-03-08 Thread Kevin Downey
Does FreeBSD support 128bit WEP? I have a Atheros based card and would
like to connect to an ap that is using 128bit WEP. When I try to
connect using the 128bit wep key ifconfig says I am using a 104bit key
and I get alot of could not associate for reason 25 in dmesg.
Speaking of which I have not been able to find a list of reasons so I
can figure out what reason 25 is.

P.S. I know WEP is lame, and do not need 50 emails in response to this
email telling me so.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 128bit WEP

2005-03-08 Thread Thomas Foster
The actual key length is 104 bits for 128 bit WEP encryption.
Double check the manpage for wi and post your ifconfig line..
Also.. what card are you using.. what does the kernel say about the firmware 
version?

Hope this helps..
T
- Original Message - 
From: Kevin Downey [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Tuesday, March 08, 2005 2:32 PM
Subject: 128bit WEP


Does FreeBSD support 128bit WEP? I have a Atheros based card and would
like to connect to an ap that is using 128bit WEP. When I try to
connect using the 128bit wep key ifconfig says I am using a 104bit key
and I get alot of could not associate for reason 25 in dmesg.
Speaking of which I have not been able to find a list of reasons so I
can figure out what reason 25 is.
P.S. I know WEP is lame, and do not need 50 emails in response to this
email telling me so.
___
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]


Issues with the SuperMicro P8SGA (915G chipset) Mobo?

2005-03-08 Thread Mike Loiterman
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

- -BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Anone using a SuperMicro P8SGA Mobo with the 915G chipset with 5.3?  I'll
be using it with a P4 2.8 LGA 775 520.

I just purchased these and would like to know of any compatibility
problems.

Thanks.  

- - --
Mike Loiterman
grantADLER
Tel: 630-302-4944
Fax: 773-442-0992
Email: [EMAIL PROTECTED]
PGP Key: 0xD1B9D18E

- -BEGIN PGP SIGNATURE-
Version: PGP 8.1

iQA/AwUBQi4D4GjZbUnRudGOEQI+jgCdE6YHErPsU0KNPFYolDNIn9Jbt+sAnjfK
sRyP+jQ7990RYuLijPPpcvZQ
=OTYT
- -END PGP SIGNATURE-

-BEGIN PGP SIGNATURE-
Version: PGP 8.1

iQA/AwUBQi468WjZbUnRudGOEQJWAACgu3w1N84iREjLW4BA0DZddPNiI+wAoMKU
f05FAuFmeZF0beT6hL2A1Hre
=H6ib
-END PGP SIGNATURE-

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


Adding a 2nd disk without messing with the 1st

2005-03-08 Thread Chris
I have a 5.3 system that has an 80 gig drive. I wish to add another to
it. What's the best (easiest) way to expand this with little to no
effect on the current drive.

-- 
Best regards,
Chris

Freud's 23rd law: ideas endure and prosper in inverse
proportion to their soundness and validity.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Adding a 2nd disk without messing with the 1st

2005-03-08 Thread John Pettitt


Chris wrote:

I have a 5.3 system that has an 80 gig drive. I wish to add another to
it. What's the best (easiest) way to expand this with little to no
effect on the current drive.
  

shutdown machine, plug in disk, switch machine on. (if it's a USB disk
you can skip the on off part)

Seriously adding another drive should make no difference at all to your
existing drive.  Once the new drive is in you'll need to partition it
(man fdisk), label it (man bsdlabel) and decide where to mount it (man
mount). 

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


Re: Adding a 2nd disk without messing with the 1st

2005-03-08 Thread Michael C. Shultz
On Tuesday 08 March 2005 04:19 pm, Chris wrote:
 I have a 5.3 system that has an 80 gig drive. I wish to add another
 to it. What's the best (easiest) way to expand this with little to no
 effect on the current drive.

Assuming the partion/id of the second drive is ad1s1d then

mount /dev/ad1s1d /mnt

would let you mount it on /mnt so nothing is changed on your
first drive.

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


Re: Problems with Cron not deleting log files

2005-03-08 Thread Jonathan Chen
On Tue, Mar 08, 2005 at 05:22:08PM -0500, Richard Mcintyre wrote:
 All,
 
 I am having a problem. Back in December I installed FreeBSD5.3 onto a 
 server and have just recently found some new time to 'play' with the 
 settings etc.
 
 I think I know what happened but I'm not sure how to fix it.
 
 I currently have a 'large number' of auth.log.x and cron.xx 
 files under /var/log.

Use newsyslog(8) and /etc/newsyslog.conf to manage your log files
instead of your home-grown non-working method.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
   Lots of folks confuse bad management with destiny
 - Kin Hubbard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with Cron not deleting log files

2005-03-08 Thread Richard Mcintyre
Jonathan Chen wrote:
On Tue, Mar 08, 2005 at 05:22:08PM -0500, Richard Mcintyre wrote:
 

All,
I am having a problem. Back in December I installed FreeBSD5.3 onto a 
server and have just recently found some new time to 'play' with the 
settings etc.

I think I know what happened but I'm not sure how to fix it.
I currently have a 'large number' of auth.log.x and cron.xx 
files under /var/log.
   

Use newsyslog(8) and /etc/newsyslog.conf to manage your log files
instead of your home-grown non-working method.
 

Thank you very much for your sarcastic comment, however, you must have 
read that far then stopped. The problem is not with the number of extra 
log files, the problem is that I cannot delete them. AT ALL. As far as 
'my home-grown non-working method' of managing my log files, it doesn't 
exist. In that I had not modified any of the initial settings of 
/etc/newsyslog.conf or any other conf files. the only commands I ran on 
the system were the long string of chmod commands I listed.

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


Re: Problems with Cron not deleting log files

2005-03-08 Thread Jerry McAllister
 
 Jonathan Chen wrote:
 
 On Tue, Mar 08, 2005 at 05:22:08PM -0500, Richard Mcintyre wrote:
   
 
 All,
 
 I am having a problem. Back in December I installed FreeBSD5.3 onto a 
 server and have just recently found some new time to 'play' with the 
 settings etc.
 
 I think I know what happened but I'm not sure how to fix it.
 
 I currently have a 'large number' of auth.log.x and cron.xx 
 files under /var/log.
 
 
 
 Use newsyslog(8) and /etc/newsyslog.conf to manage your log files
 instead of your home-grown non-working method.
   
 
 Thank you very much for your sarcastic comment, however, you must have 
 read that far then stopped. The problem is not with the number of extra 
 log files, the problem is that I cannot delete them. AT ALL. As far as 
 'my home-grown non-working method' of managing my log files, it doesn't 
 exist. In that I had not modified any of the initial settings of 
 /etc/newsyslog.conf or any other conf files. the only commands I ran on 
 the system were the long string of chmod commands I listed.

The point is that newsyslog will delete them for you.
Just get the configuration right.   There is no need to
use any other cron job for this and that would probably
be more difficult to get right.

If you are having trouble manually deleting the log files,
I don't have the original post info to get an idea of what
is going on.   

jerry

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


keyboard problem on laptop.

2005-03-08 Thread Dennis Crowley
Hi yall.

I've installed FreeBSD on my old Dell Insperion 7500, which I would like
to use as a router (low power) and network analysis tool.

The problem is that the keyboard driver does not seem to be recognizing
the shift key.  Does this sound wierd (i.e. my hardware) or reasonable
(i.e. wierd but functional hardware with a mismatched driver).

I'm not sure how I would go about trying to correct this issue.

Any ideas where I should begin?

Dennis Crowley.
-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.6.4 - Release Date: 3/7/2005

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


recomendations for multiport serial cards?

2005-03-08 Thread stan
I need to implement several FreeBSD amchiens that can
support multiple input data streams from RS-232 data sources.

What multiport comm cards do people recomentd?

-- 
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong 
Terror 
- New York Times 9/3/1967
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: connection problems with apache and mod_ssl

2005-03-08 Thread Corey Brune
On Tue, 8 Mar 2005 13:59:17 +0100, MINAROVIC, Peter
[EMAIL PROTECTED] wrote:
 Hello Eric,
 
 I have found your problem with error message
 
 SSL handshake interrupted by system [Hint: Stop button pressed in browser?!] 
 (System error follows)
 
 on Intranet. Did you received any solution? We have also this problem and no 
 solution.
 
 Thank you very much.
 
 Regards,
 
 Peter
 
 Peter Minarovi
 Database Administrator
 +421-905-011246
 Orange Slovensko, a.s.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


The only time I have seen this error is when the SSL certs weren't
created correctly. How did you create the certs?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 128bit WEP

2005-03-08 Thread Kevin Downey
ifconfig line is:
ifconfig ath0 inet 192.168.2.111 mode 11g channel 6 ssid kubo wepmode
on wepkey 0x28529850294957320938294585

what I am getting in dmesg is:
auth0: association failed (reason 25) for 00:0D:3A:74:00:61

00:0D:3A:74:00:61 is the BSSID of the AP

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


Re: non writable disks

2005-03-08 Thread Luciano Musacchio
I *think* kldxref /boot/modules should solve your problem.
Let me know if it works :)

good luck

El Martes 08 Marzo 2005 14:15, koen de wijs escribió:
 Hello,

 I did something really stupid when I was root. I changed something in
 device.hints. Now I can't change anything on my system. It starts up but
 doesn't start the deamons (apache, ftp, ssh). When I start FreeBSD, it
 looks like I'm in some kind of safe mode. I can't write to the
 harddisks. How can I change this?
 I want to make a backup from some files and put them on another
 harddisk, so I can do a clean install.


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

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


Re: 128bit WEP

2005-03-08 Thread Eric Schuele
Kevin Downey wrote:
ifconfig line is:
ifconfig ath0 inet 192.168.2.111 mode 11g channel 6 ssid kubo wepmode
on wepkey 0x28529850294957320938294585
what I am getting in dmesg is:
auth0: association failed (reason 25) for 00:0D:3A:74:00:61
00:0D:3A:74:00:61 is the BSSID of the AP
wicontrol -i ath0 -L  lists the AP
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Your *key* is 104-bits (26 hex digits)... there is a 24 bit 
Initialization Vector added to the key.

Double check your SSID on the AP and make sure it matches the 
'ifconfig...' you have.  Also might try explicitly specifying *which* 
weptxkey (1-4) you are using in ifconfig.

Also,  for what its worth my atheros cards do not work well in g with my 
AP (WRT54G)... I had to set it to b.  So you might try that till you get 
it on its feet.  Just my 2 cents.

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


Re: beastie.4th language ?

2005-03-08 Thread Mike Jeays
On Tue, 2005-03-08 at 16:13, McCy Ron wrote:
 Starting Forth by Leo Brodie is a good book on Forth.
 http://www.forth.org/   will offer other tutorialsl.
 
 Jerry McAllister wrote:
 
 Hi,
 
 My question might seem basic. Nevertheless I didn't find the answer on
 the net. Excuse me in case I did look seriously enough, which might
 afterall, be the case.
 
 The files under the /boot directory on FreeBSD : beastie.4th and the
 included ones screen.4th and frames.4th are obviously written in a
 certain scripting language.
 
 What is this language ?
 Can I get a turorial for this scripting language ?
 Or even a reference manual ?
 
 
 
 I believe the language is Forth.   It is a fairly esotheric language
 that is used because it has a very small footprint and is still
 quite flexible.   I don't know about tutorials, but I have seen 
 an occasional book on it.  I had one and actually installed Forth
 on a machine and tried to learn it once, several years ago but the 
 rewards/effort ratio got to me and I haven't gone back to it.
 
 jerry
 
   
 
 Any URL or suggestion would be appreciated.
 
 Thanks in advance.
 
 Michel
 
 
 
 ___
 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]

If you want to try out FORTH, there is a port available for FreeBSD.  

cd /usr/ports/lang/gforth
make
make install

But it is a bit of a lost art - scripting languages like Perl, Python,
Ruby and TCL are far more productive for most purposes.  FORTH,
nevertheless, is very different and quite fascinating.

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


Re: keyboard problem on laptop.

2005-03-08 Thread Jason Henson
On 03/08/05 20:03:07, Dennis Crowley wrote:
Hi yall.
I've installed FreeBSD on my old Dell Insperion 7500, which I would
like
to use as a router (low power) and network analysis tool.
The problem is that the keyboard driver does not seem to be
recognizing
the shift key.  Does this sound wierd (i.e. my hardware) or  
reasonable
(i.e. wierd but functional hardware with a mismatched driver).

I'm not sure how I would go about trying to correct this issue.
Any ideas where I should begin?
Dennis Crowley.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.6.4 - Release Date: 3/7/2005
___
If you can find no record of this on the net, and the key works under  
other oses, then use man atkbd to help you make a custom keymap so you  
can remap shift to another key or keys.

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


cvsup Premature EOF error

2005-03-08 Thread Bnonn
Hello again everyone.

Another problem; nothing really that's an issue, but something I'm
curious if anyone knows the cause of.

When running csvup to cvsup.nz.freebsd.org, I get the following error
the first time I run cvsup (full command I'm using is cvsup -L
2 /root/scarlet.cvs):

Premature EOF from server. Will retry at CURRENT_TIME + 5 MIN

Anyone know why I might be getting this? Canceling the five minute wait
and rerunning cvsup immediately afterward works fine.

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


Re: 128bit WEP

2005-03-08 Thread Jason Henson
On 03/08/05 21:20:09, Eric Schuele wrote:
Kevin Downey wrote:
ifconfig line is:
ifconfig ath0 inet 192.168.2.111 mode 11g channel 6 ssid kubo  
wepmode
on wepkey 0x28529850294957320938294585

what I am getting in dmesg is:
auth0: association failed (reason 25) for 00:0D:3A:74:00:61
00:0D:3A:74:00:61 is the BSSID of the AP
wicontrol -i ath0 -L  lists the AP
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]

Your *key* is 104-bits (26 hex digits)... there is a 24 bit  
Initialization Vector added to the key.

Double check your SSID on the AP and make sure it matches the  
'ifconfig...' you have.  Also might try explicitly specifying *which*  
weptxkey (1-4) you are using in ifconfig.

Also,  for what its worth my atheros cards do not work well in g with  
my AP (WRT54G)... I had to set it to b.  So you might try that till  
you get it on its feet.  Just my 2 cents.

HTH
--
Regards,
Eric
___
I set up a WRT54G and could never get it to use a high level of  
security.  You may have to tone it down a bit from 128bit.

Try this link if you like source code
http://fxr.watson.org/fxr/search?v=RELENG53string=BSSID
What is it saying about the BSSID 00:0D:3A:74:00:61?
Are you trying to set the SSID=BSSID or soething like that?
http://www.mpirical.com/companion/mpirical_companion.html
The BSSID is a 48bit identity used to identify a particular BSS (Basic  
Service Set) within an area. In Infrastructure BSS networks, the BSSID  
is the MAC (Medium Access Control) address of the AP (Access Point) and  
in Independent BSS or ad hoc networks, the BSSID is generated randomly.

The Service Set Identifier or Network Name is used within IEEE 802.11  
networks to identify a particular network. It is usually set by the  
administrator setting up the WLAN (Wireless Local Area Network) and  
will be unique within a BSS (Basic Service Set) or ESS (Extended  
Service Set). The SSID may be broadcast from an AP (Access Point)  
within the wireless network to enable Stations to determine which  
network to Associate with. However, this feature should be disabled  
as it may assist hackers, or wardrivers in gaining access to a  
private network.

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


Re: FreeBSD Hardware Recomendations - NIC/HD

2005-03-08 Thread Jason Henson
On 03/08/05 13:38:34, sn1tch wrote:
I like Intel's network adapters alot, I've never had a single issue
out of the gigabit adapter I use (Intel Pro/1000 MT PWLA8490MT)
I hear 3coms are good.  Try this page
http://www.freebsd.org/releases/5.3R/hardware.html
As far as SATA drives if its size you are going for then WD has a
fairly decent SATA drive for a good price, but in my book the best
SATA drive is the Raptor by WD..even if its only 74Gb it still has to
be the fastest SATA drive out.. imo :)
The raptors are a bit over priced for backup servers IMO, but they  
outperform several scsi drives that are more expensive.  Try the  
leaderboard at storagereview.com
On Tue, 8 Mar 2005 11:29:11 -0700, Nick Pavlica [EMAIL PROTECTED]
wrote:
 All,
  I'm looking at adding some hardware to my FreeBSD 5.3+ Backup
 servers and would like your recommendations for the following  
items:

 - Gigabit Ethernet cards:  I'm going to use them as dedicated cards
in
 the primary and backup servers so that I can quickly rsync between
 them.  I would like to find a card  that is currently MP safe and a
 good performer.

 -  SATA HD:  I'm currently planning on adding two 200GB drives to
both
 servers.  Are there any that stand out as good performers?

 Thanks!
 --Nick

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


Re: 128bit WEP

2005-03-08 Thread Eric Schuele
Jason Henson wrote:
On 03/08/05 21:20:09, Eric Schuele wrote:
Kevin Downey wrote:
ifconfig line is:
ifconfig ath0 inet 192.168.2.111 mode 11g channel 6 ssid kubo  wepmode
on wepkey 0x28529850294957320938294585
what I am getting in dmesg is:
auth0: association failed (reason 25) for 00:0D:3A:74:00:61
00:0D:3A:74:00:61 is the BSSID of the AP
wicontrol -i ath0 -L  lists the AP
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]

Your *key* is 104-bits (26 hex digits)... there is a 24 bit  
Initialization Vector added to the key.

Double check your SSID on the AP and make sure it matches the  
'ifconfig...' you have.  Also might try explicitly specifying *which*  
weptxkey (1-4) you are using in ifconfig.

Also,  for what its worth my atheros cards do not work well in g with  
my AP (WRT54G)... I had to set it to b.  So you might try that till  
you get it on its feet.  Just my 2 cents.

HTH
--
Regards,
Eric
___

I set up a WRT54G and could never get it to use a high level of  
security.  You may have to tone it down a bit from 128bit.
128-bit works fine for me.. its WPA I could never get up and running. 
Its my understanding its not yet fully supported in 5.3-STABLE or 
5.4-PRERELEASE... but that its on its way.

Try this link if you like source code
http://fxr.watson.org/fxr/search?v=RELENG53string=BSSID
What is it saying about the BSSID 00:0D:3A:74:00:61?
Are you trying to set the SSID=BSSID or soething like that?
http://www.mpirical.com/companion/mpirical_companion.html
The BSSID is a 48bit identity used to identify a particular BSS (Basic  
Service Set) within an area. In Infrastructure BSS networks, the BSSID  
is the MAC (Medium Access Control) address of the AP (Access Point) and  
in Independent BSS or ad hoc networks, the BSSID is generated randomly.

The Service Set Identifier or Network Name is used within IEEE 802.11  
networks to identify a particular network. It is usually set by the  
administrator setting up the WLAN (Wireless Local Area Network) and  
will be unique within a BSS (Basic Service Set) or ESS (Extended  
Service Set). The SSID may be broadcast from an AP (Access Point)  
within the wireless network to enable Stations to determine which  
network to Associate with. However, this feature should be disabled  
as it may assist hackers, or wardrivers in gaining access to a  
private network.

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


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


Re: /boot like linux!

2005-03-08 Thread Loren M. Lang
On Thu, Mar 03, 2005 at 06:08:24PM -0500, Jesse Guardiani wrote:
 Hello,
 
 I'm a FreeBSD 5.3 user as well as a Gentoo Linux user.
 In Gentoo linux, you only have to create 3 partitions:
 
 /boot
 swap
 /
 
 In FreeBSD, you seem to have to create many more:
 
 /
 swap
 /usr
 /var
 /tmp

This is standard for all unices including linux to create all
these partitions.  On all my servers whether they be Linux,
Solaris, or BSD I create just as many partitions.  You can just
create / and swap on BSD or Linux just as easily, but it's good
practice for servers to break it up.  What happens when some
program like dhcpd goes crazy and fills up the log files with
many megabytes of log entries.  Well, on my system, it just
filled up /var, but users kept chugging along with their work
on /home.  Or what about that rouge user that fills /home with
several gigabytes of junk.  My system daemons are still running
fine working in /var.  The most important think though is to not
fill up / as that should contain only the most important tools
neccessary to boot and fix a system, everything else is better if
kept on a seperate partition, particuarly anything that is
constantly reading and writing like programs use /var, /tmp, and
/home for.  But this is only recomendation, not a requirement for
any unice.

As for /boot, that's only a neccesity for certain older boot
loaders running on older hardware, but with large harddrives,
greater than 512 megs, I believe.  On modern systems it's
unneccessary.  I don't bother creating /boot partitions on any
of my systems anymore, it's not needed regardless of what other
people may tell you.

FreeBSD would have the same problem if it was created on a
partition starting after cylinder 1023 on the same older
hardware, but I've never had to run into that hardware with
FreeBSD so I'm not sure how they combat it.

 
 In particular, it seems that /boot MUST be on the same
 partition as /. This stinks, as now you have to create
 separate partitions for /usr and /var, which wastes space.
 
 I tried to make /boot it's own partition, and I succeeded,
 to a certain extent. I actually made /boot/boot, because
 the FreeBSD 5.3 boot manager wants to look under the /boot
 directory for loader. If /boot is it's own partition, then
 you need a /boot/boot/loader.
 
 Anyway, that worked. The kernel boots now, but it prompts
 me at the beginning of the rc process for the root device.
 I give it:
 
 ufs:ad1s1d
 
 Which is my / partition, and it boots successfully.
 Is it possible to automate this process so that the loader
 knows to use ad1s1d as my root device?
 
 Thanks!
 
 -- 
 Jesse Guardiani, Systems Administrator
 WingNET Internet Services,
 P.O. Box 2605 // Cleveland, TN 37320-2605
 423-559-LINK (v)  423-559-5145 (f)
 http://www.wingnet.net
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 


pgp7ApK6vka3K.pgp
Description: PGP signature


Re: 128bit WEP

2005-03-08 Thread Kevin Downey
On Tue, 08 Mar 2005 21:42:02 -0600, Eric Schuele [EMAIL PROTECTED] wrote:
 Jason Henson wrote:
  On 03/08/05 21:20:09, Eric Schuele wrote:
 
  Kevin Downey wrote:
 
  ifconfig line is:
  ifconfig ath0 inet 192.168.2.111 mode 11g channel 6 ssid kubo  wepmode
  on wepkey 0x28529850294957320938294585
 
  what I am getting in dmesg is:
  auth0: association failed (reason 25) for 00:0D:3A:74:00:61
 
  00:0D:3A:74:00:61 is the BSSID of the AP
 
  wicontrol -i ath0 -L  lists the AP
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-
  [EMAIL PROTECTED]
 
 
  Your *key* is 104-bits (26 hex digits)... there is a 24 bit
  Initialization Vector added to the key.
 
  Double check your SSID on the AP and make sure it matches the
  'ifconfig...' you have.  Also might try explicitly specifying *which*
  weptxkey (1-4) you are using in ifconfig.
 
  Also,  for what its worth my atheros cards do not work well in g with
  my AP (WRT54G)... I had to set it to b.  So you might try that till
  you get it on its feet.  Just my 2 cents.
 
  HTH
  --
  Regards,
  Eric
  ___
 
 
  I set up a WRT54G and could never get it to use a high level of
  security.  You may have to tone it down a bit from 128bit.
 
 128-bit works fine for me.. its WPA I could never get up and running.
 Its my understanding its not yet fully supported in 5.3-STABLE or
 5.4-PRERELEASE... but that its on its way.
 
 
  Try this link if you like source code
 
  http://fxr.watson.org/fxr/search?v=RELENG53string=BSSID
 
  What is it saying about the BSSID 00:0D:3A:74:00:61?
 
  Are you trying to set the SSID=BSSID or soething like that?
 
  http://www.mpirical.com/companion/mpirical_companion.html
 
  The BSSID is a 48bit identity used to identify a particular BSS (Basic
  Service Set) within an area. In Infrastructure BSS networks, the BSSID
  is the MAC (Medium Access Control) address of the AP (Access Point) and
  in Independent BSS or ad hoc networks, the BSSID is generated randomly.
 
 
  The Service Set Identifier or Network Name is used within IEEE 802.11
  networks to identify a particular network. It is usually set by the
  administrator setting up the WLAN (Wireless Local Area Network) and
  will be unique within a BSS (Basic Service Set) or ESS (Extended
  Service Set). The SSID may be broadcast from an AP (Access Point)
  within the wireless network to enable Stations to determine which
  network to Associate with. However, this feature should be disabled
  as it may assist hackers, or wardrivers in gaining access to a
  private network.
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 
 --
 Regards,
 Eric
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
I get the feeling that knowing what reason 25 means would help. Does
anyone know what that error message means?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[no subject]

2005-03-08 Thread Andreas Lindström
Hi.

It seems i have the same kmem_malloc problem as some others has had in
their SMP computers that is running FreeBSD 5.3, however, it is also
different... my problem doesnt occur after an extended period of
running the server, it occurs randomly at bootup. Another difference
is that it is not a 2GB memory machine, it runs at 128MB.

Now, since the previous fixes all said to increase the VM_KMEM
settings im guessing this wont work for me since i have 128MB physical
memory and 256MB swap (actually, ive tested it as well, doesnt work).
And yes, i have checked all previous bug reports containing the word
kmem, the closest one ive found is this kern/75510. In that report
there still is some unanswered questions though.

So... could anyone think of a way for me to fix this? And please dont
say get more memory, rather, say this module is using one hell of
alot of memory so remove it and decrease the VM_KMEM and it should
work... seriously, why does the kernel use 320MB+ of memory?
Something to do with the SMP code?

And, if i have to get more memory... how much more should i get? Would
256MB be enough, or does FreeBSD 5.3 only run on 2GB+ machines now?

Thanks in advance
  Andreas Lindström
  Sweden
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Adding a 2nd disk without messing with the 1st

2005-03-08 Thread Chris Hill
On Tue, 8 Mar 2005, Chris wrote:
I have a 5.3 system that has an 80 gig drive. I wish to add another to 
it. What's the best (easiest) way to expand this with little to no 
effect on the current drive.
You want this second disk for extra storage, right? Not for dual-boot or 
something?

Assuming extra storage, you could do what I did: Shut down the machine, 
install the second disk, power up the machine. Once you're booted, look 
at dmesg to see how the new drive was detected (maybe ad4? depends on 
your mobo's controllers and how/where the new disk was connected). I 
then ran /stand/sysinstall (this was back in the 4.x days) and created 
and newfs'd one big partition on the new disk. Then did #mkdir /usr1, 
and added an entry to /etc/fstab:

/dev/ad5s1c   /usr1   ufs rw   2   2
...and suddenly there was another 160GB available under /usr1. Effect on 
the first drive: zero.

HTH... YMMV.
--
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]


./sshd start then nothing

2005-03-08 Thread Tsu-Fan Cheng
Hi, 
  I am trying to enable sshd on my freebsd5.4 prerelease (I didn't
realize this when I cvsup the stable source). Anyway. I read something
in the mailing list which said that I should go to /etc/rc.d, then
execute ./sshd start from there, this will make ssh-keygen to
generate host key and stuff. I did this and there is nothing, the
ssh_host_dsa_key is not generated. I have another box which runs
5.3, and it generates key when I did the same thing. I wonder where
can it go wrong?
  One more thing is that I witnessed there is some weird log appears
on that 5.3 box when I boot, it goes like this:

1338 %parent R  *Handler
1339 0 R  Node
  1340 %desc R  *Handler
  1341 %driver R  *Handler
  1342 %location R  *Handler
  1343 %pnpinfo R  *Handler
  1344 %parent R  *Handler
  1345 vga R  Node
1346 %parent R  *Handler
1347 0 R  Node
  1348 %desc R  *Handler
  1349 %driver R  *Handler
  1350 %location R  *Handler
  1351 %pnpinfo R  *Handler
  1352 %parent R  *Handler

I guess I enable something somewhere but just can't remember, any idea? thansk!

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


Re: ./sshd start then nothing

2005-03-08 Thread james . cook
On Tue, Mar 08, 2005 at 11:19:45PM -0500, Tsu-Fan Cheng wrote:
 Hi, 
   I am trying to enable sshd on my freebsd5.4 prerelease (I didn't
 realize this when I cvsup the stable source). Anyway. I read something
 in the mailing list which said that I should go to /etc/rc.d, then
 execute ./sshd start from there, this will make ssh-keygen to
 generate host key and stuff. I did this and there is nothing, the
 ssh_host_dsa_key is not generated. I have another box which runs
 5.3, and it generates key when I did the same thing. I wonder where
 can it go wrong?

Did you enable ssh in rc.conf?  I'm pretty sure the scripts in rc.d won't
start unless you enable them there.  Alternatively, ./sshd forcestart should
make it start no matter what.  man 8 rc.d for more info.

   One more thing is that I witnessed there is some weird log appears
 on that 5.3 box when I boot, it goes like this:
 
 1338 %parent R  *Handler
 1339 0 R  Node
   1340 %desc R  *Handler
   1341 %driver R  *Handler
   1342 %location R  *Handler
   1343 %pnpinfo R  *Handler
   1344 %parent R  *Handler
   1345 vga R  Node
 1346 %parent R  *Handler
 1347 0 R  Node
   1348 %desc R  *Handler
   1349 %driver R  *Handler
   1350 %location R  *Handler
   1351 %pnpinfo R  *Handler
   1352 %parent R  *Handler
 
 I guess I enable something somewhere but just can't remember, any idea? 
 thansk!
 
 -- 
 The Hell's Restroom Production
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ./sshd start then nothing

2005-03-08 Thread Tsu-Fan Cheng
ha! you are right!! 

thansk 




On 8 Mar 2005 23:38:40 -0500, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 On Tue, Mar 08, 2005 at 11:19:45PM -0500, Tsu-Fan Cheng wrote:
  Hi,
I am trying to enable sshd on my freebsd5.4 prerelease (I didn't
  realize this when I cvsup the stable source). Anyway. I read something
  in the mailing list which said that I should go to /etc/rc.d, then
  execute ./sshd start from there, this will make ssh-keygen to
  generate host key and stuff. I did this and there is nothing, the
  ssh_host_dsa_key is not generated. I have another box which runs
  5.3, and it generates key when I did the same thing. I wonder where
  can it go wrong?
 
 Did you enable ssh in rc.conf?  I'm pretty sure the scripts in rc.d won't
 start unless you enable them there.  Alternatively, ./sshd forcestart should
 make it start no matter what.  man 8 rc.d for more info.
 
One more thing is that I witnessed there is some weird log appears
  on that 5.3 box when I boot, it goes like this:
 
  1338 %parent R  *Handler
  1339 0 R  Node
1340 %desc R  *Handler
1341 %driver R  *Handler
1342 %location R  *Handler
1343 %pnpinfo R  *Handler
1344 %parent R  *Handler
1345 vga R  Node
  1346 %parent R  *Handler
  1347 0 R  Node
1348 %desc R  *Handler
1349 %driver R  *Handler
1350 %location R  *Handler
1351 %pnpinfo R  *Handler
1352 %parent R  *Handler
 
  I guess I enable something somewhere but just can't remember, any idea? 
  thansk!
 
  --
  The Hell's Restroom Production
 


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


Help with pine mail reader ... two quickies

2005-03-08 Thread Joe Schmoe
Hi,

Two config options I cannot seem to find in pine, and
wonder if they exist ... if you know what they are:

1. Is there a way to tell pine to QUIT asking me if I
want to save space by deleting previous months
sent-mail folders ?  No, I don't.  Ever.  How can I
get it to quit asking me ?

2. Is there a way to make pine auto-create the new
months sent-mail folder on the first of each month ? 
I have pine up and running for sometimes 60-90 days at
a time, which means that it saves three months of
sent-mail in the month in which I invoked the program
... because it only seems to make a new sent-mail
folder when I restart it.  Any way to make it more
proactive ?

thanks.

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


Re: /boot like linux!

2005-03-08 Thread Loren M. Lang
On Thu, Mar 03, 2005 at 07:45:19PM -0500, Bob Johnson wrote:
 Jesse Guardiani wrote:
 
 On Thursday 03 March 2005 5:41 pm, [someone] wrote:
  
 
snip
 It's *best* to make more  
 partitions (esp for /var) so that if something goes out of control 
 logging, or you just neglect your logs, it doesn't go and fill up your 
 only (ie / ) partition. Like most *nix OS's, it can be as simple or as 
 complicated as you want it to be.

 
 
 I want / + /boot. It's that simple.

A /boot for FreeBSD should really be unneccessary, that is more of a
necessity in the past and more of a linux thing anyways, but I don't use
one even on my linux systems anymore.

 
  
 
 
 What are you really trying to accomplish?  You want to run softupdates 
 on / ?
 
 I believe it is perfectly acceptable to use softupdates on the root 
 partition these
 days.  The Handbook recommends turning on softupdates for all filesystems. 
 See
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-disk.html
 
 I'm pretty sure my test system at home has only / and swap (because it
 has a small hard drive), and uses softupdates on /.  I'll check when I get
 home.
 
 If you have some other reason for separating /boot from /, explain your 
 actual
 goal, and perhaps we can help.
 
 - Bob
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 


pgp3lTb4AN70Y.pgp
Description: PGP signature


RE: recomendations for multiport serial cards?

2005-03-08 Thread Ted Mittelstaedt

You probably don't want to do this.  Instead, get some
of these devices:

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItemcategory=11175item=575
078rd=1

or if your a Cisco guy, a couple 2514s would do it.  Configure
these boxes to automatically rlogin to the FreeBSD boxes then
instead of a shell for the account, set up your data gathering program.
(whatever that is)

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of stan
 Sent: Tuesday, March 08, 2005 5:05 PM
 To: Free BSD Questions list
 Subject: recomendations for multiport serial cards?


 I need to implement several FreeBSD amchiens that can
 support multiple input data streams from RS-232 data sources.

 What multiport comm cards do people recomentd?

 --
 U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout
 Despite Vietcong Terror
 - New York Times 9/3/1967
 ___
 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: ./sshd start then nothing

2005-03-08 Thread Christopher Nehren
On 2005-03-09, Tsu-Fan Cheng scribbled these
curious markings:
   I am trying to enable sshd on my freebsd5.4 prerelease (I didn't
 realize this when I cvsup the stable source). Anyway. I read something
 in the mailing list which said that I should go to /etc/rc.d, then
 execute ./sshd start from there, this will make ssh-keygen to
 generate host key and stuff. I did this and there is nothing, the
 ssh_host_dsa_key is not generated. I have another box which runs
 5.3, and it generates key when I did the same thing. I wonder where
 can it go wrong?

Do you have the following line in /etc/rc.conf?

sshd_enable=YES

You need this line, or otherwise sshd start won't start sshd. You can
use forcestart, but that will only start it once, and won't have it
restart at each reboot. I recommend reading rc(8) and rc.conf(5)

Best Regards,
Christopher Nehren
-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: FreeBSD for the organization

2005-03-08 Thread Ryan J. Cavicchioni
I do not know what to say. Your question is really vague, can you be 
more specific?

I learned by reading the documentation at http://www.mysql.com
Fafa Diliha Romanova wrote:
to my fellow peers; hello.
i'm the board member of this organization.
so far i'm using mysql databases for our forum and webmail.
what i need to know, and i barely know mysql at all,
is how it is best to create and maintain effective member
databases on a freebsd system.
any suggestions are welcome.
all the best,
fafa
 

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


cvsup'ing from 4.10 to 5.3.

2005-03-08 Thread Ryan J. Cavicchioni
I was curious as to if it is possible to cvsup from 4.10 to 5.3 (kernel 
and userland tools). Has anyone done this? Does it work well? Should I 
avoid doing this on a production box?

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


Re:

2005-03-08 Thread Charles Swiger
On Mar 8, 2005, at 11:02 PM, Andreas Lindström wrote:
It seems i have the same kmem_malloc problem as some others has had in
their SMP computers that is running FreeBSD 5.3, however, it is also
different... my problem doesnt occur after an extended period of
running the server, it occurs randomly at bootup. Another difference
is that it is not a 2GB memory machine, it runs at 128MB.
Could you be more specific about the problem you have?
Now, since the previous fixes all said to increase the VM_KMEM
settings im guessing this wont work for me since i have 128MB physical
memory and 256MB swap (actually, ive tested it as well, doesnt work).
[ ... ] say this module is using one hell of
alot of memory so remove it and decrease the VM_KMEM and it should
work... seriously, why does the kernel use 320MB+ of memory?
Something to do with the SMP code?
Which module?
I am almost certain that your kernel is not trying to use 320+ MB of 
RAM on a machine with 128 MB of physical memory available, so it is 
likely that you are misunderstanding something.  When you run top, the 
size of the kernel is best reflected by the wired category.

Speaking of which, what does top or vmstat -s say?
And, if i have to get more memory... how much more should i get? Would
256MB be enough, or does FreeBSD 5.3 only run on 2GB+ machines now?
What tasks are you running on the machine?  FreeBSD will quite happily 
work as a mail server, router, firewall, stuff like that in 128MB, but 
if you are running X11 and a bunch of graphical apps, more RAM would 
certainly help.

[ If you avoid running a dozen or so virus scanner/antispam perl 
thingies like SpamAssassin or amavisd with 30MB RSS each, you can run a 
lightweight mail server fine in 32MB, although FreeBSD 4.x or NetBSD 
would be better suited for a low-memory environment than FreeBSD 5.x 
is... ]

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


  1   2   >