Oops in entry.S - probably triggered by binfmt_misc

Richard Guenther (richard.guenther@student.uni-tuebingen.de)
Tue, 30 Sep 1997 11:40:46 +0200 (MESZ)


Hi!

I recieved an oops report from Tim Waugh <tim@cyberelk.demon.co.uk>:
[slightly cutted down, merged from two mails]

[tim@alces tim]$ uname -a
Linux alces.elk.co.uk 2.1.56 #1 Sat Sep 20 17:33:27 BST 1997 alpha unknown
[tim@alces tim]$ cat /proc/sys/fs/binfmt_misc/status
enabled
[tim@alces tim]$ cat > oops
just text
[tim@alces tim]$ chmod a+x oops
[tim@alces tim]$ ./oops
Segmentation fault

strace gives him:
execve("./oops", ["./oops"], [/* 17 vars */]) = 0
+++ killed by SIGSEGV +++

The oops:
Unable to handle kernel paging request at virtual address 0000000000000019
bash(511): Oops 0
pc = [<fffffc0000310c44>] ps = 0000
rp = [<0000000000000000>] ra = [<0000000000000008>]
r0 = fffffc000045c0c0 r1 = 0000000000000001
r2 = 0000000000000000 r3 = fffffc0000460dc8
r4 = fffffc0000438001 r5 = 000000000000095f
r6 = 00000000000004af r7 = fffffc000047ff50
r8 = 0000000000000001 r9 = 00000001201abc10
r10= 00000001201ac0a0 r11= 00000001201abc10
r12= ffffffffffffffff r13= ffffffffffffffff
r14= 00000001201ac9d0 r15= 000000011ffff7d0
r16= fffffc0001312000 r17= 0000000000000000
r18= fffffc0000e87da8 r19= 000000000000003b
r20= 0000000000000000 r21= fffffc0000000000
r22= 0000000000000000 r23= 0000000000000001
r24= 0000000000000001 r25= 000000000000006b
r27= fffffc0000343780 r28= 0000000000000000
gp = fffffc000047aa08 sp = fffffc0000e87f18
Code: f4400077 44880804 e4800004 <a4880018> a6080020 44900104 f4800069 a67d8ef0 a41e0000
Trace: [<fffffc0000310b40>]
this is entSys

PC is in ret_from_sys_call (arch/alpha/kernel/entry.S) right before
restore_all(fffffc0000310c54) (I think its
ldq $4,TASK_SIGNAL($8)
as $8 is 1 (if I understand AXP-asm right))

As I don't have an Alpha handy, nor an gas configured for Alpha, I need
your help with this bugreport. As the following is really weird:

[root@alces /root]# echo "0" > /proc/sys/fs/binfmt_misc/status
[root@alces /root]# exit
[tim@alces tim]$ ./oops
./oops: just: command not found

Now, where is the oops gone??? I don't know how binfmt_misc can trigger
this one? Also this is only happening on Alpha, not on Intel.

Tim's config:
CONFIG_MODULES=y
CONFIG_KERNELD=y
CONFIG_NATIVE=y
CONFIG_ALPHA_NONAME=y
CONFIG_PCI=y
CONFIG_ALPHA_LCA=y
CONFIG_ALPHA_NEED_ROUNDING_EMULATION=y
CONFIG_TGA_CONSOLE=y
CONFIG_NET=y
CONFIG_SYSVIPC=y
CONFIG_SYSCTL=y
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=y
CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
CONFIG_PNP=y
CONFIG_BLK_DEV_FD=y
CONFIG_INET=y
CONFIG_PATH_MTU_DISCOVERY=y
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_SCSI_NCR53C8XX=y
CONFIG_NETDEVICES=y
CONFIG_NET_ETHERNET=y
CONFIG_NET_EISA=y
CONFIG_DE4X5=y
CONFIG_EXT2_FS=y
CONFIG_PROC_FS=y
CONFIG_NFS_FS=y
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
CONFIG_AUTOFS_FS=y
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_PRINTER=y
CONFIG_PRINTER_READBACK=y
CONFIG_MOUSE=y
CONFIG_PSMOUSE=y
CONFIG_RTC=y
CONFIG_RTC_ARC=y

--
Richard Guenther <richard.guenther@student.uni-tuebingen.de>
PGP: 2E829319 - 2F 83 FC 93 E9 E4 19 E2 93 7A 32 42 45 37 23 57
WWW: http://www.anatom.uni-tuebingen.de/~richi/