From owner-freebsd-questions@FreeBSD.ORG Tue Jul 27 13:04:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F207106564A for ; Tue, 27 Jul 2010 13:04:00 +0000 (UTC) (envelope-from eforezz@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2A7298FC1B for ; Tue, 27 Jul 2010 13:03:59 +0000 (UTC) Received: by wyj26 with SMTP id 26so3684666wyj.13 for ; Tue, 27 Jul 2010 06:03:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=Fzr32+877YCqhFwFl06PeD5uEyHXhfSlPP4YkyJ2SAk=; b=SAULIUGwDIXfgJ9IxhMQ+fX62QNhvmPyMH39AB1I9cDSqED1acIBOeDdf5aeCUwvRl 2v6dfO3JXjLxRU+qf71UQhp3pXoh8fKcIXjvr94fAKRI49h9zsN8O606Bo+vdGAT/JQ7 seLkt+Pnj9q/bJeRTfHxKIbjW/Q+WB+M41Jzw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=l1JWQf+mqK+EYodWvjx1CcanI3lAWHxQNs6JMo5VxpcOg1rvde/DkrAjo47q8x1dFB 37TXJUDDqQgrrbxz8MNz7BEL4/lSaMzqJwKIpUtnOIBdqqC+QWvRI4vDcixSySzmWKZf ayQn0kFzU6LWHWkW6vCVGSwrchlQBgjfROXwI= MIME-Version: 1.0 Received: by 10.227.145.20 with SMTP id b20mr8867843wbv.28.1280234325318; Tue, 27 Jul 2010 05:38:45 -0700 (PDT) Received: by 10.216.139.134 with HTTP; Tue, 27 Jul 2010 05:38:45 -0700 (PDT) Date: Tue, 27 Jul 2010 15:38:45 +0300 Message-ID: From: EforeZZ To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Firewire RAM access X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2010 13:04:00 -0000 Hi, I was playing around with fwcontrol and its "-m" switch. I connected my FreeBSD 7.2 notebook to Win7 PC Via firewire and attempted to access Win7's RAM through the /dev/fwmem interface. I failed. ================================================================ 5 root@purevil:ttyv0 ~ 15:11:24 > fwcontrol 2 devices (info_len=2) node EUI64 status hostname 0 00-1d-72-ff-ff-c5-6b-71 0 -1 00-1e-8c-00-01-7b-f5-38 0 ================================================================ Then I plugged in the cable: ================================================================ fwohci0: BUS reset fwohci0: node_id=0xc000ffc1, gen=8, CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire0: bus manager 1 (me) 5 root@purevil:ttyv0 ~ 15:11:46 > fwcontrol 2 devices (info_len=2) node EUI64 status hostname 1 00-1d-72-ff-ff-c5-6b-71 0 0 00-1e-8c-00-01-7b-f5-38 1 5 root@purevil:ttyv0 ~ 15:11:49 > fwcontrol -m 00-1e-8c-00-01-7b-f5-38 0 root@purevil:ttyv0 ~ 15:12:00 > ll /dev/fwmem* lrwxr-xr-x 1 root wheel 8 27 Jul 14:56 /dev/fwmem0 -> fwmem0.0 crw-rw---- 1 root operator 0, 53 27 Jul 14:56 /dev/fwmem0.0 0 root@purevil:ttyv0 ~ 15:12:04 > more /dev/fwmem0 read error (press RETURN) ================================================================ The question is.. Should this always work? As far as I know I should be able to access other PC's RAM through the firewire connection without any support from the connected PC's OS, right? Best regards, EforeZZ