[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: cant mount drive



On Tue, 2004-10-12 at 20:31, Thornton wrote:
> > > cat /proc/ide/hdc/* > hdc.info
> > > -bash: hdc.info: No such file or directory
> > > 
> > 
> > Did you try the command exactly as it is this little '>' between the
> > '*' and hdc.info is very crutial. It tells bash to redirect all the
> > output of the 'cat' command to the file ./hdc.info (where './' means
> > your current directory). So after running the command as root this
> > file should be created!
> Yes I copy and pasted it just as you wrote it.
> 
> tried it again and same thing

What you posted to me (and below) is what he is asking for. It looks
below like you were in /proc/ide/hdc when you did the cat command and
that does not work to create regular files.  You should have been in the
regular filesystem and not in the /proc filesystem.

You might try this.
1.  edit /etc/sysconfig/hwconf and delete the stanza related to the
cdrom
2.  edit /etc/fstab and delete the line for the cdrom.
3.  reboot and allow kudzu to recreate the entries for the cdrom in the
hwconf and fstab.
4.  Try the mount again.

I do not know if the fact the udf module is loaded already may interfere
with mounting an iso9660 disk, but on mine the only time the udf module
is loaded is when I insert a CD-RW disk.  This may be an issue here for
you.

> > 
> > > so i went into proc/ide/hdc and these were the contents
> > > 
> > > capacity  driver  identify  media  model  settings
> > > 
> > 
> > I want the contents of those files. So either you do a manual 'cat
> > capacity' and 'cat identify' can 'cat media' and 'cat model' etc etc
> > etc or you give the above command
> > that will expand to exactly that!
> okay
> 
> [root obsidian hdc]# cat /proc/ide/hdc/*
> 563096
> ide-cdrom version 4.61
> 85c0 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 2020 2020 2020 2020 2020 2020
> 2020 2020 2020 2020 0000 0000 0000 312e
> 3033 2020 2020 414f 5045 4e20 2020 4344
> 2d52 5720 4352 5735 3233 3220 2020 2020
> 312e 3033 2032 3030 3331 3031 3320 0000
> 0000 0f00 0000 0200 0200 0006 0000 0000
> 0000 0000 0000 0000 0000 0000 0007 0007
> 0003 0078 0078 00f0 0078 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0020 0013 4218 4000 4000 4218 0000 4000
> 0407 0000 0000 0000 0000 600f 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> cdrom
> AOPEN CD-RW CRW5232 1.03 20031013
> name                    value           min             max            
> mode
> ----                    -----           ---             ---            
> ----
> current_speed           66              0               70             
> rw
> dsc_overlap             0               0               1              
> rw
> ide-scsi                0               0               1              
> rw
> init_speed              12              0               70             
> rw
> io_32bit                1               0               3              
> rw
> keepsettings            0               0               1              
> rw
> nice1                   1               0               1              
> rw
> number                  2               0               3              
> rw
> pio_mode                write-only      0               255            
> w
> unmaskirq               1               0               1              
> rw
> using_dma               1               0               1              
> rw
> [root obsidian hdc]# cat /proc/ide/hdc/* > hdc.info
> -bash: hdc.info: No such file or directory
> [root obsidian hdc]# ls
> capacity  driver  identify  media  model  settings
> [root obsidian hdc]# cat capacity
> 563096
> [root obsidian hdc]# cat driver
> ide-cdrom version 4.61
> [root obsidian hdc]# cat identify
> 85c0 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 2020 2020 2020 2020 2020 2020
> 2020 2020 2020 2020 0000 0000 0000 312e
> 3033 2020 2020 414f 5045 4e20 2020 4344
> 2d52 5720 4352 5735 3233 3220 2020 2020
> 312e 3033 2032 3030 3331 3031 3320 0000
> 0000 0f00 0000 0200 0200 0006 0000 0000
> 0000 0000 0000 0000 0000 0000 0007 0007
> 0003 0078 0078 00f0 0078 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0020 0013 4218 4000 4000 4218 0000 4000
> 0407 0000 0000 0000 0000 600f 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> [root obsidian hdc]# cat media
> cdrom
> [root obsidian hdc]# cat model
> AOPEN CD-RW CRW5232 1.03 20031013
> [root obsidian hdc]# cat settings
> name                    value           min             max            
> mode
> ----                    -----           ---             ---            
> ----
> current_speed           66              0               70             
> rw
> dsc_overlap             0               0               1              
> rw
> ide-scsi                0               0               1              
> rw
> init_speed              12              0               70             
> rw
> io_32bit                1               0               3              
> rw
> keepsettings            0               0               1              
> rw
> nice1                   1               0               1              
> rw
> number                  2               0               3              
> rw
> pio_mode                write-only      0               255            
> w
> unmaskirq               1               0               1              
> rw
> using_dma               1               0               1              
> rw
> 
> 
> > 
> > So to recapitulate if your drive is internal what to you have on USB?
> > Apparently the 'sg' module and 'scsi_mod' treat that something as a
> > SCSI storage device.
> the only thing on USB I have is a CF Card Reader.
> 
> > So after posting the above post the result of 
> > 
> > ls -l /dev/cdrom
> > 
> > so I can see where your /dev/cdrom points to.
> 
> ls -l /dev/cdrom
> lrwxrwxrwx  1 root root 8 Jun 17 22:10 /dev/cdrom -> /dev/hdc
> 
> thanks


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]