INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Parameter is out of range  (Read 737 times)

AndreasBurgherr

  • Member
  • *
  • Posts: 2
Parameter is out of range
« on: July 10, 2020, 10:04:51 am »

Hi

I can no longer rip a CD. I always get the message "Parameter is out of range". It doesn't matter what CD drive I try.
I use the Media Center 26.0.98, Windows 10 Pro
Regards
Andreas

Thank you for your help
The only thing that works is to disable Microsoft Defender
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71439
  • Where did I put my teeth?
Re: Parameter is out of range
« Reply #1 on: July 10, 2020, 10:15:47 am »

Try a Google search for Windows 10 problems and ripping.  I think it's a Windows update that broke it.

https://yabb.jriver.com/interact/index.php/topic,24031.msg866883.html#msg866883
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2390
Re: Parameter is out of range
« Reply #2 on: July 10, 2020, 11:39:30 am »

From your log, you're getting an "Access Denied" error when accessing the disk. MC can read the track list, but then fails when it tries to read the subchannel data.
This probably means you have some other application locking the disk - try disabling the antivirus and close or uninstall other apps that might be accessing the drive. You can also try running MC as Administrator.

I hope what follows is understood as constructive critique:

For further debugging, MC team could clarify what is the exact operation that is failing (cmd=0x42), even though they are usually unwilling to pursue these cases and a bit too quick (in my opinion) to just dismiss them as user error or antivirus woes, or just assign the blame to some other app. While that's true in some cases, it should not be the universal go-to response.

It's true that many issues are caused by windows/antivirus/others, but it can also be said in that case that MC doesn't play nice with others. Perhaps some effort could be made to improve MC's compatibility/niceness, but I don't see any willingness to do that. If MC doesn't play nice when X is installed, the solution is always to uninstall X, no effort is made into finding a way to coexist, or at least to determine if the root cause is something that MC might be doing wrong. There's only 1 download of your log file (at the time of writing), and that was me. Granted, not much time has passed yet, but Jim has already responded so it's likely no one else from JRiver will.

For instance, is MC requesting exclusive access to the drive? It's not really required for ripping and would result in this Access Denied error when other apps are also accessing the drive. Finding and fixing these issues (when possible) has value, in that it improves the product and the user's satisfaction level. Bad support in turn leads to bad publicity and fewer sales. It's obviously not possible to investigate each and every issue, but the pattern on these forums is to just dismiss any and all issues where the cause seems to be external to MC, even though there's a chance that MC could be improved to handle the underlying issue.

</rant>


0040968: 7144: Database: CSearchFilesHelper::GetResults: Search: [Artist]=[I Am the Manic Whale] [Album]=[Things Unseen] [Name]=[Billionaire] [Track #]=[1]; Elapsed ms: 7.040
0040968: 7144: Database: CSearchFilesHelper::GetResults: Search: [Artist]=[I Am the Manic Whale] [Album]=[Things Unseen] [Name]=[The Deplorable Word] [Track #]=[2]; Elapsed ms: 6.497
0040984: 7144: Database: CSearchFilesHelper::GetResults: Search: [Artist]=[I Am the Manic Whale] [Album]=[Things Unseen] [Name]=[Into the Blue] [Track #]=[3]; Elapsed ms: 6.569
0040984: 7144: Database: CSearchFilesHelper::GetResults: Search: [Artist]=[I Am the Manic Whale] [Album]=[Things Unseen] [Name]=[Celebrity] [Track #]=[4]; Elapsed ms: 6.344
0041000: 7144: Database: CSearchFilesHelper::GetResults: Search: [Artist]=[I Am the Manic Whale] [Album]=[Things Unseen] [Name]=[Smile] [Track #]=[5]; Elapsed ms: 6.690
0041000: 7144: Database: CSearchFilesHelper::GetResults: Search: [Artist]=[I Am the Manic Whale] [Album]=[Things Unseen] [Name]=[Build It Up Again] [Track #]=[6]; Elapsed ms: 6.427
0041000: 7144: Database: CSearchFilesHelper::GetResults: Search: [Artist]=[I Am the Manic Whale] [Album]=[Things Unseen] [Name]=[Halcyon Day] [Track #]=[7]; Elapsed ms: 6.461
0041015: 7144: Database: CSearchFilesHelper::GetResults: Search: [Artist]=[I Am the Manic Whale] [Album]=[Things Unseen] [Name]=[Valenta Scream] [Track #]=[8]; Elapsed ms: 6.423
0041015: 7144: General: CRipTask::StartRipping: Start
0041015: 7144: General: CRipTask::StartRipping: temp filename=C:\Users\andre\AppData\Roaming\J River\Media Center 26\Temp\I Am the Manic Whale - Billionaire.wav
0041015: 7144: General: CRipTask::InitCDCopy: Start
0041015: 7144: General: CRipTask::InitCDCopy: temp filename=C:\Users\andre\AppData\Roaming\J River\Media Center 26\Temp\I Am the Manic Whale - Billionaire.wav
0041031: 7144: CD: CSCSICD::CSCSICD, setting m_FirstTrack to 0: Start
0041031: 7144: CD: SCSIPassThrough::SendCommand: SCSIPassThrough::SendCommand, DeviceIoControl failed, GetLastError()=5
0041047: 7144: CD: SCSIPassThrough::SendCommand: SCSIPassThrough::SendCommand, DeviceIoControl failed, GetLastError()=5
0041047: 7144: CD: : SendCmd failed: numTries=2, cmd=42h, internal buffer full=No
0041047: 7144: CD: CSCSICD::Get_DriveStatus: after reading sub-channel data, bResult=0, bMediaLoaded=0
0041047: 7144: CD: CSCSICD::Get_DriveStatus: reading sub-channel failed, error codes: responseCode=1225548280, senseKey=1225548280, ASC=1225548280, ASCQ=1225548280
0041047: 7144: CD: SCSIPassThrough::SendCommand: SCSIPassThrough::SendCommand, DeviceIoControl failed, GetLastError()=5
0041078: 7144: CD: SCSIPassThrough::SendCommand: SCSIPassThrough::SendCommand, DeviceIoControl failed, GetLastError()=5
0041078: 7144: CD: : SendCmd failed: numTries=2, cmd=1bh, internal buffer full=No
0041078: 7144: CD: CSCSICD::Get_DriveStatus: after trying start/stop command with 'load medium' flag set, bMediaLoaded=0
0041078: 7144: CD: CSCSICD::Get_DriveStatus: error codes: responseCode=1225548280, senseKey=1225548280, ASC=1225548280, ASCQ=1225548280
0041078: 7144: CD: CSCSICD::Get_DriveStatus: bMediaLoaded=false, switch to true because at this point we'll assume medium is loaded...
0041078: 7144: CD: CSCSICD::ReRead: Start
0041078: 7144: CD: CBaseCD::DeleteTrackList, setting m_FirstTrack to 0: Start
0041078: 7144: CD: CBaseCD::DeleteTrackList, setting m_FirstTrack to 0: Finish (0 ms)
0041078: 7144: CD: SCSIPassThrough::SendCommand: SCSIPassThrough::SendCommand, DeviceIoControl failed, GetLastError()=5
0041109: 7144: CD: SCSIPassThrough::SendCommand: SCSIPassThrough::SendCommand, DeviceIoControl failed, GetLastError()=5
0041109: 7144: CD: : SendCmd failed: numTries=2, cmd=43h, internal buffer full=No
0041109: 7144: CD: CSCSICD::ReRead: Finish (31 ms)
0041109: 7144: CD: CSCSICD::CSCSICD, setting m_FirstTrack to 0: Finish (78 ms)
0041109: 7144: CD: SCSIPassThrough::SendCommand: SCSIPassThrough::SendCommand, DeviceIoControl failed, GetLastError()=5
0041140: 7144: CD: SCSIPassThrough::SendCommand: SCSIPassThrough::SendCommand, DeviceIoControl failed, GetLastError()=5
0041140: 7144: CD: : SendCmd failed: numTries=2, cmd=bbh, internal buffer full=No
0041140: 7144: General: CRipTask::InitCDCopy: Finish (125 ms)
0041140: 7144: CD: CBaseCD::ReadTrackInfo: return 0 because either m_FirstTrack(0) or Infos.nTrackNumber(1) is zero
0041140: 7144: CD: CCDRipper::ReadTrack_Aspi: Error: m_spMyReader->Drive->ReadTrackInfo(Info) returned zero. i=0, strTrack=1, Track number=1
0041140: 7144: CD: CCDRipper::ReadTrack_Aspi: Error: Parameter out of range.
0041140: 7144: CD: CCDRipper::ReadTrack_Aspi: strAryTracks=1, strDataFilename=C:\Users\andre\AppData\Roaming\J River\Media Center 26\Temp\I Am the Manic Whale - Billionaire.wav, strSectorLengthList=
0041140: 7144: General: CRipTask::StartRipping: failed ReadMultiTracks, msg=Read track failed. Parameter ist außerhalb des Bereichs
0041140: 7144: General: CRipTask::StartRipping: Finish (125 ms)
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Parameter is out of range
« Reply #3 on: July 10, 2020, 07:37:56 pm »

For instance, is MC requesting exclusive access to the drive?

While I agree with your rant, I acknowledge the resource restriction JRiver works under. More resources would mean a higher price for the software, and in this age of streaming, that isn't likely to happen.

But there have been more than a few problems with CD drives over time, from both drivers and Windows updates. It would be good if there was a solution to all those issues, possibly with a change in the way MC is coded.



Anyway, I think the Exclusive Access to the drive is required for a Secure Rip.

AndreasBurgherr could try selecting "Options > CD, DVD & BD > General > CD Ripping > Drive {X} > Copy mode > Normal" and see if MC will now rip a CD.

I could be wrong on this. If that does fix the issue, I have no idea why ripping worked previously, and doesn't now, unless that setting was changed.



PS: The "Parameter is out of range" error does pop up every now and then with different users. Rebooting the PC should always be the first step when it does. The next should be updating the driver for the optical drive, and possibly even updating the drive firmware. Doing those may allow MC to perform a Secure Rip again.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

EnglishTiger

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 966
Re: Parameter is out of range
« Reply #4 on: July 11, 2020, 04:00:10 am »

Pristine (Brand New) discs shouldn't need to be ripped in "Secure Mode".

Whilst a lot of the problems with MC and CD's/Optical Drives are probably down to the "Cranky Twins" (Windows & Windows Defender) I've noticed that they are happening more often since Displaying Lyrics, which puts a higher load on the CPU/GPU, was introduced.
Logged
Win NUC - VENOEN 11Th NUC Mini PC Core i7 1165G7,Dual HDMI 2.0+Mini DP,Windows 11 Mini Desktop Computer,Thunderbolt 4.0,1 Lan, USB-C,Wifi,Bluetooth 5.0,32GB RAM Toshiba MQ04ABF100 ‎500Gb 5400 RPM ‎eSATA HD, Gigabyte GP-GSM2NE3512GNTD 1Tb NVMe SSD, Samsung 870 QVO 8 TB SATA 2.5 Inch SSD (MZ-77Q8T0) in Sabrent Ultra Slim USB 3.0 to 2.5-Inch SATA External Aluminium Hard Drive Enclosure (EC-UK30)

Apple 2020 Mac mini M1 Chip (8GB RAM, 512GB SSD)
Sabrent Thunderbolt 3 to Dual NVMe M.2 SSD Tool-Free Enclosure with Sabrent 2TB Rocket NVMe PCIe M.2 2280 High Performance SSD + Crucial P3 Plus 4TB M.2 PCIe

ET Skins & TrackInfo Plugins - https://englishtiger.uk/index.html

AndreasBurgherr

  • Member
  • *
  • Posts: 2
Re: Parameter is out of range
« Reply #5 on: July 11, 2020, 06:40:59 am »

Thank you for your help
The only thing that works is to disable Microsoft Defender or I use Windows Media Player
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71439
  • Where did I put my teeth?
Re: Parameter is out of range
« Reply #6 on: July 11, 2020, 08:24:51 am »

For further debugging, MC team could clarify what is the exact operation that is failing (cmd=0x42), even though they are usually unwilling to pursue these cases and a bit too quick (in my opinion) to just dismiss them as user error or antivirus woes, or just assign the blame to some other app. While that's true in some cases, it should not be the universal go-to response.
Weird problems often have weird causes.  I often suggest antivirus when I see these problems, because it's the wildcard that has to be eliminated before we chase a problem. 

Read this thread to get a better idea of how often antivirus does cause problems:
http://yabb.jriver.com/interact/index.php?topic=86096.msg588759#msg588759

Windows Defender has recently become more of a problem unless it's configured correctly.
https://yabb.jriver.com/interact/index.php/topic,114101.0.html
Logged
Pages: [1]   Go Up