xboxscene.org forums

Pages: 1 [2] 3

Author Topic: LiteOn flash tool for Linux  (Read 184 times)

ddl

  • Archived User
  • Newbie
  • *
  • Posts: 12
LiteOn flash tool for Linux
« Reply #15 on: April 05, 2009, 03:38:00 AM »

Hi all,

I fixed some stuff in mtflash and the README file. This release will probably help you if you have had problems flashing with mtflash.

Quoted from ReleaseNotes.txt in the archives:

QUOTE

-------------------------------------------------------------------------------
build_20090405
-------------------------------------------------------------------------------

Included programs:

  liteon_keyext 1.0
  ixfw_patch 0.1b
  liteon_erase 1.0
  mtflash 0.2b


* mtflash: Removed delay dependency during flash write. Flash status register
   is now used to determine when to proceed.
* README: Updated mtflash version.
* README: Added information on how to find your ATA cmd base.


Statically linked 32-bit version:
http://www.sendspace.com/file/3o9cz4

Statically linked 64-bit version:
http://www.sendspace.com/file/53fu5r
Logged

lilos

  • Archived User
  • Newbie
  • *
  • Posts: 8
LiteOn flash tool for Linux
« Reply #16 on: April 05, 2009, 08:55:00 AM »

QUOTE(ddl @ Apr 5 2009, 12:22 PM) View Post

Hi all,

I fixed some stuff in mtflash and the README file. This release will probably help you if you have had problems flashing with mtflash.

Quoted from ReleaseNotes.txt in the archives:
Statically linked 32-bit version:
http://www.sendspace.com/file/3o9cz4

Statically linked 64-bit version:
http://www.sendspace.com/file/53fu5r


Ok this new readme not answer on my question how users can understand where is a dvd from Xbox360

So how i can find where is my drive?

/DEV/......where....? i use slax linux ......

your example is
host:~>sudo ./liteon_keyext 170 /dev/ttyUSB0 drive1

In new readme we can find ATA cmd base that is ok

but where Xbox360 DVD is ?

/dev/tty... or /dev/disk/ ....

how we can find this information?

Logged

ddl

  • Archived User
  • Newbie
  • *
  • Posts: 12
LiteOn flash tool for Linux
« Reply #17 on: April 05, 2009, 09:28:00 AM »

QUOTE(lilos @ Apr 5 2009, 05:31 PM) View Post

Ok this new readme not answer on my question how users can understand where is a dvd from Xbox360

So how i can find where is my drive?

/DEV/......where....? i use slax linux ......

your example is
host:~>sudo ./liteon_keyext 170 /dev/ttyUSB0 drive1

In new readme we can find ATA cmd base that is ok

but where Xbox360 DVD is ?

/dev/tty... or /dev/disk/ ....

how we can find this information?



Hi,

All you need to know is the ATA command base and the serial device. The new README gives you some hints on how to find the ata cmd base.  Your serial device should be /dev/ttySX for a regular serial device or /dev/ttyUSBX for a USB serial device.




Logged

lilos

  • Archived User
  • Newbie
  • *
  • Posts: 8
LiteOn flash tool for Linux
« Reply #18 on: April 05, 2009, 09:51:00 AM »

QUOTE(ddl @ Apr 5 2009, 05:04 PM) View Post

Hi,

All you need to know is the ATA command base and the serial device. The new README gives you some hints on how to find the ata cmd base.  Your serial device should be /dev/ttySX for a regular serial device or /dev/ttyUSBX for a USB serial device.


Thx I will try .. my mobo is Gigabyte intel945P based is this a problem? I will use sata port on this board.
Logged

ddl

  • Archived User
  • Newbie
  • *
  • Posts: 12
LiteOn flash tool for Linux
« Reply #19 on: April 05, 2009, 09:54:00 AM »

QUOTE(lilos @ Apr 5 2009, 06:27 PM) View Post

Thx I will try .. my mobo is Gigabyte intel945P based is this a problem? I will use sata port on this board.


That should be ok. Please leave some feedback once you have tried.

Logged

lilos

  • Archived User
  • Newbie
  • *
  • Posts: 8
LiteOn flash tool for Linux
« Reply #20 on: April 05, 2009, 10:32:00 AM »

QUOTE(ddl @ Apr 5 2009, 05:30 PM) View Post

That should be ok. Please leave some feedback once you have tried.


root@slax:~# uname -a
Linux slax 2.6.27.8 #1 SMP Sun Dec 7 08:30:31 Local time zone must be set--see zic m i686 Intel® Core™2 CPU          6600  @ 2.40GHz GenuineIntel GNU/Linux
--------------------------------------------------------------------------------------------------------------------------------------------------------

root@slax:~# ./liteon_keyext dc00 /dev/ttyS0
liteon_keyext v1.0 by ddl.
Key extractor for the Xbox 360 LiteOn drive (PLDS DG-16D2S).

Using ATA command base: 0xDC00
Using serial device: /dev/ttyS0

Attempting to extract the key 6 times...

Attempt   1:    Timeout! Aborting...

-----------------------------------------------------------------------------------------------------------------------------------------------------------


root@slax:~# cd /dev/ttyS
ttyS0  ttyS1  ttyS2  ttyS3
     
-----------------------------------------------------------------------------------------------------------------------------------------------------------

root@slax:~# dmesg | grep "$ATA_ID: SATA" | sed -r 's/.*cmd (.*) ctl.*/\1/'
0xd400
0xdc00
----------------------------------------------------------------------------------------------------------------------------------------------------------

root@slax:~# dmesg | grep "$ATA_ID: SATA"
ata1: SATA max UDMA/133 cmd 0xd400 ctl 0xd800 bmdma 0xe400 irq 19
ata2: SATA max UDMA/133 cmd 0xdc00 ctl 0xe000 bmdma 0xe408 irq 19

----------------------------------------------------------------------------------------------------------------------------------------------------------

my system full info

root@slax:~# dmesg
Linux version 2.6.27.8 (root@darkstar) (gcc version 4.2.4) #1 SMP Sun Dec 7 08:30:31 Local time zone must be set--see zic m
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003f7f0000 (usable)
 BIOS-e820: 000000003f7f0000 - 000000003f7f3000 (ACPI NVS)
 BIOS-e820: 000000003f7f3000 - 000000003f800000 (ACPI data)
 BIOS-e820: 00000000d0000000 - 00000000e0000000 (reserved)
 BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
DMI 2.4 present.
last_pfn = 0x3f7f0 max_arch_pfn = 0x100000
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
kernel direct mapping tables up to 38000000 @ 7000-c000
RAMDISK: 3f576000 - 3f7cef44
Allocated new RAMDISK: 009f7000 - 00c4ff44
Move RAMDISK from 000000003f576000 - 000000003f7cef43 to 009f7000 - 00c4ff43
ACPI: RSDP 000F6580, 0014 (r0 GBT   )
ACPI: RSDT 3F7F3040, 0034 (r1 GBT    GBTUACPI 42302E31 GBTU  1010101)
ACPI: FACP 3F7F30C0, 0074 (r1 GBT    GBTUACPI 42302E31 GBTU  1010101)
ACPI: DSDT 3F7F3180, 423A (r1 GBT    GBTUACPI     1000 MSFT  100000C)
ACPI: FACS 3F7F0000, 0040
ACPI: HPET 3F7F7500, 0038 (r1 GBT    GBTUACPI 42302E31 GBTU       98)
ACPI: MCFG 3F7F7580, 003C (r1 GBT    GBTUACPI 42302E31 GBTU  1010101)
ACPI: APIC 3F7F7400, 0084 (r1 GBT    GBTUACPI 42302E31 GBTU  1010101)
119MB HIGHMEM available.
896MB LOWMEM available.
  mapped low ram: 0 - 38000000
  low ram: 00000000 - 38000000
  bootmap 00008000 - 0000f000
(9 early reservations) ==> bootmem [0000000000 - 0038000000]
  #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
  #1 [0000001000 - 0000002000]    EX TRAMPOLINE ==> [0000001000 - 0000002000]
  #2 [0000006000 - 0000007000]       TRAMPOLINE ==> [0000006000 - 0000007000]
  #3 [0000100000 - 00009f2210]    TEXT DATA BSS ==> [0000100000 - 00009f2210]
  #4 [00009f3000 - 00009f7000]    INIT_PG_TABLE ==> [00009f3000 - 00009f7000]
  #5 [000009f800 - 0000100000]    BIOS reserved ==> [000009f800 - 0000100000]
  #6 [0000007000 - 0000008000]          PGTABLE ==> [0000007000 - 0000008000]
  #7 [00009f7000 - 0000c4ff44]      NEW RAMDISK ==> [00009f7000 - 0000c4ff44]
  #8 [0000008000 - 000000f000]          BOOTMAP ==> [0000008000 - 000000f000]
found SMP MP-table at [c00f4bd0] 000f4bd0
Zone PFN ranges:
  DMA      0x00000000 -> 0x00001000
  Normal   0x00001000 -> 0x00038000
  HighMem  0x00038000 -> 0x0003f7f0
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
    0: 0x00000000 -> 0x0000009f
    0: 0x00000100 -> 0x0003f7f0
On node 0 totalpages: 259983
free_area_init_node: node 0, pgdat c08ef680, node_mem_map c1000000
  DMA zone: 3967 pages, LIFO batch:0
  Normal zone: 223520 pages, LIFO batch:31
  HighMem zone: 30464 pages, LIFO batch:7
ACPI: PM-Timer IO Port: 0x408
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x03] dfl dfl lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
ACPI: HPET id: 0x8086a201 base: 0xfed00000
Using ACPI (MADT) for SMP configuration information
SMP: Allowing 4 CPUs, 2 hotplug CPUs
mapped APIC to ffffb000 (fee00000)
mapped IOAPIC to ffffa000 (fec00000)
PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
Allocating PCI resources starting at 40000000 (gap: 3f800000:90800000)
PERCPU: Allocating 39324 bytes of per cpu data
NR_CPUS: 32, nr_cpu_ids: 4, nr_node_ids 1
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 257951
Kernel command line: initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/slax/ BOOT_IMAGE=/boot/vmlinuz
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
TSC: PIT calibration confirmed by PMTIMER.
TSC: using PMTIMER calibration value
Detected 2701.835 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1018820k/1040320k available (6197k kernel code, 20772k reserved, 2023k data, 392k init, 122816k highmem)
virtual kernel memory layout:
    fixmap  : 0xffe18000 - 0xfffff000   (1948 kB)
    pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
    vmalloc : 0xf8800000 - 0xff7fe000   ( 111 MB)
    lowmem  : 0xc0000000 - 0xf8000000   ( 896 MB)
      .init : 0xc0913000 - 0xc0975000   ( 392 kB)
      .data : 0xc070d417 - 0xc09070f8   (2023 kB)
      .text : 0xc0100000 - 0xc070d417   (6197 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
CPA: page pool initialized 1 of 1 pages preallocated
SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
hpet clockevent registered
Calibrating delay loop (skipped), value calculated using timer frequency.. 5403.67 BogoMIPS (lpj=10807340)
Security Framework initialized
Mount-cache hash table entries: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
using mwait in idle threads.
Checking 'hlt' instruction... OK.
ACPI: Core revision 20080609
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
CPU0: Intel® Core™2 CPU          6600  @ 2.40GHz stepping 06
Booting processor 1/1 ip 6000
Initializing CPU#1
Calibrating delay using timer specific routine.. 5403.69 BogoMIPS (lpj=10807388)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
CPU1: Intel® Core™2 CPU          6600  @ 2.40GHz stepping 06
checking TSC synchronization [CPU#0 -> CPU#1]: passed.
Brought up 2 CPUs
Total of 2 processors activated (10807.36 BogoMIPS).
net_namespace: 768 bytes
xor: automatically using best checksumming function: pIII_sse
   pIII_sse  : 10069.000 MB/sec
xor: using function: pIII_sse (10069.000 MB/sec)
NET: Registered protocol family 16
No dock devices found.
ACPI: bus type pci registered
PCI: MCFG configuration 0: base d0000000 segment 0 buses 0 - 255
PCI: MCFG area at d0000000 reserved in E820
PCI: Using MMCONFIG for extended config space
PCI: Using configuration type 1 for base access
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: 0000:00:02.0 reg 10 32bit mmio: [f2000000, f20fffff]
PCI: 0000:00:02.0 reg 18 64bit mmio: [e0000000, efffffff]
PCI: 0000:00:02.0 reg 20 io port: [c000, c007]
PCI: 0000:00:1b.0 reg 10 64bit mmio: [f2100000, f2103fff]
pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1b.0: PME# disabled
PCI: 0000:00:1d.0 reg 20 io port: [b000, b01f]
PCI: 0000:00:1d.1 reg 20 io port: [b400, b41f]
PCI: 0000:00:1d.2 reg 20 io port: [b800, b81f]
PCI: 0000:00:1d.3 reg 20 io port: [bc00, bc1f]
PCI: 0000:00:1d.7 reg 10 32bit mmio: [f2104000, f21043ff]
pci 0000:00:1f.0: quirk: region 0400-047f claimed by ICH6 ACPI/GPIO/TCO
pci 0000:00:1f.0: quirk: region 0480-04bf claimed by ICH6 GPIO
PCI: 0000:00:1f.1 reg 10 io port: [0, 7]
PCI: 0000:00:1f.1 reg 14 io port: [0, 3]
PCI: 0000:00:1f.1 reg 18 io port: [0, 7]
PCI: 0000:00:1f.1 reg 1c io port: [0, 3]
PCI: 0000:00:1f.1 reg 20 io port: [f000, f00f]
PCI: 0000:00:1f.2 reg 10 io port: [d400, d407]
PCI: 0000:00:1f.2 reg 14 io port: [d800, d803]
PCI: 0000:00:1f.2 reg 18 io port: [dc00, dc07]
PCI: 0000:00:1f.2 reg 1c io port: [e000, e003]
PCI: 0000:00:1f.2 reg 20 io port: [e400, e40f]
pci 0000:00:1f.2: PME# supported from D3hot
pci 0000:00:1f.2: PME# disabled
PCI: 0000:00:1f.3 reg 20 io port: [500, 51f]
PCI: 0000:01:05.0 reg 10 io port: [a000, a0ff]
PCI: 0000:01:05.0 reg 14 32bit mmio: [f1000000, f10000ff]
PCI: 0000:01:05.0 reg 30 32bit mmio: [0, 1ffff]
pci 0000:01:05.0: supports D1
pci 0000:01:05.0: supports D2
pci 0000:01:05.0: PME# supported from D1 D2 D3hot D3cold
pci 0000:01:05.0: PME# disabled
pci 0000:00:1e.0: transparent bridge
PCI: bridge 0000:00:1e.0 io port: [a000, afff]
PCI: bridge 0000:00:1e.0 32bit mmio: [f0000000, f1ffffff]
bus 00 -> node 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 11 *12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
Linux Plug and Play Support v0.97 © Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 15 devices
ACPI: ACPI bus type pnp unregistered
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
system 00:01: ioport range 0x4d0-0x4d1 has been reserved
system 00:01: ioport range 0x290-0x29f has been reserved
system 00:01: ioport range 0x800-0x87f has been reserved
system 00:01: ioport range 0x290-0x294 has been reserved
system 00:01: ioport range 0x880-0x88f has been reserved
system 00:0b: ioport range 0x400-0x4bf could not be reserved
system 00:0c: iomem range 0xd0000000-0xdfffffff could not be reserved
system 00:0d: iomem range 0xcd000-0xcffff has been reserved
system 00:0d: iomem range 0xf0000-0xf7fff could not be reserved
system 00:0d: iomem range 0xf8000-0xfbfff could not be reserved
system 00:0d: iomem range 0xfc000-0xfffff could not be reserved
system 00:0d: iomem range 0x3f7f0000-0x3f7fffff could not be reserved
system 00:0d: iomem range 0x0-0x9ffff could not be reserved
system 00:0d: iomem range 0x100000-0x3f7effff could not be reserved
system 00:0d: iomem range 0xfec00000-0xfec00fff could not be reserved
system 00:0d: iomem range 0xfed13000-0xfed1dfff could not be reserved
system 00:0d: iomem range 0xfed20000-0xfed8ffff could not be reserved
system 00:0d: iomem range 0xfee00000-0xfee00fff could not be reserved
system 00:0d: iomem range 0xffb00000-0xffb7ffff could not be reserved
system 00:0d: iomem range 0xfff00000-0xffffffff could not be reserved
system 00:0d: iomem range 0xe0000-0xeffff has been reserved
pci 0000:00:1e.0: PCI bridge, secondary bus 0000:01
pci 0000:00:1e.0:   IO window: 0xa000-0xafff
pci 0000:00:1e.0:   MEM window: 0xf0000000-0xf1ffffff
pci 0000:00:1e.0:   PREFETCH window: 0x00000040000000-0x000000400fffff
pci 0000:00:1e.0: setting latency timer to 64
bus: 00 index 0 io port: [0, ffff]
bus: 00 index 1 mmio: [0, ffffffff]
bus: 01 index 0 io port: [a000, afff]
bus: 01 index 1 mmio: [f0000000, f1ffffff]
bus: 01 index 2 mmio: [40000000, 400fffff]
bus: 01 index 3 io port: [0, ffff]
bus: 01 index 4 mmio: [0, ffffffff]
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
NET: Registered protocol family 1
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 2403k freed
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
apm: disabled - APM is not SMP safe.
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NTFS driver 2.1.29 [Flags: R/O].
JFS: nTxBlock = 7980, nTxLock = 63847
SGI XFS with ACLs, security attributes, large block numbers, no debug enabled
SGI XFS Quota Management subsystem
OCFS2 1.5.0
OCFS2 Node Manager 1.5.0
GFS2 (built Dec  7 2008 08:26:41) installed
msgmni has been set to 1755
async_tx: api initialized (sync-only)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci 0000:00:02.0: Boot video device
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
input: Power Button (FF) as /class/input/input0
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input1
ACPI: Power Button (CM) [PWRB]
processor ACPI0007:00: registered as cooling_device0
ACPI: Processor [CPU0] (supports 2 throttling states)
processor ACPI0007:01: registered as cooling_device1
ACPI: Processor [CPU1] (supports 2 throttling states)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
brd: module loaded
loop: module loaded
Compaq SMART2 Driver (v 2.6.0)
HP CISS Driver (v 3.6.20)
Uniform Multi-Platform E-IDE driver
piix 0000:00:1f.1: IDE controller (0x8086:0x27df rev 0x01)
pci 0000:00:1f.1: PCI INT A -> GSI 18 (level, low) -> IRQ 18
piix 0000:00:1f.1: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007
    ide1: BM-DMA at 0xf008-0xf00f
Probing IDE interface ide0...
hda: HL-DT-ST DVDRAM GSA-H10N, ATAPI CD/DVD-ROM drive
hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hda: UDMA/33 mode selected
Probing IDE interface ide1...
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
ide_generic: I/O resource 0x1F0-0x1F7 not free.
ide_generic: I/O resource 0x170-0x177 not free.
hda: ATAPI 102X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 1.00
Loading iSCSI transport class v2.0-870.
iscsi: registered transport (tcp)
Loading Adaptec I2O RAID: Version 2.4 Build 5go
Detecting Adaptec I2O RAID controllers...
Adaptec aacraid driver 1.1-5[2456]-ms
aic94xx: Adaptec aic94xx SAS/SATA driver version 1.0.3 loaded
scsi: <fdomain> Detection failed (no card)
sym53c416.c: Version 1.0.0-ac
qlogicfas: no cards were found, please specify I/O address and IRQ using iobase= and irq= options<6>QLogic Fibre Channel HBA Driver: 8.02.01-k7
iscsi: registered transport (qla4xxx)
QLogic iSCSI HBA Driver
Emulex LightPulse Fibre Channel SCSI driver 8.2.7
Copyright© 2004-2008 Emulex.  All rights reserved.
Failed initialization of WD-7000 SCSI card!
DC390: clustering now enabled by default. If you get problems load
        with "disable_clustering=1" and report to maintainers
megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006)
megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST 2006)
megasas: 00.00.04.01 Thu July 24 11:41:51 PST 2008
GDT-HA: Storage RAID Controller Driver. Version: 3.05
3ware Storage Controller device driver for Linux v1.26.02.002.
3ware 9000 Storage Controller device driver for Linux v2.26.02.011.
nsp32: loading...
ipr: IBM Power RAID SCSI Device Driver version: 2.4.1 (April 24, 2007)
RocketRAID 3xxx/4xxx Controller driver v1.3 (071203)
st: Version 20080504, fixed bufsize 32768, s/g segs 256
Driver 'st' needs updating - please use bus_type methods
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
ata_piix 0000:00:1f.2: version 2.12
ata_piix 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
ata_piix 0000:00:1f.2: setting latency timer to 64
scsi2 : ata_piix
scsi3 : ata_piix
ata1: SATA max UDMA/133 cmd 0xd400 ctl 0xd800 bmdma 0xe400 irq 19
ata2: SATA max UDMA/133 cmd 0xdc00 ctl 0xe000 bmdma 0xe408 irq 19
ata1.01: NODEV after polling detection
ata1.00: ATAPI: PLDS    DG-16D2S, 74850C, max UDMA/100
ata1.00: applying bridge limits
ata1.00: configured for UDMA/100
ata1: WARNING: synchronous SCSI scan failed without making any progress,
                  switching to async
I2O subsystem v1.325
i2o: max drivers = 8
I2O Configuration OSM v1.323
I2O Bus Adapter OSM v1.317
I2O Block Device OSM v1.325
I2O SCSI Peripheral OSM v1.316
I2O ProcFS OSM v1.316
Fusion MPT base driver 3.04.07
Copyright © 1999-2008 LSI Corporation
Fusion MPT SPI Host driver 3.04.07
Fusion MPT FC Host driver 3.04.07
Fusion MPT SAS Host driver 3.04.07
usbmon: debugfs is not available
ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23
ehci_hcd 0000:00:1d.7: setting latency timer to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported
ehci_hcd 0000:00:1d.7: irq 23, io mem 0xf2104000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
116x: driver isp116x-hcd, 03 Nov 2005
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
USB Universal Host Controller Interface driver v3.0
uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
uhci_hcd 0000:00:1d.0: setting latency timer to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.0: irq 23, io base 0x0000b000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
uhci_hcd 0000:00:1d.1: setting latency timer to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000b400
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
uhci_hcd 0000:00:1d.2: setting latency timer to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000b800
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
usb 2-1: new low speed USB device using uhci_hcd and address 2
uhci_hcd 0000:00:1d.3: PCI INT D -> GSI 16 (level, low) -> IRQ 16
uhci_hcd 0000:00:1d.3: setting latency timer to 64
uhci_hcd 0000:00:1d.3: UHCI Host Controller
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.3: irq 16, io base 0x0000bc00
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
usb 2-1: configuration #1 chosen from 1 choice
usb 4-2: new full speed USB device using uhci_hcd and address 2
sl811: driver sl811-hcd, 19 May 2005
Initializing USB Mass Storage driver...
usb 4-2: configuration #1 chosen from 1 choice
usb 5-2: new full speed USB device using uhci_hcd and address 2
usb 5-2: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
input: AT Translated Set 2 keyboard as /class/input/input2
raid6: int32x1   1047 MB/s
raid6: int32x2   1087 MB/s
raid6: int32x4    842 MB/s
raid6: int32x8    754 MB/s
raid6: mmxx1     3416 MB/s
raid6: mmxx2     4038 MB/s
raid6: sse1x1    2333 MB/s
raid6: sse1x2    3073 MB/s
raid6: sse2x1    4173 MB/s
raid6: sse2x2    4802 MB/s
raid6: using algorithm sse2x2 (4802 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
md: multipath personality registered for level -4
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: [email protected]
usbcore: registered new interface driver hiddev
input: Logitech USB-PS/2 Optical Mouse as /class/input/input3
input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1d.0-1
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Starting balanced_irq
Using IPI No-Shortcut mode
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
RAMDISK: Compressed image found at block 0
EXT4-fs warning (device ram0): ext4_fill_super: extents feature not enabled on this filesystem, use tune2fs.

EXT4-fs: ram0: not marked OK to use with test code.
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 392k freed
squashfs: version 3.4 (2008/08/26) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
aufs 20081201
fuse init (API version 7.9)
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
end_request: I/O error, dev fd0, sector 0
i801_smbus 0000:00:1f.3: PCI INT B -> GSI 19 (level, low) -> IRQ 19
intel_rng: FWH not detected
usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x04E8 pid 0x3419
usbcore: registered new interface driver usblp
Linux agpgart interface v0.103
parport_pc 00:09: reported by Plug and Play ACPI
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
agpgart-intel 0000:00:00.0: Intel 946GZ Chipset
agpgart-intel 0000:00:00.0: detected 7676K stolen memory
agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xe0000000
r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
r8169 0000:01:05.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
eth0: RTL8169sc/8110sc at 0xf8d0c000, 00:1a:4d:7a:5f:73, XID 18000000 IRQ 21
Linux video capture interface: v2.00
ppdev: user-space parallel port driver
gspca: main v2.2.0 registered
HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
HDA Intel 0000:00:1b.0: setting latency timer to 64
gspca: probing 0ac8:301b
zc3xx: probe sensor -> 0a
zc3xx: Find Sensor PB0330. Chip revision 0
gspca: probe ok
usbcore: registered new interface driver zc3xx
zc3xx: registered
input: PC Speaker as /class/input/input4
lp0: using parport0 (interrupt-driven).
lp0: console ready
Intel ISA PCIC probe: not found.
Databook TCIC-2 PCMCIA probe: not found.
r8169: eth0: link up
[drm] Initialized drm 1.1.0 20060810
pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
pci 0000:00:02.0: setting latency timer to 64
[drm] Initialized i915 1.6.0 20060119 on minor 0
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata1.00: cmd a0/00:00:00:24:00/00:00:00:00:00/a0 tag 0 pio 36 in
         cdb 12 00 00 00 24 00 00 00  00 00 00 00 00 00 00 00
         res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
r8169: eth0: link up
ata1: link is slow to respond, please be patient (ready=0)
ata1: device not ready (errno=-16), forcing hardreset
ata1: soft resetting link
ata1: link is slow to respond, please be patient (ready=0)
ata1: SRST failed (errno=-16)
ata1: soft resetting link
ata1: link is slow to respond, please be patient (ready=0)
ata1: SRST failed (errno=-16)
ata1: soft resetting link
ata1: link is slow to respond, please be patient (ready=0)
ata1: SRST failed (errno=-16)
ata1: soft resetting link
ata1: SRST failed (errno=-16)
ata1: reset failed, giving up
ata1.00: disabled
ata1: EH complete
irq 19: nobody cared (try booting with the "irqpoll" option)
Pid: 0, comm: swapper Not tainted 2.6.27.8 #1
 [<c014de94>] __report_bad_irq+0x24/0x80
 [<c014e14f>] note_interrupt+0x25f/0x290
 [<c014d285>] handle_IRQ_event+0x25/0x50
 [<c014ea92>] handle_fasteoi_irq+0x82/0xe0
 [<c01066bb>] do_IRQ+0x3b/0x70
 [<c01041b3>] common_interrupt+0x23/0x30
 [<c010a44f>] mwait_idle+0x2f/0x40
 [<c0101c16>] cpu_idle+0x46/0xe0
 =======================
handlers:
[<c059b7c0>] (ata_sff_interrupt+0x0/0x1f0)
[<c05e6920>] (usb_hcd_irq+0x0/0x70)
Disabling IRQ #19
Logged

ddl

  • Archived User
  • Newbie
  • *
  • Posts: 12
LiteOn flash tool for Linux
« Reply #21 on: April 05, 2009, 10:51:00 AM »

QUOTE(lilos @ Apr 5 2009, 07:08 PM) View Post

root@slax:~# uname -a
Linux slax 2.6.27.8 #1 SMP Sun Dec 7 08:30:31 Local time zone must be set--see zic m i686 Intel® Core™2 CPU          6600  @ 2.40GHz GenuineIntel GNU/Linux
--------------------------------------------------------------------------------------------------------------------------------------------------------

root@slax:~# ./liteon_keyext dc00 /dev/ttyS0
liteon_keyext v1.0 by ddl.
Key extractor for the Xbox 360 LiteOn drive (PLDS DG-16D2S).

Using ATA command base: 0xDC00
Using serial device: /dev/ttyS0

Attempting to extract the key 6 times...

Attempt   1:    Timeout! Aborting...

-----------------------------------------------------------------------------------------------------------------------------------------------------------
root@slax:~# cd /dev/ttyS
ttyS0  ttyS1  ttyS2  ttyS3
     
-----------------------------------------------------------------------------------------------------------------------------------------------------------

root@slax:~# dmesg | grep "$ATA_ID: SATA" | sed -r 's/.*cmd (.*) ctl.*/\1/'
0xd400
0xdc00
----------------------------------------------------------------------------------------------------------------------------------------------------------

root@slax:~# dmesg | grep "$ATA_ID: SATA"
ata1: SATA max UDMA/133 cmd 0xd400 ctl 0xd800 bmdma 0xe400 irq 19
ata2: SATA max UDMA/133 cmd 0xdc00 ctl 0xe000 bmdma 0xe408 irq 19

----------------------------------------------------------------------------------------------------------------------------------------------------------

my system full info

root@slax:~# dmesg
Linux version 2.6.27.8 (root@darkstar) (gcc version 4.2.4) #1 SMP Sun Dec 7 08:30:31 Local time

[...]

ata1: SATA max UDMA/133 cmd 0xd400 ctl 0xd800 bmdma 0xe400 irq 19
ata2: SATA max UDMA/133 cmd 0xdc00 ctl 0xe000 bmdma 0xe408 irq 19
ata1.01: NODEV after polling detection
ata1.00: ATAPI: PLDS    DG-16D2S, 74850C, max UDMA/100
ata1.00: applying bridge limits
ata1.00: configured for UDMA/100
ata1: WARNING: synchronous SCSI scan failed without making any progress,
                  switching to async
[...]


I think you forgot to execute the first line that will assign the environment variable named ATA_ID.

ATA_ID=`dmesg | grep ATAPI | grep DG-16D2S | cut -d . -f 1`
dmesg | grep "$ATA_ID: SATA" | sed -r 's/.*cmd (.*) ctl.*/\1/'


That should give you:

0xd400

In other words: this is your ata cmd base. 0xDC00 is not correct.

Hope this helps.


Logged

lilos

  • Archived User
  • Newbie
  • *
  • Posts: 8
LiteOn flash tool for Linux
« Reply #22 on: April 05, 2009, 11:08:00 AM »

QUOTE(ddl @ Apr 5 2009, 06:27 PM) View Post

I think you forgot to execute the first line that will assign the environment variable named ATA_ID.

ATA_ID=`dmesg | grep ATAPI | grep DG-16D2S | cut -d . -f 1`
dmesg | grep "$ATA_ID: SATA" | sed -r 's/.*cmd (.*) ctl.*/\1/'
That should give you:

0xd400

In other words: this is your ata cmd base. 0xDC00 is not correct.

Hope this helps.


root@slax:~# ATA_ID=`dmesg | grep ATAPI | grep DG-16D2S | cut -d . -f 1`
root@slax:~# dmesg | grep "$ATA_ID: SATA" | sed -r 's/.*cmd (.*) ctl.*/\1/'
0xd400
0xdc00
root@slax:~# ./li
liteon_erase   liteon_keyext
root@slax:~# ./liteon_
liteon_erase   liteon_keyext
root@slax:~# ./liteon_keyext d400 /dev/ttyS
ttyS0  ttyS1  ttyS2  ttyS3
root@slax:~# ./liteon_keyext d400 /dev/ttyS0 drive1
liteon_keyext v1.0 by ddl.
Key extractor for the Xbox 360 LiteOn drive (PLDS DG-16D2S).

Using ATA command base: 0xD400
Using serial device: /dev/ttyS0

Attempting to extract the key 6 times...

Attempt   1:    Timeout! Aborting...

root@slax:~# ./liteon_keyext d400 /dev/ttyS1 drive1
liteon_keyext v1.0 by ddl.
Key extractor for the Xbox 360 LiteOn drive (PLDS DG-16D2S).

Using ATA command base: 0xD400
Using serial device: /dev/ttyS1

Attempting to extract the key 6 times...

Attempt   1:    Timeout! Aborting...

root@slax:~# ./liteon_keyext d400 /dev/ttyS2 drive1
liteon_keyext v1.0 by ddl.
Key extractor for the Xbox 360 LiteOn drive (PLDS DG-16D2S).

Using ATA command base: 0xD400
Using serial device: /dev/ttyS2

Attempting to extract the key 6 times...

Attempt   1:    Unable to read from serial device: Input/output error

root@slax:~# ./liteon_keyext d400 /dev/ttyS3 drive1
liteon_keyext v1.0 by ddl.
Key extractor for the Xbox 360 LiteOn drive (PLDS DG-16D2S).

Using ATA command base: 0xD400
Using serial device: /dev/ttyS3

Attempting to extract the key 6 times...

Attempt   1:    Unable to read from serial device: Input/output error

What is your linux distro and what kernel version ? what mobo you use ?

My box is new with original firmware - November 2008
Logged

ddl

  • Archived User
  • Newbie
  • *
  • Posts: 12
LiteOn flash tool for Linux
« Reply #23 on: April 05, 2009, 01:13:00 PM »

QUOTE(lilos @ Apr 5 2009, 07:44 PM) View Post

root@slax:~# ATA_ID=`dmesg | grep ATAPI | grep DG-16D2S | cut -d . -f 1`
root@slax:~# dmesg | grep "$ATA_ID: SATA" | sed -r 's/.*cmd (.*) ctl.*/\1/'
0xd400
0xdc00
root@slax:~# ./li
liteon_erase   liteon_keyext
root@slax:~# ./liteon_
liteon_erase   liteon_keyext
root@slax:~# ./liteon_keyext d400 /dev/ttyS
ttyS0  ttyS1  ttyS2  ttyS3
root@slax:~# ./liteon_keyext d400 /dev/ttyS0 drive1
liteon_keyext v1.0 by ddl.
Key extractor for the Xbox 360 LiteOn drive (PLDS DG-16D2S).

Using ATA command base: 0xD400
Using serial device: /dev/ttyS0

Attempting to extract the key 6 times...

Attempt   1:    Timeout! Aborting...

root@slax:~# ./liteon_keyext d400 /dev/ttyS1 drive1
liteon_keyext v1.0 by ddl.
Key extractor for the Xbox 360 LiteOn drive (PLDS DG-16D2S).

Using ATA command base: 0xD400
Using serial device: /dev/ttyS1

Attempting to extract the key 6 times...

Attempt   1:    Timeout! Aborting...

root@slax:~# ./liteon_keyext d400 /dev/ttyS2 drive1
liteon_keyext v1.0 by ddl.
Key extractor for the Xbox 360 LiteOn drive (PLDS DG-16D2S).

Using ATA command base: 0xD400
Using serial device: /dev/ttyS2

Attempting to extract the key 6 times...

Attempt   1:    Unable to read from serial device: Input/output error

root@slax:~# ./liteon_keyext d400 /dev/ttyS3 drive1
liteon_keyext v1.0 by ddl.
Key extractor for the Xbox 360 LiteOn drive (PLDS DG-16D2S).

Using ATA command base: 0xD400
Using serial device: /dev/ttyS3

Attempting to extract the key 6 times...

Attempt   1:    Unable to read from serial device: Input/output error

What is your linux distro and what kernel version ? what mobo you use ?

My box is new with original firmware - November 2008


Hi. What kind of TTL to RS232(USB) converter are you using? Are you sure you have connected it to  a UART TX point on your liteon PCB (hole near R707)?

I'm using Gentoo with Linux 2.6.28 and I have a motherboard with ICH10 chipset. Though, none of that should matter.




Logged

lilos

  • Archived User
  • Newbie
  • *
  • Posts: 8
LiteOn flash tool for Linux
« Reply #24 on: April 05, 2009, 01:46:00 PM »

QUOTE(ddl @ Apr 5 2009, 08:49 PM) View Post

Hi. What kind of TTL to RS232(USB) converter are you using? Are you sure you have connected it to  a UART TX point on your liteon PCB (hole near R707)?

I'm using Gentoo with Linux 2.6.28 and I have a motherboard with ICH10 chipset. Though, none of that should matter.


I have conected sata cable from my pc to my xbox DVD and power on DVD is conected from xbox
That is all no other device
Logged

ddl

  • Archived User
  • Newbie
  • *
  • Posts: 12
LiteOn flash tool for Linux
« Reply #25 on: April 05, 2009, 02:02:00 PM »

QUOTE(lilos @ Apr 5 2009, 10:22 PM) View Post

I have conected sata cable from my pc to my xbox DVD and power on DVD is conected from xbox
That is all no other device


That explains why its not working for you. You need to read the key from the drive PCB UART. The liteon_keyext program will send commands over the SATA cable that will trigger a key transmit on the UART. You need to connect a TTL to RS232 converter to the TX point on the UART. You won't be able to read the key without it.

Logged

lilos

  • Archived User
  • Newbie
  • *
  • Posts: 8
LiteOn flash tool for Linux
« Reply #26 on: April 05, 2009, 03:19:00 PM »

QUOTE(ddl @ Apr 5 2009, 09:38 PM) View Post

That explains why its not working for you. You need to read the key from the drive PCB UART. The liteon_keyext program will send commands over the SATA cable that will trigger a key transmit on the UART. You need to connect a TTL to RS232 converter to the TX point on the UART. You won't be able to read the key without it.


Can you give me a shematic where to conect cabel on DVD pcb
I think I will make ttl to rs232 converter myself.
I was wondering why /dev/ttyS.... is using in comand ... Now I understand ..
I am realy new on xbox scene smile.gif
Logged

ddl

  • Archived User
  • Newbie
  • *
  • Posts: 12
LiteOn flash tool for Linux
« Reply #27 on: April 05, 2009, 03:39:00 PM »

QUOTE(lilos @ Apr 5 2009, 11:55 PM) View Post

Can you give me a shematic where to conect cabel on DVD pcb
I think I will make ttl to rs232 converter myself.
I was wondering why /dev/ttyS.... is using in comand ... Now I understand ..
I am realy new on xbox scene smile.gif


Yes, they are easy to build. A lot of mother boards accept non-standard RS232 levels and you will be fine with a simple NPN transistor. If you want to build something that complies with RS232 you could try a MAX323 IC. If you want to build something that connects to USB you could check the webpage of FTDI.

Google for "liteon key extraction" and you should find plenty of instructions and schematics.

Logged

ddl

  • Archived User
  • Newbie
  • *
  • Posts: 12
LiteOn flash tool for Linux
« Reply #28 on: May 11, 2009, 03:07:00 PM »

Hi all,

I just discovered a bug in the key validation code in liteon_keyext. This bug made it possible for an invalid key to pass as a valid key. Even though the chance of this happening is quite small I would recommend not using liteon_keyext until I release a fixed version (eta wednesday since I will be gone most of tomorrow). If you still want to use it meanwhile I would recommend that you run liteon_keyext several times and compare the keys. Between each start you should do something to ensure that the serial buffer is cleared. Anyhing of the following should be ok:

1) Unjack your USB-extractor if using USB.
2) Unload serial modules (if built as modules) and reload them
2) cat /dev/<serialdevice>

If you start seeing 0x83 reoccuring several times in the drive key you should be aware that this might be caused by an invalid key extraction.

I'm really sorry for this and I will fix it ASAP.

Best regards,

ddl
Logged

ddl

  • Archived User
  • Newbie
  • *
  • Posts: 12
LiteOn flash tool for Linux
« Reply #29 on: May 20, 2009, 04:09:00 PM »

I made a new build that fixes the issue in liteon_keyext and it also adds support for Samsung drives and some other nice features.

ReleaseNotes:

CODE


-------------------------------------------------------------------------------
build_20090520
-------------------------------------------------------------------------------

Included programs:

  liteon_keyext 1.1b
  ixfw_patch 0.5b
  liteon_erase 1.0
  mtflash 0.8b


mtflash
-------
* Added support for parallel flash SST(39SF020) (found in Xbox360 Samsung
  drives).
* Added -b option that can be used to unlock drive using the quick
  power cycle trick on VIA and Nforce chipsets.

ixfw_patch
----------
* The program will now identify the source CFW by MD5. Some sanity checks on
  the source OFW has also been added.
* Added support for patching Samsung iXtreme firmware.
* Added -t option to force a specific firmware vendor type. Can be used to
  bypass sanity checks.

liteon_keyext
-------------
* Removed redundant call to open() on serial device.
* Added -d option that will omit identify, inquiry and key files. Only the
  dummy file will be saved when this option is used.
* Fixed a bug in the key validation routine that made it possible for an
  invalid key to pass as valid.
* Serial device is now read to discard all eventual junk on the serial device
  before each key extraction attempt.




Statically linked 32-bit version:
http://www.sendspace.com/file/272g9b

Statically linked 64-bit version:
http://www.sendspace.com/file/4ecua6
Logged
Pages: 1 [2] 3