Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
36 crawler(s) on-line.
 39 guest(s) on-line.
 1 member(s) on-line.


 matthey

You are an anonymous user.
Register Now!
 matthey:  51 secs ago
 Glames:  18 mins ago
 NutsAboutAmiga:  21 mins ago
 K-L:  47 mins ago
 Poison:  52 mins ago
 MichaelMerkel:  1 hr 5 mins ago
 Matt3k:  1 hr 9 mins ago
 Gunnar:  1 hr 16 mins ago
 retrofaza:  2 hrs 18 mins ago
 vox:  2 hrs 20 mins ago

/  Forum Index
   /  Amiga PPC Linux
      /  [SOLVED] cannot mount CD ROM on Debian for SAM440
Register To Post

PosterThread
gerograph 
[SOLVED] cannot mount CD ROM on Debian for SAM440
Posted on 19-Jan-2009 15:31:14
#1 ]
Cult Member
Joined: 5-Dec-2007
Posts: 901
From: Moers - Germany

Hi,

here I am again... made up a new thread for my CD ROM problem on SAM440 and Debian (Gnome or XFCE).

In my other thread about mounting a AmigaPartition I wrote:

Quote:
Still have the CD Problem though.... fstab: /dev/scd0/ /media/cdrom0 udf,iso9660 ro,user,noauto,hide 0 0 can only mount as root, when using mount command from shell... not even an Icon (just a alway a ghosted one)..

Only if I mount the CD Rom manually as root, it will be available after the next log in as user. ???

Geri answered:

Quote:
That's normally a permission problem. GNOME has a nice preferences program for this called "Benutzer und Gruppen" under "Systemverwaltung" were you can edit the membership of your user for the "cdrom" group.


O.k. I checked that, in the "Benutzer und Gruppen" (User+Groups) Dialogoue a can tick something like "Use CD Rom drives" (Properties Dialouge for an user)

I allowed that for user and root, but still no automount, an CD can not be mounted manually by a user.
I also checked "Gruppen verwalten" (manage groups) but I cannot find a "cdrom" group. How do I create one, they ask for a number ??

Thanx for infos

@Geri
have a look here http://cruxppc.sunsite.dk/forum/viewtopic.php?p=957#957
I think thats the same you concluded, isn't it ?




Last edited by gerograph on 30-Sep-2009 at 10:23 AM.
Last edited by gerograph on 19-Jan-2009 at 03:54 PM.

_________________
Geomarketing at
www.geobiz.de
www.gebietsplanung.net
www.geomarketing-consultant.de

 Status: Offline
Profile     Report this post  
Geri 
Re: cannot mount CD ROM on Debian for SAM440
Posted on 19-Jan-2009 19:13:00
#2 ]
Elite Member
Joined: 7-Oct-2003
Posts: 2038
From: ST/AT

@gerograph

Quote:
gerograph wrote:

O.k. I checked that, in the "Benutzer und Gruppen" (User+Groups) Dialogoue a can tick something like "Use CD Rom drives" (Properties Dialouge for an user)

I allowed that for user and root, but still no automount, an CD can not be mounted manually by a user.
I also checked "Gruppen verwalten" (manage groups) but I cannot find a "cdrom" group. How do I create one, they ask for a number ??

You don't need to add root to the cdrom group. It already is almighty! Can you please post /etc/fstab, /etc/groups and the output of "ls -l /dev/s*"?

Quote:

@Geri
have a look here http://cruxppc.sunsite.dk/forum/viewtopic.php?p=957#957
I think thats the same you concluded, isn't it ?

Yes, he talks about hardware graphics acceleration.

Quote:
from http://cruxppc.sunsite.dk/forum/viewtopic.php?p=957#957
acrux@peg2:~$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
...

It looks like glxinfo was executed on a Pegsos2 here (at least the hostname implies that). I guess glxinfo should report "direct rendering: No" on your Sam440ep, right?

_________________
A1SE: G3@600MHz, 2GB, 1GBit network card
A1XE: G4@933MHz, 2GB, refitted AC'97 codec
microA1: G3@800MHz, 1GB

- A1 Linux support -

 Status: Offline
Profile     Report this post  
gerograph 
Re: cannot mount CD ROM on Debian for SAM440
Posted on 21-Jan-2009 8:32:30
#3 ]
Cult Member
Joined: 5-Dec-2007
Posts: 901
From: Moers - Germany

@Geri

Morning,

O.k. here we go:

Quote:

FSTAB

# /etc/fstab: static file system information.
#
#
proc /proc proc defaults 0 0
/dev/sda3 / ext2 errors=remount-ro 0 1
/dev/sda2 none swap sw 0 0
/dev/sda7 /media/AmigaXChange ext2 rw,users 0 1
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0


Did not find /etc/groups, but I have this:

Quote:

GROUP

root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:
mail:x:8:
news:x:9:
uucp:x:10:
man:x:12:
proxy:x:13:
kmem:x:15:
dialout:x:20:alo
fax:x:21:alo
voice:x:22:
cdrom:x:24:alo
floppy:x:25:alo
tape:x:26:
sudo:x:27:
audio:x:29:alo
dip:x:30:
www-data:x:33:
backup:x:34:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
utmp:x:43:
video:x:44:alo
sasl:x:45:
plugdev:x:46:alo
staff:x:50:
games:x:60:
users:x:100:alo
nogroup:x:65534:
libuuid:x:101:
crontab:x:102:
ssl-cert:x:103:
Debian-exim:x:104:
mlocate:x:105:
ssh:x:106:
messagebus:x:107:
avahi:x:108:
netdev:x:109:alo
lpadmin:x:110:alo
gdm:x:111:
stb-admin:x:112:
haldaemon:x:113:
powerdev:x:114:alo
scanner:x:115:alo
alo:x:1000:alo



Quote:


OUTPUT of ls -l /dev/s*

brw-rw---- 1 root cdrom 11, 0 21. Jan 07:54 /dev/scd0
brw-rw---- 1 root disk 8, 0 21. Jan 07:54 /dev/sda
brw-rw---- 1 root disk 8, 1 21. Jan 07:54 /dev/sda1
brw-rw---- 1 root disk 8, 2 21. Jan 07:54 /dev/sda2
brw-rw---- 1 root disk 8, 3 21. Jan 07:54 /dev/sda3
brw-rw---- 1 root disk 8, 4 21. Jan 07:54 /dev/sda4
brw-rw---- 1 root disk 8, 5 21. Jan 07:54 /dev/sda5
brw-rw---- 1 root disk 8, 6 21. Jan 07:54 /dev/sda6
brw-rw---- 1 root disk 8, 7 21. Jan 07:54 /dev/sda7
brw-rw---- 1 root floppy 8, 16 21. Jan 07:54 /dev/sdb
brw-rw---- 1 root floppy 8, 17 21. Jan 07:54 /dev/sdb1
brw-rw---- 1 root floppy 8, 32 21. Jan 07:54 /dev/sdc
crw-rw---- 1 root audio 14, 1 21. Jan 07:54 /dev/sequencer
crw-rw---- 1 root audio 14, 8 21. Jan 07:54 /dev/sequencer2
crw-rw---- 1 root root 21, 0 21. Jan 07:54 /dev/sg0
crw-rw---- 1 root cdrom 21, 1 21. Jan 07:54 /dev/sg1
crw-rw---- 1 root root 21, 2 21. Jan 07:54 /dev/sg2
crw-rw---- 1 root root 21, 3 21. Jan 07:54 /dev/sg3
lrwxrwxrwx 1 root root 4 21. Jan 07:54 /dev/sr0 -> scd0
lrwxrwxrwx 1 root root 15 21. Jan 07:54 /dev/stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 21. Jan 07:54 /dev/stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 21. Jan 07:54 /dev/stdout -> /proc/self/fd/1

/dev/shm:
insgesamt 0

/dev/snd:
insgesamt 0
crw-rw---- 1 root audio 116, 0 21. Jan 07:54 controlC0
crw-rw---- 1 root audio 116, 4 21. Jan 07:54 hwC0D0
crw-rw---- 1 root audio 116, 8 21. Jan 07:54 midiC0D0
crw-rw---- 1 root audio 116, 24 21. Jan 07:54 pcmC0D0c
crw-rw---- 1 root audio 116, 16 21. Jan 07:54 pcmC0D0p
crw-rw---- 1 root audio 116, 1 21. Jan 07:54 seq
crw-rw---- 1 root audio 116, 33 21. Jan 07:54 timer



Any idea ?

greetings Gero

_________________
Geomarketing at
www.geobiz.de
www.gebietsplanung.net
www.geomarketing-consultant.de

 Status: Offline
Profile     Report this post  
Geri 
Re: cannot mount CD ROM on Debian for SAM440
Posted on 21-Jan-2009 20:30:11
#4 ]
Elite Member
Joined: 7-Oct-2003
Posts: 2038
From: ST/AT

@gerograph

Quote:
Any idea ?

Actually no. Everything seems to be setup correctly.
Are there any CDROM related messages in the kernel log?

_________________
A1SE: G3@600MHz, 2GB, 1GBit network card
A1XE: G4@933MHz, 2GB, refitted AC'97 codec
microA1: G3@800MHz, 1GB

- A1 Linux support -

 Status: Offline
Profile     Report this post  
gerograph 
Re: cannot mount CD ROM on Debian for SAM440
Posted on 21-Jan-2009 22:15:51
#5 ]
Cult Member
Joined: 5-Dec-2007
Posts: 901
From: Moers - Germany

@Geri

yes there are:

Driver 'sr' needs updating - please use bus_type methods

Do I have to worry about this one/what does it mean ?

VFS: Mounted root (ext2 filesystem) readonly.

Here is the rest of the kernel log, which deals with sii3114.ide Controller and CD Rom things:

Quote:


Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
sata_sil 0000:00:0e.0: version 2.3
sata_sil 0000:00:0e.0: Applying R_ERR on DMA activate FIS errata fix
scsi0 : sata_sil
scsi1 : sata_sil
scsi2 : sata_sil
scsi3 : sata_sil
ata1: SATA max UDMA/100 mmio m1024@0xa81b0000 tf 0xa81b0080 irq 26
ata2: SATA max UDMA/100 mmio m1024@0xa81b0000 tf 0xa81b00c0 irq 26
ata3: SATA max UDMA/100 mmio m1024@0xa81b0000 tf 0xa81b0280 irq 26
ata4: SATA max UDMA/100 mmio m1024@0xa81b0000 tf 0xa81b02c0 irq 26
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: ATA-7: MAXTOR STM3160815AS, 4.AAB, max UDMA/133
ata1.00: 312581808 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/100
ata2: SATA link down (SStatus 0 SControl 310)
ata3: SATA link down (SStatus 0 SControl 310)
ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata4.00: ATAPI: MATSHITADVD-RAM UJ-846S, F100, max UDMA/66
ata4.00: applying bridge limits
ata4.00: configured for UDMA/66
scsi 0:0:0:0: Direct-Access ATA MAXTOR STM316081 4.AA PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: RDSK (512) sda1 (SFS^@)(res 2 spb 1) sda2 (SWP^@)(res 2 spb 8) sda3 (LNX^@)(res 2 spb 1) sda4 (SFS^B)(res 2 spb 1) sda5 (SFS^B)(res 2 spb 1) sda6 (SFS^B)(res 2 spb 1) sda7 (LNX^@)(res 2 spb 2)
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
scsi 3:0:0:0: CD-ROM MATSHITA DVD-RAM UJ-846S F100 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda caddy
Uniform CD-ROM driver Revision: 3.20
sr 3:0:0:0: Attached scsi CD-ROM sr0
sr 3:0:0:0: Attached scsi generic sg1 type 5

VFS: Mounted root (ext2 filesystem) readonly.

_________________
Geomarketing at
www.geobiz.de
www.gebietsplanung.net
www.geomarketing-consultant.de

 Status: Offline
Profile     Report this post  
Geri 
Re: cannot mount CD ROM on Debian for SAM440
Posted on 22-Jan-2009 9:30:48
#6 ]
Elite Member
Joined: 7-Oct-2003
Posts: 2038
From: ST/AT

@gerograph

Quote:
gerograph wrote:
@Geri

yes there are:

Driver 'sr' needs updating - please use bus_type methods

Do I have to worry about this one/what does it mean ?

I don't think that's something you have to worry about, because you can still mount a disc as root.

But wait a minute:
Quote:
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0

What happens, if you replace "user" with "users" in /etc/fstab?

_________________
A1SE: G3@600MHz, 2GB, 1GBit network card
A1XE: G4@933MHz, 2GB, refitted AC'97 codec
microA1: G3@800MHz, 1GB

- A1 Linux support -

 Status: Offline
Profile     Report this post  
gerograph 
Re: cannot mount CD ROM on Debian for SAM440
Posted on 22-Jan-2009 12:22:14
#7 ]
Cult Member
Joined: 5-Dec-2007
Posts: 901
From: Moers - Germany

@Geri

Quote:
What happens, if you replace "user" with "users" in /etc/fstab?


no difference, I can manually mount as root, if I try as user from shell it says:
mount can only be done by root


How come, or is it normal, that under "Benutzer und Gruppen" -> "Gruppen verwalten" the user "alo" does not belong to the group "users" nor to its own group "alo" (same for user "test" see screenshot).



How come that, If I log in as root, I have to manually mount CD Rom, shouldn't it be automounted ?, and already available ?

This is somehow strange...

cheers Gero

Last edited by gerograph on 22-Jan-2009 at 12:43 PM.

_________________
Geomarketing at
www.geobiz.de
www.gebietsplanung.net
www.geomarketing-consultant.de

 Status: Offline
Profile     Report this post  
Geri 
Re: cannot mount CD ROM on Debian for SAM440
Posted on 22-Jan-2009 13:30:03
#8 ]
Elite Member
Joined: 7-Oct-2003
Posts: 2038
From: ST/AT

@gerograph

Quote:
gerograph wrote:
@Geri

no difference, I can manually mount as root, if I try as user from shell it says:
mount can only be done by root

Okay, set it back to "user". The problem must be somewhere else.

Quote:
How come, or is it normal, that under "Benutzer und Gruppen" -> "Gruppen verwalten" the user "alo" does not belong to the group "users" nor to its own group "alo" (same for user "test" see screenshot).

That looks like XCFE has a bug! Your user "alo" is both a member of "alo" and "users", if you take a look at your /etc/group file.

Quote:
How come that, If I log in as root, I have to manually mount CD Rom, shouldn't it be automounted ?, and already available ?

Okay, can you check, if the XCFE volume manager is enabled (see Enabling Auto-mount)? For GNOME you could check, if gnome-volume-manager is installed (with the Synaptic package manager).

_________________
A1SE: G3@600MHz, 2GB, 1GBit network card
A1XE: G4@933MHz, 2GB, refitted AC'97 codec
microA1: G3@800MHz, 1GB

- A1 Linux support -

 Status: Offline
Profile     Report this post  
gerograph 
Re: cannot mount CD ROM on Debian for SAM440
Posted on 22-Jan-2009 14:17:01
#9 ]
Cult Member
Joined: 5-Dec-2007
Posts: 901
From: Moers - Germany

@Geri

very strange, I just installed a xfce mount panel plugin, and I can mount CD ROM as user easily, once I have logged in. But cannot use mount cli command (s.pics). If I mount CD via mount panel plugin or as root via mount cli command. I can access CD Rom only via the folder /media/cdrom0. Cannot access via "Arbeitsplatz" (see Screenshot) neither an Icon comes up, like it would do with my USB Sticks.....






.... O.k. checked for gnome-volume-manager and xfce volume manager. The Gnome one was already installed the Xfce one not, I installed that one to with apt-get install as well. I checked preferences which looked alright. But doesn`t make a difference at all.

Any ideas ??


Last edited by gerograph on 22-Jan-2009 at 07:44 PM.

_________________
Geomarketing at
www.geobiz.de
www.gebietsplanung.net
www.geomarketing-consultant.de

 Status: Offline
Profile     Report this post  
gerograph 
Re: cannot mount CD ROM on Debian for SAM440
Posted on 22-Jan-2009 20:55:57
#10 ]
Cult Member
Joined: 5-Dec-2007
Posts: 901
From: Moers - Germany

@Geri

Quote:
How come, or is it normal, that under "Benutzer und Gruppen" -> "Gruppen verwalten" the user "alo" does not belong to the group "users" nor to its own group "alo" (same for user "test" see screenshot).
Quote:
That looks like XCFE has a bug! Your user "alo" is both a member of "alo" and "users", if you take a look at your /etc/group file.



checked the same under Gnome, same thing here. So is it a Gnome bug as well ??? Or is there something awful wrong ??

_________________
Geomarketing at
www.geobiz.de
www.gebietsplanung.net
www.geomarketing-consultant.de

 Status: Offline
Profile     Report this post  
Geri 
Re: cannot mount CD ROM on Debian for SAM440
Posted on 24-Jan-2009 22:38:24
#11 ]
Elite Member
Joined: 7-Oct-2003
Posts: 2038
From: ST/AT

@gerograph

Quote:
gerograph wrote:
@Geri

very strange, I just installed a xfce mount panel plugin, and I can mount CD ROM as user easily, once I have logged in. But cannot use mount cli command (s.pics). If I mount CD via mount panel plugin or as root via mount cli command. I can access CD Rom only via the folder /media/cdrom0. Cannot access via "Arbeitsplatz" (see Screenshot) neither an Icon comes up, like it would do with my USB Sticks.....

How does GNOME behave? Does it show the CDROM icon under "Computer"?

Quote:
gerograph wrote:
@Geri

checked the same under Gnome, same thing here. So is it a Gnome bug as well ??? Or is there something awful wrong ??

Strange! The Etch installation on my x86 machine shows the correct group settings. Sounds like something went horribly wrong during the installation. What Debian version actually comes with the Sam440EP? Etch (4.0) or Lenny?

_________________
A1SE: G3@600MHz, 2GB, 1GBit network card
A1XE: G4@933MHz, 2GB, refitted AC'97 codec
microA1: G3@800MHz, 1GB

- A1 Linux support -

 Status: Offline
Profile     Report this post  
gerograph 
Re: cannot mount CD ROM on Debian for SAM440
Posted on 25-Jan-2009 10:07:34
#12 ]
Cult Member
Joined: 5-Dec-2007
Posts: 901
From: Moers - Germany

@Geri

Doesn't really matter wether Xfce or Gnome. Cannot see CD Rom under Gnome as well. If I open "Computer" Icon in Gnome I see exactly the same as on the screenshot posted above (so only a sort of "ghosted" CD Rom Icon).

It's Debian Lenny on the SAM440EP. And I donnot think something went wrong during installation (not from my point at least), because I reinstalled Debian about 3 times from the scratch.

cheers Gero

_________________
Geomarketing at
www.geobiz.de
www.gebietsplanung.net
www.geomarketing-consultant.de

 Status: Offline
Profile     Report this post  
Geri 
Re: cannot mount CD ROM on Debian for SAM440
Posted on 25-Jan-2009 12:48:51
#13 ]
Elite Member
Joined: 7-Oct-2003
Posts: 2038
From: ST/AT

@gerograph

Quote:
gerograph wrote:
@Geri

Doesn't really matter wether Xfce or Gnome. Cannot see CD Rom under Gnome as well. If I open "Computer" Icon in Gnome I see exactly the same as on the screenshot posted above (so only a sort of "ghosted" CD Rom Icon).

It's Debian Lenny on the SAM440EP. And I donnot think something went wrong during installation (not from my point at least), because I reinstalled Debian about 3 times from the scratch.

I have to check how my Lenny installation behaves. But ATM I don't have a clue what the problem could be. It would be worth to check the bug tracking database of the Debian project.

_________________
A1SE: G3@600MHz, 2GB, 1GBit network card
A1XE: G4@933MHz, 2GB, refitted AC'97 codec
microA1: G3@800MHz, 1GB

- A1 Linux support -

 Status: Offline
Profile     Report this post  
gerograph 
cannot mount CD ROM on Debian for SAM440
Posted on 30-Sep-2009 10:23:17
#14 ]
Cult Member
Joined: 5-Dec-2007
Posts: 901
From: Moers - Germany

Ok, forgott to keep this one uptodate,

Issue has been fixed in Debian Lenny release available through ACube Website.

_________________
Geomarketing at
www.geobiz.de
www.gebietsplanung.net
www.geomarketing-consultant.de

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle