WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-fr

Re: [Xen-fr] Utilisation carte Broadcom sur Dom0

To: xen-fr@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-fr] Utilisation carte Broadcom sur Dom0
From: "Emre ERALTAN" <eeraltan@xxxxxxxxx>
Date: Wed, 18 Jul 2007 14:51:32 +0200
Delivery-date: Wed, 18 Jul 2007 05:49:06 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=HAMmSHOj8ZDpm7zs75M73Fx6aG7EerMGq+KX628rB4HyYAM+wsyH6yLkIhU+k/bBn537CPDWPc3iJRrJTlYs+SmKdzaDZjuEEf0AB7lPlZhU+CzFzxE3Wx5ZimOOv07yZce6dUfTj/DQ7VhTb5R/OscnVu1WyEaysMXYw5SiX/E=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=Y/CRDUyiHvf1E3OXjmPuc00Y9VnV/2CjoevszvQmDUtJNeXfqfdRTvswcoBHM+vHJHW9lKAbTcOOu1GUyowfdYleeuj3oNxVOiFoU8ddhVJozw/6usBP4IZ6Ntz4tewyapatThU48M3jFxT/peijVY9MVS71t0rkaMUr+v1tOH0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070718124220.GF5845@xxxxxxxxxxxxx>
List-archive: <http://lists.xensource.com/archives/html/xen-fr>
List-help: <mailto:xen-fr-request@lists.xensource.com?subject=help>
List-id: xen-fr.lists.xensource.com
List-post: <mailto:xen-fr@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-fr>, <mailto:xen-fr-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-fr>, <mailto:xen-fr-request@lists.xensource.com?subject=unsubscribe>
References: <f6b59f190707111552y515d0850tc0aa7c16dd4ad5e4@xxxxxxxxxxxxxx> <20070718124220.GF5845@xxxxxxxxxxxxx>
Reply-to: xen-fr@xxxxxxxxxxxxxxxxxxx
Sender: xen-fr-bounces@xxxxxxxxxxxxxxxxxxx
Je n'ai pas trop avancé sur le sujet malheureusement mais j'ai trouvé les adresses...

En effet, ma fonction d'allocation mémoire DMA fait appel à la fonction SetPageReserved ( virt_to_page ( page_addr ) ) avec page_addr = 000000002f800000 (par exemple car adresse dynamique). La fonction virt_to_page renvoie une structure *page et si on le caste en unsigned long on arrive à voir le résultat qui semble être 0000000081a64000.

Il faut savoir que Xen utilise un offset qui est FFFF83000000000 pour une architecture x86-64 mais dans mon histoire on dirait que Xen essaye de réserver l'adresse FFFF881881a64000 et donc retourne une erreur de segmentation...

Voici l'erreur :
Unable to handle kernel paging request at ffff881881a64000 RIP:
 [<ffffffff884c28b8>] :linux_kernel_bde:_pgalloc+0x368/0x410
PGD cbf067 PUD 0
Oops: 0002 [1] SMP
last sysfs file: /devices/pci0000:00/0000:00: 00.0/class
CPU 0
Modules linked in: linux_kernel_bde(U) nfs lockd fscache nfs_acl bridge netloop netbk blktap blkbk autofs4 h
idp rfcomm l2cap bluetooth sunrpc ipv6 dm_mirror dm_mod video sbs i2c_ec button battery asus_acpi ac parport
_pc lp parport ngrstio(U) sg e1000 i2c_i801 pcspkr e752x_edac 8250_pnp i2c_core edac_mc i6300esb shpchp 8250
 serial_core mptsas mptscsih mptbase scsi_transport_sas sd_mod scsi_mod ext3 jbd ehci_hcd ohci_hcd uhci_hcd
Pid: 3522, comm: insmod Tainted: P      2.6.18-8.el5xen #1
RIP: e030:[<ffffffff884c28b8>]  [<ffffffff884c28b8>] :linux_kernel_bde:_pgalloc+0x368/0x410
RSP: e02b:ffff8800301ebdd8  EFLAGS: 00010286
RAX: 000000000000004e RBX: ffff881881a64000 RCX: 0000000000000038
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff88003fa07740 R08: 000000000000004b R09: ffff880002049000
R10: 0000000000000010 R11: ffffffff8033d37b R12: ffff88002f800000
R13: 0000000000000038 R14: 0000000000000007 R15: 00007f0000000000
FS:  00002aaaaaaace60(0000) GS:ffffffff8058d000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000
Process insmod (pid: 3522, threadinfo ffff8800301ea000, task ffff88003c6d6080)
Stack:  0000000000800000  0000000000000000  ffff880031197800  ffff880031197f10
 ffffffff884c8280  ffff880031197e90  ffffc20000039b48  ffffffff884c29a5
 ffff880031197f10  ffffffff884c33ed
Call Trace:
 [<ffffffff884c29a5>] :linux_kernel_bde:_alloc_mpool+0x45/0x60
 [<ffffffff884c33ed>] :linux_kernel_bde:_init+0x26d/0x2c0
 [<ffffffff8811b06c>] :linux_kernel_bde:init_module+0x6c/0xc6
 [<ffffffff8029b880>] sys_init_module+0x16aa/0x185f
 [<ffffffff8020c385>] _atomic_dec_and_lock+0x39/0x57
 [<ffffffff8025c621>] tracesys+0xa7/0xb2


Code: f0 0f ba 2b 0a 4c 89 e8 48 03 45 40 49 81 c4 00 10 00 00 48
RIP  [<ffffffff884c28b8>] :linux_kernel_bde:_pgalloc+0x368/0x410
 RSP <ffff8800301ebdd8>
CR2: ffff881881a64000
 <0>Kernel panic - not syncing: Fatal exception
 (XEN) Domain 0 crashed: rebooting machine in 5 seconds.

Cordialement
--

- - - - - - - - - - - - - -  -  -  -  -  -  -  -  -  -  -  -
Emre ERALTAN
Elève ingénieur 3ème année
Electronique et Informatique Industrielle
ENSSAT
- - - - - - - - - - - - - -  -  -  -  -  -  -  -  -  -  -  -


_______________________________________________
Xen-fr mailing list
Xen-fr@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-fr
<Prev in Thread] Current Thread [Next in Thread>