[ale] Not valid block device error

Sunmeet Saluja sunny at cc.gatech.edu
Tue Feb 24 18:21:03 EST 2004


cdrecord --scanbus yeilds:

[root at tazenda sunny]# cdrecord --scanbus
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:
         0,0,0     0) 'FUJITSU ' 'MAJ3182MP       ' '5508' Disk
         0,1,0     1) *
         0,2,0     2) 'QUANTUM ' 'ATLAS 10K 9WLS  ' 'UC81' Disk
         0,3,0     3) *
         0,4,0     4) *
         0,5,0     5) *
         0,6,0     6) *
         0,7,0     7) *
scsibus1:
         1,0,0   100) *
         1,1,0   101) *
         1,2,0   102) *
         1,3,0   103) 'YAMAHA  ' 'CRW6416S        ' '1.0c' Removable CD-ROM
         1,4,0   104) *
         1,5,0   105) *
         1,6,0   106) *
         1,7,0   107) *
scsibus2:
         2,0,0   200) '' '' '' Removable not present Disk
         2,1,0   201) *
         2,2,0   202) *
         2,3,0   203) *
         2,4,0   204) *
         2,5,0   205) *
         2,6,0   206) *
         2,7,0   207) *
scsibus3:
         3,0,0   300) 'USB     ' 'Flash Drive     ' '1.12' Removable Disk
         3,1,0   301) *
         3,2,0   302) *
         3,3,0   303) *
         3,4,0   304) *
         3,5,0   305) *
         3,6,0   306) *
         3,7,0   307) *
scsibus4:
         4,0,0   400) '' '' '' Removable not present Disk
         4,1,0   401) *
         4,2,0   402) *
         4,3,0   403) *
         4,4,0   404) *
         4,5,0   405) *
         4,6,0   406) *
         4,7,0   407) *

~Sunny



Chris Fowler wrote:
> Try cdrecord --scanbus
> 
> On Tue, 2004-02-24 at 17:29, Sunmeet Saluja wrote:
> 
>>fdisk /dev/sdc1 yeilds:
>>
>>[root at tazenda sunny]# /sbin/fdisk /dev/sdc1
>>
>>Unable to open /dev/sdc1
>>
>>fdisk /dev/sdc yeilds:
>>
>>[root at tazenda sunny]# /sbin/fdisk /dev/sdc
>>
>>Unable to read /dev/sdc
>>
>>
>>Chris Fowler wrote:
>>
>>>I do not think the stick is formated as iso9660
>>>
>>>try fdisk /dev/sdc 
>>>
>>>What do you get?
>>>
>>>On Tue, 2004-02-24 at 16:34, Sunmeet Saluja wrote:
>>>
>>>
>>>>I'm currently running RH7.3 2.4.20-28 kernel, and when I try to mount a 
>>>>USB Memory Stick, I get the following error:
>>>>
>>>>[root at tazenda sunny]# mount /mnt/usbstick/
>>>>mount: /dev/sdc1 is not a valid block device
>>>>
>>>>/etc/fstab on my machine looks like:
>>>>
>>>>[root at tazenda sunny]# cat /etc/fstab
>>>>LABEL           /                  ext3    defaults        1 1
>>>>none            /dev/pts           devpts  gid=4,mode=620  0 0
>>>>none            /proc              proc    defaults        0 0
>>>>none            /dev/shm           tmpfs   defaults        0 0
>>>>/dev/sdb2        swap              swap    defaults        0 0
>>>>/dev/cdrom      /mnt/cdrom         iso9660 noauto,owner,kudzu,ro 0 0
>>>>/dev/cdrom1     /mnt/cdrom1        iso9660 noauto,owner,kudzu,ro 0 0
>>>>/dev/fd0        /mnt/floppy        auto    noauto,owner,kudzu 0 0
>>>>/dev/sdc1       /mnt/usbstick      auto    noauto,user     0 0
>>>>
>>>>
>>>>I've even tried changing that last line in fstab to:
>>>>/dev/sdc1        /mnt/usbstick     iso9660 udf,noauto,user   0 0
>>>>
>>>>But no help.
>>>>
>>>>Here's what gets logged when plugging in the USB Memory stick:
>>>>
>>>>[root at tazenda sunny]# tail /var/adm/messages
>>>>Feb 24 16:28:24 tazenda kernel:  I/O error: dev 08:20, sector 0
>>>>Feb 24 16:28:24 tazenda kernel:  unable to read partition table
>>>>Feb 24 16:28:24 tazenda kernel: sdc : READ CAPACITY failed.
>>>>Feb 24 16:28:24 tazenda kernel: sdc : status = 1, message = 00, host = 
>>>>0, driver = 08
>>>>Feb 24 16:28:24 tazenda kernel: Info fld=0xa00 (nonstd), Current 
>>>>sd00:00: sense key Not Ready
>>>>Feb 24 16:28:24 tazenda kernel: sdc : block size assumed to be 512 
>>>>bytes, disk size 1GB.
>>>>Feb 24 16:28:24 tazenda kernel: sdc: test WP failed, assume Write Enabled
>>>>Feb 24 16:28:24 tazenda kernel:  sdc: I/O error: dev 08:20, sector 0
>>>>Feb 24 16:28:24 tazenda kernel:  I/O error: dev 08:20, sector 0
>>>>Feb 24 16:28:24 tazenda kernel:  unable to read partition table
>>>>
>>>>
>>>>What should I do to mount this USB Memory Stick???
>>>>
>>>>Thanks for all the help.
>>>>
>>>>~Sunny
>>>>
>>>
>>>
>>>_______________________________________________
>>>Ale mailing list
>>>Ale at ale.org
>>>http://www.ale.org/mailman/listinfo/ale
>>
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Sunmeet Saluja                                 Email: sunny at cc.gatech.edu
Computing & Networking Services
College of Computing (Rm 135)                  Phone: +1 (404)385-2893
Georgia Institute of Technology                Fax:   +1 (404)894-9826



More information about the Ale mailing list