|
Next: Firefox 3.0.4 and Flashplayer 10
|
| Author |
Message |
External

Since: Apr 21, 2007 Posts: 12
|
(Msg. 1) Posted: Sun Dec 14, 2008 4:37 pm
Post subject: Can't mount cdrom in Slackware 12.2 Archived from groups: alt>os>linux>slackware (more info?)
|
|
|
Hi guys:
I just upgraded to 12.2 from 12.1, everything went ok except with one
thing, i can't mount my cdrom, it gives me this error:
bash-3.1$ sudo mount /dev/cdrom /mnt/cdrom
Password:
mount: block device /dev/hdb is write-protected, mounting read-only
mount: /dev/hdb: can't read superblock
bash-3.1$
And of course hal does not mount it either, dos any one have a clue
about what this problem should be??? I have googled but nothing came
to hand.
TIA
Joel Camez |
|
| Back to top |
|
 |  |
External

Since: Dec 23, 2004 Posts: 359
|
(Msg. 2) Posted: Sun Dec 14, 2008 8:50 pm
Post subject: Re: Can't mount cdrom in Slackware 12.2 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Sun, 14 Dec 2008 16:37:46 -0800 (PST), jcamez wrote:
> bash-3.1$ sudo mount /dev/cdrom /mnt/cdrom
> Password:
> mount: block device /dev/hdb is write-protected, mounting read-only
> mount: /dev/hdb: can't read superblock
> bash-3.1$
You didn't mention what the media is. Is it iso9660? Use the -t iso9660
option. Try /dev/hdb1. Is it an audio CD? No need to mount.
nb |
|
| Back to top |
|
 |  |
External

Since: Dec 07, 2008 Posts: 11
|
(Msg. 3) Posted: Sun Dec 14, 2008 8:51 pm
Post subject: Re: Can't mount cdrom in Slackware 12.2 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
jcamez wrote:
> Hi guys:
> I just upgraded to 12.2 from 12.1, everything went ok except with one
> thing, i can't mount my cdrom, it gives me this error:
>
> bash-3.1$ sudo mount /dev/cdrom /mnt/cdrom
> Password:
> mount: block device /dev/hdb is write-protected, mounting read-only
> mount: /dev/hdb: can't read superblock
> bash-3.1$
>
> And of course hal does not mount it either, dos any one have a clue
> about what this problem should be??? I have googled but nothing came
> to hand.
> TIA
> Joel Camez
What does /etc/fstab show? Just upgraded? I'll bet it is #'ed out.
John.
--
Using the White Box |
|
| Back to top |
|
 |  |
External

Since: Mar 10, 2005 Posts: 152
|
(Msg. 4) Posted: Mon Dec 15, 2008 10:58 am
Post subject: Re: Can't mount cdrom in Slackware 12.2 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
jcamez <jcamez RemoveThis @gmail.com> wrote:
> And of course hal does not mount it either, dos any one have a clue
> about what this problem should be??? I have googled but nothing came
> to hand.
It _might_ be that with the new kernel your "hdb" has now become "sr0",
that is: is treated as a S-ATA device instead of IDE.
On some chipsets, especially the Intel ICH series, the hardware can
emulate BOTH ways, that is, can make IDE look like S-ATA or the
other way 'round. And then, when the kernel initializes S-ATA first,
all previous hd? devices suddenly become sd? cq sr?
Look in "dmesg" to see how the devices are recognized.
--
*******************************************************************
** Eef Hartman, Delft University of Technology, dept. SSC/ICT **
** e-mail: E.J.M.Hartman RemoveThis @tudelft.nl, fax: +31-15-278 7295 **
** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands **
******************************************************************* |
|
| Back to top |
|
 |  |
External

Since: Apr 21, 2007 Posts: 12
|
(Msg. 5) Posted: Mon Dec 15, 2008 12:15 pm
Post subject: Re: Can't mount cdrom in Slackware 12.2 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Dec 15, 5:21 am, Grant <g_r_a_n... DeleteThis @bugsplatter.id.au> wrote:
> On Mon, 15 Dec 2008 10:58:25 +0100, Eef Hartman <E.J.M.Hart... DeleteThis @math.tudelft.nl> wrote:
> >jcamez <jca... DeleteThis @gmail.com> wrote:
> >> And of course hal does not mount it either, dos any one have a clue
> >> about what this problem should be??? I have googled but nothing came
> >> to hand.
>
> >It _might_ be that with the new kernel your "hdb" has now become "sr0",
> >that is: is treated as a S-ATA device instead of IDE.
>
> >On some chipsets, especially the Intel ICH series, the hardware can
> >emulate BOTH ways, that is, can make IDE look like S-ATA or the
> >other way 'round. And then, when the kernel initializes S-ATA first,
> >all previous hd? devices suddenly become sd? cq sr?
>
> That can be a mess until one compiles a custom kernel or takes a whip to the
> udev (?) setup scripts / whatever (I find putting in a custom kernel easier).
>
>
>
> >Look in "dmesg" to see how the devices are recognized.
>
> Yes, try:
>
> $ dmesg |grep CD
> hda: VMware Virtual IDE CDROM Drive, ATAPI CD/DVD-ROM drive
> hda: ATAPI 1X CD-ROM drive, 32kB Cache
> Uniform CD-ROM driver Revision: 3.20
>
> In KDE a CD becomes /media/$cd_volume_label presumably due to the udev
> plus friends magic. For example after 'inserting' the vmware tools CD
> and allowing the KDE thingy to open the new file, I find that I have:
>
> $ df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/root 8001052 5445416 2149192 72% /
> tmpfs 452528 0 452528 0% /dev/shm
> deltree:/home/common 8224960 2231744 5993216 28% /home/common
> /dev/hda 196384 196384 0 100% /media/VMware Tools
>
> Grant.
> --http://bugsplatter.id.au
Hi guys:
First of all thanks you all for taking the time to help, it's very
apreciated:
John k.
This is my fstab
/dev/hda3 swap swap defaults 0 0
/dev/hda2 / reiserfs defaults 1 1
/dev/hda1 /win ntfs-3g umask=000 1 0
#//Server/pub /mnt/server/pub smbfs defaults 1 0
#/dev/cdrom /mnt/cdrom auto noauto,users,ro 0 0
#/dev/fd0 /mnt/floppy auto 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
shm /dev/shm tmpfs defaults 0 0
notbob
I,m testing with an audio CD, i noticed the problem because when i
insert the cd kde does not pop up the window in which asks you what
you want to do with the media.
Eef:
Mi cd it's still recognize as hdb acording to dmesg.
Probing IDE interface
ide0...
hda: HTS541080G9AT00, ATA DISK
drive
hdb: HL-DT-STCD-RW/DVD DRIVE GCC-4244N, ATAPI CD/DVD-ROM
drive
hda: host max PIO4 wanted PIO255(auto-tune) selected
PIO4
hda: UDMA/100 mode
selected
hdb: host max PIO4 wanted PIO255(auto-tune) selected
PIO4
hdb: UDMA/33 mode
selected
Probing IDE interface
ide1...
ide0 at 0x1f0-0x1f7,0x3f6 on irq
14
ide1 at 0x170-0x177,0x376 on irq
15
hda: max request size:
128KiB
hda: 156301488 sectors (80026 MB) w/7539KiB Cache,
CHS=65535/16/63
hda: cache flushes
supported
hda: hda1 hda2
hda3
hdb: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB
Cache
Uniform CD-ROM driver Revision: 3.20
i'm thinking of making a fresh install but i prefer to find out what
went wrong because i also upgraded my desktop computer and did not
have any problem.
TIA.
Joel Camez
By the way, the machine with the problem it's a Lenovo 300 C100. |
|
| Back to top |
|
 |  |
External

Since: Dec 07, 2008 Posts: 11
|
(Msg. 6) Posted: Mon Dec 15, 2008 4:48 pm
Post subject: Re: Can't mount cdrom in Slackware 12.2 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
jcamez wrote:
> On Dec 15, 5:21 am, Grant <g_r_a_n... DeleteThis @bugsplatter.id.au> wrote:
>> On Mon, 15 Dec 2008 10:58:25 +0100, Eef Hartman
>> <E.J.M.Hart... DeleteThis @math.tudelft.nl> wrote:
>> >jcamez <jca... DeleteThis @gmail.com> wrote:
>> >> And of course hal does not mount it either, dos any one have a clue
>> >> about what this problem should be??? I have googled but nothing came
>> >> to hand.
>>
>> >It _might_ be that with the new kernel your "hdb" has now become "sr0",
>> >that is: is treated as a S-ATA device instead of IDE.
>>
>> >On some chipsets, especially the Intel ICH series, the hardware can
>> >emulate BOTH ways, that is, can make IDE look like S-ATA or the
>> >other way 'round. And then, when the kernel initializes S-ATA first,
>> >all previous hd? devices suddenly become sd? cq sr?
>>
>> That can be a mess until one compiles a custom kernel or takes a whip to
>> the udev (?) setup scripts / whatever (I find putting in a custom kernel
>> easier).
>>
>>
>>
>> >Look in "dmesg" to see how the devices are recognized.
>>
>> Yes, try:
>>
>> $ dmesg |grep CD
>> hda: VMware Virtual IDE CDROM Drive, ATAPI CD/DVD-ROM drive
>> hda: ATAPI 1X CD-ROM drive, 32kB Cache
>> Uniform CD-ROM driver Revision: 3.20
>>
>> In KDE a CD becomes /media/$cd_volume_label presumably due to the udev
>> plus friends magic. For example after 'inserting' the vmware tools CD
>> and allowing the KDE thingy to open the new file, I find that I have:
>>
>> $ df
>> Filesystem 1K-blocks Used Available Use% Mounted on
>> /dev/root 8001052 5445416 2149192 72% /
>> tmpfs 452528 0 452528 0% /dev/shm
>> deltree:/home/common 8224960 2231744 5993216 28% /home/common
>> /dev/hda 196384 196384 0 100% /media/VMware
>> Tools
>>
>> Grant.
>> --http://bugsplatter.id.au
>
> Hi guys:
> First of all thanks you all for taking the time to help, it's very
> apreciated:
>
> John k.
> This is my fstab
>
> /dev/hda3 swap swap defaults 0 0
> /dev/hda2 / reiserfs defaults 1 1
> /dev/hda1 /win ntfs-3g umask=000 1 0
> #//Server/pub /mnt/server/pub smbfs defaults 1 0
> #/dev/cdrom /mnt/cdrom auto noauto,users,ro 0 0
> #/dev/fd0 /mnt/floppy auto 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
> shm /dev/shm tmpfs defaults 0 0
>
> notbob
>
> I,m testing with an audio CD, i noticed the problem because when i
> insert the cd kde does not pop up the window in which asks you what
> you want to do with the media.
>
> Eef:
> Mi cd it's still recognize as hdb acording to dmesg.
>
> Probing IDE interface
> ide0...
> hda: HTS541080G9AT00, ATA DISK
> drive
> hdb: HL-DT-STCD-RW/DVD DRIVE GCC-4244N, ATAPI CD/DVD-ROM
> drive
> hda: host max PIO4 wanted PIO255(auto-tune) selected
> PIO4
> hda: UDMA/100 mode
> selected
> hdb: host max PIO4 wanted PIO255(auto-tune) selected
> PIO4
> hdb: UDMA/33 mode
> selected
> Probing IDE interface
> ide1...
> ide0 at 0x1f0-0x1f7,0x3f6 on irq
> 14
> ide1 at 0x170-0x177,0x376 on irq
> 15
> hda: max request size:
> 128KiB
> hda: 156301488 sectors (80026 MB) w/7539KiB Cache,
> CHS=65535/16/63
> hda: cache flushes
> supported
> hda: hda1 hda2
> hda3
> hdb: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB
> Cache
> Uniform CD-ROM driver Revision: 3.20
>
> i'm thinking of making a fresh install but i prefer to find out what
> went wrong because i also upgraded my desktop computer and did not
> have any problem.
>
> TIA.
> Joel Camez
>
> By the way, the machine with the problem it's a Lenovo 300 C100.
Your fstab line looks like this:
#/dev/cdrom /mnt/cdrom auto noauto,users,ro 0 0
So the cdrom does not mount.
To see where it is attached, cd into /dev, and type this:
ls cdr* -l This command will list what the cdrom is actually linked to.
I'm betting that it will not be hda, but more likely hdb, which is your
second ide device. If the cdrom is not linked to hda, your first hard
drive, just edit /etc/fstab as root and remove the #, save fstab, and the
cdrom should work.
John.
--
Using the White Box |
|
| Back to top |
|
 |  |
External

Since: Apr 21, 2007 Posts: 12
|
(Msg. 7) Posted: Mon Dec 15, 2008 5:10 pm
Post subject: Re: Can't mount cdrom in Slackware 12.2 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 15 dic, 17:49, Michael Black <et... RemoveThis @ncf.ca> wrote:
> On Mon, 15 Dec 2008, jcamez wrote:
> > I,m testing with an audio CD, i noticed the problem because when i
> > insert the cd kde does not pop up the window in which asks you what
> > you want to do with the media.
>
> If it's really an audio CD, someone's already given you the answer.
>
> You can't mount audio CDs (well, Lew Pitcher once mentioned an exception,
> but most of us don't apply to that exception), it's not arranged as a data
> filesystem. So it won't mount, though if it's in the drive and the drawer
> is shut, starting up a CD player program likely will show something in
> the drive (though it has to be made aware of which drive, which is the
> purpose of using an alias like /dev/cdrom).
>
> Try a data CD, and see what happens.
>
> Michael
Yep..
Your right.
Trying with data cd's and dvd's the thing goes fine. And I open KSCD
and played my audio cd ok.
But in 12.1 even the audio cd's were seen in the desktop and kde asked
me what i wanted to do with it.... In xfce it was showed in the
desktop too.
So what has changed since 12.1 so i can't see the audio cds in the
desktop or that kde does not ask me what to do with it?????
It's really a strange thing ;(.....
Any way.. Many thanks for your help to every one that took the time to
ask...
Cheers.
Joel Camez |
|
| Back to top |
|
 |  |
External

Since: Apr 22, 2008 Posts: 37
|
(Msg. 8) Posted: Mon Dec 15, 2008 7:49 pm
Post subject: Re: Can't mount cdrom in Slackware 12.2 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Mon, 15 Dec 2008, jcamez wrote:
> I,m testing with an audio CD, i noticed the problem because when i
> insert the cd kde does not pop up the window in which asks you what
> you want to do with the media.
>
If it's really an audio CD, someone's already given you the answer.
You can't mount audio CDs (well, Lew Pitcher once mentioned an exception,
but most of us don't apply to that exception), it's not arranged as a data
filesystem. So it won't mount, though if it's in the drive and the drawer
is shut, starting up a CD player program likely will show something in
the drive (though it has to be made aware of which drive, which is the
purpose of using an alias like /dev/cdrom).
Try a data CD, and see what happens.
Michael |
|
| Back to top |
|
 |  |
External

Since: Dec 15, 2007 Posts: 53
|
(Msg. 9) Posted: Mon Dec 15, 2008 9:23 pm
Post subject: Re: Can't mount cdrom in Slackware 12.2 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Hallo, jcamez,
Du meintest am 15.12.08:
>> $ dmesg |grep CD
>> hda: VMware Virtual IDE CDROM Drive, ATAPI CD/DVD-ROM drive
>> hda: ATAPI 1X CD-ROM drive, 32kB Cache
^^^
> This is my fstab
> /dev/hda3 swap swap defaults 0 0
> /dev/hda2 / reiserfs defaults 1 1
> /dev/hda1 /win ntfs-3g umask=000 1 0
That's no good idea - "dmesg" takes "/dev/hda" for the CD-ROM drive.
Viele Gruesse
Helmut
"Ubuntu" - an African word, meaning "Slackware is too hard for me". |
|
| Back to top |
|
 |  |
External

Since: Nov 02, 2008 Posts: 28
|
(Msg. 10) Posted: Mon Dec 15, 2008 11:21 pm
Post subject: Re: Can't mount cdrom in Slackware 12.2 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Mon, 15 Dec 2008 10:58:25 +0100, Eef Hartman <E.J.M.Hartman RemoveThis @math.tudelft.nl> wrote:
>jcamez <jcamez RemoveThis @gmail.com> wrote:
>> And of course hal does not mount it either, dos any one have a clue
>> about what this problem should be??? I have googled but nothing came
>> to hand.
>
>It _might_ be that with the new kernel your "hdb" has now become "sr0",
>that is: is treated as a S-ATA device instead of IDE.
>
>On some chipsets, especially the Intel ICH series, the hardware can
>emulate BOTH ways, that is, can make IDE look like S-ATA or the
>other way 'round. And then, when the kernel initializes S-ATA first,
>all previous hd? devices suddenly become sd? cq sr?
That can be a mess until one compiles a custom kernel or takes a whip to the
udev (?) setup scripts / whatever (I find putting in a custom kernel easier).
>
>Look in "dmesg" to see how the devices are recognized.
Yes, try:
$ dmesg |grep CD
hda: VMware Virtual IDE CDROM Drive, ATAPI CD/DVD-ROM drive
hda: ATAPI 1X CD-ROM drive, 32kB Cache
Uniform CD-ROM driver Revision: 3.20
In KDE a CD becomes /media/$cd_volume_label presumably due to the udev
plus friends magic. For example after 'inserting' the vmware tools CD
and allowing the KDE thingy to open the new file, I find that I have:
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 8001052 5445416 2149192 72% /
tmpfs 452528 0 452528 0% /dev/shm
deltree:/home/common 8224960 2231744 5993216 28% /home/common
/dev/hda 196384 196384 0 100% /media/VMware Tools
Grant.
--
http://bugsplatter.id.au |
|
| Back to top |
|
 |  |
External

Since: Dec 21, 2008 Posts: 1
|
(Msg. 11) Posted: Sun Dec 21, 2008 2:43 pm
Post subject: Re: Can't mount cdrom in Slackware 12.2 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Dec 14, 6:37 pm, jcamez <jca....TakeThisOut@gmail.com> wrote:
> Hi guys:
> I just upgraded to 12.2 from 12.1, everything went ok except with one
> thing, i can't mount my cdrom, it gives me this error:
>
> bash-3.1$ sudo mount /dev/cdrom /mnt/cdrom
> Password:
> mount: block device /dev/hdb is write-protected, mounting read-only
> mount: /dev/hdb: can't read superblock
> bash-3.1$
>
> And of course hal does not mount it either, dos any one have a clue
> about what this problem should be??? I have googled but nothing came
> to hand.
> TIA
> Joel Camez
users must have plugdev and disk in the user group give it permision.
slack12.2 hal is looking for your user permissions. |
|
| Back to top |
|
 |  |
| Related Topics: | /etc/filesystems ignored in Slackware 10.1 user-initiated .. - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, guys Yesterday, I upgraded one of my Slackware 10.0 systems to Slackware 10.1 (from the commercial CD), and I've lost the use of /etc/filesystems to control the 'auto' filesystem identification. Prior....
CDrom without sound - The system sound work fine but I can't hear music cd inserted on a cdrom. Probably becouse I don't attacched the sound wires. Can linux take the sound through the ata wire (liwe Windows XP do)?
No cdrom drive - I have a rackmount server, with no cdrom drive. Floppy drive, SCSI drives. How can I get Slackware onto this thing without a cdrom?
cdrom device node - I mistakenly removed my cdrom device file, now i don't know which node should i create. I'm using slack 11, my cdrom drive is a nec nd6650A i don't want to resart my pc. -- heavytull
udev cdrom device issue - Hi all and thanks for reading Recently my slack 10 box has been giving me issues. Mainly this is related to what i think is a udev problem. You see i have 2 cd drives a reader and a writer. They used to be hda and hdb. But for the last couple days the.. |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|