<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - `BUG: unable to handle kernel NULL pointer dereference at 00000064` with `tty_open()`"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=70163">70163</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>`BUG: unable to handle kernel NULL pointer dereference at 00000064` with `tty_open()`
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>paulepanter@users.sourceforge.net
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>XOrg CVS
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Radeon
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Using an ASUS M2V-MX SE with an external Radeon graphics card, Debian Wheezy
with Linux 3.2.x and systemd 44-11, I am not able to log in and get the
following oops.

### log from serial console ### 
cryptsetup: sda2crypt set up successfully
done.
Begin: Running /scripts/local-premount ... done.
[   92.340314] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts:
(null)
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Debian GNU/Linux 7 (wheezy)!

Starting udev Kernel Device Manager...                                         
Starting LSB: Prepare console...                                               
Starting LSB: screen sessions cleaning...                                      
Started Set Up Additional Binary Formats                               [  OK  ]
Starting Load Kernel Modules...                                                
Starting Apply Kernel Variables...                                             
Starting Debug File System...                                                  
Starting Huge Pages File System...                                             
Starting Security File System...                                               
Starting POSIX Message Queue File System...                                    
Starting Lock Directory...                                                     
Starting User Runtime Directory...                                             
Starting Remount API VFS...                                                    
Starting File System Check on Root Device...                                   
Starting udev Coldplug all Devices...                                          
Starting Journal Service...                                                    
Started Journal Service                                                [  OK  ]
Failed to start Load Kernel Modules                                    [FAILED]
See 'systemctl status systemd-modules-load.service' for details.               
Started Apply Kernel Variables                                         [  
93.045704] udevd[317]5
[  OK  ]
Started Debug File System                                              [  OK  ]
Started Huge Pages File System                                         [  OK  ]
Started Security File System                                           [  OK  ]
Started POSIX Message Queue File System                                [  OK  ]
Started Lock Directory                                                 [  OK  ]
Started User Runtime Directory                                         [  OK  ]
Started Configuration File System                                      [  OK  ]
Started FUSE Control File System                                       [  OK  ]
Started udev Kernel Device Manager                                     [  OK  ]
Starting LSB: Set preliminary keymap...                                        
Starting LSB: Tune IDE hard disks...                                           
Started LSB: Prepare console                                           [  OK  ]
Started LSB: screen sessions cleaning                                  [  OK  ]
Started Remount API VFS                                                [  OK  ]
Starting LSB: Set console font and keymap...                                   
kbd[273]: Setting console screen modes.
kbd[273]: Skipping font and keymap setup (handled by console-setup).
systemd-fsck[309]: myhostname-root: sauber, 507742/3776512 Dateien,
12715071/15105622 Bl�öcke
Started LSB: Tune IDE hard disks                                       [  OK  ]
Started File System Check on Root Device                               [  OK  ]
Started udev Coldplug all Devices                                      [  OK  ]
console-setup[336]: Setting up console font and keymap.../etc/console-setup is
not writable. No .
hdparm[327]: Setting parameters of disc: (none).
[   93.498640] input: Sleep Button as
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2
keyboard-setup[326]: Setting preliminary keymap...done.
Started LSB: Set preliminary keymap                                    [  OK  ]
Starting Remount Root FS...                                                    
[   93.561442] EXT4-fs (dm-0): re-mounted. Opts: errors=remount-ro,discard
Started Remount Root FS                                                [  OK  ]
Started Various fixups to make systemd work better on Debian           [  OK  ]
Started Lock Directory                                                 [  OK  ]
Started Runtime Directory                                              [  OK  ]
Started LSB: Set console font and keymap                               [  OK  ]
[   93.661595] ACPI: Sleep Button [SLPB]
console-setup[336]: done.
[   93.694733] parport_pc 00:04: reported by Plug and Play ACPI
[   93.711522] input: Power Button as
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input3
[   93.721570] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[   93.856579] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
[   93.888088] k8temp 0000:00:18.3: Temperature readouts might be wrong - check
erratum #141
[   93.916061] ACPI: Power Button [PWRB]
[   93.919848] input: Power Button as
/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4
[   93.936905] udevd[425]: renamed network interface eth0 to eth4
[   94.007004] [drm] Initialized drm 1.1.0 20060810
[   94.042834] powernow-k8: Found 1 AMD Sempron(tm) Processor 3200+ (1 cpu
cores) (version 2.20.)
[   94.054059] snd_hda_intel 0000:02:00.1: PCI: Disallowing DAC for device
[   94.081614] ACPI: Power Button [PWRF]
[   94.186527] powernow-k8: fid 0xa (1800 MHz), vid 0x6
[   94.191538] powernow-k8: fid 0x2 (1000 MHz), vid 0x12
[   94.219292] HDMI status: Codec=0 Pin=3 Presence_Detect=0 ELD_Valid=0
[   94.275895] input: HD-Audio Generic HDMI/DP,pcm=3 as
/devices/pci0000:00/0000:00:02.0/0000:025
[   94.373593] snd_hda_intel 0000:20:01.0: PCI: Disallowing DAC for device
[   94.496686] [drm] radeon kernel modesetting enabled.
Starting Cryptography Setup for sda2crypt...                                   
[   94.512453] input: HDA VIA VT82xx Headphone as
/devices/pci0000:20/0000:20:01.0/sound/card1/i6
Started Cryptography Setup for s[   94.546085] [drm] initializing kernel
modesetting (CEDAR 0x10.
da2crypt        [   94.555384] radeon 0000:02:00.0: PCI: Disallowing DAC for
device
                [   94.562687] radeon: No suitable DMA available.
       [  OK  ]
Starting File Sy[   94.657589] [drm] register mmio base: 0xFBEC0000
stem Check on /d[   94.662845] [drm] register mmio size: 131072
ev/disk/by-uuid/5843f52e-f1...5-a91ca427dbd8...
[   94.701889] ATOM BIOS: CEDAR
[   94.717909] radeon 0000:02:00.0: VRAM: 512M 0x0000000000000000 -
0x000000001FFFFFFF (512M use)
[   94.726707] radeon 0000:02:00.0: GTT: 512M 0x0000000020000000 -
0x000000003FFFFFFF
[   94.746946] [drm] Detected VRAM RAM=512M, BAR=256M
[   94.751854] [drm] RAM width 64bits DDR
[   94.757404] [TTM] Zone  kernel: Available graphics memory: 448468 kiB
[   94.763966] [TTM] Zone highmem: Available graphics memory: 516920 kiB
[   94.770422] [TTM] Initializing pool allocator
[   94.778970] [TTM] Initializing DMA pool allocator
[   94.784213] [drm] radeon: 512M of VRAM memory ready
[   94.791600] [drm] radeon: 512M of GTT memory ready.
[   94.796699] [drm] GART: num cpu pages 131072, num gpu pages 131072
[   94.811435] [drm] radeon: ib pool ready.
[   94.824918] [drm] Loading CEDAR Microcode
systemd-fsck[575]: myhostname-boot: sauber, 249/131072 Dateien, 38485/524288
Bl�öcke
Started File System Check on /dev/disk/by-uuid/5843f...05-a91ca427dbd8 [  OK  ]
Starting /boot...                                                              
[   94.887424] platform radeon_cp.0: firmware: agent loaded
radeon/CEDAR_pfp.bin into memory
[   94.899643] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts:
discard
Started /boot[   94.915271] platform radeon_cp.0: firmware: agent loaded
radeon/CEDAR_me.bin inty
                                                          [  OK  ]
[   94.930838] platform radeon_cp.0: firmware: agent loaded
radeon/CEDAR_rlc.bin into memory
Starting LSB: Restore and store ALSA driver settings...                        
[   95.500299] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).  

[   95.509078] radeon 0000:02:00.0: WB enabled
[   95.513337] [drm] fence driver on ring 0 use gpu addr 0x20000c00 and cpu
addr 0xf75e1c00
[   95.524733] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[   95.531392] [drm] Driver supports precise vblank timestamp query.
[   95.552093] [drm] radeon: irq initialized.
[   95.592128] [drm] ring test on 0 succeeded in 1 usecs
[   95.604246] [drm] ib test on ring 0 succeeded in 0 usecs
[   95.613342] [drm] Radeon Display Connectors
[   95.617571] [drm] Connector 0:
[   95.620657] [drm]   HDMI-A
[   95.623363] [drm]   HPD1
[   95.625904] [drm]   DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468 0x646c
0x646c
[   95.633305] [drm]   Encoders:
[   95.636277] [drm]     DFP1: INTERNAL_UNIPHY1
[   95.640549] [drm] Connector 1:
[   95.643599] [drm]   DVI-I
[   95.646226] [drm]   HPD4
[   95.648767] [drm]   DDC: 0x6450 0x6450 0x6454 0x6454 0x6458 0x6458 0x645c
0x645c
[   95.656157] [drm]   Encoders:
[   95.659121] [drm]     DFP2: INTERNAL_UNIPHY
[   95.663308] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[   95.667929] [drm] Connector 2:
[   95.670988] [drm]   VGA
[   95.673443] [drm]   DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c
0x643c
[   95.680833] [drm]   Encoders:
[   95.683795] [drm]     CRT2: INTERNAL_KLDSCP_DAC2
[   95.688528] [drm] Internal thermal controller with fan control
[   95.699499] [drm] radeon: power management initialized
[   95.794479] [drm] fb mappable at 0xD0142000
[   95.798692] [drm] vram apper at 0xD0000000
[   95.802795] [drm] size 5242880
[   95.805856] [drm] fb depth is 24
[   95.809088] [drm]    pitch is 5120
[   95.832291] fbcon: radeondrmfb (fb0) is primary device
[   96.284166] Console: switching to colour frame buffer device 160x64
[   96.304260] fb0: radeondrmfb frame buffer device
[   96.304262] drm: registered panic notifier
[   96.320118] BUG: unable to handle kernel NULL pointer dereference at
00000064
[   96.324016] IP: [<c11cf073>] tty_open+0x1f1/0x3dc
[   96.324016] *pdpt = 000000003713d001 *pde = 0000000000000000 
[   96.324016] Oops: 0000 [#1] SMP 
[   96.324016] Modules linked in: snd_hda_codec_realtek radeon(+)
snd_hda_codec_hdmi ttm drm_kms]
[   96.324016] 
[   96.324016] Pid: 315, comm: systemd-journal Not tainted 3.2.0-4-686-pae #1
Debian 3.2.51-1 SyE
[   96.324016] EIP: 0060:[<c11cf073>] EFLAGS: 00010246 CPU: 0
[   96.324016] EIP is at tty_open+0x1f1/0x3dc
[   96.324016] EAX: 00000000 EBX: f5c91300 ECX: f5c91300 EDX: 00000000
[   96.324016] ESI: f721f180 EDI: f7574400 EBP: 00000001 ESP: f7119e18          
[   96.324016]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068                    
[   96.324016] Process systemd-journal (pid: 315, ti=f7118000 task=f5dd0d20
task.ti=f7118000)
[   96.324016] Stack:                                                           
[   96.324016]  00500001 f5d4a948 f7574418 00088101 f5dd0d20 00000000 f5d4a948
c1503cc8
[   96.324016]  f721f180 00000000 c10cfd5b 00000000 00000000 f721f180 f5d4a948
00000000
[   96.324016]  00000000 c10cba2f f5c26ec0 f5898e18 f7119efc f5898e18 f721f180
f726bf40
[   96.324016] Call Trace:                                                      
[   96.324016]  [<c10cfd5b>] ? chrdev_open+0xf3/0x111                           
[   96.324016]  [<c10cba2f>] ? __dentry_open+0x186/0x25f                        
[   96.324016]  [<c10cc77d>] ? nameidata_to_filp+0x3a/0x45                      
[   96.324016]  [<c10cfc68>] ? cdev_put+0x17/0x17                               
[   96.324016]  [<c10d683d>] ? do_last+0x4f8/0x513                              
[   96.324016]  [<c10d6aff>] ? path_openat+0xa1/0x28b                           
[   96.324016]  [<c10d6d92>] ? do_filp_open+0x23/0x5c                           
[   96.324016]  [<c102a229>] ? should_resched+0x5/0x1e                          
[   96.324016]  [<c12c2b4a>] ? _cond_resched+0x5/0x18                           
[   96.324016]  [<c10cc7dc>] ? do_sys_open+0x54/0xcd                            
[   96.324016]  [<c10cc873>] ? sys_open+0x1e/0x23                               
[   96.324016]  [<c12c835f>] ? sysenter_do_call+0x12/0x28
[   96.324016] Code: 8b 97 9c 00 00 00 8b 47 0c 80 e2 80 0f 85 82 00 00 00 8b
97 9c 00 00 00 81  
[   96.324016] EIP: [<c11cf073>] tty_open+0x1f1/0x3dc SS:ESP 0068:f7119e18
[   96.324016] CR2: 0000000000000064
[   96.563608] ---[ end trace edcc89bd81b89d58 ]---
[   96.580061] [drm] Initialized radeon 2.16.0 20080528 for 0000:02:00.0 on
minor 0</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>