LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-28-2004, 07:00 AM   #1
Maverick1182
Member
 
Registered: Aug 2004
Location: London
Distribution: Gentoo
Posts: 277

Rep: Reputation: 30
Second CDROM problems


Hi there, i recently added a normal CD-ROM in addtion to my CD-RW as a secondray on the same IDE cable. For some reason, it works fine in WinXP but i cant get it to read any disks in Linux Mandrake 10.0. Have tried the same disks in my CD-RW which was there during the original install of mandrake and they read fine. Do i need to re compile the kernel or something? KB3 used to work but now seems to crash the system. The screen freezes and i need to press the reset switch!

any ideas?
 
Old 08-28-2004, 08:34 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi

has ur cdrom been detected in linux(post /etc/fstab here)
also do u use ide-scsi during ur startup from lilo/grub
also did u swap ur cdrom and cdrw

regards



regardsd
 
Old 08-29-2004, 02:37 PM   #3
Maverick1182
Member
 
Registered: Aug 2004
Location: London
Distribution: Gentoo
Posts: 277

Original Poster
Rep: Reputation: 30
here's my fstab:

/dev/hdd1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdd6 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hda,fs=udf:iso9660,ro,--,iocharset=iso8859-15 0 0
/dev/hdb /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,sync,codepage=850 0 0
/dev/hdc1 /mnt/win_c ntfs umask=0,nls=iso8859-15,ro 0 0
/dev/hdc5 /mnt/win_d vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hdd5 swap swap defaults 0 0
none /mnt/removable supermount dev=/dev/scsi/host0/bus0/target0/lun0/part1,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,kudzu,codepage=850 0 0


i dont use grub as my bootloader, i use lilo.....

from what i remember, i think i did change the location of my cd-rw on the IDE cable when i added the new cd-rom..... is this whats causing the problem?

i can read cd-roms in my cd-rw drive but cant seem to read anything from my new cd-rom.....
 
Old 08-29-2004, 02:59 PM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi
yes i think that might be the provlem
in lilo.conf u nd to specify what is ur cdwriter like

# For CD-Writer
#append="hdb=ide-scsi"
uncomment the entry above

so try seting an entry like above with the approporaite device

also try by swapping the both again
regards
 
Old 08-29-2004, 03:00 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,316

Rep: Reputation: 1905Reputation: 1905Reputation: 1905Reputation: 1905Reputation: 1905Reputation: 1905Reputation: 1905Reputation: 1905Reputation: 1905Reputation: 1905Reputation: 1905
Post your lilo.conf file
Use the hardware detection to confirm which drive is connected to /dev/hda and /dev/hdb.

The drive that is connected to /dev/hda is configured for supermount but /dev/hdb is not. You will need to use the mount to access data from the drive and the unmount command prior to removing the CD.

If k3b is attempting to write data to the CDROM drive instead of the CDRW then that could be causing your problems. You need to reconfigure k3b to point to the correct device.
 
Old 08-29-2004, 03:13 PM   #6
Maverick1182
Member
 
Registered: Aug 2004
Location: London
Distribution: Gentoo
Posts: 277

Original Poster
Rep: Reputation: 30
I cant run the Kb3 configure tool as it crashes the computer and freezes.....

here's my lio.conf file....:

# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

boot=/dev/hdc
map=/boot/map
default="linux"
keytable=/boot/uk.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/hdd1
initrd=/boot/initrd.img
append="devfs=mount acpi=off resume=/dev/hdd5 splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hdd1
initrd=/boot/initrd.img
append="devfs=mount acpi=ht resume=/dev/hdd5"
read-only
image=/boot/vmlinuz-2.6.3-7mdk
label="263-7"
root=/dev/hdd1
initrd=/boot/initrd-2.6.3-7mdk.img
append="devfs=mount acpi=ht resume=/dev/hdd5 splash=silent"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hdd1
initrd=/boot/initrd.img
append="failsafe acpi=ht resume=/dev/hdd5 devfs=nomount"
read-only
other=/dev/hdc1
label="windows"
table=/dev/hdc
other=/dev/fd0
label="floppy"
unsafe

I dont understand what i need to add to this....

the list of folders in my /mnt directory are as follows:

/floppy - floppy drive
/cdrom - my cd-rw drive which can read all disks
/cdrom2 - which CANT read anything
/win c - windows partition NTFS
/win d - windows partition FAT32

i'd like to know how to configure both cd-rom to work correctly without switichin their positions as i'm trying to learn as much as i can about linux, it would be too easy. its a good crash course....

Last edited by Maverick1182; 08-30-2004 at 04:45 AM.
 
Old 08-29-2004, 03:23 PM   #7
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
is this your cdrom-drive (the one you added)? - this is from your posting of /etc/fstab...

/dev/hdb /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec 0 0


and this is your first cdrom-drive?

none /mnt/removable supermount dev=/dev/scsi/host0/bus0/target0/lun0/part1,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,kudzu,codepage=850 0 0


I'm not familiar with supermount and its setup, but it appers to me:

...that you are (where) acessing your first cdrom as an scsi-drive (using ide-scsi emulation)

...you are doing this NOT for the new drive

- there could be a problem...


Your /etc/fstab only shows what you or some automatic setup routine put in there - it does not show you if your system sees the drives really like this!

to see what your system recognzes all of your drives as:

give the command:

dmesg | grep hd

this will filter the output of dmesg and only print lines containing anything with "hd" in them - these are the kernel messages during boot-up that show you what the kernel sees what your hardware is

! this will only work reliably right after boot-up - else in the output of dmesg are other things - since it prints the kernel ring buffer and that holds other things when your machine has run a while -
you will also find the same info as in dmesg in the kernel-log-files (/var/log/kern.log and/or /var/log/sys.log) - at their end

You can also try mounting by hand (as root - since there is no valid entry in /etc/fstab...)

mount -t iso9660 /dev/hdX /mnt/a_directory_which_must_exist
 
Old 08-30-2004, 04:41 AM   #8
Maverick1182
Member
 
Registered: Aug 2004
Location: London
Distribution: Gentoo
Posts: 277

Original Poster
Rep: Reputation: 30
This is the result of my dmesg | grep hd:




Kernel command line: BOOT_IMAGE=linux ro root=1641 devfs=mount acpi=off resume=/dev/hdd5 splash=silent
ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hdaMA, hdbMA
ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdcMA, hddMA
hda: LITE-ON COMBO LTC-48161H, ATAPI CD/DVD-ROM drive ------------------------------------->my old cd-rw/DVD unit
hdb: CRD-8400C, ATAPI CD/DVD-ROM drive---------------------------------------------------------------->my new cd-rom
hdb: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
hdb: set_drive_speed_status: error=0xb4
hdc: IBM-DTLA-307030, ATA DISK drive
hdd: IBM-DJNA-352030, ATA DISK drive
hdc: max request size: 128KiB
hdc: 60036480 sectors (30738 MB) w/1916KiB Cache, CHS=59560/16/63, UDMA(33)
hdd: max request size: 128KiB
hdd: 39876480 sectors (20416 MB) w/1966KiB Cache, CHS=39560/16/63, UDMA(33)
Resume Machine: resuming from /dev/hdd5
Resuming from device hdd5
EXT3 FS on hdd1, internal journal
Adding 506008k swap on /dev/hdd5. Priority:-1 extents:1
EXT3 FS on hdd6, internal journal
hda: ATAPI 48X DVD-ROM CD-R/RW CD-MRW drive, 2048kB Cache, UDMA(33)
hdb: ATAPI 40X CD-ROM drive, 128kB Cache, DMA


the /mnt/removable is actually the folder created when i plug in my mp3 player so i can copy music onto it. Its connected via USB and created itself when i plugged it in.

i made a mistake in my last post, my new cdrom drive (cdrom2) CANT read anything....
 
Old 08-30-2004, 08:57 AM   #9
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
you are getting errors from kernel during boot for your new cdrom:

hdb: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
hdb: set_drive_speed_status: error=0xb4

please check that this was only temporary (check the kern.log and sys.log) - the last thing in your dmesg output was:

hdb: ATAPI 40X CD-ROM drive, 128kB Cache, DMA

and no further error - which could indicate, that it was only a temporary error


try mounting it by hand (need to do that as root) as I suggested already and post the errors you may get - hopefully none:

mount -t iso9660 /dev/hdb /mnt/cdrom2

Last edited by jomen; 08-30-2004 at 09:29 AM.
 
  


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
Cdrom Problems Soulful93 Slackware 4 05-12-2005 10:53 AM
cdrom problems LucidParody Linux - Software 3 09-26-2004 12:20 PM
cdrom problems... punked Linux - Hardware 1 08-15-2004 08:28 AM
CD problems: /mnt/cdrom and /dev/cdrom okok Linux - Newbie 5 04-09-2003 11:11 AM
CDROM Problems neovox Linux - General 12 03-04-2001 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration