You are not logged in.

#1 2014-09-24 01:04:21

lexan
Member
Registered: 2011-06-15
Posts: 60

abcde: "scsi_read error Cannot allocate memory"

I receive the following error when abcde tries to rip an audio CD:

scsi_read error: sector=1631 length=20 retry=0
                 Sense key: 0 ASC: 0 ASCQ: 0
                 Transport error: (null)
                 System error: Cannot allocate memory

I'm using a USB optical drive if that makes any difference.

Last edited by lexan (2014-09-24 01:04:42)

Offline

#2 2014-09-24 01:30:48

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: abcde: "scsi_read error Cannot allocate memory"

Have you tried with another CD?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-09-28 17:04:30

lexan
Member
Registered: 2011-06-15
Posts: 60

Re: abcde: "scsi_read error Cannot allocate memory"

jasonwryan wrote:

Have you tried with another CD?

I've tried with other audio CDs and get the same error.
I also tried the device succesffully (ripping and reading) on a mac osx computer to see if it was a hardware device issue.

The error suggests a memory issue, but I have over 2.6 GB free.

Edit: hardware model: samsung portable dvd writer model se-218
http://www.amazon.com/Samsung-Portable- … ter+se-218

Last edited by lexan (2014-09-28 17:09:02)

Offline

#4 2014-09-28 17:09:38

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: abcde: "scsi_read error Cannot allocate memory"

Can you please paste your conf?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-09-29 00:08:46

lexan
Member
Registered: 2011-06-15
Posts: 60

Re: abcde: "scsi_read error Cannot allocate memory"

jasonwryan wrote:

Can you please paste your conf?

#.abcde.conf

CDDBMETHOD=cddb
CDDBCOPYLOCAL="y"
CDDBLOCALDIR="$HOME/.cddb"
CDDBLOCALRECURSIVE="y"
CDDBUSELOCAL="y"
PADTRACKS=y
CDROM=/dev/sr0
OUTPUTTYPE=flac
OUTPUTFORMAT='${ARTISTFILE}-${ALBUMFILE}/${TRACKNUM} ${TRACKFILE}'

Offline

#6 2014-09-29 00:20:42

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: abcde: "scsi_read error Cannot allocate memory"

Nothing there that leaps out at me.

Try running the script with `set -x` to see if that provides more meaningful errors.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2014-09-29 00:24:23

lexan
Member
Registered: 2011-06-15
Posts: 60

Re: abcde: "scsi_read error Cannot allocate memory"

jasonwryan wrote:

Nothing there that leaps out at me.

Try running the script with `set -x` to see if that provides more meaningful errors.

Excuse my ignorance, but what does `set -x` do, and do I simply include it in the .abcde.conf file?

Thanks :-)

Offline

#8 2014-09-29 00:35:15

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: abcde: "scsi_read error Cannot allocate memory"

abcde is just a bash script: adding `set -x` to the top of the script (just under the shebang) will print a trace of the commands as they are run, when you hit your error, it might provide some insight as to what is happening.

See http://www.gnu.org/software/bash/manual … et-Builtin


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB