LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-03-2003, 05:00 PM   #1
ulbun
LQ Newbie
 
Registered: Sep 2003
Location: Estonia
Posts: 4

Rep: Reputation: 0
Computer hangs when reading cd


Hi everybody!

I have a slight problem ... every time i try to read data cd'd ... my system hangs after few seconds (keyboard lights blinking). I think that this problem started after i added new hard drive and had to set my cd-writer (problem device i speak about) as slave on second ide cable. The funny thing about that is that i can hear audio cd's and even burn cd's (i'm using K3b as cd-burning software). Any ideas what i do wrong?

some lilo.conf lines:

image=/boot/vmlinuz
label="linux"
root=/dev/hda1
initrd=/boot/initrd.img
append="quiet devfs=mount hdd=ide-scsi acpi=off"
vga=788
read-only

fstab line for cd-rom:

none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-15,codepage=850,umask=0 0 0

I have a suspession that
/dev/scsi/host0/bus0/target0/lun0/cd
is incorrect, as my cd-writer is slave on second ide cable. I'm not quite familiar with these new device markings but even if i use "/dev/scsi/host0/bus0/target0/lun0/cd" in fstab instead of "/dev/scd0" it won't work - i tried

Any suggestions? I'm out of ideas

My system:
Mandrake 9.1 (with latest updates)
CD-Writer: LG 48x24x48x

Last edited by ulbun; 09-04-2003 at 04:19 AM.
 
Old 09-03-2003, 05:45 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
what does
cdrecord -scanbus
report?
 
Old 09-04-2003, 01:01 AM   #3
ulbun
LQ Newbie
 
Registered: Sep 2003
Location: Estonia
Posts: 4

Original Poster
Rep: Reputation: 0
Cdrecord 2.0 (i586-mandrake-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'HL-DT-ST' 'CD-RW GCE-8481B ' '1.00' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
 
Old 09-04-2003, 04:22 AM   #4
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Rep: Reputation: 30
you can try enabling dma for your cd-writer.
as root: hdparm -d1 /dev/scd0

good luck.
 
Old 09-04-2003, 03:54 PM   #5
ulbun
LQ Newbie
 
Registered: Sep 2003
Location: Estonia
Posts: 4

Original Poster
Rep: Reputation: 0
i get

"/dev/scd0 not supported by hdparm"
 
Old 09-04-2003, 09:49 PM   #6
WhiteChedda
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Mandrake 9.1 for now
Posts: 205

Rep: Reputation: 30
Re: Computer hangs when reading cd

Quote:
Originally posted by ulbun
Hi everybody!

I have a slight problem ... every time i try to read data cd'd ... my system hangs after few seconds (keyboard lights blinking). I think that this problem started after i added new hard drive and had to set my cd-writer (problem device i speak about) as slave on second ide cable. The funny thing about that is that i can hear audio cd's and even burn cd's (i'm using K3b as cd-burning software). Any ideas what i do wrong?

some lilo.conf lines:

image=/boot/vmlinuz
label="linux"
root=/dev/hda1
initrd=/boot/initrd.img
append="quiet devfs=mount hdd=ide-scsi acpi=off"
vga=788
read-only

fstab line for cd-rom:

none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-15,codepage=850,umask=0 0 0

I have a suspession that
/dev/scsi/host0/bus0/target0/lun0/cd
is incorrect, as my cd-writer is slave on second ide cable. I'm not quite familiar with these new device markings but even if i use "/dev/scsi/host0/bus0/target0/lun0/cd" in fstab instead of "/dev/scd0" it won't work - i tried

Any suggestions? I'm out of ideas

My system:
Mandrake 9.1 (with latest updates)
CD-Writer: LG 48x24x48x

I get the same thing if I try to read the 2nd install CD. Best I can guess the CD driver is not so hot at reading a lot of little files like the RPM list CD 2 has on it. I am currently using XP to copy the RPM's to the HD so I can copy them to a folder on my linux paritition and not have to worry about the CD's though it would be nice to figure out exactly what the problem is.

Once it locks up I can do nothing, and it reads other CD's just fine. There is no problem with the media either as XP has no problem with the data at all. Best i can guess the sytem is either not good at reading lots of small bits of DATA {I'll admit it took XP 20+ minutes to copy the CD which is ridiculous} or its corrupting its buffers and then its over for it. Annoying part is you can't do anything but hard reboot. Even if you don't get to the full blinking keyboard lock stage it refuses to let go of the CD once this occurs, Manually forcing the drive to open does nothing for linux, it still incists it has a CD in the drive and that the CD drive is actively reading from it. If you try to shut down it will get to unloading alsa and then stay there for ever.

Last edited by WhiteChedda; 09-04-2003 at 09:52 PM.
 
Old 09-05-2003, 01:02 AM   #7
ulbun
LQ Newbie
 
Registered: Sep 2003
Location: Estonia
Posts: 4

Original Poster
Rep: Reputation: 0
but i don't understand ... before i added a hard drive everything was fine ... i could browse every cd i wanted. something is still wrong with my hardware configuration. i hope that somebody would give me a hint ... i'm out of ideas and only thing i can think about that would help, is to re-install Linux ... but that would be kind of escaping :P ... i won't give up
 
  


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
fedora 2 hungs at reboot chongluo Linux - Newbie 0 10-11-2004 08:16 PM
Computer novels worth reading - any suggestions? will103 General 4 08-31-2004 02:07 PM
Computer reboots when reading partition!! mmarshall Linux - General 2 04-05-2004 08:40 AM
Redhat 9 Install CD hungs on boot REBELinBLUE Linux - Newbie 2 01-18-2004 06:17 PM
RH9 hungs when I connect my KD-400Z yoto Linux - Hardware 1 11-12-2003 05:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:19 AM.

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