Re: panic on 4.5-RELEASE

2002-02-14 Thread martijn

Once upon a Wed, Feb 13 2002, Jan L. Peterson hit keys in the following order:
 
 I've just installed 4.5-RELEASE on my new hard drive in an HP 
 Omnibook 6000.  Doing heavy disk activity combined with network 
 activity results in a panic.  I discovered this first while doing an 
 installworld off of a nfs mounted /usr/src and /usr/obj.  Some fiddling 
 left me with a broken system and I had to re-install.  On the new 
 install, I built a kernel with DDB in it and then tried tarring 
 /usr/ports from a nfs mounted filesystem to a local filesystem.  Boom 
 again.

I might have had a similair problem. haven't looked into it any deeper yet, but
it looks like UDP NFS mounts with 16384 make the NFS server's kernel crash
hard. after i found a workaround, i didn't have chance to trace this bug.

My situation was that i was copying a bunch of stuff from a linux machine,
which had options for nfs mounts set to 16384 byte blocks.  When i set them to
8192, FreeBSD didn't crash any more.


hope this helps...
martijn

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: USB Epson printers?

2002-02-14 Thread Rasputin

* Nick Sayer [EMAIL PROTECTED] [020213 16:05]:

 I have a Photo 870 that has worked since at least 4.2-RELEASE. It shows 
 up under ulpt and works exactly as you might expect.

 Rasputin wrote:
  (If it's relevant, I'm trying to get cups to use it, and it doesn't offer
  USB as an available backend - no sign of ulpt0 in dmesg either - though
  maybe rebooting would op it up?)
 
 This should not be required. Are you running usbd? If not, then that's 
 why devices don't show up unless you boot with them in. 
 usbd_enable=YES in rc.conf.

As I said,

  when I plug it on, although I can use a Logitech wireless USB mouse
  prefectly well.

so usbd is a happy bunny - I'm going to try kldloading ugen, and reinserting - if
that pops up, I'll start hacking in usbdevs source.

Since uplt isn't well documented, I just wanted to check it works.

Thanks.

-- 
Anyone can hold the helm when the sea is calm.
-- Publius Syrus
Rasputin :: Jack of All Trades - Master of Nuns ::

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: Best ATA RAID controller

2002-02-14 Thread Len Conrad

At 01:29 2002-02-14 -0500, you wrote:

Some of the other IDE raid cards will allow you to use a master and slave 
on the same channel. From what I understand the problem with this is that 
if a slave dies, it could potentially take out the master or vice versa.

and isn't an inactive second device, such as a seldom used cdrom, slowing 
down the bus due to master/slave contention?

Len


http://MenAndMice.com/DNS-training
http://BIND8NT.MEIway.com : ISC BIND 8.2.4 for NT4  W2K
http://IMGate.MEIway.com  : Build free, hi-perf, anti-abuse mail gateways


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Transparant proxy

2002-02-14 Thread budsz

Hi,

I was try to enable transparant proxy in my FreeBSD box so I have doing
like: 
${fwcmd} add 3001 allow tcp from 192.168.0.88 to any
${fwcmd} add 3002 fwd 127.0.0.1,7080 tcp from any to any 80
${fwcmd} add 3003 fwd 192.168.0.88/32,7080 tcp from any to any 80

in /etc/rc.firewall, but I think this is useful because my client
without proxy they can browsing. how to do transparant proxy in FreeBSD


TIA


-- 
budsz



msg41522/pgp0.pgp
Description: PGP signature


Panic in NFS

2002-02-14 Thread Rolandas Naujikas


After upgrading to 4.5-RELEASE, there on heavy load kernel does panic. This
server run samba, nfs client (mount from other FreeBSD 4.5-RELEASE server).
On 4.4-RELEASE was OK.

Console (serial) log with dmesg is:

panic: nfs_fsync: not dirty

syncing disks... 38 4 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
giving up on 1 buffers
Uptime: 1d21h16m8s
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...

 FreeBSD/i386 BOOT
Default: 0:ad(0,a)/boot/loader
boot:
Console: serial port
BIOS drive A: is disk0
BIOS drive C: is disk1
BIOS drive D: is disk2
BIOS drive E: is disk3
BIOS drive F: is disk4
BIOS 639kB/261120kB available memory

FreeBSD/i386 bootstrap loader, Revision 0.8
([EMAIL PROTECTED], Wed Jan 30 07:17:41 EET 2002)
Loading /boot/defaults/loader.conf
/kernel text=0x115cd7 data=0x1bf1c+0x16db4 syms=[0x4+0x212d0+0x4+0x26129]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [kernel]...
Copyright (c) 1992-2002 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 4.5-RELEASE #0: Wed Jan 30 07:25:08 EET 2002
?@??.???.??.??:/h/FreeBSD/obj/h/FreeBSD/cvsup/src/sys/?
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 400911005 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x653  Stepping = 3
  
Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 268435456 (262144K bytes)
avail memory = 258428928 (252372K bytes)
Preloaded elf kernel kernel at 0xc0292000.
Pentium Pro MTRR support enabled
Using $PIR table, 6 entries at 0xc00fded0
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard
pci0: PCI bus on pcib0
pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
isab0: Intel 82371AB PCI to ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 ATA33 controller port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: Intel 82371AB/EB (PIIX4) USB controller at 7.2 irq 11
intpm0: Intel 82371AB Power management controller port 0x5000-0x500f irq 9 at device 
7.3 on pci0
intpm0: I/O mapped 5000
intpm0: intr IRQ 9 enabled revision 0
smbus0: System Management Bus on intsmb0
smb0: SMBus general purpose I/O on smbus0
intpm0: PM I/O mapped 4000
pci0: S3 Trio 64V2/DX/GX graphics accelerator at 9.0 irq 10
rl0: RealTek 8139 10/100BaseTX port 0xe400-0xe4ff mem 0xd900-0xd9ff irq 5 at 
device 11.0 on pci0
rl0: Ethernet address: 00:c0:ca:16:29:75
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: 3Com 3c905B-TX Fast Etherlink XL port 0xe800-0xe87f mem 0xd9001000-0xd900107f 
irq 9 at device 13.0 on pci0
xl0: Ethernet address: 00:a0:24:aa:b7:fd
miibus1: MII bus on xl0
xlphy0: 3Com internal media interface on miibus1
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: Option ROM at iomem 0xc-0xc7fff on isa0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x100
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ad0: 29314MB IBM-DTLA-307030 [59560/16/63] at ata0-master UDMA33
ad1: 13216MB QUANTUM FIREBALLP KA13.6 [26853/16/63] at ata0-slave UDMA33
ata1-master: DMA limited to UDMA33, non-ATA66 compliant cable
ad2: 29314MB IBM-DTLA-307030 [59560/16/63] at ata1-master UDMA33
ad3: 6149MB QUANTUM FIREBALL EX6.4A [13328/15/63] at ata1-slave UDMA33
Mounting root from ufs:/dev/ad0a
WARNING: / was not properly dismounted

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: 4.5 stable spontaneous reboot

2002-02-14 Thread David Malone

 I *think* my freebsd4.5-stable box rebooted spontaneously yesterday. 
 However, I do not have trafcount installed on this machine.  Are
 there any other possibilities?

Look at the output of kldstat and check that each .ko file it
refers to are up to date with the kernel.

David.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: Best ATA RAID controller

2002-02-14 Thread Jeffrey J. Mountin

At 01:29 AM 2/14/02 -0500, Mike Tancsa wrote:

Some of the other IDE raid cards will allow you to use a master and slave 
on the same channel. From what I understand the problem with this is that 
if a slave dies, it could potentially take out the master or vice versa.

Performance is the issue and reason why 3Ware uses one drive per 
channel.  After all, only one drive on a channel can talk at the same 
time.  Knowing that it's easy to understand why 3Ware does much better than 
those using master/slave pairs.


Jeff Mountin - [EMAIL PROTECTED]
Systems/Network Administrator
FreeBSD - the power to serve


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: Transparant proxy

2002-02-14 Thread David W. Chapman Jr.

On Thu, Feb 14, 2002 at 09:21:53PM +0700, budsz wrote:
 Hi,
 
 I was try to enable transparant proxy in my FreeBSD box so I have doing
 like: 
 ${fwcmd} add 3001 allow tcp from 192.168.0.88 to any
 ${fwcmd} add 3002 fwd 127.0.0.1,7080 tcp from any to any 80
 ${fwcmd} add 3003 fwd 192.168.0.88/32,7080 tcp from any to any 80
 
 in /etc/rc.firewall, but I think this is useful because my client
 without proxy they can browsing. how to do transparant proxy in FreeBSD
 
 
IF you would be interested in trying ipnat, transparent proxying 
works great.


-- 
David W. Chapman Jr.
[EMAIL PROTECTED]   Raintree Network Services, Inc. www.inethouston.net
[EMAIL PROTECTED]   FreeBSD Committer www.FreeBSD.org

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Spontanious reboots

2002-02-14 Thread Baldur Gislason

This box has been spontaniously rebooting for a while, we've replaced most of 
the hardware and upgraded the system to 4.5-STABLE with no luck.
Machine's role is firewall/transparent proxy

Here's an examination of a panic it generated:
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x3ab5ddc0fault virtual address   = 0x3ab5ddc0
fault code  = supervisor read, page not present
instruction pointer = 0x8:0xc024ff18
stack pointer   = 0x10:0xc02ff524
frame pointer   = 0x10:0xc02ff530
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = Idle
interrupt mask  = net tty
trap number = 12
panic: page fault

syncing disks...
done
Uptime: 6d16h39m16s
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: Spontanious reboots

2002-02-14 Thread Kris Kennaway

On Thu, Feb 14, 2002 at 05:35:27PM +, Baldur Gislason wrote:
 This box has been spontaniously rebooting for a while, we've replaced most of 
 the hardware

What hardware have you not tested/replaced?  Consider doing so :)

Kris



msg41528/pgp0.pgp
Description: PGP signature


Re: Spontanious reboots

2002-02-14 Thread mikea

On Thu, Feb 14, 2002 at 09:43:53AM -0800, Kris Kennaway wrote:
 On Thu, Feb 14, 2002 at 05:35:27PM +, Baldur Gislason wrote:
  This box has been spontaniously rebooting for a while, we've replaced most of 
  the hardware
 
 What hardware have you not tested/replaced?  Consider doing so :)

Have you made sure that the power supply isn't sagging under load
and that the CPU(s) are not overheating? Checked all the fans?

Those are two causes of spontaneous reboots that most people
don't think to check. 

Kris, Baldur, and I, of course, check all this, having brought
paranoia up from a mere art form to a true science. ;=)

-- 
Mike Andrews
[EMAIL PROTECTED]
Tired old sysadmin since 1964

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



file: table is full error when it isn't.

2002-02-14 Thread Daniel J. Wright


Hello,

  I'm having troubles with a kernel error:

/kernel: file: table is full

  I've read up on this error, and everything I've found points to this
having to do with trying to open too many files on the same system.
However, just before the system crashes I'm able to run 'fstat | wc -l'
and see that I'm nowhere near my kernel.maxfiles setting.

  Can somebody tell me if that kernel message could be generated by
something other than having too many files open?  Is there a better method
than using fstat to determine how many files are open?

Thanks in advance for any help.

-Dan


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message