eject /dev/cdrom --> oops.

David Woodhouse (dwmw2@cam.ac.uk)
Mon, 27 Oct 1997 15:57:04 +0000


System is mainly SCSI, but there's an IDE cdrom and unused HD on the primary
IDE controller. Onboard Triton IDE on a Tyan Tomcat II MB., dual P200,
linux-2.1.59-VGER-CVS971020

/dev/cdrom is a symlink to hda

Look at http://dwmw2.robinson.cam.ac.uk/cgi-bin/dmesghtml for more info.

# eject /dev/cdrom
Unable to handle kernel NULL pointer dereference at virtual address 00000000
current->tss.cr3 = 03238000, ^Hr3 = 03238000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<c012bef3>]
EFLAGS: 00010246
eax: 00000000 ebx: c04ed800 ecx: c132bca0 edx: c01d1c98
esi: c277da00 edi: 00000000 ebp: 00000183 esp: c31fbf18
ds: 0018 es: 0018 ss: 0018
Process eject (pid: 18955, process nr: 279, stackpage=c31fb000)
Stack: c01d1c98 00000000 c31fbf98 c313e000 00000400 00000000 c313e142 c3b8dc40
c3b8d0c0 c277da00 00000000 c04ede40 c132bca0 c014abb2 c313e000 00000000
c3900c98 c014ad22 c313e000 0000001b c31fbf98 00000000 00000400 c13d3ba0
Call Trace: [<c01d1c98>] [<c014abb2>] [<c014ad22>] [<c01284ab>] [<c01096f2>]
Code: 8b 00 89 44 24 28 8b 4c 24 28 51 8b 74 24 34 8b 76 08 89 74

Using `../System.map' to map addresses to symbols.

>>EIP: c012bef3 <get_filesystem_info+57/304>
Trace: c01d1c98 <sprintf+41a0/41ec>
Trace: c014abb2 <get_root_array+1a2/1d8>
Trace: c014ad22 <array_read+b2/228>
Trace: c01284ab <sys_read+113/198>
Trace: c01096f2 <system_call+3a/40>
Code: c012bef3 <get_filesystem_info+57/304> movl (%eax),%eax
Code: c012bef5 <get_filesystem_info+59/304> movl %eax,0x28(%esp,1)
Code: c012bef9 <get_filesystem_info+5d/304> movl 0x28(%esp,1),%ecx
Code: c012befd <get_filesystem_info+61/304> pushl %ecx
Code: c012befe <get_filesystem_info+62/304> movl 0x34(%esp,1),%esi
Code: c012bf02 <get_filesystem_info+66/304> movl 0x8(%esi),%esi
Code: c012bf05 <get_filesystem_info+69/304> movl %esi,0xffffff90(%eax,%eax,1)
Code: c012bf09 <get_filesystem_info+6d/304> nop
Code: c012bf0a <get_filesystem_info+6e/304> nop

---- ---- ----
David Woodhouse, Robinson College, CB3 9AN, England. (+44) 0976 658355
dwmw2@cam.ac.uk http://dwmw2.robinson.cam.ac.uk
finger pgp@dwmw2.robinson.cam.ac.uk for PGP key.