From: Aivils <ai...@un...> - 2005-03-21 11:55:18
|
On Sunday 20 March 2005 19:49, Hugo Vanwoerkom wrote: > Hi! >=20 > Strangest thing: if on 2.6.9-ruby.vz9x1 (but I think > this is not specific to that version) I run > svgatextmode 2x, the first time it oopses and the > second time it runs! >=20 > Oops occurs here: >=20 > (gdb) l *0xc0202d49 > 0xc0202d49 is in vt_ioctl > (drivers/char/vt_ioctl.c:1342). > 1337=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0for (i = =3D 0; i < vc->display_fg->vc_count; i++) > { > 1338=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0struct vc_data *tmp =3D > vc->display_fg->vc_cons[i]; Please add here: if (!tmp) continue; Here is to match linux-ruby, i couldn't send file to You. > 1339=A0=A0=A0=A0 > 1340=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0acquire_console_sem(); > 1341=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0if (vlin) > 1342=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0tmp->vc_scan_lines =3D vlin; > 1343=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0if (clin) > 1344=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0tmp->vc_font.height =3D clin; > 1345=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0vc_resize(tmp, cc, ll); > 1346=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0release_console_sem(); > (gdb) q >=20 > and the oops I posted earlier: >=20 > kernel: Unable to handle kernel NULL pointer > dereference at virtual address 00000010 > kernel: =A0printing eip: > kernel: c01ffb43 > kernel: *pde =3D 00000000 > kernel: Oops: 0002 [#1] > kernel: Modules linked in: usbhid uhci_hcd usbcore > pcspkr via686a i2c_sensor i2c_isa i2c_core ide_scsi sg > cs4232 ad1848 uart401 rtc > kernel: CPU: =A0 =A00 > kernel: EIP: =A0 =A00060:[vt_ioctl+6723/7344] =A0 =A0Not > tainted VLI > kernel: EFLAGS: 00013206 =A0 (2.6.11-ruby)=20 > kernel: EIP is at vt_ioctl+0x1a43/0x1cb0 > kernel: eax: efa40000 =A0 ebx: 00000000 =A0 ecx: 00000300=20 > =A0edx: 00002711 > kernel: esi: 00000006 =A0 edi: c1613000 =A0 ebp: 00000300=20 > =A0esp: efa41e60 > kernel: ds: 007b =A0 es: 007b =A0 ss: 0068 > kernel: Process SVGATextMode (pid: 2736, > threadinfo=3Defa40000 task=3Dee8440e0) > kernel: Stack: eea1f400 00000064 00000030 efb01c8c > efb55005 00000004 00000064 00000030=20 > kernel: =A0 =A0 =A0 =A000000010 00000300 0010c4e0 00300064 > efa41ed8 00000000 efb55009 00000000=20 > kernel: =A0 =A0 =A0 =A0efb55009 00000000 c015ce18 efc3bc04 > efa41ed4 efa41ed0 efc3bc04 efb01c8c=20 > kernel: Call Trace: > kernel: =A0[link_path_walk+2232/2944] > link_path_walk+0x8b8/0xb80 > kernel: =A0[tty_open+539/768] tty_open+0x21b/0x300 > kernel: =A0[tty_open+0/768] tty_open+0x0/0x300 > kernel: =A0[chrdev_open+177/336] chrdev_open+0xb1/0x150 > kernel: =A0[tty_ioctl+886/1248] tty_ioctl+0x376/0x4e0 > kernel: =A0[do_ioctl+88/128] do_ioctl+0x58/0x80 > kernel: =A0[vfs_ioctl+106/464] vfs_ioctl+0x6a/0x1d0 > kernel: =A0[get_unused_fd+88/176] > get_unused_fd+0x58/0xb0 > kernel: =A0[sys_ioctl+69/128] sys_ioctl+0x45/0x80 > kernel: =A0[syscall_call+7/11] syscall_call+0x7/0xb > kernel: Code: dd 89 5c 24 24 89 54 24 1c 89 4c 24 18 > 0f b7 54 24 2a 89 54 24 20 8b 9c b0 cc 10 00 00 e8 86 > 7d f1 ff 66 85 ed 74 07 8b 4c 24 24 <89> 4b 10 66 83 > 7c 24 2a 00 74 07 8b 44 24 20 89 43 5c 8b 54 24=20 >=20 |