Skip to contentSkip to conversation

Oops by dmsetup in 2.6.13-rc2-mm2

DISCUSSION Roman I Khimov 1 participant 2 messages Jul 25, 2005 – Jul 26, 2005 Device mapper

lore
Share & tools
lore
#0 lore raw

Hello.

While trying

/usr/sbin/cryptsetup -c aes -s 32 create cryptochain /dev/loop7

on my fresh 2.6.13-rc2-mm2 I've got this:

====================================================================

Unable to handle kernel NULL pointer dereference at virtual address 00000088
 printing eip:
cf84a985
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
last sysfs file:
Modules linked in: aes_i586 dm_crypt loop usb_storage snd_via82xx snd_ac97_codec snd_pcm snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device sg st sd_mod sr_mod scsi_mod nvram usbserial parport_pc lp parport fan button battery ac ohci1394 ieee1394 via_ircc irda crc_ccitt via_agp agpgart af_packet evdev ipt_TCPMSS ipt_TOS ipt_state ipt_LOG ppp_generic slhc pcmcia firmware_class yenta_socket rsrc_nonstatic pcmcia_core via_rhine ipt_REJECT iptable_mangle iptable_filter ip_nat_ftp iptable_nat ip_conntrack_ftp ip_conntrack ip_tables ide_cd cdrom uhci_hcd ehci_hcd dm_mod
CPU:    0
EIP:    0060:[<cf84a985>]    Not tainted VLI
EFLAGS: 00010246   (2.6.13-rc2-mm2-puerh1)

EIP is at suspend_targets+0x5/0x60 [dm_mod]
eax: 00000000 ebx: c895d0a0 ecx: 00000000 edx: 00000000
esi: c3ade000 edi: 00000000 ebp: 00000000 esp: c3adfec0
ds: 007b es: 007b ss: 0068
Process dmsetup (pid: 9963, threadinfo=c3ade000 task=cd29e560)

Stack: c895d0a0 c3ade000 ffffffea cf84929d 00000000 00000000 cd29e560 c011a7b0
       00000000 00000000 00000000 00000000 00000000 00000000 cd29e560 c011a7b0
       00000000 00000000 00000000 00000000 cf84b7fb c8b03b80 c895d0a0 cf853900
Call Trace:
 [<cf84929d>] dm_suspend+0x7d/0x190 [dm_mod]
 [<c011a7b0>] default_wake_function+0x0/0x10
 [<c011a7b0>] default_wake_function+0x0/0x10
 [<cf84b7fb>] __get_name_cell+0xb/0x60 [dm_mod]
 [<cf84c7ae>] do_resume+0x15e/0x1c0 [dm_mod]
 [<cf84d8dd>] ctl_ioctl+0xdd/0x130 [dm_mod]
 [<cf84c810>] dev_suspend+0x0/0x20 [dm_mod]
 [<c0170e7a>] do_ioctl+0x6a/0xa0
 [<c0171048>] vfs_ioctl+0x68/0x1f0
 [<c017120d>] sys_ioctl+0x3d/0x70
 [<c01031ab>] sysenter_past_esp+0x54/0x75
Code: bc 27 00 00 00 00 05 9c 00 00 00 c3 8d 76 00 8d bc 27 00 00 00 00 8b 80 98 00 00 00 c3 89 f6 8d bc 27 00 00 00 00 57 89 d7 56 53 <8b> b0 88 00 00 00 8b 98 94 00 00 00 4e 83 fe ff 75 1c eb 37 8d
 <4>device-mapper: device doesn't appear to be in the dev hash table.
====================================================================

I've tried rebooting and it's 100% reproducible. 2.6.12-rc5-mm1 worked fine, I can also test 2.6.12, 2.6.13-rc2 and 2.6.13-rc3 if needed - just ask. Unfortunately I'm unable to test 2.6.13-rc3-mm1 now.

Also, this might be useful:

rik@rik-note:/usr/src> sudo /sbin/dmsetup --version Password:

Library version:   1.00.09-ioctl (2004-03-31)
Driver version:    4.4.0
Signature · 6 lines
                            Roman
 ,---------------------------. ,--------------------------.
/     http://www.3os.ru/      V    http://www.osrc.info/   \         .o.
\    mailto: [email protected]       ^   mailto: [email protected]    /         ..o
 `---------------------------' `--------------------------'          ooo
gpg --recv-keys 0xE5E055C3 --keyserver hkp://subkeys.pgp.net
#1 lore raw

Hello.

I've tried 2.6.12, 2.6.13-rc2 and 2.6.13-rc3 and all this works just fine, still 2.6.13-rc2-mm2 gives me an Oops.

В Пнд, 25.07.2005, в 22:35, Roman I Khimov пишет:

Quoted 54 lines

Hello.

While trying

/usr/sbin/cryptsetup -c aes -s 32 create cryptochain /dev/loop7

on my fresh 2.6.13-rc2-mm2 I've got this:

====================================================================

Unable to handle kernel NULL pointer dereference at virtual address 00000088
 printing eip:
cf84a985
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
last sysfs file:
Modules linked in: aes_i586 dm_crypt loop usb_storage snd_via82xx snd_ac97_codec snd_pcm snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device sg st sd_mod sr_mod scsi_mod nvram usbserial parport_pc lp parport fan button battery ac ohci1394 ieee1394 via_ircc irda crc_ccitt via_agp agpgart af_packet evdev ipt_TCPMSS ipt_TOS ipt_state ipt_LOG ppp_generic slhc pcmcia firmware_class yenta_socket rsrc_nonstatic pcmcia_core via_rhine ipt_REJECT iptable_mangle iptable_filter ip_nat_ftp iptable_nat ip_conntrack_ftp ip_conntrack ip_tables ide_cd cdrom uhci_hcd ehci_hcd dm_mod
CPU:    0
EIP:    0060:[<cf84a985>]    Not tainted VLI
EFLAGS: 00010246   (2.6.13-rc2-mm2-puerh1)

EIP is at suspend_targets+0x5/0x60 [dm_mod]
eax: 00000000 ebx: c895d0a0 ecx: 00000000 edx: 00000000
esi: c3ade000 edi: 00000000 ebp: 00000000 esp: c3adfec0
ds: 007b es: 007b ss: 0068
Process dmsetup (pid: 9963, threadinfo=c3ade000 task=cd29e560)

Stack: c895d0a0 c3ade000 ffffffea cf84929d 00000000 00000000 cd29e560 c011a7b0
       00000000 00000000 00000000 00000000 00000000 00000000 cd29e560 c011a7b0
       00000000 00000000 00000000 00000000 cf84b7fb c8b03b80 c895d0a0 cf853900
Call Trace:
 [<cf84929d>] dm_suspend+0x7d/0x190 [dm_mod]
 [<c011a7b0>] default_wake_function+0x0/0x10
 [<c011a7b0>] default_wake_function+0x0/0x10
 [<cf84b7fb>] __get_name_cell+0xb/0x60 [dm_mod]
 [<cf84c7ae>] do_resume+0x15e/0x1c0 [dm_mod]
 [<cf84d8dd>] ctl_ioctl+0xdd/0x130 [dm_mod]
 [<cf84c810>] dev_suspend+0x0/0x20 [dm_mod]
 [<c0170e7a>] do_ioctl+0x6a/0xa0
 [<c0171048>] vfs_ioctl+0x68/0x1f0
 [<c017120d>] sys_ioctl+0x3d/0x70
 [<c01031ab>] sysenter_past_esp+0x54/0x75
Code: bc 27 00 00 00 00 05 9c 00 00 00 c3 8d 76 00 8d bc 27 00 00 00 00 8b 80 98 00 00 00 c3 89 f6 8d bc 27 00 00 00 00 57 89 d7 56 53 <8b> b0 88 00 00 00 8b 98 94 00 00 00 4e 83 fe ff 75 1c eb 37 8d
 <4>device-mapper: device doesn't appear to be in the dev hash table.
====================================================================

I've tried rebooting and it's 100% reproducible. 2.6.12-rc5-mm1 worked fine, I can also test 2.6.12, 2.6.13-rc2 and 2.6.13-rc3 if needed - just ask. Unfortunately I'm unable to test 2.6.13-rc3-mm1 now.

Also, this might be useful:

rik@rik-note:/usr/src> sudo /sbin/dmsetup --version Password:

Library version:   1.00.09-ioctl (2004-03-31)
Driver version:    4.4.0
Signature · 6 lines
                            Roman
 ,---------------------------. ,--------------------------.
/     http://www.3os.ru/      V    http://www.osrc.info/   \         .o.
\    mailto: [email protected]       ^   mailto: [email protected]    /         ..o
 `---------------------------' `--------------------------'          ooo
gpg --recv-keys 0xE5E055C3 --keyserver hkp://subkeys.pgp.net