LinuxQuestions.org
Help answer threads with 0 replies.
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 08-18-2004, 11:41 AM   #1
eBopBob
Member
 
Registered: Jan 2004
Location: Europe.
Distribution: Windows XP, openSuse 10.1
Posts: 215

Rep: Reputation: 30
Troubles with mounting hard-drive. Cannot even mount or access in root.


Hi all.

I've a major problem. CDs will not mount. Neither media nor data CDs. I have to boot into Windows to access 'em. I've all things needed. I can't even access 'em when I log into root! I mount it with

mount /dev/dvd
or
mount /dev/cdrom
or
mount /dev/hdc

Nothing works. I then do mount in Konsole, and it says that my DVD-ROM has been mounted, yet I'm unable to access my CDs. I can listed to my music CDs through CDPlayer or KSCD or something like that; but I cannot access them in /media/dvd nor can I access my data CDs there. Kinda driving me nuts. I've searched and nothing I've tried works.

Any help please? Must I edit something?

When I do mount in Konsole, I get:

Quote:
/dev/hda3 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda1 on /windows/C type vfat (rw,noexec,nosuid,nodev,gid=100,umask=0002,iocharset=utf8)
/dev/fd0 on /media/floppy type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hdc on /media/dvd type subfs (ro,nosuid,nodev,fs=cdfss,procuid,iocharset=utf8)
So my DVD drive has been mounted; but I just can't access it. It says "Could not enter folder /media/dvd" - and it doesn't say why. It says ownership is root and user is root; but even when logged in as root I cannot enter it, nor modify its properties. Makes no sense to me at all. I check in the /var/log/messages and got this:

Quote:
Aug 18 17:42:36 linux kernel: hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
Aug 18 17:42:36 linux kernel: hdc: packet command error: error=0x54
Aug 18 17:42:36 linux kernel: ATAPI device hdc:
Aug 18 17:42:36 linux kernel: Error: Illegal request -- (Sense key=0x05)
Aug 18 17:42:36 linux kernel: Invalid field in command packet -- (asc=0x24, ascq=0x00)
Aug 18 17:42:36 linux kernel: The failed "Start/Stop Unit" packet command was:
Aug 18 17:42:36 linux kernel: "1b 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 "
Aug 18 17:42:36 linux kernel: cdrom: open failed.
Aug 18 17:42:36 linux kernel: hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
Aug 18 17:42:36 linux kernel: hdc: packet command error: error=0x54
Aug 18 17:42:36 linux submountd: mount failure, No medium found
Aug 18 17:42:36 linux kernel: ATAPI device hdc:
Aug 18 17:42:36 linux kernel: Error: Illegal request -- (Sense key=0x05)
Aug 18 17:42:36 linux kernel: Invalid field in command packet -- (asc=0x24, ascq=0x00)
Aug 18 17:42:36 linux kernel: The failed "Start/Stop Unit" packet command was:
Aug 18 17:42:36 linux kernel: "1b 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 "
Aug 18 17:42:36 linux kernel: cdrom: open failed.
Aug 18 17:42:36 linux kernel: subfs: unsuccessful attempt to mount media (256)
As you can see, I'm stumped.

Any help is MUCH appreciated.
 
Old 08-18-2004, 01:37 PM   #2
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
ebopbob; back to basics, read those printouts (even if hardcopied) very carefully with explicite attention to those errors (clues where what needs done). u may need to redo the permissions to execute commands. (notice rw on konsule mnt) that is read/write. what happened to rwx those are the permissions. so redo in correct sequence then things go in working order.
 
Old 08-18-2004, 02:53 PM   #3
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
I guess suse has some issues with automount, indeed. I've seen this here, and people have frequently reported problems here at LQ.

Try to mount'em as if no automount were present. Just su to root, then do "mount /dev/hdc /media/dvd" with a data cd inside.
Post here the output of the console.
 
Old 08-19-2004, 03:02 AM   #4
eBopBob
Member
 
Registered: Jan 2004
Location: Europe.
Distribution: Windows XP, openSuse 10.1
Posts: 215

Original Poster
Rep: Reputation: 30
Quote:
ebopbob; back to basics, read those printouts (even if hardcopied) very carefully with explicite attention to those errors (clues where what needs done). u may need to redo the permissions to execute commands. (notice rw on konsule mnt) that is read/write. what happened to rwx those are the permissions. so redo in correct sequence then things go in working order.
Ok.... I'm new here, so bare with me!
The permissions for the DVD when doing mount at Konsole say ro. That means Read Only I presume. I right clicked on the DVD icon on my desktop, went to permissions, and it says Owner = Read Only, while Group and Others were forbidden. Should I change it so they are ALL Read Only, or what?
I'm guessing the error is to do with permissions. What else could it be?
Also the problem is, I've no idea what the errors in /var/log/messages mean.


Quote:
Try to mount'em as if no automount were present. Just su to root, then do "mount /dev/hdc /media/dvd" with a data cd inside. Post here the output of the console.
Quote:
linux:/home/user # mount /dev/hdc /media/dvd
mount: block device /dev/hdc is write-protected, mounting read-only
mount: No medium found
Quote:
linux:/home/anjayszczep # mount /dev/hdc
linux:/home/anjayszczep # mount /media/dvd
And STILL it says the same old same old. I cannot enter /media/dvd
When I do mount in Konsole, I get:

Quote:
/dev/hda3 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda1 on /windows/C type vfat (rw,noexec,nosuid,nodev,gid=100,umask=0002,iocharset=utf8)
/dev/hdc on /media/dvd type subfs (ro,nosuid,nodev,fs=cdfss,procuid,iocharset=utf8)
/dev/fd0 on /media/floppy type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hdc on /media/dvd type subfs (ro,nosuid,nodev,fs=cdfss,procuid,iocharset=utf8)
/dev/hdc on /media/dvd type subfs (ro,nosuid,nodev,fs=cdfss,procuid,iocharset=utf8)

So, what should I do???

Thanks
 
Old 08-19-2004, 06:09 AM   #5
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
ebopbob; please read the readme,s and this: http://tldp.org/HOWTO/HOWTO-INDEX/html sections 4.1.8 partitions and filesystems,4.1.12 using linux;4.2.System Administration and Configuration,4.2.1 Configuration/Installation. & please,please expand each section for detail information, reading carefully with understanding, it will guide you through step by step. yeah i know its but necessary.
 
  


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
Mounting root filesystem from an external USB hard drive? ChrisHart Linux - Laptop and Netbook 6 04-02-2005 10:49 PM
External Hard Drive --No Access as USER only ROOT (10.1) 1kyle Mandriva 1 10-31-2004 09:09 AM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 12:01 PM
when I mount my usb hard drive, I have to be root to access it? nakedpretzel Linux - Hardware 2 02-27-2004 09:47 PM
can't access/format/mount dell latitude modular hard drive egg Linux - Laptop and Netbook 2 10-02-2003 07:40 PM

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

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