Skip to contentSkip to conversation

Kernal Panic while reading loop device.

DISCUSSION Mark Moss 1 participant 1 message Nov 29, 2001

lore
Share & tools
lore

Mark Moss

author
#0 lore raw

In Kernel 2.5.1-pre3, I receive a kernal panic whenever I execute the following two commands. This panic does not occur in 2.5.1-pre1. The stock kernel has been patched with Alan Cox's pc_keyb.c patch and with the early_printk patch.

I don't have time tonite to revert the early_printk patch and see if the panic still happens. If anyone thinks it is relevant, I will try this tomorrow without the early_printk patch.

If anyone would like more information, please let me know.

Mark Moss
[email protected]

The commands which generate the panic are:

losetup /dev/loop0 /dev/scd0
cat /dev/loop0

/dev/scd0 contains a CD-RW burned using the text "This is a test." as the image.

Here is my transcription of the panic message: (Apologies for any write-p's, it was transcribed by hand).

---

Unable to handle kernel NULL pointer dereference at virtual address 00000000.

printing eip
C01865F7
*pde=00000000

Oops: 0002
CPU: 0

EIP: 0010:[<C01865f7>]
EEFlags: 00010046
eax: 00000000 ebx: 00000200 ecx:00000400 edx: 00000170
esi: C0283158 edi: 00000000 ebp:C0283158 esp: C022bcc4
dsi: 0018 esi:0018 ss:0018

Process Swapper CPU:0 Stackpage (022b0000)

Stack:

0000000C 00000003 00000801 C0283158 00000000 C0283158 C018671E C0283158 00000000 00000200 00000800 C0CD16E0 00000000 C886D12C C0283158 00000000 00000800 C0CD16C0 00000800 00000800 C0283158 C886D66D C0283158 C0CD1600

Call Trace:

C018671E C886D12E C886D66D C8825730 C886D4B0 C0188078 C0181FA0 C0108378 C01053B0 C010A3E9 C01053B0 C01053D3 C0105452 C0105000

Code:
F3 66 6D 5B 5E 5B 5E 5F 5D C3 EB 0D 90 90 90 90 90 90 90 90

<0> Kernel Panic: Proc Killing Interrupt Handler!
In Interrupt Handler - not syncing
---

Modules Loaded:
sg
ide-scsi
sr_mod
cdrom
smbfs
3c95x
usb-uhci
nls-iso8859-1
nls-cp437
msdos
fat

Dump of SCSI Bus:
Attached Devices
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: MITSUMI Model: CR-4804-TE Rev: 2.4C
Type: CD-ROM ANSI SCSI revision 02.