Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 1997 10:24:55 -0400
From:      fam@risca.com (Frank Mandarino)
To:        freebsd-questions@FreeBSD.ORG
Subject:   panic: ffs_alloccg: map corrupted
Message-ID:  <97Jul18.102505edt.26881-1@sky.risca.com>

Next in thread | Raw E-Mail | Index | Archive | Help
I have recently set up a news server which crashes on average about once
a week with the following error:

start = 0, len = 2, fs = /mount1
panic: ffs_alloccg: map corrupted

The hardware configuration is:

	ASUS PI55TVP4 Motherboard
	Intel P166
	64MB RAM
	2 x Symbios Logic 8150S (ncr 53c815) Controllers
	1GB + 3 x 2GB SCSI disks
	3c509 ISA Ethernet Card

The 1GB drive and one 2GB drive are attached to the first SCSI
controller, the other two 2GB drives are attached to the other SCSI
controller.  The three 2GB drives are stripped together using ccd with
interleave 65536.  The ccd drive is mounted async, noatime.

The system is running FreeBSD 2.2-970422-RELENG with INN 1.5.1.

I notice that this problem was first reported in Feb 1995 as PR kern/216
and is still open, with severity critical and priority high.

In a mailing list response, Stefan Esser suggested that turning off PCI
burst mode in the PCI BIOS setup might help, however, I don't see such
an option in any of the AMI BIOS Setup screens.

I would greatly appreciate any suggestions on how I might proceed. 
Would upgrading to 2.2.2-RELEASE help?

I have attached a boot -v output.

Thanks,
../fam
-- 
Frank A. Mandarino				fam@risca.com


Serial console forced.
>> FreeBSD BOOT @ 0x10000: 637/64512 k of memory
Usage: [[[0:][wd](0,a)]/kernel][-abcCdghrsv]
Use 1:sd(0,a)kernel to boot sd0 if it is BIOS drive 1
Use ? for file list or press Enter for defaults

Boot:-v
dosdev= 80, biosdrive = 0, unit = 0, maj = 0
Booting 0:sd(0,a)/kernel @ 0x100000
text=0x98000 data=0xe000 bss=0xcf24 symbols=[+0xdc+0x4+0xccc0+0x4+0x10c16]
total=0x1d08de entry point=0x100000
BIOS basemem (637K) != RTC basemem (640K), setting to BIOS value
Copyright (c) 1992-1996 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

FreeBSD 2.2-970422-RELENG #0: Wed Jul  2 11:24:40 EDT 1997
    root@news.risca.com:/usr/src/sys/compile/NEWS-C
Calibrating clock(s) ... i586 clock: 167040476 Hz, i8254 clock: 1193148 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
CLK_USE_I586_CALIBRATION not specified - using old calibration method
CPU: Pentium (167.05-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping=12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 67108864 (65536K bytes)
avail memory = 64061440 (62560K bytes)
pcibus_setup(1):        mode 1 addr port (0x0cf8) is 0x8000005c
pcibus_setup(1a):       mode1res=0x80000000 (0x80000000)
pcibus_check:   device 0 is there (id=70308086)
Probing for devices on PCI bus 0:
        configuration mode 1 allows 32 devices.
chip0 <Intel 82437VX PCI cache memory controller> rev 2 on pci0:0

        PCI Concurrency: enabled
        Cache: 256K pipelined-burst secondary; L1 enabled
        DRAM: no memory hole, 66 MHz refresh
        Read burst timing: x-2-2-2/x-3-3-3
        Write burst timing: x-3-3-3
        RAS-CAS delay: 3 clocks
chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:7:0
chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1
        mapreg[20] type=1 addr=0000e800 size=0010.
        I/O Recovery Timing: 8-bit 3.5 clocks, 16-bit 3.5 clocks
        Extended BIOS: disabled
        Lower BIOS: disabled
        Coprocessor IRQ13: disabled
        Mouse IRQ12: disabled
        Interrupt Routing: A: , B: , C: , D: 
                MB0: , MB1: 
ncr0 <ncr 53c815 scsi> rev 4 int a irq 10 on pci0:9
        mapreg[10] type=1 addr=0000e000 size=0100.
        mapreg[14] type=0 addr=fb000000 size=0100.
        reg20: virtual=0xf6b4d000 physical=0xfb000000 size=0x100
ncr0: restart (scsi reset).
ncr0 scanning for targets 0..6 (V2 pl24 96/12/14)
ncr0 waiting for scsi devices to settle
(ncr0:0:0): "CONNER CFP1060S 1.05GB 2051" type 0 fixed SCSI 2
sd0(ncr0:0:0): Direct-Access 
sd0(ncr0:0:0): 10.0 MB/s (100 ns, offset 8)
1010MB (2070400 512 byte sectors)
sd0(ncr0:0:0): with 2756 cyls, 8 heads, and an average 93 sectors/track
(ncr0:1:0): "Quantum VP32170 89TC" type 0 fixed SCSI 2
sd1(ncr0:1:0): Direct-Access 
sd1(ncr0:1:0): 10.0 MB/s (100 ns, offset 8)
2069MB (4238640 512 byte sectors)
sd1(ncr0:1:0): with 3907 cyls, 10 heads, and an average 108 sectors/track
ncr1 <ncr 53c815 scsi> rev 4 int a irq 11 on pci0:12
        mapreg[10] type=1 addr=0000d800 size=0100.
        mapreg[14] type=0 addr=fa800000 size=0100.
        reg20: virtual=0xf6b50000 physical=0xfa800000 size=0x100
ncr1: restart (scsi reset).
ncr1 scanning for targets 0..6 (V2 pl24 96/12/14)
ncr1 waiting for scsi devices to settle
(ncr1:0:0): "SEAGATE ST32550N 0021" type 0 fixed SCSI 2
sd2(ncr1:0:0): Direct-Access 
sd2(ncr1:0:0): 10.0 MB/s (100 ns, offset 8)
2047MB (4194058 512 byte sectors)
sd2(ncr1:0:0): with 3511 cyls, 11 heads, and an average 108 sectors/track
(ncr1:1:0): "QUANTUM XP32275S LXY4" type 0 fixed SCSI 2
sd3(ncr1:1:0): Direct-Access 
sd3(ncr1:1:0): 10.0 MB/s (100 ns, offset 8)
2170MB (4445380 512 byte sectors)
sd3(ncr1:1:0): with 5899 cyls, 5 heads, and an average 150 sectors/track
pci0: uses 512 bytes of memory from fa800000 upto fb0000ff.
pci0: uses 528 bytes of I/O space from d800 upto e80f.
Probing for devices on the ISA bus:
sc0: the current keyboard controller command byte 0067
kbdio: RESET_KBD return code:00fa
kbdio: RESET_KBD status:00aa
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
1 3C5x9 board(s) on ISA found at 0x300
ep0 at 0x300-0x30f irq 5 on isa
ep0: aui/utp[*UTP*] address 00:60:8c:85:ab:87
npx0 flags 0x1 on motherboard
npx0: INT 16 interface
imasks: bio c0000c40, tty c003009a, net c0020020
BIOS Geometries:
 0:007ffe3f 0..127=128 cylinders, 0..254=255 heads, 1..63=63 sectors
 1:03fa413f 0..1018=1019 cylinders, 0..65=66 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
Considering FFS root f/s.
configure() finished.
ccd0-1: Concatenated disk drivers
sd0s1: type 0xa5, start 63, end = 2056319, size 2056257 : OK
sd1s1: type 0xa5, start 32, end = 4237311, size 4237280 : OK
sd2s1: type 0xa5, start 63, end = 4192964, size 4192902 : OK
sd3s1: type 0xa5, start 63, end = 4433939, size 4433877 : OK
swapon: adding /dev/sd0s1b as swap device
swapon: adding /dev/sd1s1b as swap device
Automatic reboot in progress...
/dev/rsd0a: clean, 50132 free (36 frags, 6262 blocks, 0.1% fragmentation)
/dev/rsd0s1e: clean, 440538 free (498 frags, 55005 blocks, 0.1% fragmentation)
/dev/rccd0c: clean, 3152031 free (292551 frags, 357435 blocks, 5.1% fragmentation)
ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.9.200.8 netmask 0xffffff00 broadcast 192.9.200.255
        ether 00:60:8c:85:ab:87 
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000 
add net default: gateway 192.9.200.1
add net 192.9.201: gateway 192.9.200.3
clearing /tmp
recording kernel -c changes
starting system daemons: syslogd.
Jul 18 08:29:31 news /kernel: kbdio: RESET_KBD return code:00fa
Jul 18 08:29:31 news /kernel: kbdio: RESET_KBD status:00aa
starting early network daemons: tickadj ntpdate portmap.
starting other network daemons:.
setting ldconfig path: /usr/lib /usr/lib/compat /usr/local/lib
standard daemons: inetd cron.
enabling FreeBSD/i386 options:.
configuring syscons: keyrate blank_time screensaver.
.
Local package startup:.
starting local daemons: inn.
Fri Jul 18 08:29:37 EDT 1997

FreeBSD (news.risca.com) (ttyd0)

login: 



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?97Jul18.102505edt.26881-1>