LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-04-2003, 04:14 PM   #1
downj
LQ Newbie
 
Registered: Dec 2003
Distribution: Mandrake
Posts: 3

Rep: Reputation: 0
CDRW issues


Hey everyone, got a question about my Cd drive. I'm running Mandrake 9.2, and it didn't destroy my drive during install, so I don't think I'm having the LG CDROM issues that I read about.

The drive has worked fine for days, I just installed last friday.
I've even burned cd's with it, I must've installed something that changed a setting somewhere, because now, when I insert a cd, or try to view the contents of my cd, the drive just freezes.
and the 'busy' light stays on.
the drive is listed as hdc: CD-RW BCE2410IM, ATAPI CD/DVD-ROM drive

Here's fstab:
/dev/hda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda6 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/scd0,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,sync,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0


When I look in the logs, I'm also seeing this:
ov 28 21:00:52 localhost kernel: cdrom: open failed.
Nov 28 21:00:52 localhost kernel: sr0: mmc-3 profile: 0h
Nov 28 21:00:52 localhost kernel: cdrom: open failed.
Nov 28 21:00:52 localhost kernel: sr0: mmc-3 profile: 0h
Nov 28 21:00:52 localhost kernel: cdrom: open failed.
Nov 28 21:00:52 localhost kernel: sr0: mmc-3 profile: 0h

anyone have an idea what's going on?
thanks again.
 
Old 12-04-2003, 05:57 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
What burner prog are you using for the drive? It might have been guessing a little optimistically and given it something that the drive doesn't like.

Also, even though the logs are good, "dmesg" is a lot more verbose. You might want to drop some of that in here.

This is probably going to be some voodoo oriented solution... warning you ahead of time.

Cheers,

Finegan
 
Old 12-04-2003, 06:12 PM   #3
downj
LQ Newbie
 
Registered: Dec 2003
Distribution: Mandrake
Posts: 3

Original Poster
Rep: Reputation: 0
I was using K3B, But A few days later I installed Crossover office, and during my photoshop install, it told me the supermount/cdrw config wasn't right for what it needed the cdrw to do. and it asked me if I wanted to save some changes to fstab. I don't think I made the changes, but I'm not sure. I also installed vmware, which I know sometimes has issues with cd drives.

here's dmesg:

[jason@localhost jason]$ dmesg
Linux version 2.4.22-10mdk (nplanel@no.mandrakesoft.com) (gcc version 3.3.1 (Man drake Linux 9.2 3.3.1-2mdk)) #1 Thu Sep 18 12:30:58 CEST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e7800 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000017ef0000 (usable)
BIOS-e820: 0000000017ef0000 - 0000000017effc00 (ACPI data)
BIOS-e820: 0000000017effc00 - 0000000017f00000 (ACPI NVS)
BIOS-e820: 0000000017f00000 - 0000000018000000 (reserved)
BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
382MB LOWMEM available.
ACPI: have wakeup address 0xc0001000
On node 0 totalpages: 98032
zone(0): 4096 pages.
zone(1): 93936 pages.
zone(2): 0 pages.
DMI not present.
ACPI: RSDP (v000 PTLTD ) @ 0x000f7470
ACPI: RSDT (v001 PTLTD RSDT 0x06040000 LTP 0x00000000) @ 0x17efcb71
ACPI: FADT (v001 HP Hawk 0x06040000 PTL 0x000f4240) @ 0x17effb64
ACPI: BOOT (v001 PTLTD $SBFTBL$ 0x06040000 LTP 0x00000001) @ 0x17effbd8
ACPI: DSDT (v001 INTEL Whitney 0x06040000 MSFT 0x0100000b) @ 0x00000000
ACPI: MADT not present
Building zonelist for node : 0
Kernel command line: auto BOOT_IMAGE=linux ro root=301 devfs=mount hdc=ide-scsi acpi=ht resume=/dev/hda5
ide_setup: hdc=ide-scsi
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
Detected 768.432 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1533.54 BogoMIPS
Memory: 383968k/392128k available (1508k kernel code, 7772k reserved, -1961k dat a, 156k init, 0k highmem, 0k BadRAM)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0383fbff 00000000 00000000 00000000
CPU: Common caps: 0383fbff 00000000 00000000 00000000
CPU: Intel Celeron (Coppermine) stepping 06
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 768.4164 MHz.
..... host bus clock speed is 66.8187 MHz.
cpu: 0, clocks: 668187, slice: 334093
CPU0<T0:668176,T1:334080,D:3,S:334093,C:668187>
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20030813
ACPI: Interpreter disabled.
PCI: PCI BIOS revision 2.10 entry at 0xfd99e, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: ACPI tables contain no PCI IRQ routing entries
PCI: Probing PCI hardware (bus 00)
Transparent bridge - Intel Corp. 82801AA PCI Bridge
PCI: Using IRQ router PIIX [8086/2410] at 00:1f.0
PCI: Found IRQ 9 for device 00:1f.5
PCI: Sharing IRQ 9 with 00:1f.3
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
Starting kswapd
kinoded started
VFS: Disk quotas vdquot_6.5.1
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
pty: 1024 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_I RQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH: IDE controller at PCI slot 00:1f.1
ICH: chipset revision 2
ICH: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x10a0-0x10a7, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0x10a8-0x10af, BIOS settings: hdcMA, hddio
hda: WDC WD400BB-00DEA0, ATA DISK drive
blk: queue c0180d20, I/O limit 4095Mb (mask 0xffffffff)
hdc: CD-RW BCE2410IM, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=5169/240/63, UDMA(66)
Partition check:
/dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 >
ide: late registration of driver.
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Resume Machine: This is normal swap space
RAMDISK: Compressed image found at block 0
Swsusp 1.0.3: kswsuspd starting
Freeing initrd memory: 300k freed
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Mounted devfs on /dev
Freeing unused kernel memory: 156k freed
Real Time Clock Driver v1.10e
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 12:42:04 Sep 18 2003
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 11 for device 00:1f.2
PCI: Setting latency timer of device 00:1f.2 to 64
usb-uhci.c: USB UHCI at I/O 0x1080, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usbdevfs: remount parameter error
usb.c: registered new driver usblp
printer.c: v0.11: USB Printer Device Class driver
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
hub.c: new USB device 00:1f.2-1, assigned address 2
Adding Swap: 506480k swap-space (priority -1)
usb.c: USB device 2 (vend/prod 0x6a3/0x109) is not claimed by any active driver.
hub.c: new USB device 00:1f.2-2, assigned address 3
printer.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x03F0 pid 0x0904
SCSI subsystem driver Revision: 1.00
hdc: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: BTC Model: BCE2410IM Rev: A.21
Type: CD-ROM ANSI SCSI revision: 02
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,6), internal journal
usb.c: registered new driver hiddev
usb.c: registered new driver hid
EXT3-fs: mounted filesystem with ordered data mode.
usb-uhci.c: interrupt, status 2, frame# 821
input: USB HID v1.00 Joystick [SAITEK P880] on usb1:2.0
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
PCI: Enabling device 01:08.0 (0310 -> 0313)
PCI: Assigned IRQ 5 for device 01:08.0
PCI: Sharing IRQ 5 with 00:01.0
eth0: ADMtek Comet rev 17 at 0x2000, 00:04:E2:1C5B, IRQ 5.
inserting floppy driver for 2.4.22-10mdk
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 0x/40x writer cd/rw xa/form2 cdda tray
sr0: mmc-3 profile capable, current profile: 0h
Uniform CD-ROM driver Revision: 3.12
sr0: mmc-3 profile: 0h
sr0: mmc-3 profile: 0h
sr0: mmc-3 profile: 0h
sr0: mmc-3 profile: 0h
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Intel 810 + AC97 Audio, version 0.24, 12:41:23 Sep 18 2003
PCI: Found IRQ 9 for device 00:1f.5
PCI: Sharing IRQ 9 with 00:1f.3
PCI: Setting latency timer of device 00:1f.5 to 64
i810: Intel ICH 82801AA found at IO 0x1300 and 0x1200, MEM 0x0000 and 0x0000, IR Q 9
i810_audio: Audio Controller supports 2 channels.
i810_audio: Defaulting to base 2 channel mode.
i810_audio: Resetting connection 0
ac97_codec: AC97 Audio codec, id: CRY52 (Cirrus Logic CS4299 rev D)
i810_audio: AC'97 codec 0 supports AMAP, total channels = 2
parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]
lp0: using parport0 (polling).
sr0: mmc-3 profile: 0h
sr0: mmc-3 profile: 0h
sr0: mmc-3 profile: 0h
sr0: mmc-3 profile: 0h
sr0: mmc-3 profile: 0h
sr0: mmc-3 profile: 0h
sr0: mmc-3 profile: 0h
sr0: mmc-3 profile: 0h
sr0: mmc-3 profile: 0h
sr0: mmc-3 profile: 0h
sr0: mmc-3 profile: 0h
sr0: mmc-3 profile: 0h
sr0: mmc-3 profile: 0h
sr0: mmc-3 profile: 0h
sr0: mmc-3 profile: 0h
sr0: mmc-3 profile: 0h
sr0: mmc-3 profile: 0h
sr0: mmc-3 profile: 0h
[jason@localhost jason]$
 
Old 12-05-2003, 06:39 PM   #4
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
I can't find anything odd about that... buggrit. Google's got nothing, that's just a profile type and it just seems to keep getting reset over and over. So its not really debugging info in that regard.

What's resetting it would be the bug I figure.

The log you posted looks like /var/log/messages, you might want to see if there's anything in /var/log/syslog.

k3b is pretty, but it does buggy stuff sometimes... if I remember right there's an option to expand the burning window to have verbose output, but that might be useless as k3b if I remember right stops logging there after the burn when your error kicks in.

What's /etc/fstab look like? I doubt its there, but it might be as simple as that.

What are the permissions on the device? Its probably /dev/sr0 or /dev/scd0, etc... /dev/cdrom is probably just a symlink to /dev/sr0 I doubt its that too.

k3b also loves to use cdrao, which does some buggy stuff, it always caused my el cheapo burner to coaster. gcombust and xcdroast didn't have that problem. See if you can re-create the problem with either of them especially xcdroast as it does keep a verbose logging window open...

That's about all I could think of... hopefully a few good places to start.

Also, if you just want to try it from the command line... cdrecord by its bare self has a verbose option. Then if this creeps up after cdrecord exits then it would seem to be a scsi driver problem.

Cheers,

Finegan
 
Old 12-05-2003, 09:53 PM   #5
downj
LQ Newbie
 
Registered: Dec 2003
Distribution: Mandrake
Posts: 3

Original Poster
Rep: Reputation: 0
yikes. this is out of hand. the rabbit hole goes deeper....

Ok.. I've found a whole bunch of links that lead to nowhere.

/dev/sr0 AND /dev/scd0 both link to: /dev/scsi/host0/bus0/target0/lun0/cd

/dev/cdrom links to:/dev/cdroms/../scsi/host0/bus0/target0/lun0/cd
there's also an entry for cdrom0 that links to the exact same place.
running

cat /dev/scsi/host0/bus0/target0/lun0/cd

Makes the drive check for a cd, however it still can't see the CD,It tells me "no medium found" and the busy light just stays on, and the drive freezes, keep in mind, I'm not trying to burn anything at this point, I just want to be able to view files on the cd.

fstab, I'm not so sure how to read it,
/dev/hda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda6 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,sync,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0

why does it say 'none' before the Cd entry?
It's getting frustrating, I'd like to be able to get some work done with my PC, not spend all my time working ON it. ya know?
I think that's the reason some people stay with windows. But, I'm tired of windows, I see so much more potential with linux. Oh well, off to do more fiddling with it.
 
Old 12-05-2003, 10:59 PM   #6
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Quote:
Originally posted by downj

why does it say 'none' before the Cd entry?
That is because it is not yet mounted. Supermount takes care of that for you, well most of the time anyway.

Change the cdrom line to read

Code:
/dev/cdrom
instead of that scd0, unless it is a real SCSI drive. I would reboot to make sure it takes effect.

Supermount sometimes does weird things.

Later

 
  


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
HP ZE4200 Laptop DVD/CDRW issues in Fedora Core 3 yohan77 Linux - Laptop and Netbook 0 03-08-2005 08:51 PM
New to linux, so so lost, auto mounting issues, permissions issues slowhand22 Linux - Newbie 2 02-10-2005 09:41 AM
Liteon 52x cdrw - K3b doesn't see it as cdrw LooseCanon Linux - Hardware 20 08-29-2003 10:21 PM
CDRW Help shaun_bakker Linux - Hardware 13 04-29-2003 09:54 PM
CDrw, some help? Elijah Linux - Hardware 2 04-21-2003 08:40 AM

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

All times are GMT -5. The time now is 08:16 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