From: Pierfrancesco Caci <ik5pvx@penny.ik5pvx.ampr.org>
To: linux-kernel@vger.kernel.org
Subject: 2.4.1 segfault when doing "ls /dev/"
Date: 04 Feb 2001 10:58:34 +0100 [thread overview]
Message-ID: <87u26avkfp.fsf@penny.ik5pvx.ampr.org> (raw)
It happened with 2.4.0, it continues to happen with 2.4.1 too
root@penny:~ # ps -ax|grep devfs
48 ? S 0:00 /sbin/devfsd /dev
6300 pts/0 S 0:00 grep devfs
root@penny:~ # cd /dev
root@penny:/dev # ls
Segmentation fault
root@penny:/dev # ps -ax|grep devfs
6309 pts/0 S 0:00 grep devfs
root@penny:/dev #
>From now on, I get a segfault whenever I try to see what's inside /dev
but I can see what's _below_ /dev/, supposing I know where to look:
root@penny:/dev # ls scsi
host0
root@penny:/dev # ls tts
0 1
Here's the output of ksymoops:
Feb 4 10:28:57 penny kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000
Feb 4 10:28:57 penny kernel: c013b1c9
Feb 4 10:28:57 penny kernel: *pde = 00000000
Feb 4 10:28:57 penny kernel: CPU: 0
Feb 4 10:28:57 penny kernel: EIP: 0010:[vfs_follow_link+33/348]
Feb 4 10:28:57 penny kernel: EFLAGS: 00010217
Feb 4 10:28:57 penny kernel: eax: 00000000 ebx: c7ae9fa4 ecx: 00000735 edx: c0320a60
Feb 4 10:28:57 penny kernel: esi: 00000000 edi: 00000000 ebp: 00000000 esp: c7ae9f10
Feb 4 10:28:57 penny kernel: ds: 0018 es: 0018 ss: 0018
Feb 4 10:28:57 penny kernel: Process devfsd (pid: 48, stackpage=c7ae9000)
Feb 4 10:28:57 penny kernel: Stack: c7ae9fa4 00000000 c3aea960 c7ae9fa4 00000000 c015a703 c7ae9fa4 00000000
Feb 4 10:28:57 penny kernel: c7ae8000 c0138db9 c3aea960 c7ae9fa4 c69c87e0 c2e4e000 00000000 c7ae9fa4
Feb 4 10:28:57 penny kernel: 00000000 00000001 00000000 c7ae9fa8 00000009 c3aea960 c2e4e005 00000004
Feb 4 10:28:57 penny kernel: Call Trace: [devfs_follow_link+31/36] [path_walk+1701/1964] [__user_walk+60/88] [sys_chown+22/72] [system_call+51/56] [startup_32+43/313]
Feb 4 10:28:57 penny kernel: Code: 80 3f 2f 0f 85 c2 00 00 00 53 e8 b0 d2 ff ff ba 00 e0 ff ff
Using defaults from ksymoops -t elf32-i386 -a i386
Code; 00000000 Before first symbol
0000000000000000 <_EIP>:
Code; 00000000 Before first symbol
0: 80 3f 2f cmpb $0x2f,(%edi)
Code; 00000003 Before first symbol
3: 0f 85 c2 00 00 00 jne cb <_EIP+0xcb> 000000cb Before first symbol
Code; 00000009 Before first symbol
9: 53 push %ebx
Code; 0000000a Before first symbol
a: e8 b0 d2 ff ff call ffffd2bf <_EIP+0xffffd2bf> ffffd2bf <END_OF_CODE+356a3187/????>
Code; 0000000f Before first symbol
f: ba 00 e0 ff ff mov $0xffffe000,%edx
Feb 4 10:28:57 penny kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000
Feb 4 10:28:57 penny kernel: c013b1c9
Feb 4 10:28:57 penny kernel: *pde = 00000000
Feb 4 10:28:57 penny kernel: Oops: 0000
Feb 4 10:28:57 penny kernel: CPU: 0
Feb 4 10:28:57 penny kernel: EIP: 0010:[vfs_follow_link+33/348]
Feb 4 10:28:57 penny kernel: EFLAGS: 00010217
Feb 4 10:28:57 penny kernel: eax: 00000000 ebx: c39b3fa4 ecx: 00000735 edx: c0320a60
Feb 4 10:28:57 penny kernel: esi: c3aea0e0 edi: 00000000 ebp: 00000000 esp: c39b3f10
Feb 4 10:28:57 penny kernel: ds: 0018 es: 0018 ss: 0018
Feb 4 10:28:57 penny kernel: Process ls (pid: 6303, stackpage=c39b3000)
Feb 4 10:28:57 penny kernel: Stack: c39b3fa4 c3aea0e0 c3aea0e0 c39b3fa4 00000000 c015a703 c39b3fa4 00000000
Feb 4 10:28:57 penny kernel: c39b2000 c0138db9 c3aea0e0 c39b3fa4 c69c87e0 c31c4000 00000000 c39b3fa4
Feb 4 10:28:57 penny kernel: 00000002 00000001 00000002 c01382ea 00000009 c3aea0e0 c31c4000 00000004
Feb 4 10:28:57 penny kernel: Call Trace: [devfs_follow_link+31/36] [path_walk+1701/1964] [getname+90/152] [__user_walk+60/88] [sys_stat64+22/120] [system_call+51/56]
Feb 4 10:28:57 penny kernel: Code: 80 3f 2f 0f 85 c2 00 00 00 53 e8 b0 d2 ff ff ba 00 e0 ff ff
Code; 00000000 Before first symbol
0000000000000000 <_EIP>:
Code; 00000000 Before first symbol
0: 80 3f 2f cmpb $0x2f,(%edi)
Code; 00000003 Before first symbol
3: 0f 85 c2 00 00 00 jne cb <_EIP+0xcb> 000000cb Before first symbol
Code; 00000009 Before first symbol
9: 53 push %ebx
Code; 0000000a Before first symbol
a: e8 b0 d2 ff ff call ffffd2bf <_EIP+0xffffd2bf> ffffd2bf <END_OF_CODE+356a3187/????>
Code; 0000000f Before first symbol
f: ba 00 e0 ff ff mov $0xffffe000,%edx
root@penny:/usr/src/linux/scripts # . ver_linux
-- Versions installed: (if some fields are empty or look
-- unusual then possibly you have very old versions)
Linux penny 2.4.1 #1 Sat Feb 3 20:43:54 CET 2001 i686 unknown
Kernel modules 2.4.1
Gnu C 2.95.3
Gnu Make 3.79.1
Binutils 2.10.1.0.2
Linux C Library 2.2.1
Dynamic linker ldd (GNU libc) 2.2.1
Procps 2.0.7
Mount 2.10q
Net-tools 2.05
Console-tools 0.2.3
Sh-utils 2.0.11
Modules Loaded rd sb sb_lib uart401 nfs mousedev hid input ipv6 nfsd lockd sunrpc af_packet eepro100 3c509 awe_wave opl3 sound soundcore isa-pnp uhci usbcore ipchains
root@penny:/usr/src/linux/scripts # dpkg -l devfsd
ii devfsd 1.3.10-5 Daemon for the device filesystem
Pf
--
-------------------------------------------------------------------------------
Pierfrancesco Caci | ik5pvx | mailto:p.caci@tin.it - http://gusp.dyndns.org
Firenze - Italia | Office for the Complication of Otherwise Simple Affairs
Linux penny 2.4.1 #1 Sat Feb 3 20:43:54 CET 2001 i686 unknown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next reply other threads:[~2001-02-04 9:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-04 9:58 Pierfrancesco Caci [this message]
2001-02-04 13:45 ` Pierre Rousselet
2001-02-04 14:00 ` Pierfrancesco Caci
2001-02-04 15:57 ` Pierre Rousselet
2001-02-04 16:28 ` Pierfrancesco Caci
2001-02-04 17:35 ` Pierre Rousselet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87u26avkfp.fsf@penny.ik5pvx.ampr.org \
--to=ik5pvx@penny.ik5pvx.ampr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=p.caci@tin.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®