faxgetty 100%

2012-02-01 Thread mailinglist
Dear List,

i've upgraded a 8.2-STABLE system to 9.0-RELEASE, recompiled every package
and now faxgetty uses 100% CPU and cannot handle incoming connections
(under 8.2-STABLE everything was working OK).

Sample output from ktrace:

64551 faxgetty 0.03 RET   read 0
 64551 faxgetty 0.04 CALL  gettimeofday(0x7fffd9c0,0)
 64551 faxgetty 0.03 RET   gettimeofday 0
 64551 faxgetty 0.04 CALL  gettimeofday(0x7fffd980,0)
 64551 faxgetty 0.03 RET   gettimeofday 0
 64551 faxgetty 0.044500 CALL 
select(0x8,0x7fffdb50,0x7fffdad0,0x7fffda50,0x69f340)
 64551 faxgetty 0.10 RET   select 1
 64551 faxgetty 0.09 CALL  gettimeofday(0x7fffd980,0)
 64551 faxgetty 0.04 RET   gettimeofday 0
 64551 faxgetty 0.06 CALL  read(0x4,0x7fffd1a0,0x7ff)
 64551 faxgetty 0.15 GIO   fd 4 read 0 bytes
   ""
 64551 faxgetty 0.05 RET   read 0
 64551 faxgetty 0.05 CALL  gettimeofday(0x7fffd9c0,0)
 64551 faxgetty 0.04 RET   gettimeofday 0
 64551 faxgetty 0.08 CALL  gettimeofday(0x7fffd980,0)
 64551 faxgetty 0.05 RET   gettimeofday 0
 64551 faxgetty 0.04 CALL 
select(0x8,0x7fffdb50,0x7fffdad0,0x7fffda50,0x69f340)
 64551 faxgetty 0.06 RET   select 1
 64551 faxgetty 0.09 CALL  gettimeofday(0x7fffd980,0)
 64551 faxgetty 0.05 RET   gettimeofday 0
 64551 faxgetty 0.05 CALL  read(0x4,0x7fffd1a0,0x7ff)
 64551 faxgetty 0.04 GIO   fd 4 read 0 bytes

And kstat:
USER CMD  PID   FD MOUNT  INUM MODE SZ|DV R/W
uucp faxgetty   64551 text /usr 1133532 -r-sr-xr-x  550432  r
uucp faxgetty   64551   wd /var 6571017 drwxr-xr-x 512  r
uucp faxgetty   64551 root / 2 drwxr-xr-x   16384  r
uucp faxgetty   645510 /dev 29 crw-rw-rw-null rw
uucp faxgetty   645511 /dev 29 crw-rw-rw-null rw
uucp faxgetty   645512 /dev 29 crw-rw-rw-null rw
uucp faxgetty   645513 /var 6571376 -rw-r--r--  17  w
uucp faxgetty   645514 /var 6571373 prw---   0  r
uucp faxgetty   645515 /var 6571039 prw---   0  w
uucp faxgetty   645516* local dgram fe00acbef870 <->
fe001029a5a0
uucp faxgetty   645517 /dev 56 crw-rw-rw-   cuau0 rw

I'm at a loss here and don't know where to continue debugging this error.
Does anyone experiencing the same problem?

Best regards,
Mate

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


8.2-STABLE ZFS degraded and "freezing"

2011-10-19 Thread mailinglist
Dear List,

I was running a ZFS pool, consisting of 6 disk (2 raidz1 striped) under
8.2-STABLE. The OS was running from a dedicated geom mirror. One of the
ZFS disks died and the machine just froze. I've disconnected the driver
and now it shows symptoms of very high I/O wait with no response.

The first case was normal boot process and it froze at the "mounting local
filesystems" part. For nearly 60 minutes I saw from the HDD leds that the
ZFS array was working but after that no response. Even ctrl+alt+delete
wasn't working.
In single user mode I've disabled the ZFS rc script and after that the
system booted fine. then I've started ZFS manually and it was stuck at the
mounting state. I saw with zpool iostat that it was reading around
200-500kbytes constantly from the pool for about 60 minutes. During that
time i could use the machine, even check ZFS with zpool status of zfs
status. The only issue was that df only showed one of the 6 zfs
filesystems mounted from the pool. After about 60 minutes of constats HDD
working everything stopped, like when there's a very high I/O wait because
of a faulty HDD. Even commands running from the dedicated gmirror drive
stopped working. I've checked every HDD with badblocks and only one (the
original faulty drive) showed errors.
I've booted up a 9-BETA install CD and from the rescue shell I've run a
scrub process and it was finished in 21 hours and if fixed about 3MB worth
of data from 800GB. Even that didn't help.
Could it be that some metadata got damaged and the zfs filesystems cannot
be mounted? I'm not an expert on ZFS, i'm just starting to learn it and
this was just an experimental system but i just don't want to start it
over. If there is a slight possibility for recovery i would like to do
that, but i don't know how to narrow down the problem.
Please, if you have any idea let me know of it.

Best regards,
Mate

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


Portsnap vs cvsup

2010-03-15 Thread mailinglist
What is the difference between using portsnap and cvsupping a ports supfile?  
The last time I really used FreeBSD was several years ago, but it seems that 
portsnap has replaced "cvsup ports-supfile".  What exactly is the difference 
between the two?  What makes portsnap the better option?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Replacing Home Router With PC

2010-03-10 Thread mailinglist
I've got an old Linksys router hanging off of my cable modem that is several 
years old and is about to die (very poor wireless throughput should be 54 mb 
and is 2, runs hot, and "buzzes" while turned on).  I've got an older PC that 
would great as a routerhowever I also need it to be a wireless access point 
for my house.  It has a PCI wireless network card (A 54G Belkin, not sure of 
the exact model).  I know FreeBSD is technically capable for acting as my DHCP, 
DNS, router, gateway box if properly configured.  The question is, can it use 
that wireless card to act as a access point instead of a client (how the card 
is intended to be used)?

Also, any links anyone can provide on how to setup a FreeBSD box to act as home 
router/gateway would be much appreciated!

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


FreeBSD Support Cycle

2010-03-08 Thread mailinglist
I'm possibly considering building a FreeBSD based NAS to provide NFS storage 
for vSphere in a production environment.  I would use FreeBSD-8, amd64 variety. 
 What is the expected EOS & EOL dates (end of support/end of life) for FreeBSD 
8?  I'm not sure if the EOL question matters for an open source OS, but 
basically I'm just asking at what point in time would there no longer be 
security updates and bug fixes made to the 
OS?___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD File Server with ZFS

2010-02-18 Thread mailinglist
-BEGIN PGP SIGNED MESSAGE-

Hash: SHA1



Does your old P4 support 64-bit operation?  Does it have 2GB RAM or more? If 
not, then you might want to reconsider using ZFS.  It's not that it won't or 
can't be made to work given those limitations, but you'll find it hard work to 
get it running stably and performing well.

UFS on the other hand will work just fine on 32bit systems and smaller and 
older machines.  (The limitation with UFS is a maximum 2TB filesystem size, but 
I suspect this will not cause you any practical

difficulties.)



  Cheers,



  Matthew



I'm not sure if my box supports 64 bit OSes or not, I'll have to look into 
that.  I know for a fact it doesnt have 3+ GB of RAM.  At most it'll have 2 
GBat least RAM for that old beast should be cheap!  :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Mouse not working on virtual box VM

2010-02-18 Thread mailinglist
I've successfully got X Windows up and running on a Virtual Box VM on FreeBSD 
8, however it isn't detecting my mouse.  Any idea on how I can make that 
happen?  As far as I know, there are no guest addition for virtual box for 
FreeBSD..of course that's assuming that would even help.  It might not.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


FreeBSD File Server with ZFS

2010-02-17 Thread mailinglist
I've got an old P4 desktop computer running in the basement with a 1 TB 
external USB drive connected to that I use as a file server.  That PC is 
running XP.  It has recently become infected with some sort of virus.  I'd like 
to replace it with FreeBSD running ZFS + Samba (I need to access it from a OS X 
machine and a Windows 7 box).



1) Will FreeBSD be able to detect and use my TB hard drive as ZFS disk?  Right 
now it is only a single disk, but later on I'll and a second disk and setup a 
mirror.  Even as a single disk, the checksumming ability would be nice.



2)Assume I get everything setup in regards to step 1 and my OS disk dies.  How 
do I go about importing the ZFS external disk into another FreeBSD installation?



Thanks for all of the help!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


7.0 -> 7.1 crash every two day

2009-05-10 Thread mailinglist
Dear List,

I've upgraded from source my 7.0-RELEASE to 7.1-RELEASE. It's a general
purpose server for a small company and it's clients, running web, sql, mail
and recursive dns. The machine is a Compaq ML350 G2. Version 7.0 was
running on it for a year now without any problem. After 30 of April I've
upgraded to 7.1 (I've followed the handbook) and since then nearly every
two day the machine becomes unreachable except for echorequest. If i try to
log in in the terminal it just hangs after i give my password.

I'm out of any ideas. Please feel free to ask any more info that I've
forgotten to provide. Thank You for your help in advance.

Here's the dmesg:

Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.1-RELEASE-p5 #2: Fri Apr 24 18:44:13 CEST 2009
r...@lildevil.datawlan:/usr/obj/usr/src/sys/FIREWALL
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (996.85-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
 
Features=0x383f9ff
real memory  = 536854528 (511 MB)
avail memory = 511340544 (487 MB)
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
ACPI Warning (tbfadt-0505): Optional field "Gpe1Block" has zero address or
length:0   0/2 [20070320]
acpi0:  on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
unknown: I/O range not supported
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x240-0x243 on acpi0
pcib0:  on acpi0
pci_link0: apparently invalid index 0
pci0:  on pcib0
sym0: <1510d> port 0x2000-0x20ff mem
0xc6effc00-0xc6ef,0xc6efe000-0xc6efefff irq 10 at device 1.0 on pci0
sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking
sym0: [ITHREAD]
sym1: <1510d> port 0x2400-0x24ff mem
0xc6efdc00-0xc6efdfff,0xc6efc000-0xc6efcfff irq 11 at device 1.1 on pci0
sym1: No NVRAM, ID 7, Fast-40, LVD, parity checking
sym1: [ITHREAD]
fxp0:  port 0x2800-0x283f mem
0xc6efb000-0xc6efbfff,0xc6d0-0xc6df irq 15 at device 2.0 on pci0
miibus0:  on fxp0
inphy0:  PHY 1 on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:50:8b:ee:d2:d6
fxp0: [ITHREAD]
vgapci0:  port 0x2c00-0x2cff mem
0xc500-0xc5ff,0xc6cff000-0xc6cf at device 3.0 on pci0
pci0:  at device 4.0 (no driver attached)
isab0:  at device 15.0 on pci0
isa0:  on isab0
atapci0:  port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x3000-0x300f at device 15.1 on pci0
ata0:  on atapci0
ata0: [ITHREAD]
ata1:  on atapci0
ata1: [ITHREAD]
pcib1:  on acpi0
pci3:  on pcib1
ida0:  port 0x4000-0x40ff mem
0xc6fff000-0xc6ff irq 5 at device 3.0 on pci3
ida0: [GIANT-LOCKED]
ida0: [ITHREAD]
ida0: drives=1 firm_rev=1.22
idad0:  on ida0
idad0: 34727MB (71122560 sectors), blocksize=512
acpi_tz0:  on acpi0
atkbdc0:  port 0x60,0x64 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
fdc0:  port 0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FILTER]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0:  port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio0: [FILTER]
sio1:  port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
sio1: [FILTER]
cpu0:  on acpi0
pmtimer0 on isa0
orm0:  at iomem
0xc-0xc7fff,0xc8000-0xcbfff,0xe8000-0xedfff,0xee000-0xe pnpid
ORM on isa0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0:  on ppc0
ppbus0: [ITHREAD]
plip0:  on ppbus0
plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter "TSC" frequency 996851056 Hz quality 800
Timecounters tick every 1.000 msec
acd0: CDROM  at ata0-master PIO4
Waiting 5 seconds for SCSI devices to settle
GEOM_LABEL: Label for provider idad0s3 is msdosfs/SYSTEMCFG.
Trying to mount root from ufs:/dev/idad0s1a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /usr/home was not properly dismounted
/usr/home: mount pending error: blocks 48 files 4
WARNING: /usr/home/ftp was not properly dismounted
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 4 files 1

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


Msdos/FAT stability issues

2007-11-13 Thread mailinglist
Hi list,

Recently I've been experimenting with fetching files via bittorrent
clients, and storing torrents as well as their resulting files on a
fat formatted slice (automatically recognized and setup during fbsd
installation a couple of years ago). Now after adding around ~three or
more concurrent torrents something happens with the fat slice and/or
its driver. All programs trying to access the slice will freeze and
this even includes the Gnome desktop. During shutdown, flushing of a
little more than 1600 buffers fails.
I run 6.2-release. Does the FAT driver contain known concurrency
issues, and can I work around them by using certain mount
parameters??? I have tried two different clients - ctorrent and
transmission - and they both behave the same. All is well when using a
std ufs slice.

br Nikolaj

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


Re: Problem connecting a freebsd server using ssh

2006-02-23 Thread mailinglist
A and B are the same version of FreeBSD? Perhaps you can try to remove all
the files under ~/.ssh on server B.

2006/2/23, Lei Sun <[EMAIL PROTECTED]>:
>
> Hi Guys,
>
> I did tons of search on what problems might be, but it doesn't seems
> to be the cases that I have searched even though it looks similar.
>
> 1. ssh from Freebsd_A to Freebsd_B: I got "Read from socket failed:
> Connection reset by peer" error.
> 2. ssh from windows xp (putty) to Freebsd_B: logs me in fine
> 3. try to ssh from Freebsd_A to Freebsd_B again, got the same error
> message, and now I can't log in from windows xp (putty) to Freebsd_B
> any more, unless I reboot the windows xp machine. WIERD!!!
>
> I check the tcp wrapper thing, the hosts.allow is All : All : allow.
> So that's not the case.
>
> I made sure all of the KeepAlive entries are set to yes, but still no
> luck.
>
> Please help... Thanks in advance!
>

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