Skip to content

Disc dump finishes before it starts #8

Description

@AnonymousUser98

I click "dump disc" and it immediately finishes, creating only a log file. I'm using Kali Linux.

redumper (build: b739)

arguments: disc --auto-detect --drive=/dev/sg1 "--image-name=Shaw Internet v4" --retries=1 --speed=16
warning: drive not found in the database
warning: using generic drive

drive information
  path: /dev/sg1
  inquiry: ASUS - DRW-24F1ST d (revision level: 1.00, vendor specific: O017900 K2BH65B5828)
  configuration: GENERIC (read offset: +6, C2 shift: 0, pre-gap start: +0, read method: BE, sector order: DATA_C2_SUB)
  profile: CD-ROM
  read speed: 2822 KB

image path: .
image name: "Shaw Internet v4"

*** DRIVE::DETECT (time check: 0s)


[Redumper exited with code -1]

I have confirmed that /dev/sg1 is the correct drive.
Here's the gdb log (with my username changed to "user"):

$ gdb ./redumper
GNU gdb (Debian 17.2-1) 17.2
Copyright (C) 2025 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./redumper...
(No debugging symbols found in ./redumper)
(gdb) run disc --drive=/dev/sg1 --auto-detect
Starting program: /home/user/Apps/redumper disc --drive=/dev/sg1 --auto-detect
redumper (build: b739)

arguments: disc --drive=/dev/sg1 --auto-detect
warning: drive not found in the database
warning: using generic drive

drive information
  path: /dev/sg1
  inquiry: ASUS - DRW-24F1ST d (revision level: 1.00, vendor specific: O017900 K2BH65B5828)
  configuration: GENERIC (read offset: +6, C2 shift: 0, pre-gap start: +0, read method: BE, sector order: DATA_C2_SUB)
  profile: CD-ROM
  read speed: <optimal>

image path: .
image name: dump_260803_155356_sg1

*** DRIVE::DETECT (time check: 0s)


Program received signal SIGSEGV, Segmentation fault.
0x00000000004e1930 in gpsxre::sector_order_layout@drive(gpsxre::SectorOrder@drive const&) ()
(gdb) bt full
#0  0x00000000004e1930 in gpsxre::sector_order_layout@drive(gpsxre::SectorOrder@drive const&) ()
No symbol table info available.
#1  0x00000000004670a2 in gpsxre::detect_sector_order@drive.detect(gpsxre::SPTD@scsi.sptd&, gpsxre::DriveConfig@drive&, int)
    ()
No symbol table info available.
#2  0x00000000004673e2 in gpsxre::redumper_drive_detect@drive.detect(gpsxre::Context@common&, gpsxre::Options@options&) ()
No symbol table info available.
#3  0x00000000004f1169 in gpsxre::redumper@redumper(gpsxre::Options@options&) ()
No symbol table info available.
#4  0x000000000041dfe2 in main ()
No symbol table info available.
(gdb) 

The disc I'm trying to dump is a CD-ROM, and the optical drive is ASUS brand (just like the log says).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions