You are not logged in.

#1 2013-01-21 04:12:16

logic_guy76
Member
Registered: 2009-09-05
Posts: 24

[Solved] Mounting a zip drive

I have a 100MB IDE zip drive.  When I issue a "systemctl list-units" command, I see this line among the list of various drives on this system:
sys-devices-...1:0:1:0-block-sdc.device loaded active plugged   ZIP_100

OK, so it appears that the kernel sees this drive as /dev/sdc.
I added this line to /etc/fstab:
/dev/sdc        /mnt/zip        auto            rw,noauto,user

When I attempt to "mount /mnt/zip", the light on the zip drive flashes and then I get these messages:
[  402.838555] sd 1:0:1:0: [sdc] Spinning up disk...
[  402.839095] ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[  402.839101] sd 1:0:1:0: CDB:
[  402.839103] cdb[0]=0x1b: 1b 01 00 00 01 00
[  402.839118] ata2.01: cmd a0/00:00:00:00:00/00:00:00:00:00/b0 tag 0
         res 00/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x2 (HSM violation)
[  402.839149] ata2: soft resetting link
[  403.006849] ata2.00: configured for UDMA/66
[  403.020228] ata2.01: configured for PIO2
[  403.020931] ata2: EH complete
[  403.026102] sd 1:0:1:0: [sdc] Spinning up disk...
[  403.026654] ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[  403.026663] sd 1:0:1:0: CDB:
[  403.026669] cdb[0]=0x1b: 1b 01 00 00 01 00
[  403.026691] ata2.01: cmd a0/00:00:00:00:00/00:00:00:00:00/b0 tag 0
         res 00/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x2 (HSM violation)
[  403.026732] ata2: soft resetting link
[  403.200170] ata2.00: configured for UDMA/66
[  403.213554] ata2.01: configured for PIO2
[  403.214254] ata2: EH complete
[  404.023314] .
[  404.216644] .
[  405.029984] .
[  405.223308] .
[  406.099981] .ready
[  406.103034] sd 1:0:1:0: [sdc] READ CAPACITY(16) failed
[  406.103039] sd 1:0:1:0: [sdc] 
[  406.103042] Result: hostbyte=0x07 driverbyte=0x00
[  406.103046] sd 1:0:1:0: [sdc] Sense not available.
[  406.104038] sd 1:0:1:0: [sdc] 196608 512-byte logical blocks: (100 MB/96.0 MiB)
[  406.113090] sd 1:0:1:0: [sdc] Cache data unavailable
[  406.113096] sd 1:0:1:0: [sdc] Assuming drive cache: write through
[  406.114729] sd 1:0:1:0: [sdc] READ CAPACITY(16) failed
[  406.114735] sd 1:0:1:0: [sdc] 
[  406.114737] Result: hostbyte=0x07 driverbyte=0x00
[  406.114741] sd 1:0:1:0: [sdc] Sense not available.
[  406.126229] sd 1:0:1:0: [sdc] Cache data unavailable
[  406.126236] sd 1:0:1:0: [sdc] Assuming drive cache: write through
[  406.141437]  sdc: sdc4
[  406.259992] .ready
[  406.465893] sd 1:0:1:0: [sdc] READ CAPACITY(16) failed
[  406.465901] sd 1:0:1:0: [sdc] 
[  406.465906] Result: hostbyte=0x07 driverbyte=0x00
[  406.465912] sd 1:0:1:0: [sdc] Sense not available.
[  406.532392] sd 1:0:1:0: [sdc] Cache data unavailable
[  406.532399] sd 1:0:1:0: [sdc] Assuming drive cache: write through
[  406.563465] sd 1:0:1:0: [sdc] READ CAPACITY(16) failed
[  406.563471] sd 1:0:1:0: [sdc] 
[  406.563474] Result: hostbyte=0x07 driverbyte=0x00
[  406.563478] sd 1:0:1:0: [sdc] Sense not available.
[  406.709811] sd 1:0:1:0: [sdc] Cache data unavailable
[  406.709818] sd 1:0:1:0: [sdc] Assuming drive cache: write through
[  406.730895] sd 1:0:1:0: [sdc] READ CAPACITY(16) failed
[  406.730900] sd 1:0:1:0: [sdc] 
[  406.730903] Result: hostbyte=0x07 driverbyte=0x00
[  406.730907] sd 1:0:1:0: [sdc] Sense not available.
[  406.776494] sd 1:0:1:0: [sdc] Cache data unavailable
[  406.776500] sd 1:0:1:0: [sdc] Assuming drive cache: write through
[  419.946556] EXT4-fs (sdc): VFS: Can't find ext4 filesystem
[  419.966983] EXT4-fs (sdc): VFS: Can't find ext4 filesystem
[  419.987301] EXT4-fs (sdc): VFS: Can't find ext4 filesystem
[  420.030408] REISERFS warning (device sdc): sh-2021 reiserfs_fill_super: can not find reiserfs on sdc
[  420.047553] FAT-fs (sdc): invalid media value (0x6d)

This happens with any zip disk.  The disks are formatted FAT16 and are readable from Windows on this machine.
Something must not be configured right in my Arch installation.
Any suggestions?

Last edited by logic_guy76 (2013-02-03 02:30:24)

Offline

#2 2013-02-03 02:29:38

logic_guy76
Member
Registered: 2009-09-05
Posts: 24

Re: [Solved] Mounting a zip drive

Well, I finally got it to work.  Looking through the kernel messages more carefully, I noticed this line:

[  406.141437]  sdc: sdc4

I changed the /etc/fstab line to

/dev/sdc4        /mnt/zip        auto            rw,noauto,user

and now it works.

/dev/sdc4, not just /dev/sdc, was the secret.

Offline

Board footer

Powered by FluxBB