Hi,

I mounted a cdrom and hot unplugged it without unmounting. It didnt oops
until I tried to unmount it, then got a NULL pointer in cdrom_release.
This is on a ppc64 blade.

It looks like cdo->lock_door is NULL.

Anton

0:mon> e
cpu 0: Vector: 300 (Data Access) at [c0000000120bb6e0]
    pc: c00000000031bb5c (.cdrom_release+0x104/0x1e8)
    lr: c000000000310f54 (.sr_block_release+0x20/0x34)
   dar: 0
    pid   = 1695, comm = umount

0:mon> t
[c0000000000b0f98] .invalidate_bdev+0x24/0x3c
[c000000000310f54] .sr_block_release+0x20/0x34
[c0000000000bbdf8] .blkdev_put+0x368/0x39c
[c0000000000b9d34] .kill_block_super+0x38/0x54
[c0000000000b80f4] .deactivate_super+0x114/0x1a8
[c0000000000d7e28] .__mntput+0x38/0x54
[c0000000000c30b0] .path_release+0x6c/0x74
[c0000000000d8a24] .sys_umount+0x58/0xbc
  exception: c00 (System Call) regs c0000000120bbea0

0:mon> r
R00 = 0000000000000000   R16 = 0000000000000000
R01 = c0000000120bb960   R17 = 0000000000000000
R02 = c00000000072a770   R18 = 0000000000000000
R03 = c000000012f513b0   R19 = 0000000000000000
R04 = 0000000000000000   R20 = 0000000000000001
R05 = 000000000000000c   R21 = c000000000560ec0
R06 = 0000000000000010   R22 = b000000000009032
R07 = c000000000d8bfc0   R23 = c0000000120bbea0
R08 = 0000000000000000   R24 = 0000000000000000
R09 = 0000000000000000   R25 = 0000000000000000
R10 = 0000000000000000   R26 = 0000000000000000
R11 = c00000001262b400   R27 = 0000000000000000
R12 = 0000000000000002   R28 = 0000000000000001
R13 = c000000000560000   R29 = c00000001dd59400
R14 = 0000000000000000   R30 = c000000000689d58
R15 = 0000000000000000   R31 = c000000012f513b0
pc  = c00000000031bb5c   msr = 8000000000009032
lr  = c000000000310f54   cr  = 0000000022000442
ctr = c000000000310f34   xer = 0000000000000000   trap =      300

0:mon> di %pc
c00000000031bb5c  e8090000      ld      r0,0(r9)
c00000000031bb60  f8410028      std     r2,40(r1)
c00000000031bb64  e9690010      ld      r11,16(r9)
c00000000031bb68  e8490008      ld      r2,8(r9)
c00000000031bb6c  7c0903a6      mtctr   r0
c00000000031bb70  4e800421      bctrl
c00000000031bb74  e8410028      ld      r2,40(r1)
c00000000031bb78  801f0030      lwz     r0,48(r31)
c00000000031bb7c  2c000000      cmpwi   r0,0
c00000000031bb80  40820038      bne     0xc00000000031bbb8      # .cdrom_release+0x160
c00000000031bb84  2c1c0000      cmpwi   r28,0
c00000000031bb88  41820030      beq     0xc00000000031bbb8      # .cdrom_release+0x160
c00000000031bb8c  e81f0028      ld      r0,40(r31)
c00000000031bb90  5400f7bc      rlwinm  r0,r0,30,30,30
c00000000031bb94  2c000000      cmpwi   r0,0
c00000000031bb98  41820020      beq     0xc00000000031bbb8      # .cdrom_release+0x160


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to