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

Linux null-pointer deref in 3.16.7-ctk2-1 (was: Bug#776192: upgrade-reports wheezy to jessie boot problem)



Control: reassign -1 src:linux

On Sun, 25 Jan 2015 02:09:18 -0800 Bill MacAllister <whm@stanford.edu>
wrote:
> Package: upgrade-reports
> Version: wheezy to jessie
> 
> Problem Description:
> 

Hi Bill,

Thanks for reporting this issue.

I have CC'ed the Debian linux maintainers as I noticed your kernel
reports a null pointer deference in the kernel (see below for the
trace).  I have taken the liberty of reassigning it to the linux package
as well.
  @linux maintainers: if you suspect that the null pointer issue is
unrelated to Bills boot problem, please clone the bug and throw the bug
back to upgrade-reports for further analysis.

Bug link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776192

Thanks,
~Niels

> I have been attempting to upgrade a Dell 1950 to jessie.  I start with a fresh install of 
> wheezy and do a dist-upgrade to jessie.  The upgrade proceeds fine, but on reboot the 
> system is dropped into initramfs.  When I look around I see that no disks devices are 
> visible.  I am able to reboot the system using the wheezy kernel and I have tried adding 
> rootdelay=120 as a boot option to no avail.
> 
>  
> After the upgrade I am able to boot using the wheezy kernel.
> 
> Hardware: Dell 1950
>           32 GB memory
>           2 SAS disks configured as a hardware RAID1 device
>           2 QLogic HBAs
> 
> The boot messages show that neither the QLogic or the PERC disk control are found.  
> 
> I am not seeing the same problem on an r620 with Emulex HBAs.
> 
> Here is a screen capture of the failing boot.
> 
> [...]


KERNEL TRACE (and everything after):
> [   46.419982] scsi4: error handler thread failed to spawn, error = -4
> [   46.494964] mptsas: ioc0: WARNING - Unable to register controller with SCSI subsystem
> [   46.588746] BUG: unable to handle kernel NULL pointer dereference at 0000000000000060
> [   46.592658] IP: [<ffffffff8150bace>] mutex_lock+0xe/0x2a
> [   46.592658] PGD 0
> [   46.592658] Oops: 0002 [#1] SMP
> [   46.592658] Modules linked in: sg sr_mod cdrom ata_generic ata_piix ehci_pci qla2xxx mptsas(+) libata uhci_hcd scsi_transport_sas ehci_hcd mptscsih scsi_transport_fc mptbase scsi_tgt usbcore usb_common scsi_mod bnx2
> [   46.592658] CPU: 4 PID: 101 Comm: systemd-udevd Not tainted 3.16.0-4-amd64 #1 Debian 3.16.7-ckt2-1
> [   46.592658] Hardware name: Dell Inc. PowerEdge 1950/0M788G, BIOS 2.5.0 09/12/2008
> [   46.592658] task: ffff88085b5e0aa0 ti: ffff88085b6f8000 task.ti: ffff88085b6f8000
> [   46.592658] RIP: 0010:[<ffffffff8150bace>]  [<ffffffff8150bace>] mutex_lock+0xe/0x2a
> [   46.592658] RSP: 0018:ffff88085b6fbb98  EFLAGS: 00010287
> [   46.592658] RAX: 0000000000000001 RBX: 0000000000000060 RCX: 00000000c0000100
> [   46.592658] RDX: ffff88085b6fbfd8 RSI: ffff88085b5e0aa0 RDI: ffff88087fd13280
> [   46.592658] R10: dfde1c295817c0b8 R11: 0000000000000008 R12: ffff88085f159000
> [   46.592658] R13: ffff88085f159098 R14: ffffffffa00ba410 R15: 0000000000000001
> [   46.592658] FS:  00007fc0eb78e880(0000) GS:ffff88087fd00000(0000) knlGS:0000000000000000
> [   46.592658] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> [   46.592658] CR2: 0000000000000060 CR3: 000000085b6cc000 CR4: 00000000000007e0
> [   46.592658] Stack:
> [   46.592658]  0000000000000000 ffffffffa001a878 0000000000000000 ffff88085bbf3000
> [   46.592658]  ffff88085f159000 ffffffffa0087222 ffff88085bbf3000 00000000ffffffff
> [   46.592658]  ffff88085f159000 ffffffffa00b6098 ffff88085f159000 0000000000000000
> [   46.592658] Call Trace:
> [   46.592658]  [<ffffffffa001a878>] ? scsi_remove_host+0x18/0x110 [scsi_mod]
> [   46.592658]  [<ffffffffa0087222>] ? mptscsih_remove+0x22/0x80 [mptscsih]
> [   46.592658]  [<ffffffffa00b6098>] ? mptsas_probe+0x398/0x4a0 [mptsas]
> [   46.592658]  [<ffffffff812e03bf>] ? local_pci_probe+0x3f/0xa0
> [   46.592658]  [<ffffffff812e16aa>] ? pci_device_probe+0xda/0x130
> [   46.592658]  [<ffffffff8139f5fd>] ? driver_probe_device+0x9d/0x3d0
> [   46.592658]  [<ffffffff8139f9fb>] ? __driver_attach+0x8b/0x90
> [   46.592658]  [<ffffffff8139f970>] ? __device_attach+0x40/0x40
> [   46.592658]  [<ffffffff8139d70b>] ? bus_for_each_dev+0x5b/0x90
> [   46.592658]  [<ffffffff8139ec90>] ? bus_add_driver+0x180/0x250
> [   46.592658]  [<ffffffffa0063000>] ? 0xffffffffa0062fff
> [   46.592658]  [<ffffffff810d8d1a>] ? load_module+0x20da/0x26b0
> [   46.592658]  [<ffffffff810d4900>] ? store_uevent+0x40/0x40
> [   46.592658]  [<ffffffff810d944d>] ? SyS_finit_module+0x7d/0xa0
> [   46.592658]  [<ffffffff8150d32d>] ? system_call_fast_compare_end+0x10/0x15
> [   46.592658] Code: ff ff b8 01 00 00 00 e9 9b fe ff ff 90 e8 4b e4 ff ff e9 c0 fe ff ff 66 0f 1f 44 00 00 66 66 66 66 90 53 48 89 fb e8 92 e3 ff ff <f0> ff 0b 79 08 48 89 df e8 25 fe ff ff 65 48 8b 04 25 80 b8 00
> [   46.592658] RIP  [<ffffffff8150bace>] mutex_lock+0xe/0x2a
> [   46.592658]  RSP <ffff88085b6fbb98>
> [   46.592658] CR2: 0000000000000060
> [   50.146177] ---[ end trace 9ccd01cf5f90349e ]---
> [   97.756507] random: nonblocking pool is initialized
> Begin: Loading e[  165.872767] device-mapper: uevent: version 1.0.3
> ssential drivers[  165.942082] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-devel@redhat.com
>  ... done.
> Begin: Running /scripts/init-premount ... done.
> Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
> Begin: Waiting for root file system ... done.
> [  286.522209] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> Gave up waiting [  286.598966] hidraw: raw HID events driver (C) Jiri Kosina
> for root device.[  286.679121] usbcore: registered new interface driver usbhid
> s:
>  - Boot args (cat /proc/cmdline)
>    - Check rootdelay= (did the system wait long enough?)
>    - Check root= (did the system wait for the right device?)
>  - Missing modules (cat /proc/modules; ls /dev)
> ALERT!  /dev/disk/by-uuid/39c20811-40cb-4c49-8b23-a25bb15208c0 does not exist.  Dropping to a shell!
> (initramfs) ls /dev/disk/by-id
> drwxr-xr-x 2 0 0 60 .
> drwxr-xr-x 3 0 0 60 ..
> lrwxrwxrwx 1 0 0  9 ata-TEAC_CD-ROM_CD-224E-N -> ../../sr0



Reply to: