{"id":350,"date":"2006-11-10T22:19:21","date_gmt":"2006-11-11T05:19:21","guid":{"rendered":"http:\/\/multimedia.cx\/eggs\/new-media-angle\/"},"modified":"2007-11-12T19:04:07","modified_gmt":"2007-11-13T03:04:07","slug":"new-media-angle","status":"publish","type":"post","link":"https:\/\/multimedia.cx\/eggs\/new-media-angle\/","title":{"rendered":"New Media Angle"},"content":{"rendered":"<p>After <a href=\"http:\/\/multimedia.cx\/eggs\/xbox-media-redux\/\">yesterday&#8217;s post<\/a> I received a tip that I may wish to try getting at the Xbox disc data using the low-level Linux SCSI layer&#8211; the facility commonly known as SCSI generic, or simply &#8216;sg&#8217;. In order to make use of this facility, it is necessary to configure your Linux kernel with the right support (CONFIG_CHR_DEV_SG, CONFIG_BLK_DEV_IDESCSI, but <em>not<\/em> CONFIG_BLK_DEV_IDECD). Download and install the <a href=\"http:\/\/sg.torque.net\/sg\/\">SCSI generic utilities from here<\/a> (which do not compile on my AMD64 machine; fortunately, the x86-compiled utilities and associated shared library drop into the system perfectly). There are about 30 little sg* utilities in the package. One that caught my attention was sg_dd&#8211; your typical &#8216;dd&#8217; Unix command, but for interacting with a SCSI device. I tested it out on a typical Xbox DVD:<\/p>\n<pre>\r\n$ sudo sg_dd if=\/dev\/sg0 of=dvd bs=2048 bpt=1 count=20\r\n20+0 records in\r\n20+0 records out\r\n<\/pre>\n<p>And, indeed, the beginning of the disc has the markings of a typical DVD filesystem. So let&#8217;s try to read beyond the 6,992-sector limit on a standard Xbox disc:<\/p>\n<pre>\r\n$ sudo sg_dd if=\/dev\/sg0 of=dvd bs=2048 bpt=1 count=2 skip=6991\r\nreading: SCSI status: Check Condition\r\n Fixed format, current;  Sense key: Illegal Request\r\n Additional sense: Logical block address out of range\r\n\r\n Raw sense data (in hex):\r\n        70 00 05 00 00 00 00 0a  00 00 00 00 21 00 00 00\r\n        00 00\r\nplus...: Driver_status=0x08 [DRIVER_SENSE, SUGGEST_OK]\r\nsg_read failed, seek=1\r\nSome error occurred,  remaining block count=1\r\n1+0 records in\r\n1+0 records out\r\n<\/pre>\n<p>I had to deal with all this SCSI nonsense in a previous life and I admit that this output is conjuring some sour memories. Anyway, it seems that the stock sg_dd command can not read beyond what the DVD header structure ostensibly reports as the size of the disc. There are a number of other utilities I need to investigate for potential. Failing that, it&#8217;s possible &#8212; with at least a modicum of effort &#8212; <a href=\"http:\/\/tldp.org\/HOWTO\/SCSI-Generic-HOWTO\/\">to program the sg layer<\/a>. There may yet be a solution.<\/p>\n<p>Related posts:<\/p>\n<ul>\n<li><a href=\"http:\/\/multimedia.cx\/eggs\/xbox-media-redux\/\">Xbox Media Redux<\/a><\/li>\n<li><a href=\"http:\/\/multimedia.cx\/eggs\/studying-xbox-multimedia\/\">Studying Xbox Multimedia<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>After yesterday&#8217;s post I received a tip that I may wish to try getting at the Xbox disc data using the low-level Linux SCSI layer&#8211; the facility commonly known as SCSI generic, or simply &#8216;sg&#8217;. In order to make use of this facility, it is necessary to configure your Linux kernel with the right support [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,79],"tags":[286],"class_list":["post-350","post","type-post","status-publish","format-standard","hentry","category-game-hacking","category-xbox","tag-xbox"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"After yesterday&#039;s post I received a tip that I may wish to try getting at the Xbox disc data using the low-level Linux SCSI layer-- the facility commonly known as SCSI generic, or simply &#039;sg&#039;. In order to make use of this facility, it is necessary to configure your Linux kernel with the right support\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Multimedia Mike\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/multimedia.cx\/eggs\/new-media-angle\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Breaking Eggs And Making Omelettes | Topics On Multimedia Technology and Reverse Engineering\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"New Media Angle | Breaking Eggs And Making Omelettes\" \/>\n\t\t<meta property=\"og:description\" content=\"After yesterday&#039;s post I received a tip that I may wish to try getting at the Xbox disc data using the low-level Linux SCSI layer-- the facility commonly known as SCSI generic, or simply &#039;sg&#039;. In order to make use of this facility, it is necessary to configure your Linux kernel with the right support\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/multimedia.cx\/eggs\/new-media-angle\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2006-11-11T05:19:21+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2007-11-13T03:04:07+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"New Media Angle | Breaking Eggs And Making Omelettes\" \/>\n\t\t<meta name=\"twitter:description\" content=\"After yesterday&#039;s post I received a tip that I may wish to try getting at the Xbox disc data using the low-level Linux SCSI layer-- the facility commonly known as SCSI generic, or simply &#039;sg&#039;. In order to make use of this facility, it is necessary to configure your Linux kernel with the right support\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/new-media-angle\\\/#article\",\"name\":\"New Media Angle | Breaking Eggs And Making Omelettes\",\"headline\":\"New Media Angle\",\"author\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/author\\\/multimedia-mike\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/#organization\"},\"datePublished\":\"2006-11-10T22:19:21-08:00\",\"dateModified\":\"2007-11-12T19:04:07-08:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/new-media-angle\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/new-media-angle\\\/#webpage\"},\"articleSection\":\"Game Hacking, xbox, xbox\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/new-media-angle\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/multimedia.cx\\\/eggs\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/category\\\/game-hacking\\\/#listItem\",\"name\":\"Game Hacking\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/category\\\/game-hacking\\\/#listItem\",\"position\":2,\"name\":\"Game Hacking\",\"item\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/category\\\/game-hacking\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/new-media-angle\\\/#listItem\",\"name\":\"New Media Angle\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/new-media-angle\\\/#listItem\",\"position\":3,\"name\":\"New Media Angle\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/category\\\/game-hacking\\\/#listItem\",\"name\":\"Game Hacking\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/#organization\",\"name\":\"Breaking Eggs And Making Omelettes\",\"description\":\"Topics On Multimedia Technology and Reverse Engineering\",\"url\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/author\\\/multimedia-mike\\\/#author\",\"url\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/author\\\/multimedia-mike\\\/\",\"name\":\"Multimedia Mike\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/new-media-angle\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2eb93f7cada658f7986b5092062849fa255779eada3342c8f6b9a40764b95fdd?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Multimedia Mike\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/new-media-angle\\\/#webpage\",\"url\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/new-media-angle\\\/\",\"name\":\"New Media Angle | Breaking Eggs And Making Omelettes\",\"description\":\"After yesterday's post I received a tip that I may wish to try getting at the Xbox disc data using the low-level Linux SCSI layer-- the facility commonly known as SCSI generic, or simply 'sg'. In order to make use of this facility, it is necessary to configure your Linux kernel with the right support\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/new-media-angle\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/author\\\/multimedia-mike\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/author\\\/multimedia-mike\\\/#author\"},\"datePublished\":\"2006-11-10T22:19:21-08:00\",\"dateModified\":\"2007-11-12T19:04:07-08:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/#website\",\"url\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/\",\"name\":\"Breaking Eggs And Making Omelettes\",\"description\":\"Topics On Multimedia Technology and Reverse Engineering\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"New Media Angle | Breaking Eggs And Making Omelettes","description":"After yesterday's post I received a tip that I may wish to try getting at the Xbox disc data using the low-level Linux SCSI layer-- the facility commonly known as SCSI generic, or simply 'sg'. In order to make use of this facility, it is necessary to configure your Linux kernel with the right support","canonical_url":"https:\/\/multimedia.cx\/eggs\/new-media-angle\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/multimedia.cx\/eggs\/new-media-angle\/#article","name":"New Media Angle | Breaking Eggs And Making Omelettes","headline":"New Media Angle","author":{"@id":"https:\/\/multimedia.cx\/eggs\/author\/multimedia-mike\/#author"},"publisher":{"@id":"https:\/\/multimedia.cx\/eggs\/#organization"},"datePublished":"2006-11-10T22:19:21-08:00","dateModified":"2007-11-12T19:04:07-08:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/multimedia.cx\/eggs\/new-media-angle\/#webpage"},"isPartOf":{"@id":"https:\/\/multimedia.cx\/eggs\/new-media-angle\/#webpage"},"articleSection":"Game Hacking, xbox, xbox"},{"@type":"BreadcrumbList","@id":"https:\/\/multimedia.cx\/eggs\/new-media-angle\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs#listItem","position":1,"name":"Home","item":"https:\/\/multimedia.cx\/eggs","nextItem":{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/category\/game-hacking\/#listItem","name":"Game Hacking"}},{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/category\/game-hacking\/#listItem","position":2,"name":"Game Hacking","item":"https:\/\/multimedia.cx\/eggs\/category\/game-hacking\/","nextItem":{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/new-media-angle\/#listItem","name":"New Media Angle"},"previousItem":{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/new-media-angle\/#listItem","position":3,"name":"New Media Angle","previousItem":{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/category\/game-hacking\/#listItem","name":"Game Hacking"}}]},{"@type":"Organization","@id":"https:\/\/multimedia.cx\/eggs\/#organization","name":"Breaking Eggs And Making Omelettes","description":"Topics On Multimedia Technology and Reverse Engineering","url":"https:\/\/multimedia.cx\/eggs\/"},{"@type":"Person","@id":"https:\/\/multimedia.cx\/eggs\/author\/multimedia-mike\/#author","url":"https:\/\/multimedia.cx\/eggs\/author\/multimedia-mike\/","name":"Multimedia Mike","image":{"@type":"ImageObject","@id":"https:\/\/multimedia.cx\/eggs\/new-media-angle\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/2eb93f7cada658f7986b5092062849fa255779eada3342c8f6b9a40764b95fdd?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Multimedia Mike"}},{"@type":"WebPage","@id":"https:\/\/multimedia.cx\/eggs\/new-media-angle\/#webpage","url":"https:\/\/multimedia.cx\/eggs\/new-media-angle\/","name":"New Media Angle | Breaking Eggs And Making Omelettes","description":"After yesterday's post I received a tip that I may wish to try getting at the Xbox disc data using the low-level Linux SCSI layer-- the facility commonly known as SCSI generic, or simply 'sg'. In order to make use of this facility, it is necessary to configure your Linux kernel with the right support","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/multimedia.cx\/eggs\/#website"},"breadcrumb":{"@id":"https:\/\/multimedia.cx\/eggs\/new-media-angle\/#breadcrumblist"},"author":{"@id":"https:\/\/multimedia.cx\/eggs\/author\/multimedia-mike\/#author"},"creator":{"@id":"https:\/\/multimedia.cx\/eggs\/author\/multimedia-mike\/#author"},"datePublished":"2006-11-10T22:19:21-08:00","dateModified":"2007-11-12T19:04:07-08:00"},{"@type":"WebSite","@id":"https:\/\/multimedia.cx\/eggs\/#website","url":"https:\/\/multimedia.cx\/eggs\/","name":"Breaking Eggs And Making Omelettes","description":"Topics On Multimedia Technology and Reverse Engineering","inLanguage":"en-US","publisher":{"@id":"https:\/\/multimedia.cx\/eggs\/#organization"}}]},"og:locale":"en_US","og:site_name":"Breaking Eggs And Making Omelettes | Topics On Multimedia Technology and Reverse Engineering","og:type":"article","og:title":"New Media Angle | Breaking Eggs And Making Omelettes","og:description":"After yesterday's post I received a tip that I may wish to try getting at the Xbox disc data using the low-level Linux SCSI layer-- the facility commonly known as SCSI generic, or simply 'sg'. In order to make use of this facility, it is necessary to configure your Linux kernel with the right support","og:url":"https:\/\/multimedia.cx\/eggs\/new-media-angle\/","article:published_time":"2006-11-11T05:19:21+00:00","article:modified_time":"2007-11-13T03:04:07+00:00","twitter:card":"summary","twitter:title":"New Media Angle | Breaking Eggs And Making Omelettes","twitter:description":"After yesterday's post I received a tip that I may wish to try getting at the Xbox disc data using the low-level Linux SCSI layer-- the facility commonly known as SCSI generic, or simply 'sg'. In order to make use of this facility, it is necessary to configure your Linux kernel with the right support"},"aioseo_meta_data":{"post_id":"350","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-31 21:53:30","updated":"2025-12-31 18:36:30","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/multimedia.cx\/eggs\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/multimedia.cx\/eggs\/category\/game-hacking\/\" title=\"Game Hacking\">Game Hacking<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tNew Media Angle\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/multimedia.cx\/eggs"},{"label":"Game Hacking","link":"https:\/\/multimedia.cx\/eggs\/category\/game-hacking\/"},{"label":"New Media Angle","link":"https:\/\/multimedia.cx\/eggs\/new-media-angle\/"}],"_links":{"self":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/comments?post=350"}],"version-history":[{"count":0,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/350\/revisions"}],"wp:attachment":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/media?parent=350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/categories?post=350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/tags?post=350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}