IPv6 panic [Was: panic/trace swi8: tty:sio clock [Was: Re: Mysterious 60min reboot on net4501]]

Harald Schmalzbauer h at schmalzbauer.de
Wed Mar 17 08:02:02 PST 2004


Am Mittwoch, 17. März 2004 15:08 schrieb Harald Schmalzbauer:
> Am Dienstag, 16. März 2004 20:24 schrieb Harald Schmalzbauer:
> > Dear all,
*SNIP*
> Dear developers,
>
> I didn't know that the comBIOS of this device clears the screen after
> rebooting so I couldn't see the panic message on the serial console before.
> Now I have it and a trace. Since this machine has very limited "disk"-space
> (in fact CompactFlash) I compiled a ddb kernel and the db> is now awaiting
> more input.

Bernd Walter told me that the following panic could be the IPv6 neighbourhood 
detection, so I removed INET6 from the kernel and now the 60min reboot 
doesn't occur anymore.
I haven't assigned any IPv6 address while Berd had, and only I have the panic 
so it seems to happen only if one has unconfigured IPv6 interfaces.

Hope this helps, find attached my kernel conf.

-Harry

> The following panic occurs exactly every 60 mins and ~15-20 sec.:
>
> Fatal trap 12: page fault while in kernel mode
> fault virtual address   = 0x8
> fault code              = supervisor read, page not present
> instruction pointer     = 0x8:0xc0584916
> stack pointer           = 0x10:0xc5eb4ccc
> frame pointer           = 0x10:0xc5eb4cd8
> 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         = 27 (swi8: tty:sio clock)
> kernel: type 12 trap, code=0
> Stopped at      nd6_slowtimo+0x66:      movl    0x8(%eax),%ebx
> db> trace
> nd6_slowtimo(0) at nd6_slowtimo+0x66
> softclock(0) at softclock+0x186
> ithread_loop(c0996580,c5eb4d48,c0996580,c04a63c0,0) at ithread_loop+0x144
> fork_exit(c04a63c0,c0996580,c5eb4d48) at fork_exit+0xb8
> fork_trampoline() at fork_trampoline+0x8
> --- trap 0x1, eip = 0, esp = 0xc5eb4d7c, ebp = 0 ---
> db>
>
> Let me know if I can give you more info.
>
> -Harry
-------------- next part --------------
########################################
## Kernel for Soekris ##
########################################

#makeoptions     DEBUG=-g
#options         DDB                     # Enable the kernel debugger
#options         INVARIANTS              # Enable calls of extra sanity checking
#options         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, re
#options         WITNESS                 # Enable checks to detect deadlocks and cycles
#options         WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed


## Generic Config
#-------------------
machine		i386
cpu		I486_CPU
ident		STITH
options 	SCHED_4BSD		#4BSD scheduler
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options         HZ=1000
options         CPU_ELAN
options		CPU_SOEKRIS
#options         CPU_ELAN_PPS
#options         PPS_SYNC
#options         HW_WDOG
#options         SW_WATCHDOG
options         NO_SWAPPING
options         INIT_PATH=/sbin/init
options         PANIC_REBOOT_WAIT_TIME=-1

## Buses
#------------------
device		npx
device		isa
device		pci

## ISA-Controller
#----------------
device		sio		# 8250, 16[45]50 based serial ports

## PCI-Controller
#------------------
device		ata

## Devices with their options
#----------------------------
#+++++ IDE ++++++
device		atadisk			# ATA disk drives
options 	ATA_STATIC_ID		#Static device numbering
options 	FFS			#Berkeley Fast Filesystem

#+++++ Netzwerk +++++
device		miibus		# MII bus support
device		sis
device		wi
options         PFIL_HOOKS
device		pf
device		pflog
device		pfsync
options         DEVICE_POLLING
options 	INET			#InterNETworking
#options		INET6
options		FAST_IPSEC              #new IPsec (cannot define w/ IPSEC)
options         RANDOM_IP_ID
options         TCP_DROP_SYNFIN
options         ZERO_COPY_SOCKETS
options         MROUTING                # Multicast routing
options         NETGRAPH                #netgraph(4) system
options         NETGRAPH_BRIDGE
options         NETGRAPH_IFACE
options         NETGRAPH_BPF
options         NETGRAPH_ETHER
options         NETGRAPH_PPP
options         NETGRAPH_PPPOE
options         NETGRAPH_PPTPGRE
options         NETGRAPH_SOCKET
options         NETGRAPH_VJC

#+++++ CRYPTO ++++++
device          crypto          # core crypto support
device          cryptodev       # /dev/crypto for access to h/w
device          rndtest         # FIPS 140-2 entropy tester
device          hifn            # Hifn 7951, 7781, etc.
options         HIFN_RNDTEST    # enable rndtest support


## Pseudo Devices
#----------------
device		random		# Entropy device
device		loop		# Network loopback
device		ether		# Ethernet support
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"
device		tun
device		bpf		# Berkeley packet filter
device		gre
device		wlan
#device          gif		#IPv6 and IPv4 tunneling
#device          faith		#for IPv6 and IPv4 translation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040317/a13f9c4e/attachment.bin


More information about the freebsd-current mailing list