LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-25-2010, 06:56 PM   #1
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX
Posts: 565

Rep: Reputation: 57
/dev/sr0 attempt to access beyond end of device


I am trying to install the Linux 1.5 client of Enemy Territory: Quake Wars. I had this working perfectly before I re-imaged my machine. Everything goes perfect until it starts to copy files from the DVD. It copies the first file (pak000.pk4) just fine. Then when it moves on to copy the second file (pak001.pk4) it fails at 61%, then the installed undoes everything and exits.

I know the DVD itself is not the problem as it is in good condition and has worked before. However the drive maybe a problem as it has acted a bit weird since I re-imaged. For example /dev/cdrom and /dev/dvd entries in fstab do not auto mount the drive when it did on my last install. I had to add /dev/sr0 to fstab. This install is the same version of debian linux and was installed using the same net install disk.

Anyways right after running the installed I checked dmesg and I saw several entries that looked like this on:
Code:
[241722.287141] attempt to access beyond end of device
[241722.287144] sr0: rw=0, want=2097156, limit=2097151
Any ideas what is going on so I can correct this?
 
Old 02-25-2010, 06:57 PM   #2
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX
Posts: 565

Original Poster
Rep: Reputation: 57
Also using konqueror I checked and see the DVD is 1.9GB in size. I used dd to make an .iso of the DVD and the .iso came out to be 1.1GB. It just isn't adding up
 
Old 02-25-2010, 09:03 PM   #3
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX
Posts: 565

Original Poster
Rep: Reputation: 57
I figured out the drive is the problem, just don't understand why. I connected a USB DVDRW drive from a different manufacturer and the install went just fine. It also copied several other files before it tried to copy pak000.pk4.

Has anyone else seen this before?
 
Old 08-23-2011, 11:03 PM   #4
ddstyles
LQ Newbie
 
Registered: Nov 2001
Location: Auckland NZ
Distribution: ubuntu 7.10
Posts: 16

Rep: Reputation: 0
Quote:
Originally Posted by worm5252 View Post
I figured out the drive is the problem, just don't understand why. I connected a USB DVDRW drive from a different manufacturer and the install went just fine. It also copied several other files before it tried to copy pak000.pk4.

Has anyone else seen this before?
I have this problem now- and a new dvd drive seems to fix it every time. i burn about 8 dvds a month and a drive only ever lasts about 1 year. Sometimes its the burn that goes funny - but this time its the read. I'm going to replace and test and report back in a couple of days. cheers
 
Old 08-25-2011, 08:50 PM   #5
ddstyles
LQ Newbie
 
Registered: Nov 2001
Location: Auckland NZ
Distribution: ubuntu 7.10
Posts: 16

Rep: Reputation: 0
Quote:
Originally Posted by ddstyles View Post
I have this problem now- and a new dvd drive seems to fix it every time. i burn about 8 dvds a month and a drive only ever lasts about 1 year. Sometimes its the burn that goes funny - but this time its the read. I'm going to replace and test and report back in a couple of days. cheers
New DVD drive - problem solved. this is my 3rd or 4th drive in as many years - i've lost count. they work for awhile and then break.
this one would burn OK, but got the beyond end of device error when reading the file - at 1022MB
 
Old 08-25-2011, 09:24 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,846

Rep: Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529
Quote:
New DVD drive - problem solved. this is my 3rd or 4th drive in as many years - i've lost count. they work for awhile and then break.
this one would burn OK, but got the beyond end of device error when reading the file - at 1022MB
Cdrom & dvd drives can only have region reset 4 or 5 times, that's probably why they go bad so soon.
I have only had to set region only in windows & am not sure if linux automatically sets it during installation.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
attempt to access beyond end of device on encrypted harddisk with reiserfs Skeddie Linux - Server 0 05-03-2009 08:03 AM
ldconfig 100% CPU usage, attempt to access beyond end of device rtaft Linux - Software 4 07-22-2008 01:55 PM
DMRAID - attempt to access beyond end of device Quakeboy02 Linux - Kernel 3 03-05-2007 01:22 PM
attempt to access beyond end of device for unused harddisk axim Linux - General 2 01-05-2007 05:26 AM
log: attempt to access beyond end of device 360 Linux - General 1 09-18-2003 07:52 PM


All times are GMT -5. The time now is 10:50 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration