Mo makan2? harus saya yg disumbangi makanan pak.. kerja aja ampe ngerangkap
banyak..
soal thoro no comment deh.. soal daleman... malah ini baju luarnya pak.. kalo
boleh nanya daleman.. nih ada daleman.. pernah nyoba tracing kernel ke soucenya
kan
............... untuk handle interupsi processor, terutama yang SMP bisa di cek
di
arch/i386/kernel/entry.S .... nah skrg pushl %ebx
cld
movl %es, %ecx
- movl ORIG_EAX(%esp), %esi <--- simpan kode error yang ada (bs di
cek, di kumpulan syscall vector kalo ngga salah yach di hradwaare irq header)
movl ES(%esp), %edi <--ambil alamat offset fungsi
+ movl ORIG_EAX(%esp), %edx <--simpan lagi alamat errornya
movl %eax, ORIG_EAX(%esp)
movl %ecx, ES(%esp)
- movl %esp, %edx
- pushl %esi <--munculkan kode error (bandingkan
dengan tabel interupsi kernel)
- pushl %edx <--lakukan penyimpanan pointer pt_regs
- movl $(__USER_DS), %edx
- movl %edx, %ds
- movl %edx, %es
+ movl $(__USER_DS), %ecx
+ movl %ecx, %ds
+ movl %ecx, %es
+ movl %esp,%eax <---- nilai pt_regs pointer
call *%edi
- addl $8, %esp
jmp ret_from_exception
...................
diatas patch kernel untuk fungsi stack argument passing diubah menjadi register
argument passing..
trus tinggal dipanggil di irq.c
fastcall unsigned int do_IRQ(struct pt_regs *regs)
{
/* high bits used in ret_from_ code */
- int irq = regs.orig_eax & 0xff;
+ int irq = regs->orig_eax & 0xff;
#ifdef CONFIG_4KSTACKS
union irq_ctx *curctx, *irqctx;
....
----------------------
u32 *isp;
nah... itu baru jeroan pak,
ini SO ku mana SO mu?????
"Never Trust an Operating System You don't have the Source for..."
"Closed Source for device Driver are ILLEGAL and not Ethical... act!"
"Isn't it, MS Windows a real multitasking OS?, Why? 'Cause It can boot and
crash simultaneously!"
Homepage : www.mrp-bpp.net
Gmail Account :[email protected]
--- Pada Sab, 16/5/09, Wahyu Budi <[email protected]> menulis:
Dari: Wahyu Budi <[email protected]>
Topik: [balikpapan-ict] Re: Mohon bantuan
Kepada: [email protected]
Tanggal: Sabtu, 16 Mei, 2009, 4:44 AM
Mo ngomentari signature-nya..
Emank kernet ojek ada yah?? byk bgt tuh kerjaan, kpn neh makan2nya??
Klo utk trace kernel, kayaknya hanya hacker aja neh yg bisa, kayak
thor...(thoro ato siapa..), di milis ini ada tmn nya thor deh.
sori tdk membantu, cuman ketawa geli.. br posting, udh bahas yg daleman..
-budi-
sepi banget penumpang
Mada R Perdhana wrote:
> Mohon bantuannya nih.. untuk para master IT Balikpapan, saya lagi
> mentok, melakukan tracing code yg di dumping oleh kernel (via oops
> message), gimana sih caranya melakukan tracing ke dalma kode kernel.. contoh
>
> 10:24:41 steveb kernel: Unable to handle kernel NULL pointer dereference
> at virtual address 00000000
> Aug 9 10:24:41 steveb kernel: c01874e5
> Aug 9 10:24:41 steveb kernel: *pde = 00000000
> Aug 9 10:24:41 steveb kernel: Oops: 0000
> Aug 9 10:24:41 steveb kernel: CPU: 0
> Aug 9 10:24:41 steveb kernel: EIP: 0010:[jfs_mount+37/704]
> Not tainted
> Aug 9 10:24:41 steveb kernel: EIP: 0010:[<c01874e5>]
> Not tainted
> Using defaults from ksymoops -t elf32-i386 -a i386
> Aug 9 10:24:41 steveb kernel: EFLAGS: 00013246
> Aug 9 10:24:41 steveb kernel: eax: d734c800 ebx: 00000000
> ecx: cee40000 edx: cee63b44
> Aug 9 10:24:41 steveb kernel: esi: d734c800 edi: d7ee01d4
> ebp: 00000000 esp: cee2fe64
> Aug 9 10:24:41 steveb kernel: ds: 0018 es: 0018 ss: 0018
> Aug 9 10:24:41 steveb kernel: Process mount (pid: 1083, stack-
> page=cee2f000)
> Aug 9 10:24:41 steveb kernel: Stack: 00001000 00000000
> d734c800 d7ee01d4 00000000 00000000 c0183fdc d734c800
> Aug 9 10:24:41 steveb kernel: d734c800 00001000
> 00000000 00000000 00000002 00000000 c027f230 00000000
> Aug 9 10:24:41 steveb kernel: d734c800 c01363b7
> d734c800 00000000 00000000 c027f230 c027f230 00000000
> Aug 9 10:24:41 steveb kernel: Call Trace:
> [jfs_read_super+172/624] [get_sb_bdev+359/560] [alloc_vfsm-
> nt+121/176] [do_kern_mount+215/256] [do_add_mount+101/320]
> Aug 9 10:24:41 steveb kernel: Call Trace: [<c0183fdc>]
> [<c01363b7>] [<c0146299>] [<c0136687>] [<c01471b5>]
> Aug 9 10:24:41 steveb kernel: [<c0147492>] [<c01472dd>]
> [<c014780b>] [<c0106cc3>]
> Aug 9 10:24:41 steveb kernel: Code: 8b 2d 00 00 00 00 55 68
> 67 09 25 c0 e8 0a c1 f8 ff 6a 00 6a
> >>EIP; c01874e5 <jfs_mount+25/2c0> <=====
> Trace; c0183fdc <jfs_read_super+ac/270>
> Trace; c01363b7 <get_sb_bdev+167/230>
> Trace; c0146299 <alloc_vfsmnt+79/b0>
> Trace; c0136687 <do_kern_mount+d7/100>
> Trace; c01471b5 <do_add_mount+65/140>
> Trace; c0147492 <do_mount+162/180>
> Trace; c01472dd <copy_mount_options+4d/a0>
> Trace; c014780b <sys_mount+7b/c0>
> Trace; c0106cc3 <system_call+33/40>
> Code; c01874e5 <jfs_mount+25/2c0>
> 00000000 <_EIP>:
> Code; c01874e5 <jfs_mount+25/2c0> <=====
> 0: 8b 2d 00 00 00 00 mov 0x0,%ebp <=====
> Code; c01874eb <jfs_mount+2b/2c0>
> 6: 55 push %ebp
> Code; c01874ec <jfs_mount+2c/2c0>
> 7: 68 67 09 25 c0 push $0xc0250967
> Code; c01874f1 <jfs_mount+31/2c0>
> c: e8 0a c1 f8 ff call fff8c11b
> <_EIP+0xfff8c11b>
> Code; c01874f6 <jfs_mount+36/2c0>
> 11: 6a 00 push $0x0
> Code; c01874f8 <jfs_mount+38/2c0>
> 13: 6a 00 push $0x0
>
> saya tunggu jawabannya..
>
> regards
> Buruh Satpam Kontrak
> Kernet Ojek
> Tukang Bedah Mayat
>
>
> Yahoo! Upcoming: Singapore Arts Festival 2009 15 Mei - 14 Juni 2009.
> ------------------------------------------------------------------------
> Lihat! <http://upcoming.yahoo.com/event/2166746/ >
>
> >
Cepat, Bebas Iklan, Kapasitas Tanpa Batas - Dengan Yahoo! Mail Anda bisa
mendapatkan semuanya. http://id.mail.yahoo.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Balikpapan Information, Communication & Technology Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/balikpapan-ict?hl=en-GB
-~----------~----~----~----~------~----~------~--~---