Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2000 19:46:23 +0300 (MSK)
From:      Vladimir Faiden <vovus@ispras.ru>
To:        freebsd-questions@freebsd.org
Subject:   HP NetServer E40 CRASH (FreeBSD-3.3)
Message-ID:  <Pine.GSO.4.20.0002191937010.12826-100000@ispserv.ispras.ru>

next in thread | raw e-mail | index | archive | help

Hi, people!

Hope, somebody can help me to solve and/or understand the problem.
The problem is very critical to my Internet server.
My "HP NetServer E40" panics with unpredictibale time intervals with
"page fault" error.
It has to SCSI disk (Seagate and HP, see "dmesg" output below) on one
SCSI controller (AHA 2910).

Some history:

FreeBSD-3.3 was initialy installed on Seagate disk (da1, because on
da0 was the Linux - the previous OS of my server) and the crash happened
with interval of 1-2 days.
I reconfigured the kernel (compiled it with simbols for debug) - leaved
out all unnessesery drivers and turned on the "dumpon" in case of
crash. The system worked fine about two mounth without rebooting and
reconfiguration. But then I need to install the second disk (da0 - with
Linux OS installed on it). I formated, partitioned, installed "freebsd
ufs" on da0 (without "swap" - the swap is on da1) and my system start to
crash again, with intervals about 1-2 days.
It seems the problem is other with my SCSI adapter or my SCSI disk's or
the driver. And I don't see any "error" messages in any log's.
Below is the long listing, that can help (I hope) understand the problem
by experienced people.

Thank for the help in advance.

--Vladimir, (I'm sorry for my ugly english..

/*
 *
 * CRASH DUMP DEBUG:
 *
 */

(kgdb)
(kgdb) symbol-file kernel.deb
Reading symbols from kernel.deb...done.

(kgdb) exec-file /var/crash/kernel.5
(kgdb) core-file /var/crash/vmcore.5
IdlePTD 2703360
initial pcb at 264cd0
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x387a1004
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01ea1b7
stack pointer           = 0x10:0xc4e51db8
frame pointer           = 0x10:0xc4e51dd8
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 8198 (httpd)      <--- REALLY ANY STUFF
interrupt mask          =
trap number             = 12
panic: page fault

syncing disks... 14 14 5 done

dumping to dev 40409, offset 157460
dump 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59
58
57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34
33
32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8
7
6 5 4 3 2 1
---
#0  boot (howto=256) at ../../kern/kern_shutdown.c:285
285                     dumppcb.pcb_cr3 = rcr3();
(kgdb) where
#0  boot (howto=256) at ../../kern/kern_shutdown.c:285
#1  0xc0150548 in at_shutdown (
    function=0xc0244852 <__set_sysinit_set_sym_memdev_sys_init+1050>,
    arg=0xc4da2b20, queue=-991617668) at ../../kern/kern_shutdown.c:446
#2  0xc0214c81 in trap_fatal (frame=0xc4e51d7c, eva=947523588)
    at ../../i386/i386/trap.c:942
#3  0xc021495f in trap_pfault (frame=0xc4e51d7c, usermode=0,eva=947523588)
    at ../../i386/i386/trap.c:835
#4  0xc0214602 in trap (frame={tf_es = 16, tf_ds = -991625200,
      tf_edi = 947523584, tf_esi = -991625152, tf_ebp = -991617576,
      tf_isp = -991617628, tf_ebx = 947523584, tf_edx = -993350144,
      tf_ecx = 3, tf_eax = -991617516, tf_trapno = 12, tf_err = 0,
      tf_eip = -1071734345, tf_cs = 8, tf_eflags = 66050, tf_esp=-992561146,
      tf_ss = -991617220}) at ../../i386/i386/trap.c:437
#5  0xc01ea1b7 in ufs_access (ap=0xc4e51e14) at ../../ufs/ufs/ufs_vnops.c:327
#6  0xc01eca0d in ufs_vnoperate (ap=0xc4e51e14)  
    at ../../ufs/ufs/ufs_vnops.c:2299
#7  0xc0170f30 in vfs_cache_lookup (ap=0xc4e51e70) at vnode_if.h:219
#8  0xc01eca0d in ufs_vnoperate (ap=0xc4e51e70)
    at ../../ufs/ufs/ufs_vnops.c:2299
#9  0xc01735a9 in lookup (ndp=0xc4e51f18) at vnode_if.h:31
#10 0xc017307c in namei (ndp=0xc4e51f18) at ../../kern/vfs_lookup.c:152
#11 0xc01773d9 in change_dir (ndp=0xc4e51f18, p=0xc4da2b20)
    at ../../kern/vfs_syscalls.c:880
#12 0xc0177337 in chdir (p=0xc4da2b20, uap=0xc4e51f94)
    at ../../kern/vfs_syscalls.c:830
#13 0xc0214ec3 in syscall (frame={tf_es = 39, tf_ds = 39,
      tf_edi = -1077944844, tf_esi = 1, tf_ebp = -1077961808,
      tf_isp = -991617052, tf_ebx = 134665748, tf_edx = 136469257,tf_ecx= 0,
      tf_eax = 12, tf_trapno = 12, tf_err = 2, tf_eip = 673158800, tf_cs=31,
      tf_eflags = 530, tf_esp = -1077970012, tf_ss = 39})
    at ../../i386/i386/trap.c:1100
#14 0xc020b39c in Xint0x80_syscall ()
#15 0x806d669 in ?? ()
#16 0x8099479 in ?? ()
#17 0x80996b4 in ?? ()
#18 0x806d9af in ?? ()
#19 0x809bc5b in ?? ()
#20 0x80afadd in ?? ()
#21 0x80afb3c in ?? ()
#22 0x80a6189 in ?? ()
#23 0x80a63c0 in ?? ()
#24 0x80a646f in ?? ()
#25 0x80a6a20 in ?? ()
#26 0x80a7273 in ?? ()
#27 0x80554e9 in ?? ()
(kgdb)


/*
 *
 * OUTPUT OF ``dmesg'' COMMAND:
 *
 */

Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.3-RELEASE #2: Thu Dec 16 18:37:32 MSK 1999
    <I'm>@<my.place>:/usr/src/sys/compile/HELIOS.DEB
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 180079457 Hz
CPU: Pentium Pro (180.08-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x619  Stepping = 9

Features=0xf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV>

real memory  = 83886080 (81920K bytes)
avail memory = 78815232 (76968K bytes)
Pentium Pro MTRR support enabled
Probing for devices on PCI bus 0:
Correcting Natoma config for non-SMP
chip0: <Intel 82440FX (Natoma) PCI and memory controller> rev 0x02 on 
pci0.0.0
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.4.0
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x02 int a irq 9 on
pci0.6.0
fxp0: Ethernet address 00:a0:c9:9e:49:88

/* SCSI CONTROLLER (AHA 2910): */

ahc0: <Adaptec aic7850 SCSI adapter> rev 0x01 int a irq 11 on pci0.7.0
ahc0: aic7850 Single Channel A, SCSI Id=7, 3/255 SCBs

fxp1: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x01 int a irq 10 on
pci0.10.0
fxp1: Ethernet address 00:60:b0:3c:85:b2
fxp2: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x02 int a irq 5 on
pci0.12.0
fxp2: Ethernet address 00:a0:c9:f2:ad:60
vga0: <Cirrus Logic GD5446 SVGA controller> rev 0x00 on pci0.13.0
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
psm0: model Generic PS/2 mouse, device ID 0
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <HITACHI CDR-8330/0007>, removable, accel, dma, 
iordis
acd0: drive speed 1779 - 4134KB/sec, 128KB cache
acd0: supported read types: CD-R, CD-RW, CD-DA, packet track
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
ppc0 at 0x378 irq 7 flags 0x40 on isa
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
plip0: <PLIP network interface> on ppbus 0
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
IP Filter: initialized.  Default = pass all, Logging = enabled
IP Filter: v3.3.1
Waiting 15 seconds for SCSI devices to settle

/* THIS ARE MY SCSI DISK's (ROOT ON da1): */

changing root device to da1s1a

da0 at ahc0 bus 0 target 0 lun 0
da0: <HP 2.13GB B 50-0F0J > Fixed Direct Access SCSI-2 device
da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da0: 2033MB (4165272 512 byte sectors: 255H 63S/T 259C)

da1 at ahc0 bus 0 target 1 lun 0
da1: <SEAGATE ST32151N 0284> Fixed Direct Access SCSI-2 device
da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da1: 2049MB (4197405 512 byte sectors: 255H 63S/T 261C)

WARNING: / was not properly dismounted

/*
 *
 * THE NEXT IS MY KERNEL CONFIG FILE.
 *
 */

# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.143.2.22 1999/09/14 22:53:30
jkh Exp $

machine         "i386"
#cpu            "I386_CPU"
#cpu            "I486_CPU"
#cpu            "I586_CPU"
cpu             "I686_CPU"
ident           HELIOS
maxusers        32

##options       MATH_EMULATE            #Support for x87 emulation
options         INET                    #InterNETworking

options         IPFILTER
options         IPFILTER_LOG
options         SC_DISABLE_REBOOT       # disable reboot key sequence
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep
this!]
options         MFS                     #Memory Filesystem
options         MFS_ROOT                #MFS usable as root device,
"MFS" req'ed
options         NFS                     #Network Filesystem
options         NFS_ROOT                #NFS usable as root device,"NFS"
req'ed
options         MSDOSFS                 #MSDOS Filesystem
options         "CD9660"                #ISO 9660 Filesystem
options         "CD9660_ROOT"           #CD-ROM usable as root. "CD9660"
req'ed
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
options         SCSI_DELAY=15000        #Be pessimistic about Joe SCSI
device
options         UCONSOLE                #Allow users to grab the console

options         FAILSAFE                #Be conservative
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         KTRACE                  #ktrace(1) syscall trace support

options         "EXT2FS"                #Linux file system support

options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores

##config          kernel        root on wd0
config                kernel  root on da1


# To make an SMP kernel, the next two are needed
#options        SMP                     # Symmetric MultiProcessorKernel
#options        APIC_IO                 # Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#options        NCPU=2                  # number of CPUs
#options        NBUS=4                  # number of busses
#options        NAPIC=1                 # number of IO APICs
#options        NINTR=24                # number of INTs

controller      isa0
controller      pnp0                    # PnP support for ISA
controller      eisa0
controller      pci0

# Floppy drives
controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2
disk            fd0     at fdc0 drive 0
##disk          fd1     at fdc0 drive 1

# IDE controller and disks
options         "CMD640"        # work around CMD640 chip deficiency
##controller    wdc0    at isa? port "IO_WD1" bio irq 14
##disk          wd0     at wdc0 drive 0
##disk          wd1     at wdc0 drive 1

controller      wdc1    at isa? port "IO_WD2" bio irq 15
##disk          wd2     at wdc1 drive 0
##disk          wd3     at wdc1 drive 1

# ATAPI devices
options         ATAPI           #Enable ATAPI support for IDE bus
options         ATAPI_STATIC    #Don't do it as an LKM
device          acd0            #IDE CD-ROM
device          wfd0            #IDE Floppy (e.g. LS-120)

# SCSI Controllers
# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
##controller    ncr0            # NCR/Symbios Logic
##controller    ahb0            # EISA AHA1742 family
controller      ahc0            # AHA2940 and onboard AIC7xxx devices
##controller    amd0            # AMD 53C974 (Teckram DC-390(T))
##controller    isp0            # Qlogic family
##controller    dpt0            # DPT Smartcache - See LINT for options!

##controller    adv0    at isa? port ? cam irq ?
##controller    adw0
##controller    bt0     at isa? port ? cam irq ?
##controller    aha0    at isa? port ? cam irq ?

# SCSI peripherals
# Only one of each of these is needed, they are dynamically allocated.
controller      scbus0          # SCSI bus (required)
device          da0             # Direct Access (disks)
device          sa0             # Sequential Access (tape etc)
##device          cd0           # CD
device          pass0           # Passthrough device (direct SCSI)

# Proprietary or custom CD-ROM Interfaces
##device          wt0   at isa? port 0x300 bio irq 5 drq 1
##device          mcd0  at isa? port 0x300 bio irq 10
##device          matcd0        at isa? port 0x230 bio
##device          scd0  at isa? port 0x230 bio

# atkbdc0 controls both the keyboard and the PS/2 mouse
controller      atkbdc0 at isa? port IO_KBD tty
device          atkbd0  at isa? tty irq 1
device          psm0    at isa? tty irq 12

device          vga0    at isa? port ? conflicts

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? tty

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device         vt0     at isa? tty
#options        XSERVER                 # support for X server
#options        FAT_CURSOR              # start with block cursor


# If you have a ThinkPAD, uncomment this along with the rest of the PCVTlines
#options        PCVT_SCANSET=2          # IBM keyboards are non-std

# Floating point support - do not disable.
device          npx0    at isa? port IO_NPX irq 13

# Power management support (see LINT for more options)
device          apm0    at isa? disable flags 0x31 # Advanced PowerManagement

# PCCARD (PCMCIA) support
#controller     card0
#device         pcic0   at card?
#device         pcic1   at card?

# Serial (COM) ports
device          sio0    at isa? port "IO_COM1" flags 0x10 tty irq 4
device          sio1    at isa? port "IO_COM2" tty irq 3
device          sio2    at isa? disable port "IO_COM3" tty irq 5
device          sio3    at isa? disable port "IO_COM4" tty irq 9

# Parallel port
device          ppc0    at isa? port? flags 0x40 net irq 7
controller      ppbus0                  # Parallel port bus (required)
device          lpt0    at ppbus?       # Printer
device          plip0   at ppbus?       # TCP/IP over parallel
device          ppi0    at ppbus?       # Parallel port interface device

#controller     vpo0    at ppbus?       # Requires scbus and da0


# PCI Ethernet NICs.
##device          al0           # ADMtek AL981 (``Comet'')
##device          ax0           # ASIX AX88140A
##device          de0           # DEC/Intel DC21x4x (``Tulip'')
device          fxp0            # Intel EtherExpress PRO/100B (82557,82558)
##device          mx0           # Macronix 98713/98715/98725 (``PMAC'')
##device          pn0           # Lite-On 82c168/82c169 (``PNIC'')
##device          rl0           # RealTek 8129/8139
##device          sf0           # Adaptec AIC-6915 DuraLAN(``Starfire'')
##device          tl0           # Texas Instruments ThunderLAN
##device          tx0           # SMC 9432TX (83c170 ``EPIC'')
##device          vr0           # VIA Rhine, Rhine II
##device          vx0           # 3Com 3c590, 3c595 (``Vortex'')
##device          wb0           # Winbond W89C840F
##device          xl0           # 3Com 3c90x (``Boomerang'',``Cyclone'')

# ISA Ethernet NICs.
# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
##device          ed0   at isa? port 0x280 net irq 10 iomem 0xd8000
##device          ie0   at isa? port 0x300 net irq 10 iomem 0xd0000
##device          ep0   at isa? port 0x300 net irq 10
##device          ex0   at isa? port? net irq?
##device          fe0   at isa? port 0x300 net irq ?

##device          le0   at isa? port 0x300 net irq 5 iomem 0xd0000
##device          lnc0  at isa? port 0x280 net irq 10 drq 0
##device          cs0   at isa? port 0x300 net irq ?
# requires PCCARD (PCMCIA) support to be activated
#device         xe0     at isa? port? net irq ?

# PCCARD NIC drivers.
# ze and zp take over the pcic and cannot coexist with generic pccard
# support, nor the ed and ep drivers they replace.
##device          ze0   at isa? port 0x300 net irq 10 iomem 0xd8000
##device          zp0   at isa? port 0x300 net irq 10 iomem 0xd8000

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
##pseudo-device sl      1       # Kernel SLIP
##pseudo-device ppp     1       # Kernel PPP
pseudo-device   tun     2       # Packet tunnel
pseudo-device   pty     16      # Pseudo-ttys (telnet etc)
pseudo-device   gzip            # Exec gzipped a.out's

# The `bpfilter' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# The number of devices determines the maximum number of
# simultaneous BPF clients programs runnable.
pseudo-device   bpfilter 3      #Berkeley packet filter

================================================
e-mail:  vovus@ispras.ru
icq#  :  3991753
================================================






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.20.0002191937010.12826-100000>