PDA

View Full Version : Continuing LS-120 problems



oldgeezer
11-03-2003, 07:55 AM
Still unable to mount LS-120. Read the previous advice. dmseg|grep LS-120 shows it as hdd: etc, etc, but nothing seems to work when trying to mount it. Notwithstanding, this guy doesn't really know what he's doing in Linux. Some detailed and explicit advice would be most appreciated.
Thanks,
OG.

L2Cache
11-04-2003, 12:18 AM
In kde, right click on the icon for the ls-120, and change the device to /dev/sd0. Knoppix recognizes these drives as scsi devices.

oldgeezer
11-04-2003, 11:37 AM
Two problems, L2. There is no icon. I'd have no idea how to 'change a device'. Right clicking on anything that shows the floppy (as fd0) doesn't offer any sensible options. Please: I need it spelled out. Sorry.
OG.

oldgeezer
11-07-2003, 02:17 PM
Any further advice, comments, please?
OG.

Stephen
11-07-2003, 10:24 PM
Assuming that L2cache is right about the scsi emulation then you should be able to see where the device is connected on the bus by using cdrecord -scanbus or dmesg | grep scsi to see the boot messages related to scsi. Could you post the output of these two commands plus the contents of /etc/fstab if the ls120 does not show up in the commands then post the relevant section(s) in the dmesg where the drive gets detected.

oldgeezer
11-08-2003, 03:58 PM
Thanks a C$m, Stephen. Here is the output of three shell commands. The drive is there OK. Regretably, I neither understand the implications nor how to procede, but I'm trying. Some of my friends agree - I'm trying!

Cdrecord 2.01a07 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'MITBISHI' 'LS-120 COSM 05' '0510' Removable Disk
0,1,0 1) 'MITSUMI ' 'CD-ROM FX4824T!B' 'Q01E' Removable CD-ROM
0,2,0 2) 'TDK ' 'CDRW121032A ' '1.00' Removable CD-ROM
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) 'IC ' 'USB Storage-CFC ' '301b' Removable Disk
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) *

dmesg|grep LS-120
hdd: LS-120 SLIM 05 UHD Floppy, ATAPI FLOPPY drive
Vendor: MITBISHI Model: LS-120 COSM 05 Rev: 0510

dmesg|grep scsi
Kernel command line: auto BOOT_IMAGE=Linux ro root=301 hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi apm=power-off nomce
ide_setup: hda=scsi
ide_setup: hdb=scsi
ide_setup: hdc=scsi
ide_setup: hdd=scsi
ide_setup: hde=scsi
ide_setup: hdf=scsi
ide_setup: hdg=scsi
ide_setup: hdh=scsi
ide-cd: passing drive hdb to ide-scsi emulation.
ide-cd: passing drive hdc to ide-scsi emulation.
hdd:<3>ide-scsi: hdd: unsupported command in request queue (0)
ide-scsi: hdd: unsupported command in request queue (0)
ide-scsi: hdd: unsupported command in request queue (0)
ide-scsi: hdd: unsupported command in request queue (0)
ide-scsi: hdd: unsupported command in request queue (0)
ide-scsi: hdd: unsupported command in request queue (0)
ide-scsi: hdd: unsupported command in request queue (0)
ide-scsi: hdd: unsupported command in request queue (0)
ide-scsi: hdd: unsupported command in request queue (0)
ide-scsi: hdd: unsupported command in request queue (0)
ide-scsi: hdd: unsupported command in request queue (0)
ide-scsi: hdd: unsupported command in request queue (0)
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 1, lun 0
Attached scsi CD-ROM sr1 at scsi0, channel 0, id 2, lun 0
sr0: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray
sr1: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
scsi1 : SCSI emulation for USB Mass Storage devices
Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0
Thanks, again.
OG

RockMumbles
11-08-2003, 05:52 PM
Look at this line:

scsibus0:
0,0,0 0) 'MITBISHI' 'LS-120 COSM 05' '0510' Removable Disk
and this line:

Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0


look in /etc/fstab for a line that starts with:
/dev/sda ... ...

if you did your install without a disk in your ls-120 you may not have an entry in your fstab for your drive.

if there is no entry in your /etc/fstab file then do an ls on your /mnt directory:
ls /mnt
see if there is an entry (mountpoint) for sda in there, if so then try this :
(as root) mount -t vfat /dev/sda /mnt/sda
if /mnt/sda does not exist you can use (as root) mkdir /mnt/sda to make it.

post back your fstab and we can help you further.

Also boot up with a disk in the drive to keep from having a ton of scsi errors

~rock

oldgeezer
11-09-2003, 12:26 PM
Thanks, rock. Here is the fstab output:
# /etc/fstab: filesystem table.
# filesystem mountpoint type options dump pass
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda2 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
# partitions found by Knoppix
#/dev/sda1 /mnt/sda1 auto noauto,users,exec 0 0
#/dev/sda2 /mnt/sda2 auto noauto,users,exec 0 0
#/dev/sda3 /mnt/sda3 auto noauto,users,exec 0 0
#/dev/sda4 /mnt/sda4 auto noauto,users,exec 0 0
#/dev/hda1 /mnt/hda1 ext3 noauto,users,exec 0 0
#/dev/sdb /mnt/sdb auto noauto,users,exec 0 0
#/dev/sdc /mnt/sdc auto noauto,users,exec 0 0
#/dev/sdd /mnt/sdd auto noauto,users,exec 0 0
#/dev/sde /mnt/sde auto noauto,users,exec 0 0
#/dev/hdd /mnt/hdd auto noauto,users,exec 0 0
I am wondering whether the confusion lies in the 4-port USB hub and/or the USB card reader. The former recognises my printer but doesn't print through it, so I've used the rear-mounted ports. If you can help me fix the LS-120, maybe it'll fix that problem too? Two for the price of one. Where do I send the beer vouchers?!
OG.

L2Cache
11-10-2003, 12:40 AM
In KDE, in Knoppix 3.2, for an internal LS-120 drive, right click on the desktop, select create new, floppy device. Name it LS-120, and set the device to /dev/sda, then click ok. This should give you a desktop icon for the LS-120. Put a floppy in the drive, click the icon, and it should display the files in konqueror after a few moments. Knoppix recognizes these drives as scsi devices. To remove the floppy, right click on the icon and select unmount.

oldgeezer
11-10-2003, 09:56 AM
Unfortunately, it hasn't proved that simple, L2. I did all the things you suggest and a whole lot more. I can get the floppy icon on the desktop, I can name it LS-120 and set it to /dev/sda in the Device Tab, but it then needed to be associated with a file type. I chose Konqueror Web Browser following your advice. However, this only produces an error message about being 'unmounted':
"There appears to be a configuration error. You have associated Konqueror with kdedevice/floppy_unmounted, but it can't handle this file type."
Using right click+Mount doesn't help, nor a lot of other variations. It now shows type as /dev/scsi and some combinations of fiddling produce an error message about inode errors. Bizarre! I am no newcomer to PCs but Linux is continuing to confuse me!
I guess this level of manipulation is unacceptable for Joe Public?! I continue to be grateful for your time and efforts, guys. What next?!
OG.

oldgeezer
11-13-2003, 08:39 AM
Sadly, none of the suggested expedients, including those by rs123 in a parallel thread, seem to be working for me. It would be highly appreciated if the resident experts could suggest a step-by-step approach for troubleshooting this problem, please! I am still wondering why my 4-port USB hub and 4-port card reader aren't working either and whether this is related?
OG.

RockMumbles
11-13-2003, 04:31 PM
Note: you will have to use commands to get your LS-120 working, all commands that you should enter are in bold type:

with a disk installed have you done this from konsole (xterm, etc)?

(either logged in as root or su-ed to root)
mkdir /mnt/sda
mount -t vfat /dev/sda /mnt/sda
at this point still in konsole do a df and look for an entry for /dev/sda:

Filesystem .. 1k-blocks .. Used .. Available .. Use% .. Mounted on
...
/dev/sda ...... xxxxxxx .... xxxx ... xxxxxxx .... xx% ... /mnt/sda

this is telling you that in fact the LS-120 device is mounted, if you would do a ls /mnt/sda you would see the files on the disk, so if this is OK then still in konsole as root use this command:
umount /mnt/sda to unmount the device.

You WILL have to do the above before you can proceed and to be sure things are working OK.

Also as root you will need to edit your /etc/fstab file as it does not have an entry for /dev/sda so use whatever editor you are familiar with and edit your /etc/fstab file so that the line:

#/dev/sda1 /mnt/sda1 auto noauto,users,exec 0 0

is like this:
/dev/sda /mnt/sda vfat noauto,users,exec 0 0

then save your /etc/fstab file and now at your kde desktop right click to make new hd device, name it LS-120 and select device /dev/sda, and mountpoint /mnt/sda and filesystem type vfat. I think that should be it...

HTH

~rock

oldgeezer
11-14-2003, 08:24 AM
You are a genius, Rocky! The confusion arose with the references to floppy drives and scsi devices. It may want to be called an sda device, but it signs on as a hard drive - not surprisingly, because it IS an ATAPI device on the IDE line. If I try to change the icon to show an FDD or the label on the desktop to LS-120, it disappears again. It only likes to be called an hard drive. Each disc has to be individually mounted, and unmounted to remove it; there doesn't appear to an 'eject' option. But it works, at last. I can even read all my .wpd files from another OS in Kword, etc. Very many thanks to everyone who helped.
OG.

L2Cache
11-15-2003, 04:25 AM
Glad you got it working. I've always had to unmount to remove the disk and have never had an eject option for the LS-120 in Linux.

oldgeezer
11-15-2003, 09:48 AM
Yes, indeed. I have the Michael Gange book and the Sybex 'Complete Linux', both of which are excellent, but I think there is scope for another somewhere in between and extending the scope of the latter to a wider range of peripherals and their problems. Any budding writers?!
AND.....
there is a postscript for Rocky:
We are going to need your Idaho potatoes as well as your good advice. The virulent potato ring rot has been discovered in one crop in the UK.....
OG.