Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  6 Aug 2002 15:21:29 +0200 (CEST)
From:      Hellmuth Michaelis <hm@hcs.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/41374: panic: Removing other than first element
Message-ID:  <20020806132129.7532E147@hmnote.hcs.de>

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

>Number:         41374
>Category:       kern
>Synopsis:       panic: Removing other than first element
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 06 06:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hellmuth Michaelis
>Release:        FreeBSD 4.6-STABLE
>Organization:
>Environment:

System: FreeBSD 4.6-STABLE FreeBSD 4.6-STABLE #1: Sun Aug  4 11:16:32 CEST 2002

Kernel config:
--------------
machine		i386
cpu		I586_CPU
ident		ERNIE
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 	UFS_DIRHASH		#Improve performance on big directories
options 	NFS			#Network Filesystem
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=3000		#Delay (in ms) before probing SCSI
options 	KTRACE			#ktrace(1) support
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

# USB debugging
options 	DIAGNOSTIC

# local stuff
options		DDB
options		DDB_UNATTENDED

options		MSGBUF_SIZE=40960

options		IPFILTER
options		IPFILTER_LOG

options		NETGRAPH
options		NETGRAPH_ETHER
options		NETGRAPH_SOCKET
options		NETGRAPH_PPPOE

options 	IPSEC
options 	IPSEC_ESP

options         CONSPEED=9600

# Busses
device		isa
device		pci

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

# ATA and ATAPI devices
device		ata0	at isa? port IO_WD1 irq 14
device		ata1	at isa? port IO_WD2 irq 15
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
options 	ATA_STATIC_ID		#Static device numbering

# SCSI Controllers
device		sym		# NCR/Symbios Logic (newer chipsets)

# SCSI peripherals
device		scbus		# SCSI bus (required)
device		da		# Direct Access (disks)
device		sa		# Sequential Access (tape etc)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1 flags 0x1

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
device		vt0	at isa?

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

# Serial (COM) ports
device		sio0	at isa? port IO_COM1 flags 0x30 irq 4
#device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3

# AST 4port ser
options		COM_MULTIPORT
device		sio2	at isa? port 0x1a0 flags 0x501
device		sio3	at isa? port 0x1a8 flags 0x501
device		sio4	at isa? port 0x1b0 flags 0x501
device		sio5	at isa? port 0x1b8 flags 0x501 irq 7

# PCI Ethernet NICs.
device		miibus		# MII bus support
device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# ISA Ethernet NICs.
device		ep

# hardware monitoring
device		smbus
device		smb
device		viapm
device		iicbus
device		iicbb

# Pseudo devices - the number indicates how many units to allocate.
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	tun		# Packet tunnel.
pseudo-device	pty		# Pseudo-ttys (telnet etc)
pseudo-device	bpf		# Berkeley packet filter
pseudo-device	sppp		# Generic Synchronous PPP

# ISDN

options 	ELSA_QS1PCI	# ELSA Microlink PCI
device		isic0

options		TEL_S0_16	# Teles S0/16
device		isic1	at isa? port 0xd80 iomem 0xd0000 irq 9 flags 2

pseudo-device	"i4bq921"
pseudo-device	"i4bq931"
pseudo-device	"i4b"
pseudo-device	"i4btrc"	4
pseudo-device	"i4bctl"
pseudo-device	"i4brbch"	4
pseudo-device	"i4btel"	2
pseudo-device	"i4bisppp"	2

# USB support
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		usb		# USB Bus (required)
device		ugen		# Generic

# USB Ethernet, requires mii
device		aue		# ADMtek USB ethernet

Startup messages:
-----------------

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.6-STABLE #1: Sun Aug  4 11:16:32 CEST 2002
    root@XXXXXXXXXXX:/usr/src/sys/compile/ERNIE
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 551252665 Hz
CPU: AMD-K6(tm) 3D processor (551.25-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
  Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
  AMD Features=0x80000800<SYSCALL,3DNow!>
real memory  = 167772160 (163840K bytes)
avail memory = 159150080 (155420K bytes)
Preloaded elf kernel "kernel" at 0xc03e8000.
K6-family MTRR support enabled (2 registers)
Using $PIR table, 7 entries at 0xc00fde20
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <VIA 82C598MVP (Apollo MVP3) host bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <S3 Trio3D/2X graphics accelerator> at 0.0
isab0: <VIA 82C596B PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C596 ATA66 controller> port 0xd000-0xd00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
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
uhci_device_request: not done, ii=0xc0c1d900
uhub1: Texas Instruments UT-USB41 hub, class 9/0, rev 1.00/1.00, addr 2
uhub1: 4 ports with 4 removable, self powered
uhci_device_intr_transfer: not done, ii=0xc0c1d8a0
uhci_device_request: not done, ii=0xc0c1d880
aue0: USBs USB 10/100 Fast Ethernet, rev 1.10/1.01, addr 3
aue0: Ethernet address: 00:50:ba:7e:e9:db
miibus0: <MII bus> on aue0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
uhci_device_request: not done, ii=0xc0c1d720
ugen0: OmniVision OV511+ Camera, rev 1.00/1.00, addr 4
viapropm0: SMBus I/O base at 0x5000
viapropm0: <VIA VT82C596A Power Management Unit> port 0x5000-0x500f at device 7.3 on pci0
viapropm0: SMBus revision code 0x0
smb0: <SMBus general purpose I/O> on smbus0
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xd800-0xd87f mem 0xe7001000-0xe700107f irq 12 at device 17.0 on pci0
xl0: Ethernet address: 00:10:5a:f6:c4:a1
miibus1: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus1
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sym0: <875> port 0xdc00-0xdcff mem 0xe7000000-0xe7000fff,0xe7003000-0xe70030ff irq 5 at device 18.0 on pci0
sym0: Tekram NVRAM, ID 7, Fast-20, SE, parity checking
isic0: <ELSA MicroLink ISDN/PCI> port 0xe400-0xe403,0xe000-0xe07f mem 0xe7002000-0xe700207f irq 12 at device 19.0 on pci0
isic0: passive stack unit 0
pcib1: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
pci2: <unknown card> (vendor=0x0800, dev=0x0800) at 0.0
vt0 on isa0
vt0: unkown s3, 80 col, color, 8 scr, mf2-kbd, [R3.20-b24]
vt0: driver is using old-style compatability shims
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
ep0: <3Com 3C509-TP EtherLink III> at port 0x220-0x22f irq 11 on isa0
ep0: Ethernet address 00:20:af:4a:26:1f
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
sio0 at port 0x3f8-0x3ff irq 4 flags 0x30 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio2 at port 0x1a0-0x1a7 flags 0x501 on isa0
sio2: type 16450 (multiport)
sio3 at port 0x1a8-0x1af flags 0x501 on isa0
sio3: type 16450 (multiport)
sio4 at port 0x1b0-0x1b7 flags 0x501 on isa0
sio4: type 16450 (multiport)
sio5 at port 0x1b8-0x1bf irq 7 flags 0x501 on isa0
sio5: type 16550A (multiport master)
isic1 at port 0xd80 iomem 0xd0000-0xd0fff irq 9 flags 0x2 on isa0
isic1: passive stack unit 1
isic1: Teles S0/16 (or compatible)
i4b: ISDN call control device attached
i4btel: 2 ISDN telephony interface device(s) attached
i4brbch: 4 raw B channel access device(s) attached
i4bctl: ISDN system control port attached
i4btrc: 4 ISDN trace device(s) attached
i4bisppp: 2 ISDN SyncPPP device(s) attached
IPsec: Initialized Security Association Processing.
IP Filter: v3.4.27 initialized.  Default = pass all, Logging = enabled
ata1-slave: ATAPI identify retries exceeded
ad0: 19623MB <IBM-DTLA-305020> [39870/16/63] at ata0-master tagged UDMA66
acd0: CDROM <CD-532E-B> at ata1-master PIO4
Waiting 3 seconds for SCSI devices to settle
Mounting root from ufs:/dev/ad0s2a
swapon: adding /dev/ad0s2b as swap device
Automatic boot in progress...
/dev/ad0s2a: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s2a: clean, 85060 free (220 frags, 10605 blocks, 0.2% fragmentation)
/dev/ad0s2d: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s2d: clean, 7536202 free (52938 frags, 935408 blocks, 0.5% fragmentation)
/dev/ad0s2e: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s2e: clean, 507602 free (42 frags, 63445 blocks, 0.0% fragmentation)
/dev/ad0s2f: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s2f: clean, 254060 free (20 frags, 31755 blocks, 0.0% fragmentation)
/dev/ad0s2g: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s2g: clean, 3547153 free (103825 frags, 430416 blocks, 2.6% fragmentation)
/dev/ad0s2h: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s2h: clean, 2395745 free (39713 frags, 294504 blocks, 1.0% fragmentation)
Doing initial network setup: hostname ipmon ipfilter.
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=3<rxcsum,txcsum>
	inet XXXXXXXXXX netmask 0xffffff00 broadcast XXXXXXXXXX
	ether 00:10:5a:f6:c4:a1
	media: Ethernet autoselect (100baseTX)
	status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether 00:20:af:4a:26:1f
	media: Ethernet 10baseT/UTP
ISDN subsystem setup: isdnd isdntraceAug  4 11:33:50 isdnd[70]: DMN init_controller_state: controller 0 is ELSA QuickStep 1000pro/PCI
Aug  4 11:33:50 isdnd[70]: DMN init_controller_state: controller 1 is Teles S0/16
.
Additional routing options: IP gateway=YES TCP keepalive=YES.
 ipsec: enabled
Routing daemons:.
i4b-L3 i4b_decode_q931: unknown protocol discriminator 0xaa!
Aug  4 11:33:51 isdnd[70]: DMN i4b isdn daemon started (pid = 70)
Clearing /tmp:.
Additional daemons: syslogd.
Doing additional network setup: named ntpd.
Starting final network daemons:.
ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
Starting standard daemons: inetd cron printer sshd usbdusbd: opened /dev/usb0
usbd: reading configuration file /etc/usbd.conf
usbd: opened /dev/usb
usbd: attach eveunt at 2.18526100h0, UHCI root hubc, VIA:
  vndr=0ix0000 prdct=0x00_00 rlse=0x0100 cdlss=0x0009 subcless=0x0000 prtcl=v0x0000
  devicei names: uhub0
ucsbd: Found actioen 'USB device' f_or UHCI root hubb, VIA at uhub0
uusbd: attach evelnt at 3.45429600k0, UT-USB41 hub,_ Texas Instrumentts:
  vndr=0x04r51 prdct=0x1446 arlse=0x0100 clssn=0x0009 subclss=s0x0000 prtcl=0x0f000
  device naemes: uhub1
usbdr: Found action ':USB device' for  UT-USB41 hub, Tenxas Instruments oat uhub1
usbd: tattach event at  4.528435000, USBd 10/100 Fast Ethoernet, USBs:
  nvndr=0x2001 prdcet=0x400b rlse=0x,0101 clss=0x0000  subclss=0x0000 iprtcl=0x0000
  idevice names: au=e0
usbd: Found 0action 'USB ethexrnet' for USB 10c/100 Fast Ethern1et, USBs at aue01
usbd: Executin7g 'ifconfig aue0 XXXXXXXXXX 4netmask 255.255.6255.0'
0
usbd: attach event at 4.979554000, OV511+ Camera, OmniVision:
  vndr=0x05a9 prdct=0xa511 rlse=0x0100 clss=0x0000 subclss=0x0000 prtcl=0x0000
  device names: ugen0
usbd: Found action 'USB device' for OV511+ Camera, OmniVision at ugen0
.
Initial rc.i386 initialization:.
Configuring syscons:.
Additional ABI support:.
Local package initialization:
configuring pcvt console driver
  video adaptor type is VGA, monitor type is COLOR
  loading fonts: 8x16:0,1  8x14:0,1  8x10:0,1  8x8:0,1 
  switching to 28 lines
  setting emulation to VT220 with HP extensions
  switching to screen 0
  setting keyboard delay to 0
  setting keyboard repeat rate to 5
finished configuring pcvt console driver
 logsurferuhci_device_bulk_transfer: not done, ii=0xc1177440
 postfixpostfix-script: starting the Postfix mail system
 racoon ppp1 ppp2 ppp3 pweather faxq hfaxd squid fetchmail dhcpd apache nifmon mysqld lcdhdd.
Additional TCP options:.

Sun Aug  4 11:34:31 CEST 2002

>Description:

After a reboot usually within the next 24 hours the machine panics and 
freezes completely.

Although DDB is compiled in it is not possible to enter ddb, only a hard-
ware reset is possible.

The messages below were logged on a serial console, on a VGA/KBD console
only the first two panics are taking place (or better: i have never seen
a third), the machine then freezes.

If the USB controller is disabled in the BIOS setup, the machines runs
fine without problems.

I have not verified the following lately, but it ran fine for a long time
when the USB ethernet device was not present (but the camera was attached).

Panic message:
--------------

Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x70
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc0191288
stack pointer	        = 0x10:0xc0311134
frame pointer	        = 0x10:0xc0311158
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		= Idle
interrupt mask		= net tty bio cam 
trap number		= 12
panic: page fault

syncing disks... 

Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x30
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc025d694
stack pointer	        = 0x10:0xc0310f28
frame pointer	        = 0x10:0xc0310f30
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		= Idle
interrupt mask		= net tty bio cam 
trap number		= 12
panic: page fault
Uptime: 1d1h40m33s
i4b-L1 isic_isac_exir_hdlr: EXIRQ Rx Frame Overflow
i4b-L2 i4b_rxd_s_frame: ERROR, unknown code, frame = 
 0x81 0x81 0x81 0xff 0xff 0xff 0xff 0x81 0x81 0x81 0x81 0x81 0xff 0xff 0xff 0xff 0xff 0x81 0x81 0x81 0x81 0xff 0xff 0xff 0x81 0x81 0x81 0x81 0x81 0xff 0xff 0xff
usb_transfer_complete: bad dequeue 0xc11dab00 != 0xc124b300
panic: Removing other than first element
Uptime: 1d1h40m35s
i4b-L1 isic_isac_irq: unit 0: Data Overrun error
uhci_remove_ctrl: QH not found
uhci_free_std: freeing free TD 0xc10bbde0
uhci_free_std: freeing free TD 0xc10bb960
uhci_free_std: freeing free TD 0xc10bbec0
uhci_free_std: freeing free TD 0xc10bbea0
uhci_free_std: freeing free TD 0xc10bbbe0
uhci_free_std: freeing free TD 0xc10bbe60
uhci_free_std: freeing free TD 0xc10bbe40
uhci_free_std: freeing free TD 0xc10bbe20
uhci_free_std: freeing free TD 0xc10bbbc0
uhci_free_std: freeing free TD 0xc10bbd80
uhci_free_std: freeing free TD 0xc10bb900
uhci_free_std: freeing free TD 0xc10bba40
uhci_free_std: freeing free TD 0xc10bba20
uhci_free_std: freeing free TD 0xc10bbe80
uhci_free_std: freeing free TD 0xc10bbd60
uhci_free_std: freeing free TD 0xc10bbd40
uhci_free_std: freeing free TD 0xc10bbd20
uhci_free_std: freeing free TD 0xc10bba00
uhci_free_std: freeing free TD 0xc10bbba0
uhci_free_std: freeing free TD 0xc10bbb80
uhci_free_std: freeing free TD 0xc10bbb60
uhci_free_std: freeing free TD 0xc10bbb40
uhci_free_std: freeing free TD 0xc10bbb20
uhci_free_std: freeing free TD 0xc10bbb00
uhci_free_std: freeing free TD 0xc10bbc80


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x10
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc027ec0c
stack pointer	        = 0x10:0xc0310880
frame pointer	        = 0x10:0xc031088c
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		= Idle
interrupt mask		= net tty bio cam 
trap number		= 12
panic: page fault
Uptime: 1d1h40m35s


>How-To-Repeat:

I have tried (hard and for a long time) to find a way to reproducibly
panic the machine this way but found none.


>Fix:

No known workaround or fix.
>Release-Note:
>Audit-Trail:
>Unformatted:

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020806132129.7532E147>