Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Dec 2000 16:55:30 -0500 (EST)
From:      Kenneth Wayne Culver <culverk@wam.umd.edu>
To:        freebsd-stable@freebsd.org, freebsd-current@freebsd.org
Subject:   kernel panics in 4.2
Message-ID:  <Pine.GSO.4.21.0012011654230.7810-100000@rac2.wam.umd.edu>

next in thread | raw e-mail | index | archive | help
I sent this message to -questions earlier, but nobody seems to know about
my problem:

I just recently tried putting an adaptec 2940w SCSI controller into my
FreeBSD machine (running -STABLE cvsupped and recompiled every night at
1:30AM) and since including the driver in my kernel I've noticed some
random panics. Most of the time they occur during heavy disk activity, and
usually only when I'm running X (hence the reason I couldn't tell you the
panic message). Even wierder still, I don't even have any SCSI devices
connected yet; I'm using only IDE disks connected via the motherboard's
builtin ATA66. I have also searched the various FreeBSD mailinglist
archives and found some people with the same problems I was having, but no
solutions. Crashes do not occur in Windows with this configuration (at
least not any more than usual :-) ) and when I take the ahc driver out of
the kernel, the panics stop. I've included my dmesg -v output and my
kernel config file, please let me know if anything else is needed.

Copyright (c) 1992-2000 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.2-STABLE #0: Fri Dec  1 11:55:01 EST 2000
    culverk@culverk.student.umd.edu:/usr/src/sys/compile/MYKERNEL
Calibrating clock(s) ... TSC clock: 800028138 Hz, i8254 clock: 1193181 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
CPU: AMD Athlon(tm) Processor (800.03-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x642  Stepping = 2
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
  AMD Features=0xc0440000<<b18>,AMIE,DSP,3DNow!>
Data TLB: 24 entries, fully associative
Instruction TLB: 16 entries, fully associative
L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L2 internal cache: 256 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative
real memory  = 134152192 (131008K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009ffff, 651264 bytes (159 pages)
0x0035d000 - 0x07fe7fff, 130592768 bytes (31883 pages)
avail memory = 127324160 (124340K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00faf90
bios32: Entry = 0xfb400 (c00fb400)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xb430
pnpbios: Found PnP BIOS data at 0xc00fbf00
pnpbios: Entry = f0000:bf30  Rev = 1.0
Other BIOS signatures found:
ACPI: 000f7ad0
Preloaded elf kernel "kernel" at 0xc0337000.
Preloaded elf module "if_xl.ko" at 0xc03370a8.
Preloaded elf module "miibus.ko" at 0xc0337148.
Preloaded elf module "usb.ko" at 0xc03371e8.
Preloaded elf module "ums.ko" at 0xc0337284.
Preloaded elf module "bktr_mem.ko" at 0xc0337320.
Preloaded elf module "bktr.ko" at 0xc03373c0.
Preloaded elf module "agp.ko" at 0xc033745c.
bktr_mem: memory holder loaded
Pentium Pro MTRR support enabled
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80003840
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=03051106)
pcib-: pcib0 exists, using next available unit number
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=03051106)
pcib0: <Host to PCI bridge> on motherboard
found->	vendor=0x1106, dev=0x0305, revid=0x02
	class=06-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[10]: type 1, range 32, base d8000000, size 26
found->	vendor=0x1106, dev=0x8305, revid=0x00
	class=06-04-00, hdrtype=0x01, mfdev=0
	subordinatebus=1 	secondarybus=1
found->	vendor=0x1106, dev=0x0686, revid=0x22
	class=06-01-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x1106, dev=0x0571, revid=0x10
	class=01-01-8a, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[20]: type 1, range 32, base 0000d000, size  4
found->	vendor=0x1106, dev=0x3038, revid=0x10
	class=0c-03-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=d, irq=10
	map[20]: type 1, range 32, base 0000d400, size  5
found->	vendor=0x1106, dev=0x3038, revid=0x10
	class=0c-03-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=d, irq=10
	map[20]: type 1, range 32, base 0000d800, size  5
found->	vendor=0x1106, dev=0x3057, revid=0x30
	class=06-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
found->	vendor=0x109e, dev=0x036e, revid=0x02
	class=04-00-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
	map[10]: type 1, range 32, base df002000, size 12
found->	vendor=0x109e, dev=0x0878, revid=0x02
	class=04-80-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
	map[10]: type 1, range 32, base df000000, size 12
found->	vendor=0x9004, dev=0x7178, revid=0x03
	class=01-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=11
	map[10]: type 1, range 32, base 0000dc00, size  8
	map[14]: type 1, range 32, base df001000, size 12
found->	vendor=0x10b7, dev=0x9200, revid=0x78
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
	map[10]: type 1, range 32, base 0000e000, size  7
	map[14]: type 1, range 32, base df003000, size  7
found->	vendor=0x1011, dev=0x0009, revid=0x22
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=12
	map[10]: type 1, range 32, base 0000e400, size  7
	map[14]: type 1, range 32, base df004000, size  7
found->	vendor=0x1274, dev=0x5880, revid=0x02
	class=04-01-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=12
	map[10]: type 1, range 32, base 0000e800, size  6
pci0: <PCI bus> on pcib0
agp0: <VIA VT8363 (KT133) host to PCI bridge> mem 0xd8000000-0xdbffffff at device 0.0 on pci0
agp0: allocating GATT for aperture of size 256M
pcib2: <VIA VT8363 (KT133) PCI-PCI (AGP) bridge> at device 1.0 on pci0
found->	vendor=0x10de, dev=0x0110, revid=0xa1
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=5
	map[10]: type 1, range 32, base dc000000, size 24
	map[14]: type 1, range 32, base d0000000, size 27
pci1: <PCI bus> on pcib2
pci1: <NVidia model 0110 graphics accelerator> (vendor=0x10de, dev=0x0110) at 0.0 irq 5
isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA66 controller> port 0xd000-0xd00f at device 7.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xd000
ata0: mask=03 status0=50 status1=00
ata0: mask=03 ostat0=50 ostat2=00
ata0-master: ATAPI probe a=00 b=00
ata0-slave: ATAPI probe a=14 b=eb
ata0: mask=03 status0=50 status1=00
ata0-master: ATA probe a=01 b=a5
ata0: devices=09
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xd008
ata1: mask=03 status0=50 status1=50
ata1: mask=03 ostat0=50 ostat2=50
ata1-master: ATAPI probe a=00 b=00
ata1-slave: ATAPI probe a=00 b=00
ata1: mask=03 status0=50 status1=50
ata1-master: ATA probe a=01 b=a5
ata1-slave: ATA probe a=01 b=a5
ata1: devices=03
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 10 at device 7.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Logitech USB Mouse, rev 1.10/6.10, addr 2, iclass 3/1
ums0: 4 buttons and Z dir.
uhci1: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 10 at device 7.3 on pci0
	using shared irq10.
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
bktr0: <BrookTree 878> mem 0xdf002000-0xdf002fff irq 10 at device 8.0 on pci0
brooktree0: PCI bus latency is 32.
bktr0: buffer size 3555328, addr 0x5000000
bktr0: GPIO is 0x00fffffb
bktr0: subsystem 0x0070 0x13eb
bktr0: Hauppauge Model 61291 D110
bktr0: Hauppauge WinCast/TV, Philips NTSC tuner, remote control.
pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 8.1 irq 10
ahc0: <Adaptec 2940 SCSI adapter> port 0xdc00-0xdcff mem 0xdf001000-0xdf001fff irq 11 at device 9.0 on pci0
ahc0: Reading SEEPROM...done.
ahc0: Low byte termination Enabled
ahc0: High byte termination Enabled
ahc0: Downloading Sequencer Program... 429 instructions downloaded
aic7870: Wide Channel A, SCSI Id=7, 16/255 SCBs
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xe000-0xe07f mem 0xdf003000-0xdf00307f irq 10 at device 11.0 on pci0
xl0: Ethernet address: 00:01:02:3e:18:41
xl0: media options word: a
xl0: found MII/AUTO
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpf: xl0 attached
de0: <Digital 21140A Fast Ethernet> port 0xe400-0xe47f mem 0xdf004000-0xdf00407f irq 12 at device 13.0 on pci0
de0: 21140A [10-100Mb/s] pass 2.2
de0: address 00:c0:f0:1f:21:02
bpf: de0 attached
pcm0: <AudioPCI ES1371> port 0xe800-0xe83f irq 12 at device 15.0 on pci0
pcm0: ac97 codec id 0x83847609 (SigmaTel STAC9721)
pcm0: ac97 codec features 18 bit DAC, 18 bit ADC, 5 bit master volume, SigmaTel 3D Enhancement
pcm0: ac97 primary codec extended features AMAP
	using shared irq12.
pcm: setmap 7ded000, 1000; 0xc0bd9000 -> 7ded000
pcm: setmap 7e12000, 1000; 0xc0bde000 -> 7e12000
pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=03051106)
pci-: pci1 exists, using next available unit number
pcib1: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
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
atkbd: the current kbd controller command byte 0067
atkbd: keyboard ID 0x41ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 54 80 
bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 54 80 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 54 80 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
ppc0: parallel port found at 0x378
ppc0: using extended I/O port range
ppc0: EPP SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
isa_probe_children: probing PnP devices
BIOS Geometries:
 0:03ff0f3f 0..1023=1024 cylinders, 0..15=16 heads, 1..63=63 sectors
 1:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
 2:03ff0f3f 0..1023=1024 cylinders, 0..15=16 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: lo0 attached
IP packet filtering initialized, divert enabled, rule-based forwarding disabled, default to deny, logging disabled
ata0-master: success setting UDMA2 on VIA chip
Creating DISK ad0
Creating DISK wd0
ad0: <Maxtor 90845D4/GAS54112> ATA-4 disk at ata0-master
ad0: 8063MB (16514064 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 1 depth queue, UDMA33
ad0: piomode=4 dmamode=2 udmamode=2 cblid=0
ad0: 8063MB <Maxtor 90845D4> [16383/16/63] at ata0-master UDMA33
ata1-master: success setting UDMA4 on VIA chip
Creating DISK ad1
Creating DISK wd1
ad1: <Maxtor 91366U4/RA530JN0> ATA-5 disk at ata1-master
ad1: 13029MB (26684784 sectors), 26473 cyls, 16 heads, 63 S/T, 512 B/S
ad1: 16 secs/int, 1 depth queue, UDMA66
ad1: piomode=4 dmamode=2 udmamode=4 cblid=1
ad1: 13029MB <Maxtor 91366U4> [26473/16/63] at ata1-master UDMA66
ata1-slave: success setting UDMA4 on VIA chip
Creating DISK ad2
Creating DISK wd2
ad2: <Maxtor 51536H3/DAC10SC0> ATA-6 disk at ata1-slave
ad2: 14655MB (30015216 sectors), 29777 cyls, 16 heads, 63 S/T, 512 B/S
ad2: 16 secs/int, 1 depth queue, UDMA66
ad2: piomode=4 dmamode=2 udmamode=5 cblid=1
ad2: 14655MB <Maxtor 51536H3> [29777/16/63] at ata1-slave UDMA66
ata0-slave: piomode=4 dmamode=2 udmamode=2 dmaflag=1
ata0-slave: success setting UDMA2 on VIA chip
acd0: <TOSHIBA DVD-ROM SD-M1212/1R22> DVD-ROM drive at ata0 as slave
acd0: read 5512KB/s (5512KB/s), 256KB buffer, UDMA33
acd0: Reads: CD-R, CD-RW, CD-DA stream, DVD-ROM, DVD-R
acd0: Audio: play, 16 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
Waiting 10 seconds for SCSI devices to settle
(noperiph:ahc0:0:-1:-1): SCSI bus reset delivered. 0 SCBs aborted.
de0: enabling 10baseT port
Mounting root from ufs:/dev/ad1s1a
ad1s1: type 0xa5, start 63, end = 26683964, size 26683902 : OK
start_init: trying /sbin/init
ad2s1: type 0xa5, start 63, end = 30015215, size 30015153 : OK
Linux-ELF exec handler installed
splash: image decoder found: blank_saver

Here is my custom kernel config file.

machine		i386
cpu		I686_CPU
ident		"MYKERNEL"
maxusers	64

options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	UCONSOLE		#Allow users to grab the console
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extensions
options 	_KPOSIX_PRIORITY_SCHEDULING
options		ICMP_BANDLIM		#Rate limit bad replies
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev

device		isa
device		pci

# Floppy drives
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0

device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
#options 	ATA_STATIC_ID		#Static device numbering
options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices

device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1 flags 0x1

device		vga0	at isa?

# splash screen/screen saver
pseudo-device	splash

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

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

# Power management support (see LINT for more options)
device		apm0    at nexus? # Advanced Power Management

# Serial (COM) ports
device		sio

# Parallel port
device		ppc0	at isa? irq 7
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer


# PCI Ethernet NICs.
device		de		# DEC/Intel DC21x4x (``Tulip'')

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	pty		# Pseudo-ttys (telnet etc)

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device	bpf		#Berkeley packet filter

options IPFIREWALL
options IPDIVERT
options SC_DISABLE_REBOOT

device pcm
device ahc
device scbus
device da
device cd

options SCSI_DELAY=10000




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" 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.21.0012011654230.7810-100000>