From owner-soc-status@freebsd.org Sun Jun 26 12:20:13 2016 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5BF0DB8198D for ; Sun, 26 Jun 2016 12:20:13 +0000 (UTC) (envelope-from surajponugoti@outlook.com) Received: from COL004-OMC3S16.hotmail.com (col004-omc3s16.hotmail.com [65.55.34.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 21E982856 for ; Sun, 26 Jun 2016 12:20:12 +0000 (UTC) (envelope-from surajponugoti@outlook.com) Received: from NAM01-SN1-obe.outbound.protection.outlook.com ([65.55.34.135]) by COL004-OMC3S16.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sun, 26 Jun 2016 05:19:06 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=cMsu1GDen9UdSEEHd5mM+un82eMUOQqvhuDUudhoLRg=; b=kG+7/qHZcrYngwsHzAtuqSIGscVR7Ng1Z7u69Y5r6gJ1kyCwWjB5EmiBmw5QJkTpyei9njesDOLhCJM2nByVRmG45CxxuVeVAkXA+uvH3eMK6PEFFWXZ2PYwsW+qeqcV7LAoBye+uFP2y1MspgtkGtkun0Li6Sbixmd7NOwbZnzfTbK3MYzpZVTfPAR63uBtA3+RWQYv/iISl/+p3TBINHa7Mke7R0DKjpvnE+cTc7ZhB54+PbspkeEACwyOYEvw2/Bxs1d/JfQVdwkx6/ZdTRWJ43Wz09N13Gv3Jd+jWtByt2C+ZM+jWZQeIMY755cXWDGom+YxE1AmEWXNvTj8JA== Received: from SN1NAM01FT022.eop-nam01.prod.protection.outlook.com (10.152.64.56) by SN1NAM01HT024.eop-nam01.prod.protection.outlook.com (10.152.64.83) with Microsoft SMTP Server (TLS) id 15.1.523.9; Sun, 26 Jun 2016 12:19:03 +0000 Received: from SN1PR11MB0782.namprd11.prod.outlook.com (10.152.64.57) by SN1NAM01FT022.mail.protection.outlook.com (10.152.65.158) with Microsoft SMTP Server (TLS) id 15.1.523.9 via Frontend Transport; Sun, 26 Jun 2016 12:19:03 +0000 Received: from SN1PR11MB0782.namprd11.prod.outlook.com ([10.163.207.24]) by SN1PR11MB0782.namprd11.prod.outlook.com ([10.163.207.24]) with mapi id 15.01.0523.019; Sun, 26 Jun 2016 12:19:02 +0000 From: suraj ponugoti To: "soc-status@FreeBSD.org" Subject: Re: Adding SCSI Passthrough to CTL Thread-Topic: Adding SCSI Passthrough to CTL Thread-Index: AQHRvav815GxMm76Q0+QqDqRN2o8xp/lXrOugAu0So6ACrp7tw== Date: Sun, 26 Jun 2016 12:19:02 +0000 Message-ID: References: , , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=softfail (sender IP is 25.152.64.57) smtp.mailfrom=outlook.com; FreeBSD.org; dkim=none (message not signed) header.d=none;FreeBSD.org; dmarc=fail action=none header.from=outlook.com; received-spf: SoftFail (protection.outlook.com: domain of transitioning outlook.com discourages use of 25.152.64.57 as permitted sender) x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [dLiTkiAZoxV4eKNNY3Y8isvyQttSpz+q] x-eopattributedmessage: 0 x-forefront-antispam-report: CIP:25.152.64.57; IPV:NLI; CTRY:GB; EFV:NLI; SFV:NSPM; SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1; SRVR:SN1NAM01HT024; H:SN1PR11MB0782.namprd11.prod.outlook.com; FPR:; SPF:None; CAT:NONE; LANG:en; CAT:NONE; x-ms-office365-filtering-correlation-id: a0f5fbb9-e009-48e1-9c5e-08d39dbc0f88 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(1601124038)(5061506196)(5061507196)(1603103041)(1601125047); SRVR:SN1NAM01HT024; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015012)(82015046); SRVR:SN1NAM01HT024; BCL:0; PCL:0; RULEID:; SRVR:SN1NAM01HT024; x-forefront-prvs: 0985DA2459 MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jun 2016 12:19:02.8384 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1NAM01HT024 X-OriginalArrivalTime: 26 Jun 2016 12:19:07.0031 (UTC) FILETIME=[EF81EA70:01D1CFA4] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2016 12:20:13 -0000 Hi, This project is about exporting physical SCSI devices over iSCSI through CT= L as an actual SCSI target. Wiki Page: https://wiki.freebsd.org/SurajPonugoti Git Repo: https://github.com/suraj5/freebsd Weekly updates: 1)Created lun for each corresponding SCSI device. 2)Inquiry status command working,but I need to copy status from ccb to ctl_= io ccb. Thanks Suraj From owner-soc-status@freebsd.org Sun Jun 26 17:49:05 2016 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA94BB81B98 for ; Sun, 26 Jun 2016 17:49:05 +0000 (UTC) (envelope-from ionutalex.teaca@gmail.com) Received: from mail-oi0-x235.google.com (mail-oi0-x235.google.com [IPv6:2607:f8b0:4003:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8F6C32457 for ; Sun, 26 Jun 2016 17:49:05 +0000 (UTC) (envelope-from ionutalex.teaca@gmail.com) Received: by mail-oi0-x235.google.com with SMTP id f189so174914254oig.3 for ; Sun, 26 Jun 2016 10:49:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=nvDQmmhsjWhzdGgFf3T6KTpDqgyY08HgjtMFRNhk9Xs=; b=PScfxlllz8hE5JrimB0tmPm9BUJXMduwf5I5ocr9tqzvO2bLyTiTNVmzkM9ihLYNks o3Dyr9gmcGmxJRHGFXxTdG+orNkC2yjinoB6LPwSDmmdThYYe56UFiJZeutzgCA5o8Bn Hft4WjvA5CmzAfp1PQlyN4YcVWbkdY2ecEpQGdAk85X5kp3THadkwkV2UQUuz/q1qUFT NAbaLrl77HMc9Yioi/cgy0RoLxFifvUCMG241tKPtmjWx7RGbjYvHNUSJu8oi3s2MH4M LVOu16Q2fp02t7udmWax8t7EeoHC0jTirr7fMmNDPnRO1soApLEHCU03fT7mbPW6fAeB GCDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=nvDQmmhsjWhzdGgFf3T6KTpDqgyY08HgjtMFRNhk9Xs=; b=S5qWh3PkLM59P6/BDeETJ/I7slz7JZ9b35wKWxIL41+X04vzgyp7JSPF5c4uEDrPc5 xRGcBqDy+Gd5OLAvtAkSxe0wqoa8pEDdC1dYmWpRN2IquK0eKgZOIHXI4+4v09ysUgbW IHXTg3vyCO4E3Xljhb3fbqDAOWQYLD2v9aciX02Jo56+QowHeLbOCYE04l1Jd5w8hPuS jq6tL+xoefsSydOpaUE49OipQRZhD0ECrZf7JUStj+GRUXenjOwh5oj5KPFUwDr54HG8 H+U5lscPWqQ/KwixZpWWzCsfn+Yf2JGQqWWRK2k7sbX2Z7nmkkAfJdl5epaAk+ue9tdl /9hg== X-Gm-Message-State: ALyK8tLVeAd+rHxvGk39mG+Olkjx4inmfj/0hEp21YJvyq/z1e4iHuJuB2kGMP/cIcEz0RehMr8cHoe75Ktlmw== X-Received: by 10.157.40.57 with SMTP id m54mr9264920otb.152.1466963344856; Sun, 26 Jun 2016 10:49:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.49.133 with HTTP; Sun, 26 Jun 2016 10:49:04 -0700 (PDT) In-Reply-To: References: From: Alex Teaca Date: Sun, 26 Jun 2016 20:49:04 +0300 Message-ID: Subject: Re: [GSOC 2016] HD Audio Emulation For Bhyve Status To: soc-status@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2016 17:49:05 -0000 Hi, Short update. - implement the stream management operations (stream_start, stream_stop, hda stream interrupts, hda_transfer) in the hda and hda codec - create one thread per stream in the initialization of the codec which runs as long as the stream is started and waits on a conditional variable when the stream is stopped. - implement the Audio Player used to play samples to the sound device (/dev/dsp) (3 functions: audio_init, audio_set_params and audio_playback) Results: manage to play music in a bhyve virtual machine :) Thanks, Alex On Fri, Jun 17, 2016 at 9:52 PM, Alex Teaca wrote: > Hi, > > I added a pin widget (Line-out) and now the Audio Output Widget is > enabled. The codec is installed as pcm0: > root@vm_hda:~ # cat /dev/sndstat > Installed devices: > pcm0: (play) default > > The next step is to implement the stream management operations such as > start_stream and stop_stream. I have taken a look on the Stream management > chapter from the HDA specification in order to get familiar with these > operations and study the driver implementation (hdaa_audio_setup, > hdac_stream_start, hdac_stream_stop) to see what registers are programmed > and what commands are sent to the codec. > > Together with Peter and Alexander we chose the design of the interaction > between the HDA controller, codecs and Audio player regarding the stream > management. > > Thanks, > Alex > > > On Mon, Jun 6, 2016 at 10:01 PM, Alex Teaca > wrote: > >> Hi, >> >> Here is the status with the features I have implemented so far. >> >> - set up the HDA controller as a PCI device in bhyve >> - design the layout of registers and implement the read and write access >> to the registers >> - implement the CORB and RIRB mechanisms in order to get commands from >> driver and respond back >> - add the hdac_codec module and implement the interface of communication >> between the hda controller and codec >> - describe the hda codec parameters for each node (ROOT, FG and AUDIO >> OUTPUT) >> - handle the GET_PARAMETER verb >> >> At the moment there is only one widget: the Autio Output Widget and the >> hda driver has disabled it because it does not find any Pin widget. >> >> The plan is to add the Pin output widget and to continue with the streams >> data in order to play some samples. >> >> Thanks, >> Alex >> >> > From owner-soc-status@freebsd.org Mon Jun 27 10:03:11 2016 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 36EDAB81B49 for ; Mon, 27 Jun 2016 10:03:11 +0000 (UTC) (envelope-from y.iozzelli@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C48552198 for ; Mon, 27 Jun 2016 10:03:10 +0000 (UTC) (envelope-from y.iozzelli@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id a66so107465918wme.0 for ; Mon, 27 Jun 2016 03:03:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=ZgWqckKHkaqB467HtNuq7OdyPsOZyaSVvy6HkdDuDJo=; b=eDxYYXgjVPZ46jhP2ryKTscwtouQsdIPs0q2FmKL2hIeA903EN/fT+Z5XR85ADygdP 7q1uUSuOotz8JPEn7vQOEbg3lsV2XHicBGCWMsUK5jkSobrrPZKdm1PTfNySNOAG7rxH HTW4m7qQOcQOsGr7u2zH8x1XVOZAATLsali4JBE8ksSwmlxX4hX1IKjzUlaeRTLHXyN+ 3y90R30LUoOh26NU5O315seJyQgWfgpNwnCa3I0pUsADEg1YRC9MR6wKjcnHEI3nGiVF 6i/2pQUjXz+Jc6rg/1aQDqgsAQExy68AKDFewscm+dq5OWbG5NYzViKoRAOJePtVcqN8 4FQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ZgWqckKHkaqB467HtNuq7OdyPsOZyaSVvy6HkdDuDJo=; b=hyu/WNcqukfBhYZ+0zHdrHhLQ4gWJPB2byyxl/8MJX4VsbviBpn2GN2n54KNNTKVtO 25xdHgz6LRirLS5epIXwpP4AbKmN1RWIem7vpvAp6wX7ENBqjRirxq3WJSbfUN0aE0KS sHH1iXSbPZGo5s8JGUZLU3mjPJHLlz33Ty/vHcji//WTVM+Xgg5MLupzUO7MBXJVRfl3 K1XG8k62aeNytm+5wdIFFOzC4FzEJNHqzQ0V8GLnGxkX9Giof/+8VDbZAHEE0DDgTv3L 6/I5x16eiljLyqKoxXiQViyXAYp/af04Q8Wk2/jpHrWDeiUQA258YIdw5bRd3eIEqZzP 3mzg== X-Gm-Message-State: ALyK8tJKMJ1oSXF6xdnJF34fWHOjc9jWQQHOD4q42IhE6W7wFYMQKUHAoGMxoG/N5GIrgYBPhWJMUFLf4J/Y7A== X-Received: by 10.28.181.146 with SMTP id e140mr9222310wmf.38.1467021789387; Mon, 27 Jun 2016 03:03:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.212.136 with HTTP; Mon, 27 Jun 2016 03:03:08 -0700 (PDT) From: Yuri Iozzelli Date: Mon, 27 Jun 2016 12:03:08 +0200 Message-ID: Subject: High Performance P4 Software Switch - Week 5 To: soc-status@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2016 10:03:11 -0000 Hi Project summary ======================== In this project I would like to implement a modified version of the reference p4 (http://p4.org) switch on FreeBSD, which uses netmap for faster packet I/O: the goal would be reaching the 1 Mpps order-of-magnitude speed (current reference implementation is limited to 150 Kpps for a simple l2 switch with 2 hosts). Week 5 ========================= I improved the lock-free queue to support batching and modified the existing code to take advantage of it. I am also starting to implement a priority queue based on it. The simple target I am working on is complete and it reaches a throughput of 2 Mpps for the simplest p4 program, and a throughput of 650 Kpps for a more realistic one. Now I will focus to bring in more features, like packet replication and learning. Links: Wiki page: https://wiki.freebsd.org/SummerOfCode2016/HighPerformanceP4SoftwareSwitch#preview Code (gsoc-* branches): https://github.com/zarghul/behavioral-model Regards, Yuri Iozzelli From owner-soc-status@freebsd.org Mon Jun 27 12:57:49 2016 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1522BB72E35 for ; Mon, 27 Jun 2016 12:57:49 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com [IPv6:2607:f8b0:4003:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D47A8282A for ; Mon, 27 Jun 2016 12:57:48 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x229.google.com with SMTP id r2so198931463oih.2 for ; Mon, 27 Jun 2016 05:57:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=90MAezlDDGoQL0rl40+g2nigOfBQD0c/t5YoNNOJnK0=; b=GW00+nRQ4xMZMH39F5Abm9Ey9gWV+Sog0ne3adk67fIfNhwUW3mrZNFlmoH1G6brIJ XR3MqDnd1CWhSV+RzGiVnplGc5IUBNql+9XZYw9N/M1rzZUjWTg/mjTNXOYqD278e7e3 6SsJ2/PGO2MvMDZwVddVO4zjW+cNaVusx1Vf6c7rGvDpUodFViECpFn5b9rGhzcxcYZH 7q0urdg6YBgmcQhbPdkfLt1LbUPvwgsct7sd3P5ANQuDlNGPhBMBbdA2gpYoV9gBxTl6 J8DB/rHHn4NQWh5uIVl1YsqydoURaKJ3HisMvRgImm8+2X4umbV7mxP5lVG4GNT9idTb xI5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=90MAezlDDGoQL0rl40+g2nigOfBQD0c/t5YoNNOJnK0=; b=hcDAlH4aULA4rLa7xFKhVHgjI4YQL/gXu3aGRvPodykoMDy6F6mrYz5HRrvICzq9z+ Dou11u5xpzrPlmnW4enWTVgB66g6wR00pCaOb1oWMaChhKaGB7TYC+M1B3Rjs8xXoZpu Jza0bjw/RHlBfH+Uewt8M1eEuisws6MGjEQXpA5ABvJoRPkIsW4hOfjEXuLhzKDlYSza tHMmvgbTOOGZ9KMAbjqvpKDMQ5pO4PmoEFudI+3lu79IixQ8/ch9dLmG5ZdQxW42Q1CR kuWAsVig1z1XBWVcDcmVQGhqu1L/DYijxW8L0fJHsWjjwBLzftHDlXZHEIRQ7eLy8R4s Vdxw== X-Gm-Message-State: ALyK8tKFEhynsPSrVLIC6hAF4SH3XMLuPGmxvPUHBTBY8ZqwoAlSZLWoMQ3k001dijTGsmdwuud/e8mtMe4BaA== X-Received: by 10.202.187.139 with SMTP id l133mr391712oif.150.1467032268052; Mon, 27 Jun 2016 05:57:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.46.21 with HTTP; Mon, 27 Jun 2016 05:57:47 -0700 (PDT) From: Vincenzo Maffione Date: Mon, 27 Jun 2016 14:57:47 +0200 Message-ID: Subject: High-performance TCP/IP networking for bhyve VMs using netmap passthrough To: soc-status@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2016 12:57:49 -0000 Hello Project summary ================= ptnet is a new multi-queue paravirtualized device that builds on ptnetmap to allow VMs to exchange TCP traffic at 20 Gbps, while still offering the same ptnetmap performance (10-100 Mpps) to native netmap applications. The purpose of this SOC project is to write a ptnet driver for FreeBSD and a corresponding device model for the bhyve hypervisor. Status update for week 5 =================== In this week I kept going on with the driver implementations, adding taskqueues to manage deferred RX/TX work, fixing several synchronization problems and expanding the support for ioctl(). Some more bug-fixing work is needed to get the driver working, and I plan to do that in week 6, together with performance tests. Links: Project wiki page: https://wiki.freebsd.org/SummerOfCode2016/PtnetDriverAndDeviceModel Code: https://svnweb.freebsd.org/socsvn/soc2016/vincenzo/head/sys/dev/netmap/if_ptnet.c?view=markup -- Vincenzo Maffione From owner-soc-status@freebsd.org Mon Jun 27 20:42:32 2016 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F4CDB8530D for ; Mon, 27 Jun 2016 20:42:32 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-lf0-f41.google.com (mail-lf0-f41.google.com [209.85.215.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2230E25C4; Mon, 27 Jun 2016 20:42:31 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-lf0-f41.google.com with SMTP id l188so163226550lfe.2; Mon, 27 Jun 2016 13:42:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:date:message-id:cc:to:mime-version; bh=gSqz75E2i1/ZTI//GYZOW9XL0NGpvgc81CE13zNBfEs=; b=kMPAAm0BBkD6y+qDXLR5d3np3i1qhV/VxDWSozo8PD33gTZ1YpO7dUwEuM5gHzcsaa iAWGXSbLpqtZZDA+XJ7b5Vxv2v1DPR1PzlVHhS1YHci8C0WUTLeY6J2bqD9MWv4v7VWU +NDxeQmaTOxdJqYDhyTyEhMcAMRABksrvimBMyOxTY+DJKrKi1/px7VCU2CNX5xwB40r PWHUJrP285tvuVtNvkJAP70YO2IJMgyyzy2A0oKWNc017L5Ukg3Rosu2Nr9aLFyEvyPz b4198LiErGAulmKHzltDwhQKQ4Jfo2ZemPUFd/65wDvTXpcUoAKXedf2uueR5bDj+HoM Uf4Q== X-Gm-Message-State: ALyK8tL9m1C1dSgg2D5KLQ4JrhAbeXUW/Mst8iqxvAYVIwlJmh0qczS4RM7FCO6KXbtWWg== X-Received: by 10.25.19.211 with SMTP id 80mr851855lft.147.1467060143601; Mon, 27 Jun 2016 13:42:23 -0700 (PDT) Received: from [192.168.0.15] (87-207-152-10.dynamic.chello.pl. [87.207.152.10]) by smtp.gmail.com with ESMTPSA id e65sm3392650lji.30.2016.06.27.13.42.22 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Jun 2016 13:42:22 -0700 (PDT) From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: Week 5 / Non-BSM to BSM Conversion Tools / Date: Mon, 27 Jun 2016 22:42:24 +0200 Message-Id: <5DA9F33B-A84A-4473-9488-01E276EA3387@FreeBSD.org> To: soc-status@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2016 20:42:32 -0000 Hi, This week I=E2=80=99ve finally finished my exams and had some time to = focus on my project. I=E2=80=99ve started to implement a tool / library which will parse = Linux Audit logs and convert them to a BSM log file. For the time being I do not focus on any mapping between the Linux Audit = format and the BSM format. A Linux Audit log is made of events. An event is made of records. A = record is made of a type, a timestamp, an id and some other records = fields. A BSM record (which is made of tokens) is more or less a Linux = Audit event. Most of the information stored in the Linux Audit event=E2=80= =99s records can be more or less translated to tokens in a BSM record. = At the moment I am not implement the conversion from Linux Audit records = to BSM tokens; the records are parsed and the data is stored inside the = BSM text tokens. I plan to finish this part during the following week.=20= You can check out my latest branch: [2]. My main branch is here: [1]. Cheers! -Mateusz PS https://media.giphy.com/media/wJEeKGplvQwr6/giphy.gif = [1]: https://github.com/0mp/freebsd/pull/9 = [2]: https://github.com/0mp/freebsd/pull/16 = = From owner-soc-status@freebsd.org Tue Jun 28 13:34:41 2016 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D7786B859AB for ; Tue, 28 Jun 2016 13:34:41 +0000 (UTC) (envelope-from starak.adam@gmail.com) Received: from mail-lf0-x241.google.com (mail-lf0-x241.google.com [IPv6:2a00:1450:4010:c07::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5EDF820B8 for ; Tue, 28 Jun 2016 13:34:41 +0000 (UTC) (envelope-from starak.adam@gmail.com) Received: by mail-lf0-x241.google.com with SMTP id l184so1878504lfl.1 for ; Tue, 28 Jun 2016 06:34:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=56Bu/2H4kea5S++UiFt8sIJGprdEpyLcoX0MS9zAiJA=; b=wCPj2ZExWYK68DrzrR+0h577VuSsr73oGoVzzFljooYSsx/ZM7vBzSisCwp0Gsvrs1 4SAqL5RZBItXWCbxLfKTAFXMiKsqwlu7md/fZeBBgtxk1eGuxjmzMx/wx1E+zlo2cKD6 mleM0CAeHhIsUyBO+tcSLm8HI/LrwDLH2QheDqjkatjKgCq97gi+NOmkpks1nazZ5qPW 2bJqG6j+ArJdeoVqRwxq3bAmUz7ZVWi3+6n3PTmG7olq9uvw9jYIs3qZcmJrqLt3CjQa IGKNlAgfW0dAGyejzStnNcR2kBaqO3cF0eweB7LaGjdidqW/uyqHz2uKcK5iz04LnP9G FhIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=56Bu/2H4kea5S++UiFt8sIJGprdEpyLcoX0MS9zAiJA=; b=Yswg7hKLKiaGB94ZZMysBMz+BKrDRvjfAIiJqilNW5/b5oMHvdWqbxnVOhysJGHADY hy1CQe0s8yKJxElDv0t3j1j58t+YTDyBe3ad+oLDqsxTl4svYgX7Bs9LkZRYLsM2gWz0 v3V/KaxlKyOSOY3ae+zI8n3w73mPIlspK7Odwywq/lU7hQIxJneflN4R2Me4Qch7gnxi ySuO/boeR754hQOQ2L+hHa+LhSTOvQaq+7jGrv+lRUMvV2jwlW5NogDd8P2QrUkUNRaL LMK4edJEvYPQtbu5Qs4k8Hj59SlP9wMkDIup082ZRRpDgxLoYbslLYCGZZohwyo4xH2C AIfg== X-Gm-Message-State: ALyK8tJHqPouBC2wxclliBhRIFEtS2aeLSVHJlqFxCkvW17usH9RJYn1NK1G2fGGG8mB+kgbbg2I1cchQvkxvQ== X-Received: by 10.25.201.88 with SMTP id z85mr1167721lff.158.1467120879559; Tue, 28 Jun 2016 06:34:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.35.194 with HTTP; Tue, 28 Jun 2016 06:34:39 -0700 (PDT) From: Adam Starak Date: Tue, 28 Jun 2016 15:34:39 +0200 Message-ID: Subject: libnv improvements week 5 To: soc-status@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2016 13:34:41 -0000 Hello, I strongly do apologize for the delay, but I had my last final exam today. Right now I will fully concentrate on my FreeBSD project. Last week, I created parser from nvlist to string and cleaned cnv API code. Soom I'll build kernel and test it. The last step will be to generate patch and provide it to my mentor/ Can't wait to add a little bit of me to FreeBSD project. Best Regards, Adam Starak From owner-soc-status@freebsd.org Tue Jun 28 15:50:37 2016 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B06BB8175E for ; Tue, 28 Jun 2016 15:50:37 +0000 (UTC) (envelope-from bhimanshu1997@gmail.com) Received: from mail-oi0-x236.google.com (mail-oi0-x236.google.com [IPv6:2607:f8b0:4003:c06::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 619A7225F for ; Tue, 28 Jun 2016 15:50:37 +0000 (UTC) (envelope-from bhimanshu1997@gmail.com) Received: by mail-oi0-x236.google.com with SMTP id r2so28675143oih.2 for ; Tue, 28 Jun 2016 08:50:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=AnnoB+3YZ4STtST1Rh1UBWXznwfGCXomlGmTCuBfKA4=; b=J1nX1vUXUHF+blEYLYldFKOyO2GwjEGgp8joSSX6sU90PqrB4wca5TOivvFrDkVe2x IhHXr9gJ5R3aPUkM0PUcOGw1Zpkwakp/DNOx1dk+YWuv+wQDf8b4xAEkGRUBrIcYgYgI ftc5fBgtxdt6j++2gWHRXadYHGUfcfHU/MMjTeQ+tj7ihHjPhCUfhL4PqRape0XmuCR/ yokfQP/VgKHpbn/hfj6+8a6ZpxCEpBlqljHUgUC/7qDr9ZfnJEYYiZeGy+syOS4Tzxe0 o+mnd3UHx+LqUxl3pWs2MdXuBtg5+b5SjCTkmmxwWygPbyjcIrXjkz93FyKTsIkHR75N uN4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=AnnoB+3YZ4STtST1Rh1UBWXznwfGCXomlGmTCuBfKA4=; b=evdpV/NNxxv9TrgA4Smf8Y6mL2Fsr5UuIkH1ItkIskM+uCKbLrYidzNu18ibX//xsV aW4y4Im2x6Y0hGIyRfrne3p2nbEqBcT/kaDcdiD15tDH+z23r93SzK9nvg5pr2stcR9N r230XovgSzmKNZ0E+ZK1i6vdXkX1JBm03X8OW13IPOXpnPdCeweSh4E12/7lWwsyuLoa AcPsSqb1nDXWCugWrH2c8AgdXkxelQ46j3Jm1gGQvm0iXU8pAu2S9Io15nU/D/rCGuUV ZyCTqTn/3AJayzPWVbF+wEDA276QqRfLBuTutLudxJ/lrBlwDoOhiCfa/Ubvrl8G0Cvk c2zg== X-Gm-Message-State: ALyK8tKu6InXK8Nv1bxzqBxPGjwpTlM7wWe1tGrK33jdE5VOVAL9rAkqqk0w0N4kl+FUOnQ52AOOYeQu9gDjqg== X-Received: by 10.202.74.9 with SMTP id x9mr2273895oia.165.1467129036666; Tue, 28 Jun 2016 08:50:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.170.146 with HTTP; Tue, 28 Jun 2016 08:49:57 -0700 (PDT) In-Reply-To: References: From: Bhimanshu Kumar Date: Tue, 28 Jun 2016 21:19:57 +0530 Message-ID: Subject: Fwd: Add SCSI passthrough to CTL To: soc-status@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2016 15:50:37 -0000 *Introduction : *CTL is the FreeBSD SCSI target layer. There are various SCSI commands, but it's usually used for block-level access. This projects focuses on making CTL capable of providing physical optical drive as a whole to the initiator machine Link : https://github.com/bhimanshu1997/freebsd Report: last week i added following things to this project: 1. modification of conf_apply of ctld.c 2. updated ctl.conf.5 file , added content about passthrough.