LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-17-2005, 05:24 AM   #1
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
cdrom reads only 88MB


Hey all,

as the subject states, when I want to read a cd with large files, only the first 88MB are read. I'm sure there should be more because before I could simply play the movie files (and the discs are not rewritable). Now it only plays the beginning. 'ls -l -/mnt/cdrom' also tells me that the files are only 88MB.

Anyone an idea what could be wrong here? I never had this problem before.

Cheers, Leon.
 
Old 04-17-2005, 06:51 AM   #2
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 32
have you got one cdrom drive or two (ie 1) DVD and a 2) CDRW or vise versa) so you could check if this problem occurs in the other drive as well...

does this happen with a different version of the kernel...

did this start happening since you installed a new program or anything of that sort...
 
Old 04-18-2005, 04:31 AM   #3
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Original Poster
Rep: Reputation: 90
I have only one cdrom drive, read only. With other kernel versions (Slack 2.4.29 & 2.6.11, Gentoo 2.4.28) I get exactly the same. I do not recall installing anything new lately that could affect this. Thing is that I haven't played avi files from CD for a while so I don't know when it started. Smaller files <88MB are being read just fine.
 
Old 04-18-2005, 01:01 PM   #4
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 32
is it the same under windows?
 
Old 04-18-2005, 01:07 PM   #5
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 32
when i typed "ls -l /home" it says "total 120" however it is a 10GB partition with only 3.5GB of data in it..
 
Old 04-18-2005, 02:00 PM   #6
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
You may have data written to the /mnt/cdrom directory (or whatever the mount point is named). That directory needs to be empty. I had a similar problem when I accidently copied data to a mount point using drag and drop.

I use the terminal now - hehe!
 
Old 04-18-2005, 02:21 PM   #7
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 32
actually no... the directory does not need to be empty... when you mount it on a directory it just takes over the directory...

i just mounted the cdrom on a different directory that already had files in it... after mounting the cdrom in that directory the files that were there were no longer accessible but the one's on the cdrom were... however after unmounting the cdrom original files in the directory were accessible again...
 
Old 04-18-2005, 03:36 PM   #8
etrumbo
Member
 
Registered: Apr 2005
Location: Michigan, USA
Distribution: Slackware
Posts: 39

Rep: Reputation: 16
This seems unlikely but it's worth asking anyway. Is it possibly a multisession recorded CD in a non-multisession compatible CD-ROM drive? I've run into this even with late model PC's not wanting to see anything past the first session I recorded.
 
Old 04-19-2005, 02:38 AM   #9
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Original Poster
Rep: Reputation: 90
Thanks for all the input!

* /mnt/cdrom/ is empty (when nothing is mounted)
* In windows all is fine
* it's not a multisession problem because the same occurs with cd's with only one large file on it [EDIT] NOT TRUE! See down.

When I mount the drive I don't see anything in dmesg or /var/log/messages. However, when I try to copy the file to the harddisk, I get an Input/output error. And in /var/log/messages I see the following
Code:
Apr 19 10:19:24 leon-fyg kernel: isofs_read_level3_size: More than 100 file sections ?!?, aborting...
In /var/log/syslog this shows up after trying to copy the file (I shortened it, it is actually a repetition of similar messages):
Code:
Apr 19 10:19:39 leon-fyg kernel: isofs_read_level3_size: inode=45302 ino=61042
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54
end_request: I/O error, dev 16:00 (hdc), sector 5796
hdc: media error (bad sector): status=0x51 { DriveReady SeekComplete Error }
hdc: media error (bad sector): error=0x34
end_request: I/O error, dev 16:00 (hdc), sector 5800
I googled all around but can't find anything. Could it be a hardware issue?

If anyone has an idea how to diagnose this problem I'd be delighted to hear about this.

Cheers, Leon.

Last edited by BroX; 04-20-2005 at 11:09 AM.
 
Old 04-20-2005, 09:13 AM   #10
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Original Poster
Rep: Reputation: 90
I remember that a while ago I removed some packages which I assumed were only for burning.

Could it be that tat causes the cdrtools (contain mkisofs) stuff I pasted above? I reinstalled mkisofs but that doesn't help.

Other suggestions?

Cheers, Leon.

Last edited by BroX; 04-20-2005 at 09:29 AM.
 
Old 04-20-2005, 10:25 AM   #11
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
How was the CDROM burned? Is it possible you were using something like DirectCD to burn the disc, and may not have full support in Linux?
 
Old 04-20-2005, 11:05 AM   #12
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Original Poster
Rep: Reputation: 90
Quote:
Originally posted by killerbob
How was the CDROM burned? Is it possible you were using something like DirectCD to burn the disc, and may not have full support in Linux?
Yep, I just figured out that at least one of the CDs that it occurred with IS indeed a InCD multisession.

How can I enable support for this?

I already modprobe'd udf, but that didn't do it. I tried closing the multisession but can't find a pc here with InCD installed...

Cheers, Leon.
 
Old 04-20-2005, 11:23 AM   #13
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
I'm afraid I don't know. Ever since I noticed that DirectCD doesn't even work in Windows without 3rd party software installed, I haven't used the software or anything like it. That was probably 7 or 8 years ago. I'd rather go through a few extra steps and create an ISO 9660 disc that can be read by anything.

The only bit of useful suggestion I can make is that if the disc reads fine in Windows, copy it to your hard drive and burn the disc again using a different format, maybe? Or mount the Windows directory under Linux and copy the files from there? Blank discs cost maybe a quarter each, and it could save you a lot of headache....
 
Old 04-21-2005, 01:49 AM   #14
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Original Poster
Rep: Reputation: 90
Quote:
Originally posted by killerbob
The only bit of useful suggestion I can make is that if the disc reads fine in Windows, copy it to your hard drive and burn the disc again using a different format, maybe? Or mount the Windows directory under Linux and copy the files from there? Blank discs cost maybe a quarter each, and it could save you a lot of headache....
Thanks, that's exactly what I'm gonna do. Apparently the last time I read the disks without a problem was longer ago than I thought (i.e. in my dual-boot period). Apologies for the confusement my train of thought might have caused

Cheers, Leon.
 
  


Reply



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
Slow ATAPI reads with 2.6.13 Skybolt Slackware 1 10-23-2005 04:56 AM
CD R/RW: reads or writes but not both hatha Linux - General 6 04-17-2005 07:12 PM
htaccess reads from /etc/shadow pk21 Linux - Security 2 04-10-2003 12:52 PM
cdburner reads not writes NGraphiX Linux - Hardware 1 02-28-2003 04:29 AM
cd burner reads but won't write Scott176 Linux - Hardware 2 12-17-2002 04:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:45 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration