LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-10-2011, 03:27 PM   #1
littleball
Member
 
Registered: Jan 2011
Distribution: Slackware, Red Hat Enterprise
Posts: 47

Rep: Reputation: 8
Smile Automount not working.


Hello.

I have Slackware 13.1 with kernel 2.6.37. Everything is working fine, except that I can't mount any CD/DVD and automount is not working either. If I connect any USb to my laptop it doesn't automount, I need to manually mount it. The same case happens with CD/DVD only that I can't mount any CD/DVD even manually. Here's the output:

Code:
bash-4.1# mount /dev/cdrom  /mnt/cdrom
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: you must specify the filesystem type
bash-4.1# mount /dev/cdrom  /mnt/cdrom -t iso9660
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
Reading kernel messages with tail shows:

Code:
Jan 10 17:10:50 marian kernel: VFS: Can't find a valid FAT filesystem on dev sr0.
Jan 10 17:10:57 marian kernel: attempt to access beyond end of device
Jan 10 17:10:57 marian kernel: sr0: rw=0, want=68, limit=4
Under my /etc/fstab I have:

Code:
bash-4.1# cat /etc/fstab
/dev/sda8        swap             swap        defaults         0   0
/dev/sda1        /                reiserfs    defaults         1   1
/dev/sda10       /opt             xfs         defaults         1   2
/dev/sda5        /boot            reiserfs    defaults         1   2
/dev/sda6        /usr             xfs         defaults         1   2
/dev/sda7        /var             xfs         defaults         1   2
/dev/sda9        /home            ext4        defaults         1   2
#/dev/sda11       /backup         ntfs-3g     umask=000        1   0
/dev/sda11       /backup          jfs         defaults         0   2
/dev/cdrom       /mnt/cdrom       auto        user,noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        user,noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0
Other things that may help:

Code:
bash-4.1# dmesg | grep CD-ROM
scsi 3:0:0:0: CD-ROM            MIT[HITI D^D-RIM(UJ-859S( 1.58 PQ: 0 ANSI: 5
cdrom: Uniform CD-ROM driver Revision: 3.20
sr 3:0:0:0: Attached scsi CD-ROM sr0
bash-4.1# ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 Jan 10 16:44 /dev/cdrom -> sr0
bash-4.1# ls -l /mnt/cdrom
lrwxrwxrwx 1 root root 10 Jan 10 16:26 /mnt/cdrom -> /dev/cdrom
Any help will be appreciate it.

Regards.
 
Old 01-10-2011, 05:05 PM   #2
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Rep: Reputation: 233Reputation: 233Reputation: 233
Code:
rm /mnt/cdrom
mkdir /mnt/cdrom
 
Old 01-10-2011, 05:20 PM   #3
littleball
Member
 
Registered: Jan 2011
Distribution: Slackware, Red Hat Enterprise
Posts: 47

Original Poster
Rep: Reputation: 8
Sorry, already done that :

rm -rf /mnt/cdrom
mkdir /mnt/cdrom

The problem continues...
 
Old 01-10-2011, 05:24 PM   #4
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Rep: Reputation: 233Reputation: 233Reputation: 233
Please show your dmesg.
 
Old 01-10-2011, 05:46 PM   #5
littleball
Member
 
Registered: Jan 2011
Distribution: Slackware, Red Hat Enterprise
Posts: 47

Original Poster
Rep: Reputation: 8
All dmesg??? cause is very long. Will post here was relevant to /dev/sr0 and cdrom stuff found from Dmesg.

Quote:
sr0: scsi3-mmc drive: 0x/0x caddy
sr 3:0:0:0: Attached scsi CD-ROM sr0
VFS: Can't find a valid FAT filesystem on dev sr0.
VFS: Can't find a valid FAT filesystem on dev sr0.
VFS: Can't find a valid FAT filesystem on dev sr0.
VFS: Can't find a valid FAT filesystem on dev sr0.
VFS: Can't find a valid FAT filesystem on dev sr0.
sr0: rw=0, want=68, limit=4
isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
VFS: Can't find a valid FAT filesystem on dev sr0.
sr0: rw=0, want=68, limit=4
isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
sr0: rw=0, want=68, limit=4
isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
sr0: rw=0, want=68, limit=4
sr0: rw=0, want=1028, limit=4
sr0: rw=0, want=2052, limit=4
VFS: Can't find a valid FAT filesystem on dev sr0.
sr0: rw=0, want=68, limit=4
isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
VFS: Can't find a valid FAT filesystem on dev sr0.
sr0: rw=0, want=68, limit=4
isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
cdrom: Uniform CD-ROM driver Revision: 3.20
cdrom: This disc doesn't have any tracks I recognize!
cdrom: This disc doesn't have any tracks I recognize!
cdrom: This disc doesn't have any tracks I recognize!
cdrom: This disc doesn't have any tracks I recognize!
 
Old 01-10-2011, 05:54 PM   #6
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Rep: Reputation: 233Reputation: 233Reputation: 233
Code:
cdrom: Uniform CD-ROM driver Revision: 3.20
cdrom: This disc doesn't have any tracks I recognize!
cdrom: This disc doesn't have any tracks I recognize!
cdrom: This disc doesn't have any tracks I recognize!
cdrom: This disc doesn't have any tracks I recognize!
Disc formatted?
 
Old 01-10-2011, 06:25 PM   #7
littleball
Member
 
Registered: Jan 2011
Distribution: Slackware, Red Hat Enterprise
Posts: 47

Original Poster
Rep: Reputation: 8
Is an Office 2003 Disc, I also try it with Slackware install CD (the same one I use to install it here at my laptop) and I still get the same message .... I don't know where to start, the Office 2003 CD works fine under any laptop that has Windows XP or some Window branch. My problem here at Slackware, is that 'automount' doesn't work (not even with USB) and I'm trying to mount CD manually and it doesn't let me.
 
Old 01-10-2011, 06:28 PM   #8
bonixavier
Member
 
Registered: Sep 2010
Distribution: Slackware
Posts: 320

Rep: Reputation: 69
If you boot the stock kernel, does it work?
 
Old 01-10-2011, 06:56 PM   #9
littleball
Member
 
Registered: Jan 2011
Distribution: Slackware, Red Hat Enterprise
Posts: 47

Original Poster
Rep: Reputation: 8
No :-( it has never work (not even with the kernel that came with Slack 13.1) I even change the CD/DVD device thinking that maybe the problem was the device... is not unfortunately :-(

If I run k3b I'm able to see the device there but empty (without any CD even if there a CD inside the device). Dunno what's happening here, or where to start to check or something.
 
Old 01-10-2011, 08:10 PM   #10
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
I would think that you will need wine to install MS office and not sure if that will work. Why not install open office instead?
 
Old 01-10-2011, 08:22 PM   #11
bonixavier
Member
 
Registered: Sep 2010
Distribution: Slackware
Posts: 320

Rep: Reputation: 69
Is the user a member of the plugdev group?
 
Old 01-10-2011, 08:33 PM   #12
littleball
Member
 
Registered: Jan 2011
Distribution: Slackware, Red Hat Enterprise
Posts: 47

Original Poster
Rep: Reputation: 8
I don't want to install Office 2003, I just want to open or read any CD that I insert at my CD/DVD device, which Slackware isn't allowing me to do .

No, my user wasn't member of plugdev group, but I have add it now, same as with root, I have restart haldaemon and still get the same error here...how can I fix this issue with hald? can someone give me tips?

PD: I have reboot after adding user and root to plugdev and haldaemon group, and now when I try to mount the CD the prompt stays there and doesn't mount nothing:

bash-4.1$ mount /mnt/cdrom

Also tail -f /var/log/messages shows nothing about this issue... will try to reboot using stock kernel and see..

The same thing even with stock kernel... I try to mount manually the CD no avail, I try to run k3b and it hangs..... this is what ps -aux says about it:

Quote:
root 2147 0.0 0.0 2504 844 ? D 22:32 0:00 mount /mnt/cdrom
marian 2182 0.1 1.3 107360 20584 ? D 22:40 0:00 /usr/bin/k3b
both proccess mount and k3b are TASK_UNINTERRUPTABLE maybe this is a kernel, but both kernels? or a haldaemon problem, I don't know.

Last edited by littleball; 01-10-2011 at 09:04 PM.
 
Old 01-11-2011, 12:14 AM   #13
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
How about the output of "hdparam -I /dev/sr0"?
 
Old 01-11-2011, 01:41 AM   #14
Cheesesteak
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 102

Rep: Reputation: 24
What happens when you try another CD?
 
Old 01-11-2011, 10:09 AM   #15
littleball
Member
 
Registered: Jan 2011
Distribution: Slackware, Red Hat Enterprise
Posts: 47

Original Poster
Rep: Reputation: 8
Thanks for reply people.

If I try the following command as root:

bash-4.1# hdparm -I /dev/sr0

It does nothing, just hang there forever, this is what ps -aux gives about it:


Quote:
root 2767 0.0 0.0 1792 248 pts/2 D+ 11:51 0:00 hdparm -I /dev/sr0
Again, it puts on Status D+ TASK_UNINTERRUPTABLE

it doesn't matter which CD/DVD I use, the results are the same, I'm trying with stock kernel and still get the same. It didn't hang before, it starts to hang after I added my user and root to plugdev and haldaemon group. Before I added both users to those groups, I just wasn't able to mount any CD/DVD now after, it just hangs... and no messages about any error at /var/log/messages. Could it be some haldaemon bug or something?

Can anybody tell me if there have to be some file at /etc/hal/fdi ? I'm asking because I have enter to /etc/hal/fdi/policy , /etc/hal/fdi/preprobe and /etc/hal/fdi/information and all of them are empty, no rules no nothing... is this is ok???

Last edited by littleball; 01-11-2011 at 10:14 AM.
 
  


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
Automount (NFS) is not working justemail Linux - General 4 05-19-2009 04:35 PM
12.1 automount not working, hald etc Pscylo Slackware 1 12-03-2008 01:36 PM
gnome automount not working BCarey Linux - Desktop 4 05-25-2007 03:49 PM
Automount Floppy Not Working mfeat Linux - Software 4 08-09-2004 09:25 AM
trying to get automount working jza Linux - General 1 10-13-2003 06:47 PM

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

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