[Bug 14994] Random Panic/Freeze due to BUG: unable to handle kernel NULL pointer dereference at 00000024(?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=14994


Borislav Petkov <bbpetkov@xxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bbpetkov@xxxxxxxx




--- Comment #4 from Borislav Petkov <bbpetkov@xxxxxxxx>  2010-04-11 11:09:38 ---
Hi,

can you send me the whole dmesg with the oops, also your kernel config.
Also, you could try reproducing the bug after having enabled ide-cd
debugging. For that, you'll need to apply the following patchlet and
rebuild your kernel:


diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c
index 64207df..4713094 100644
--- a/drivers/ide/ide-cd.c
+++ b/drivers/ide/ide-cd.c
@@ -1707,6 +1707,8 @@ static int ide_cd_probe(ide_drive_t *drive)
     struct gendisk *g;
     struct request_sense sense;

+    drive->debug_mask = 0xffffffff;
+
     ide_debug_log(IDE_DBG_PROBE, "driver_req: %s, media: 0x%x",
                      drive->driver_req, drive->media);

@@ -1716,7 +1718,6 @@ static int ide_cd_probe(ide_drive_t *drive)
     if (drive->media != ide_cdrom && drive->media != ide_optical)
         goto failed;

-    drive->debug_mask = debug_mask;
     drive->irq_handler = cdrom_newpc_intr;

     info = kzalloc(sizeof(struct cdrom_info), GFP_KERNEL);
diff --git a/drivers/ide/ide-cd.h b/drivers/ide/ide-cd.h
index 93a3cf1..613542a 100644
--- a/drivers/ide/ide-cd.h
+++ b/drivers/ide/ide-cd.h
@@ -8,7 +8,7 @@
 #include <linux/cdrom.h>
 #include <asm/byteorder.h>

-#define IDECD_DEBUG_LOG        0
+#define IDECD_DEBUG_LOG        1

 #if IDECD_DEBUG_LOG
 #define ide_debug_log(lvl, fmt, args...) __ide_debug_log(lvl, fmt, ## args)

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux