cant mount drive

ZHANG YD yuandanzhang at yahoo.com
Wed Oct 13 04:27:21 UTC 2004


Here is what I have, hope it is of help

create a image: 

mkisofs  -r   -o img src/

check image: 

mount -t iso9660 -o ro,loop=/dev/loop0 img /mnt/cdrom

umount /mnt/cdrom

write CD
cdrecord -v speed=2 dev=ATA:1,0,0 -data img

cdrecord -scanbus reveals:  

scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2

scsibus1:
        1,0,0   100) 'SAMSUNG ' 'CDRW/DVD SM-348B'
'T502' Removable CD-ROM
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *





--- Thornton <thornton at cierragroup.com> 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
> > 
> > > 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 at 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 at obsidian hdc]# cat /proc/ide/hdc/* > hdc.info
> -bash: hdc.info: No such file or directory
> [root at obsidian hdc]# ls
> capacity  driver  identify  media  model  settings
> [root at obsidian hdc]# cat capacity
> 563096
> [root at obsidian hdc]# cat driver
> ide-cdrom version 4.61
> [root at 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 at obsidian hdc]# cat media
> cdrom
> [root at obsidian hdc]# cat model
> AOPEN CD-RW CRW5232 1.03 20031013
> [root at 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 
=== message truncated ===



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com




More information about the fedora-list mailing list