Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Oct 2001 18:49:07 +0900 (JST)
From:      kaz@kobe1995.net (NAKAMURA Kazushi)
To:        current@freebsd.org
Subject:   panic: when received "rup"
Message-ID:  <200110130949.f9D9n7837771@safa.kobe1995.net>

next in thread | raw e-mail | index | archive | help
Hello! Are you enjoying hacking?

  I "CVSup"ed 10/11. Then my 5-current box panics when received "rup"
packet. It's repeatable 100%. "rusers" is no problem. Only "rup" has
problem.

===> /etc/inetd.conf <===
rstatd/1-3	dgram rpc/udp wait root	/usr/libexec/rpc.rstatd	 rpc.rstatd
rusersd/1-2	dgram rpc/udp wait root	/usr/libexec/rpc.rusersd rpc.rusersd

===> serial console <===
remote# tip cuaa0c
^Gconnected
SMAP type=01 base=00000000 00000000 len=00000000 0009f800
SMAP type=02 base=00000000 0009f800 len=00000000 00000800
SMAP type=02 base=00000000 000e4800 len=00000000 0001b800
SMAP type=01 base=00000000 00100000 len=00000000 0ff00000
SMAP type=02 base=00000000 fec00000 len=00000000 00010000
SMAP type=02 base=00000000 fee00000 len=00000000 00001000
SMAP type=02 base=00000000 fff80000 len=00000000 00080000
ACPI debug layer 0x0  debug level 0x0
Copyright (c) 1992-2001 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 5.0-CURRENT-20010830-JPSNAP #4: Sat Oct 13 06:57:39 JST 2001
    kaz@pilo.kobe1995.net:/usr/obj/usr/src/sys/KOBE5SMP
Calibrating clock(s) ... failed, using default i8254 clock of 1193182 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Athlon(tm) Processor (1327.42-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0480000<<b19>,AMIE,DSP,3DNow!>
Data TLB: 32 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  = 268435456 (262144K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x004c7000 - 0x0fff7fff, 263393280 bytes (64305 pages)
avail memory = 256585728 (250572K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
SMP: CPU0 apic_initialize():
     lint0: 0x00000700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  1, version: 0x00040010, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040010, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
bios32: Found BIOS32 Service Directory header at 0xc00f7490
bios32: Entry = 0xfd6c0 (c00fd6c0)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xfd6c0+0x120
pnpbios: Found PnP BIOS data at 0xc00f74e0
pnpbios: Entry = f0000:9e86  Rev = 1.0
Other BIOS signatures found:
Preloaded elf kernel "/boot/kernel/kernel" at 0xc049d000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc049d0b4.
null: <null device, zero device>
random: <entropy source>
mem: <memory & I/O>
Pentium Pro MTRR support enabled
SMP: CPU0 bsp_apic_configure():
     lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000010 SVR: 0x000001ff
 tbxface-0161: *** Error: AcpiLoadTables: Could not get RSDP, AE_NO_ACPI_TABLES
 tbxface-0213: *** Error: AcpiLoadTables: Could not load tables: AE_NO_ACPI_TABLES
ACPI: table load failed: AE_NO_ACPI_TABLES
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80003904
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=700c1022)
Using $PIR table, 268435454 entries at 0xc00fdf10
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
	(snip)
ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0x1000-0x101f irq 5 at device 9.0 on pci0
bpf: ed0 attached
ed0: address 00:60:67:48:61:f2, type NE2000 (16 bit) 
ata-: ata0 already exists, using ata2 instead
ata-: ata1 already exists, using ata3 instead
ed-: ed0 already exists, using ed1 instead
	(snip)
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
WARNING: Driver mistake: repeat make_dev("net/ed0")
	(snip)
SMP: AP sCtPaUr t#_1i nLiatu:n cthreydi!n
gS M/Ps:b iCnP/Ui1n iatp
ic_initialize():
     lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff
DEPENDENCY NOTE: portmap will be enabled to support NFS
Entropy harvesting: interrupts ethernet point_to_point.
ccd0-3: Concatenated disk drivers
ad2s1: type 0xa5, start 63, end = 8385929, size 8385867 : OK
ad2s2: type 0xa5, start 8385930, end = 14667344, size 6281415 : OK
ad2s3: type 0xa6, start 14667345, end = 20033054, size 5365710 : OK
swapon: adding /dev/ad0s1b as swap device
swapon: adding /dev/ad2s1b as swap device
Automatic boot in progress...
/dev/ad0s1a: 1443 files, 71981 used, 55042 free (506 frags, 6817 blocks, 0.4% fragmentation)
/dev/ccd1c: DEFER FOR BACKGROUND CHECKING
WARNING: /usr was not properly dismounted
Doing initial network setup:
Warning: /etc/host.conf is no longer used
  /etc/nsswitch.conf will be used instead
 hostname domain.
ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 192.168.0.9 netmask 0xffffff00 broadcast 192.168.0.255
	inet6 fe80::260:67ff:fe48:61f2%ed0 prefixlen 64 tentative scopeid 0x1 
	ether 00:60:67:48:61:f2 
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%ed0 prefixlen 64 scopeid 0x1 
	inet 127.0.0.1 netmask 0xff000000 
add net default: gateway 192.168.0.1
Additional routing options: TCP keepalive=YES.
Routing daemons:.
Mounting NFS file systems:.
Additional daemons: syslogd.
Doing additional network setup: ntpdate ntpd rpcbind ypbind.
Starting final network daemons: mountd nfsd NFS access cache time=2 rwhod.
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 /usr/X11R6/lib/aout
Starting standard daemons: inetd cron sshd usbdOct 13 17:48:18 pilo sshd[307]: fatal: rsa_generate_private_key: key generation failed.
.
Initial rc.i386 initialization:.
Configuring syscons: keymap blanktime.
Additional ABI support:.
Local package initialization:.
Additional TCP options:.
Starting background filesystem checks

Sat Oct 13 17:48:19 JST 2001

	(snip)
% rup	(from both local or remote host causes this problem)

Fatal trap 12: page fault while in kernel mode
cpuid = 0; lapic.id = 01000000
fault virtual address	= 0x5c
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc0259272
stack pointer	        = 0x10:0xccb4faf0
frame pointer	        = 0x10:0xccb4fbc4
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		= 385 (rpc.rstatd)
kernel: type 12 trap, code=0
Stopped at      sysctl_ifdata+0x3a:     movl    0x5c(%eax),%ebx
db> 
db> Context switches not allowed in the debugger.
db> trace
sysctl_ifdata(c03ab600,ccb4fcc8,2,ccb4fc18,0) at sysctl_ifdata+0x3a
sysctl_root(0,ccb4fcb8,6,ccb4fc18,0) at sysctl_root+0x113
userland_sysctl(ccb1c004,ccb4fcb8,6,bfbff46c,bfbff428) at userland_sysctl+0x12d
__sysctl(ccb1c004,ccb4fd20,28127c28,0,bfbff438) at __sysctl+0x7e
syscall(2f,2f,2f,bfbff438,0) at syscall+0x209
syscall_with_err_pushed() at syscall_with_err_pushed+0x1b
--- syscall (202, FreeBSD ELF, __sysctl), eip = 0x280c3f2c, esp = 0xbfbff37c, ebp = 0xbfbff3b8 ---
db> panic
panic: from debugger
cpuid = 0; lapic.id = 01000000
Debugger("panic")
Stopped at      sysctl_ifdata+0x3a:     movl    0x5c(%eax),%ebx
db> panic
panic: from debugger
cpuid = 0; lapic.id = 01000000
boot() called on cpu#0
Uptime: 3m50s
Automatic reboot in 15 seconds - press a key on the console to abort
--> Press a key on the console to reboot <--
Rebooting...
cpu_reset called on cpu#0
~
[EOT]
-- 
<mailto:kaz@kobe1995.net>	NAKAMURA Kazushi@KOBE
<http://kobe1995.net/~kaz/FreeBSD/index.en.html>;
- Break the hate chain. No more kill!

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




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