Re: IBM R40e: external USB floppy does not work
On Thu, 15 Apr 2004, Uwe Brauer wrote: > On 14 Apr 2004, [EMAIL PROTECTED] wrote: >> Uwe Brauer wrote: >>> On 14 Apr 2004, [EMAIL PROTECTED] wrote: [...] >> It's great that the KDE community is addressing ms* floppies, but, >> remember mtools (i.e. mcopy and mdir and mdel) allows one to iteract >> with ms* floppies without mounting > > nope not for the external usb floppy I was asking for. > ( mtools were my first try of course ) One thing to remember is that the 'mtools' package ships with a "standard" configuration that matches older, not newer, hardware. So, by default it has the device 'a:' configured to be /dev/fd0 - not, as we all remember by now, /dev/sd?, where a USB floppy drive lives. So, unless you configured mtools yourself, it probably didn't look in the right place for your raw device when accessing the filesystem. If you do want to use mtools, or some other raw device based access technique, you really should look into using udev, or some other tool like that, to create a consistent device node based on the attached device, rather than the (somewhat random) assigned device node. Daniel -- The PC is the LSD of the '90s. -- Timothy Leary, __Guardian_ (June 1, 1996)
Re: IBM R40e: external USB floppy does not work
On 14 Apr 2004, [EMAIL PROTECTED] wrote: > Uwe Brauer wrote: > >> On 14 Apr 2004, [EMAIL PROTECTED] wrote: >> >> >> >> >> >> >>> You probably already have: /dev/fd0 /floppy auto user,noauto 0 0 >>> Change it to/add: /dev/sda /floppy auto user,noauto 0 0 >>> >>> >>> >> Good point, >> >> >> >> I have /dev/fd0 /floppy vfat >> defaults,user,noauto,showexec,umask=022 0 0 >> >> So I guess >> /dev/sda /floppy vfat defaults,user,noauto,showexec,umask=022 0 0 >> >> >> Would be the right thing, and in fact it works! >> >> The only thing which remains to be done is to configure the KDE >> floppy >> symbol to mount correctly the device. I will try this. >> >> Thanks >> >> >> >> >> > It's great that the KDE community is addressing ms* floppies, but, > remember mtools (i.e. mcopy and mdir and mdel) allows one to iteract > with ms* floppies without mounting > > James nope not for the external usb floppy I was asking for. ( mtools were my first try of course )
Re: IBM R40e: external USB floppy does not work
On Thu, 15 Apr 2004, Uwe Brauer wrote: > On 14 Apr 2004, [EMAIL PROTECTED] wrote: >> Uwe Brauer wrote: >>> On 14 Apr 2004, [EMAIL PROTECTED] wrote: [...] >> It's great that the KDE community is addressing ms* floppies, but, >> remember mtools (i.e. mcopy and mdir and mdel) allows one to iteract >> with ms* floppies without mounting > > nope not for the external usb floppy I was asking for. > ( mtools were my first try of course ) One thing to remember is that the 'mtools' package ships with a "standard" configuration that matches older, not newer, hardware. So, by default it has the device 'a:' configured to be /dev/fd0 - not, as we all remember by now, /dev/sd?, where a USB floppy drive lives. So, unless you configured mtools yourself, it probably didn't look in the right place for your raw device when accessing the filesystem. If you do want to use mtools, or some other raw device based access technique, you really should look into using udev, or some other tool like that, to create a consistent device node based on the attached device, rather than the (somewhat random) assigned device node. Daniel -- The PC is the LSD of the '90s. -- Timothy Leary, __Guardian_ (June 1, 1996) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: IBM R40e: external USB floppy does not work
On 14 Apr 2004, [EMAIL PROTECTED] wrote: > Uwe Brauer wrote: > >> On 14 Apr 2004, [EMAIL PROTECTED] wrote: >> >> >> >> >> >> >>> You probably already have: /dev/fd0 /floppy auto user,noauto 0 0 >>> Change it to/add: /dev/sda /floppy auto user,noauto 0 0 >>> >>> >>> >> Good point, >> >> >> >> I have /dev/fd0 /floppy vfat >> defaults,user,noauto,showexec,umask=022 0 0 >> >> So I guess >> /dev/sda /floppy vfat defaults,user,noauto,showexec,umask=022 0 0 >> >> >> Would be the right thing, and in fact it works! >> >> The only thing which remains to be done is to configure the KDE >> floppy >> symbol to mount correctly the device. I will try this. >> >> Thanks >> >> >> >> >> > It's great that the KDE community is addressing ms* floppies, but, > remember mtools (i.e. mcopy and mdir and mdel) allows one to iteract > with ms* floppies without mounting > > James nope not for the external usb floppy I was asking for. ( mtools were my first try of course ) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: IBM R40e: external USB floppy does not work
Uwe Brauer wrote: On 14 Apr 2004, [EMAIL PROTECTED] wrote: You probably already have: /dev/fd0 /floppy auto user,noauto 0 0 Change it to/add: /dev/sda /floppy auto user,noauto 0 0 Good point, I have /dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0 So I guess /dev/sda /floppy vfat defaults,user,noauto,showexec,umask=022 0 0 Would be the right thing, and in fact it works! The only thing which remains to be done is to configure the KDE floppy symbol to mount correctly the device. I will try this. Thanks It's great that the KDE community is addressing ms* floppies, but, remember mtools (i.e. mcopy and mdir and mdel) allows one to iteract with ms* floppies without mounting James
Re: IBM R40e: external USB floppy does not work
Uwe Brauer wrote: On 14 Apr 2004, [EMAIL PROTECTED] wrote: You probably already have: /dev/fd0 /floppy auto user,noauto 0 0 Change it to/add: /dev/sda /floppy auto user,noauto 0 0 Good point, I have /dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0 So I guess /dev/sda /floppy vfat defaults,user,noauto,showexec,umask=022 0 0 Would be the right thing, and in fact it works! The only thing which remains to be done is to configure the KDE floppy symbol to mount correctly the device. I will try this. Thanks It's great that the KDE community is addressing ms* floppies, but, remember mtools (i.e. mcopy and mdir and mdel) allows one to iteract with ms* floppies without mounting James -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: IBM R40e: external USB floppy does not work
On 14 Apr 2004, [EMAIL PROTECTED] wrote: > > You probably already have: /dev/fd0 /floppy auto user,noauto 0 0 > Change it to/add: /dev/sda /floppy auto user,noauto 0 0 > Good point, I have /dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0 So I guess /dev/sda /floppy vfat defaults,user,noauto,showexec,umask=022 0 0 Would be the right thing, and in fact it works! The only thing which remains to be done is to configure the KDE floppy symbol to mount correctly the device. I will try this. Thanks
Re: IBM R40e: external USB floppy does not work
On 14 Apr 2004, [EMAIL PROTECTED] wrote: > Hi again... Since I want to use floppy and interchange them with linux and Windows PC it turns out that mount -t vfat /dev/sda /mnt/usbdisk1 Was the thing to do, Thanks Uwe
Re: IBM R40e: external USB floppy does not work
>On 14 Apr 2004, [EMAIL PROTECTED] wrote: > >Floppy disks aren't partitionedare they? Surely that's why fdisk >prints rubbish. That is what I thought > >Try > >mount -t ext3 /dev/sda /mnt/usbdisk1 does not work >(drop the '1' off /dev/sda1) > >but replace ext3 if necessary with the type. vfat is more common if >you are using 'Windows' floppies. But mount -t vfat /dev/sda /mnt/usbdisk1 Finally works, Thanks all of you, you helped me to rapidly! It was very annoying that I had to boot XP in order to use the USB floppy Uwe
Re: IBM R40e: external USB floppy does not work
On Wednesday 14 April 2004 08:10 am, [EMAIL PROTECTED] wrote: > Hello Uwe > > > > sibus0: > > 0,0,0 0) 'HL-DT-ST' 'DVD-ROM GDR8081N' '0012' Removable CD-ROM > > scsibus1: > > 1,0,0 100) 'TEAC' 'FD-05PUB' '1026' Removable Disk > That just looks fine > Don`t care about the cdrom ! > According to the fact, that there are no other devices found > the next step could be (just an example) > > #fdisk -l /dev/sda This will fail on most floppies, as standard formats don't have a partition table. > which should list your partition table of your TEAC RemovableDisk > and after this has run out successfully you should try something like > #mdkir /mnt/usbdisk1 OK > #mount /dev/sda1 /mnt/usbdisk1 Should be: mount /dev/sda /mnt/usbdisk1 After you've verified that it works, unmount it (umount /mnt/usbdisk1) and add/modify the line in /etc/fstab: You probably already have: /dev/fd0/floppy autouser,noauto 0 0 Change it to/add: /dev/sda/floppy autouser,noauto 0 0 Then as an ordinary user, you can "mount /floppy" and see the disk contents on /floppy. -- Rob
Re: IBM R40e: external USB floppy does not work
Floppy disks aren't partitionedare they? Surely that's why fdisk prints rubbish. Try mount -t ext3 /dev/sda /mnt/usbdisk1 (drop the '1' off /dev/sda1) but replace ext3 if necessary with the type. vfat is more common if you are using 'Windows' floppies. Dave On Wed, 2004-04-14 at 15:18, Uwe Brauer wrote: > On 14 Apr 2004, [EMAIL PROTECTED] wrote: > Hello Jörg, > > Thanks for your help > > > > > #fdisk -l /dev/sda > > This gives me a truely odd result > --88--- > fdisk -l /dev/sda > > Disk /dev/sda: 1 MB, 1474560 bytes > 1 heads, 3 sectors/track, 960 cylinders > Units = cylinders of 3 * 512 = 1536 bytes > >Device Boot Start End Blocks Id System > /dev/sda1 ? 639983657 1263044256 934590898+ 61 SpeedStor > Partition 1 has different physical/logical beginnings (non-Linux?): > phys=(364, 109, 48) logical=(639983656, 0, 2) > Partition 1 has different physical/logical endings: > phys=(288, 99, 37) logical=(1263044255, 0, 1) > Partition 1 does not end on cylinder boundary. > /dev/sda2 ? 639749586 1195614002 833796624 75 PC/IX > Partition 2 has different physical/logical beginnings (non-Linux?): > phys=(99, 101, 32) logical=(639749585, 0, 3) > Partition 2 has different physical/logical endings: > phys=(369, 97, 44) logical=(1195614001, 0, 2) > Partition 2 does not end on cylinder boundary. > /dev/sda3 ? 179658763 645779734 6991814560 Empty > Partition 3 has different physical/logical beginnings (non-Linux?): > phys=(10, 97, 13) logical=(179658762, 0, 3) > Partition 3 has different physical/logical endings: > phys=(288, 73, 15) logical=(645779733, 0, 1) > Partition 3 does not end on cylinder boundary. > /dev/sda4 ? 1820786 1820786 0 53 OnTrack DM6 Aux3 > Partition 4 has different physical/logical beginnings (non-Linux?): > phys=(335, 83, 4) logical=(1820785, 0, 1) > Partition 4 has different physical/logical endings: > phys=(32, 32, 32) logical=(1820784, 0, 3) > Partition 4 does not end on cylinder boundary. > > Partition table entries are not in disk order > --8 8--- > > > > > > > > which should list your partition table of your TEAC RemovableDisk > > and after this has run out successfully you should try something > > like > > #mdkir /mnt/usbdisk1 #mount /dev/sda1 /mnt/usbdisk1 > > Problem > > /dev/sda1: Input/output error > mount: you must specify the filesystem type > > So if I try to do this I get > > mount -t ext3 /dev/sda1 /mnt/usbdisk1 > mount: wrong fs type, bad option, bad superblock on /dev/sda1, >or too many mounted file systems > > > Etc. > > What is wrong? > > Uwe > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >
Re: IBM R40e: external USB floppy does not work
Hi again... > There are two "options" now if you want to make it easy: > > #mkfs.ext3 /dev/sda > makes it possible to create a new filesystem on the whole device OR: > #fdisk /dev/sda > and then you start to delete all the partitions and create a new partition > table BUT... > But if there is already data on the disk the easiest way would be to > reassemble the disk to a microsoft system, make a backup of the data and > then recreate the partition table with fdisk. > Sorry ! I made a mistake... the info that it is a floppy just slipped my mind... just insert a new media #mkfs.ext3(or what ever) /dev/sda and then try to mount #mount -t ext3 /dev/sda /mnt/usbdisk1 This should work Jörg
Re: IBM R40e: external USB floppy does not work
On Wed, 14 Apr 2004, Uwe Brauer wrote: > On 14 Apr 2004, [EMAIL PROTECTED] wrote: > Thanks for you reply: >> >> The basics: >> >> A USB floppy disk drive does *not* live on /dev/fd?, it lives as a >> SCSI disk drive, by virtue of the USB storage device protocols. > > Ok, I did not know that to start with >> >> So: >> >> Do you have USB mass-storage support, SCSI support and SCSI disk >> support all compiled in, or as modules? > As modules I think > > lsmod | grep usb > > gives me > > usb-storage60960 0 (unused) > usb-ohci 18184 0 (unused) > usbcore57472 0 [usb-storage hid usb-ohci] > >> >> If so, do they correctly load and identify the floppy drive as a >> SCSI mass storage device? >> >> If so, what happens when you access /dev/sd0? > mount -t ext3 /dev/scd0 /floppy/ > mount: block device /dev/scd0 is write-protected, mounting read-only > mount: No medium found That was sd0, not scd0; sd are the SCSI disk devices, SCD are the CD-ROM devices. So, that wouldn't work, as you noted. :) The best way to work out where it is would be to look in /proc/scsi/scsi, where you would see which disk device the FDD was assigned. At that point it should be accessible. From your cdrecord scan it looks like 'sd0' would be the right place, given you have one SCSI CD and one SCSI disk device connected. Daniel -- As long as a person has a notion that he is guided by immediate direction from heaven, it makes him incorrigible and impregnable in all his misconduct. -- Jonathan Edwards
Re: IBM R40e: external USB floppy does not work
Hi again... > On 14 Apr 2004, [EMAIL PROTECTED] wrote: > Hello Jörg, > > Thanks for your help > > > #fdisk -l /dev/sda > > This gives me a truely odd result > --88--- > fdisk -l /dev/sda > > Disk /dev/sda: 1 MB, 1474560 bytes > 1 heads, 3 sectors/track, 960 cylinders > Units = cylinders of 3 * 512 = 1536 bytes > > --8 8--- > /dev/sda1 ? 639983657 1263044256 934590898+ 61 SpeedStor > Partition 1 has different physical/logical beginnings (non-Linux?): > --8 8--- and so on This is not so bad as it looks at first sight ! I had the same problem with an USB-STick which was something like "preformated" for microsoft. In my case it was the result of "partition magic". There are two "options" now if you want to make it easy: #mkfs.ext3 /dev/sda makes it possible to create a new filesystem on the whole device OR: #fdisk /dev/sda and then you start to delete all the partitions and create a new partition table BUT... But if there is already data on the disk the easiest way would be to reassemble the disk to a microsoft system, make a backup of the data and then recreate the partition table with fdisk. Jörg
Re: IBM R40e: external USB floppy does not work
On 14 Apr 2004, [EMAIL PROTECTED] wrote: Hello Jörg, Thanks for your help > > #fdisk -l /dev/sda This gives me a truely odd result --88--- fdisk -l /dev/sda Disk /dev/sda: 1 MB, 1474560 bytes 1 heads, 3 sectors/track, 960 cylinders Units = cylinders of 3 * 512 = 1536 bytes Device Boot Start End Blocks Id System /dev/sda1 ? 639983657 1263044256 934590898+ 61 SpeedStor Partition 1 has different physical/logical beginnings (non-Linux?): phys=(364, 109, 48) logical=(639983656, 0, 2) Partition 1 has different physical/logical endings: phys=(288, 99, 37) logical=(1263044255, 0, 1) Partition 1 does not end on cylinder boundary. /dev/sda2 ? 639749586 1195614002 833796624 75 PC/IX Partition 2 has different physical/logical beginnings (non-Linux?): phys=(99, 101, 32) logical=(639749585, 0, 3) Partition 2 has different physical/logical endings: phys=(369, 97, 44) logical=(1195614001, 0, 2) Partition 2 does not end on cylinder boundary. /dev/sda3 ? 179658763 645779734 6991814560 Empty Partition 3 has different physical/logical beginnings (non-Linux?): phys=(10, 97, 13) logical=(179658762, 0, 3) Partition 3 has different physical/logical endings: phys=(288, 73, 15) logical=(645779733, 0, 1) Partition 3 does not end on cylinder boundary. /dev/sda4 ? 1820786 1820786 0 53 OnTrack DM6 Aux3 Partition 4 has different physical/logical beginnings (non-Linux?): phys=(335, 83, 4) logical=(1820785, 0, 1) Partition 4 has different physical/logical endings: phys=(32, 32, 32) logical=(1820784, 0, 3) Partition 4 does not end on cylinder boundary. Partition table entries are not in disk order --8 8--- > > which should list your partition table of your TEAC RemovableDisk > and after this has run out successfully you should try something > like > #mdkir /mnt/usbdisk1 #mount /dev/sda1 /mnt/usbdisk1 Problem /dev/sda1: Input/output error mount: you must specify the filesystem type So if I try to do this I get mount -t ext3 /dev/sda1 /mnt/usbdisk1 mount: wrong fs type, bad option, bad superblock on /dev/sda1, or too many mounted file systems Etc. What is wrong? Uwe
Re: IBM R40e: external USB floppy does not work
Hello Uwe > > sibus0: > 0,0,0 0) 'HL-DT-ST' 'DVD-ROM GDR8081N' '0012' Removable CD-ROM > scsibus1: > 1,0,0 100) 'TEAC' 'FD-05PUB' '1026' Removable Disk That just looks fine Don`t care about the cdrom ! According to the fact, that there are no other devices found the next step could be (just an example) #fdisk -l /dev/sda which should list your partition table of your TEAC RemovableDisk and after this has run out successfully you should try something like #mdkir /mnt/usbdisk1 #mount /dev/sda1 /mnt/usbdisk1 But for the fdisk... of course you must be root ;-)) HTH Jörg
Re: IBM R40e: external USB floppy does not work
On 14 Apr 2004, [EMAIL PROTECTED] wrote: > Hello Uwe > >> mount -t ext3 /dev/scd0 /floppy/ mount: block device /dev/scd0 is >> write-protected, mounting read-only mount: No medium found >> >> And nothing happens >> >> > No matter if it is the USB-Stick, external HD or the digital > Kamera... every device is listed when I run > > cdrecord -scanbus > > try this to see if there are any devices and on which SCSI-Device > sda/sdb/sdc... you can find them... > > Just to get some more information about this problem > > Hope this helps a little bit... > > Jörg thanks that is what I get cdrecord -scanbus sibus0: 0,0,0 0) 'HL-DT-ST' 'DVD-ROM GDR8081N' '0012' Removable CD-ROM 0,1,0 1) * 0,2,0 2) * 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) 'TEAC' 'FD-05PUB' '1026' 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) * So it looks that scibus1 is a candidate, but how to proceed? Uwe
Re: IBM R40e: external USB floppy does not work
On 14 Apr 2004, [EMAIL PROTECTED] wrote: > > You probably already have: /dev/fd0 /floppy auto user,noauto 0 0 > Change it to/add: /dev/sda /floppy auto user,noauto 0 0 > Good point, I have /dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0 So I guess /dev/sda /floppy vfat defaults,user,noauto,showexec,umask=022 0 0 Would be the right thing, and in fact it works! The only thing which remains to be done is to configure the KDE floppy symbol to mount correctly the device. I will try this. Thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: IBM R40e: external USB floppy does not work
Hello Uwe > mount -t ext3 /dev/scd0 /floppy/ > mount: block device /dev/scd0 is write-protected, mounting read-only > mount: No medium found > > And nothing happens > > No matter if it is the USB-Stick, external HD or the digital Kamera... every device is listed when I run cdrecord -scanbus try this to see if there are any devices and on which SCSI-Device sda/sdb/sdc... you can find them... Just to get some more information about this problem Hope this helps a little bit... Jörg
Re: IBM R40e: external USB floppy does not work
On 14 Apr 2004, [EMAIL PROTECTED] wrote: > Hi again... Since I want to use floppy and interchange them with linux and Windows PC it turns out that mount -t vfat /dev/sda /mnt/usbdisk1 Was the thing to do, Thanks Uwe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: IBM R40e: external USB floppy does not work
On 14 Apr 2004, [EMAIL PROTECTED] wrote: Thanks for you reply: > > The basics: > > A USB floppy disk drive does *not* live on /dev/fd?, it lives as a > SCSI disk drive, by virtue of the USB storage device protocols. Ok, I did not know that to start with > > So: > > Do you have USB mass-storage support, SCSI support and SCSI disk > support all compiled in, or as modules? As modules I think lsmod | grep usb gives me usb-storage60960 0 (unused) usb-ohci 18184 0 (unused) usbcore57472 0 [usb-storage hid usb-ohci] > > If so, do they correctly load and identify the floppy drive as a > SCSI mass storage device? > > If so, what happens when you access /dev/sd0? mount -t ext3 /dev/scd0 /floppy/ mount: block device /dev/scd0 is write-protected, mounting read-only mount: No medium found And nothing happens Uwe
Re: IBM R40e: external USB floppy does not work
>On 14 Apr 2004, [EMAIL PROTECTED] wrote: > >Floppy disks aren't partitionedare they? Surely that's why fdisk >prints rubbish. That is what I thought > >Try > >mount -t ext3 /dev/sda /mnt/usbdisk1 does not work >(drop the '1' off /dev/sda1) > >but replace ext3 if necessary with the type. vfat is more common if >you are using 'Windows' floppies. But mount -t vfat /dev/sda /mnt/usbdisk1 Finally works, Thanks all of you, you helped me to rapidly! It was very annoying that I had to boot XP in order to use the USB floppy Uwe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: IBM R40e: external USB floppy does not work
On 14 Apr 2004, [EMAIL PROTECTED] wrote: > Uwe > > What messages do you get when you plug in the floppy? Use dmesg to > look at these if you are not sure where to find them. > > I have a TEAC USB floppy which is not yet supported.. I'm about to > sell it to get one of the Mitsumi drives. > > Dave Cox > Hi Dave, Thanks for you fast reply, I get something like ttyS0: LSR safety check engaged! usb.c: USB disconnect on device 00:02.0-1 address 3 sr0: CDROM not ready. Make sure there is a disc in the drive. sr0: CDROM not ready. Make sure there is a disc in the drive. sr0: CDROM not ready. Make sure there is a disc in the drive. sr0: CDROM not ready. Make sure there is a disc in the drive. sr0: CDROM not ready. Make sure there is a disc in the drive. ttyS0: LSR safety check engaged! sr0: CDROM not ready. Make sure there is a disc in the drive. sr0: CDROM not ready. Make sure there is a disc in the drive. hub.c: new USB device 00:02.0-1, assigned address 4 WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 4 sr0: CDROM not ready. Make sure there is a disc in the drive. sr0: CDROM not ready. Make sure there is a disc in the drive. sr0: CDROM not ready. Make sure there is a disc in the drive. ttyS0: LSR safety check engaged! sr0: CDROM not ready. Make sure there is a disc in the drive. sr0: CDROM not ready. Make sure there is a disc in the drive. sr0: CDROM not ready. Make sure there is a disc in the drive. sr0: CDROM not ready. Make sure there is a disc in the drive.
Re: IBM R40e: external USB floppy does not work
On Wed, 14 Apr 2004, Uwe Brauer wrote: > I installed Knoppix 3.3 with debian woody. The external USB floppy > shipped by IBM works with Windows XP, but I cannot access it from > linux. > Can anybody help me please? The basics: A USB floppy disk drive does *not* live on /dev/fd?, it lives as a SCSI disk drive, by virtue of the USB storage device protocols. So: Do you have USB mass-storage support, SCSI support and SCSI disk support all compiled in, or as modules? If so, do they correctly load and identify the floppy drive as a SCSI mass storage device? If so, what happens when you access /dev/sd0? If one of these steps fails, what are the errors you get? Daniel -- Great minds discuss ideas, average minds discuss events, small minds discuss people. -- Laurence J. Peter
Re: IBM R40e: external USB floppy does not work
On Wednesday 14 April 2004 08:10 am, [EMAIL PROTECTED] wrote: > Hello Uwe > > > > sibus0: > > 0,0,0 0) 'HL-DT-ST' 'DVD-ROM GDR8081N' '0012' Removable CD-ROM > > scsibus1: > > 1,0,0 100) 'TEAC' 'FD-05PUB' '1026' Removable Disk > That just looks fine > Don`t care about the cdrom ! > According to the fact, that there are no other devices found > the next step could be (just an example) > > #fdisk -l /dev/sda This will fail on most floppies, as standard formats don't have a partition table. > which should list your partition table of your TEAC RemovableDisk > and after this has run out successfully you should try something like > #mdkir /mnt/usbdisk1 OK > #mount /dev/sda1 /mnt/usbdisk1 Should be: mount /dev/sda /mnt/usbdisk1 After you've verified that it works, unmount it (umount /mnt/usbdisk1) and add/modify the line in /etc/fstab: You probably already have: /dev/fd0/floppy autouser,noauto 0 0 Change it to/add: /dev/sda/floppy autouser,noauto 0 0 Then as an ordinary user, you can "mount /floppy" and see the disk contents on /floppy. -- Rob -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: IBM R40e: external USB floppy does not work
Floppy disks aren't partitionedare they? Surely that's why fdisk prints rubbish. Try mount -t ext3 /dev/sda /mnt/usbdisk1 (drop the '1' off /dev/sda1) but replace ext3 if necessary with the type. vfat is more common if you are using 'Windows' floppies. Dave On Wed, 2004-04-14 at 15:18, Uwe Brauer wrote: > On 14 Apr 2004, [EMAIL PROTECTED] wrote: > Hello Jörg, > > Thanks for your help > > > > > #fdisk -l /dev/sda > > This gives me a truely odd result > --88--- > fdisk -l /dev/sda > > Disk /dev/sda: 1 MB, 1474560 bytes > 1 heads, 3 sectors/track, 960 cylinders > Units = cylinders of 3 * 512 = 1536 bytes > >Device Boot Start End Blocks Id System > /dev/sda1 ? 639983657 1263044256 934590898+ 61 SpeedStor > Partition 1 has different physical/logical beginnings (non-Linux?): > phys=(364, 109, 48) logical=(639983656, 0, 2) > Partition 1 has different physical/logical endings: > phys=(288, 99, 37) logical=(1263044255, 0, 1) > Partition 1 does not end on cylinder boundary. > /dev/sda2 ? 639749586 1195614002 833796624 75 PC/IX > Partition 2 has different physical/logical beginnings (non-Linux?): > phys=(99, 101, 32) logical=(639749585, 0, 3) > Partition 2 has different physical/logical endings: > phys=(369, 97, 44) logical=(1195614001, 0, 2) > Partition 2 does not end on cylinder boundary. > /dev/sda3 ? 179658763 645779734 6991814560 Empty > Partition 3 has different physical/logical beginnings (non-Linux?): > phys=(10, 97, 13) logical=(179658762, 0, 3) > Partition 3 has different physical/logical endings: > phys=(288, 73, 15) logical=(645779733, 0, 1) > Partition 3 does not end on cylinder boundary. > /dev/sda4 ? 1820786 1820786 0 53 OnTrack DM6 Aux3 > Partition 4 has different physical/logical beginnings (non-Linux?): > phys=(335, 83, 4) logical=(1820785, 0, 1) > Partition 4 has different physical/logical endings: > phys=(32, 32, 32) logical=(1820784, 0, 3) > Partition 4 does not end on cylinder boundary. > > Partition table entries are not in disk order > --8 8--- > > > > > > > > which should list your partition table of your TEAC RemovableDisk > > and after this has run out successfully you should try something > > like > > #mdkir /mnt/usbdisk1 #mount /dev/sda1 /mnt/usbdisk1 > > Problem > > /dev/sda1: Input/output error > mount: you must specify the filesystem type > > So if I try to do this I get > > mount -t ext3 /dev/sda1 /mnt/usbdisk1 > mount: wrong fs type, bad option, bad superblock on /dev/sda1, >or too many mounted file systems > > > Etc. > > What is wrong? > > Uwe > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >
Re: IBM R40e: external USB floppy does not work
Hi again... > There are two "options" now if you want to make it easy: > > #mkfs.ext3 /dev/sda > makes it possible to create a new filesystem on the whole device OR: > #fdisk /dev/sda > and then you start to delete all the partitions and create a new partition > table BUT... > But if there is already data on the disk the easiest way would be to > reassemble the disk to a microsoft system, make a backup of the data and > then recreate the partition table with fdisk. > Sorry ! I made a mistake... the info that it is a floppy just slipped my mind... just insert a new media #mkfs.ext3(or what ever) /dev/sda and then try to mount #mount -t ext3 /dev/sda /mnt/usbdisk1 This should work Jörg
Re: IBM R40e: external USB floppy does not work
On Wed, 14 Apr 2004, Uwe Brauer wrote: > On 14 Apr 2004, [EMAIL PROTECTED] wrote: > Thanks for you reply: >> >> The basics: >> >> A USB floppy disk drive does *not* live on /dev/fd?, it lives as a >> SCSI disk drive, by virtue of the USB storage device protocols. > > Ok, I did not know that to start with >> >> So: >> >> Do you have USB mass-storage support, SCSI support and SCSI disk >> support all compiled in, or as modules? > As modules I think > > lsmod | grep usb > > gives me > > usb-storage60960 0 (unused) > usb-ohci 18184 0 (unused) > usbcore57472 0 [usb-storage hid usb-ohci] > >> >> If so, do they correctly load and identify the floppy drive as a >> SCSI mass storage device? >> >> If so, what happens when you access /dev/sd0? > mount -t ext3 /dev/scd0 /floppy/ > mount: block device /dev/scd0 is write-protected, mounting read-only > mount: No medium found That was sd0, not scd0; sd are the SCSI disk devices, SCD are the CD-ROM devices. So, that wouldn't work, as you noted. :) The best way to work out where it is would be to look in /proc/scsi/scsi, where you would see which disk device the FDD was assigned. At that point it should be accessible. From your cdrecord scan it looks like 'sd0' would be the right place, given you have one SCSI CD and one SCSI disk device connected. Daniel -- As long as a person has a notion that he is guided by immediate direction from heaven, it makes him incorrigible and impregnable in all his misconduct. -- Jonathan Edwards -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: IBM R40e: external USB floppy does not work
Hi again... > On 14 Apr 2004, [EMAIL PROTECTED] wrote: > Hello Jörg, > > Thanks for your help > > > #fdisk -l /dev/sda > > This gives me a truely odd result > --88--- > fdisk -l /dev/sda > > Disk /dev/sda: 1 MB, 1474560 bytes > 1 heads, 3 sectors/track, 960 cylinders > Units = cylinders of 3 * 512 = 1536 bytes > > --8 8--- > /dev/sda1 ? 639983657 1263044256 934590898+ 61 SpeedStor > Partition 1 has different physical/logical beginnings (non-Linux?): > --8 8--- and so on This is not so bad as it looks at first sight ! I had the same problem with an USB-STick which was something like "preformated" for microsoft. In my case it was the result of "partition magic". There are two "options" now if you want to make it easy: #mkfs.ext3 /dev/sda makes it possible to create a new filesystem on the whole device OR: #fdisk /dev/sda and then you start to delete all the partitions and create a new partition table BUT... But if there is already data on the disk the easiest way would be to reassemble the disk to a microsoft system, make a backup of the data and then recreate the partition table with fdisk. Jörg
Re: IBM R40e: external USB floppy does not work
On 14 Apr 2004, [EMAIL PROTECTED] wrote: Hello Jörg, Thanks for your help > > #fdisk -l /dev/sda This gives me a truely odd result --88--- fdisk -l /dev/sda Disk /dev/sda: 1 MB, 1474560 bytes 1 heads, 3 sectors/track, 960 cylinders Units = cylinders of 3 * 512 = 1536 bytes Device Boot Start End Blocks Id System /dev/sda1 ? 639983657 1263044256 934590898+ 61 SpeedStor Partition 1 has different physical/logical beginnings (non-Linux?): phys=(364, 109, 48) logical=(639983656, 0, 2) Partition 1 has different physical/logical endings: phys=(288, 99, 37) logical=(1263044255, 0, 1) Partition 1 does not end on cylinder boundary. /dev/sda2 ? 639749586 1195614002 833796624 75 PC/IX Partition 2 has different physical/logical beginnings (non-Linux?): phys=(99, 101, 32) logical=(639749585, 0, 3) Partition 2 has different physical/logical endings: phys=(369, 97, 44) logical=(1195614001, 0, 2) Partition 2 does not end on cylinder boundary. /dev/sda3 ? 179658763 645779734 6991814560 Empty Partition 3 has different physical/logical beginnings (non-Linux?): phys=(10, 97, 13) logical=(179658762, 0, 3) Partition 3 has different physical/logical endings: phys=(288, 73, 15) logical=(645779733, 0, 1) Partition 3 does not end on cylinder boundary. /dev/sda4 ? 1820786 1820786 0 53 OnTrack DM6 Aux3 Partition 4 has different physical/logical beginnings (non-Linux?): phys=(335, 83, 4) logical=(1820785, 0, 1) Partition 4 has different physical/logical endings: phys=(32, 32, 32) logical=(1820784, 0, 3) Partition 4 does not end on cylinder boundary. Partition table entries are not in disk order --8 8--- > > which should list your partition table of your TEAC RemovableDisk > and after this has run out successfully you should try something > like > #mdkir /mnt/usbdisk1 #mount /dev/sda1 /mnt/usbdisk1 Problem /dev/sda1: Input/output error mount: you must specify the filesystem type So if I try to do this I get mount -t ext3 /dev/sda1 /mnt/usbdisk1 mount: wrong fs type, bad option, bad superblock on /dev/sda1, or too many mounted file systems Etc. What is wrong? Uwe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: IBM R40e: external USB floppy does not work
Hello Uwe > > sibus0: > 0,0,0 0) 'HL-DT-ST' 'DVD-ROM GDR8081N' '0012' Removable CD-ROM > scsibus1: > 1,0,0 100) 'TEAC' 'FD-05PUB' '1026' Removable Disk That just looks fine Don`t care about the cdrom ! According to the fact, that there are no other devices found the next step could be (just an example) #fdisk -l /dev/sda which should list your partition table of your TEAC RemovableDisk and after this has run out successfully you should try something like #mdkir /mnt/usbdisk1 #mount /dev/sda1 /mnt/usbdisk1 But for the fdisk... of course you must be root ;-)) HTH Jörg
Re: IBM R40e: external USB floppy does not work
On 14 Apr 2004, [EMAIL PROTECTED] wrote: > Hello Uwe > >> mount -t ext3 /dev/scd0 /floppy/ mount: block device /dev/scd0 is >> write-protected, mounting read-only mount: No medium found >> >> And nothing happens >> >> > No matter if it is the USB-Stick, external HD or the digital > Kamera... every device is listed when I run > > cdrecord -scanbus > > try this to see if there are any devices and on which SCSI-Device > sda/sdb/sdc... you can find them... > > Just to get some more information about this problem > > Hope this helps a little bit... > > Jörg thanks that is what I get cdrecord -scanbus sibus0: 0,0,0 0) 'HL-DT-ST' 'DVD-ROM GDR8081N' '0012' Removable CD-ROM 0,1,0 1) * 0,2,0 2) * 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) 'TEAC' 'FD-05PUB' '1026' 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) * So it looks that scibus1 is a candidate, but how to proceed? Uwe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: IBM R40e: external USB floppy does not work
Uwe What messages do you get when you plug in the floppy? Use dmesg to look at these if you are not sure where to find them. I have a TEAC USB floppy which is not yet supported.. I'm about to sell it to get one of the Mitsumi drives. Dave Cox On Wed, 2004-04-14 at 12:41, Uwe Brauer wrote: > Hello > > I installed Knoppix 3.3 with debian woody. The external USB floppy > shipped by IBM works with Windows XP, but I cannot access it from > linux. > Can anybody help me please? > > Thanks in advance > > > Uwe Brauer > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >
Re: IBM R40e: external USB floppy does not work
Hello Uwe > mount -t ext3 /dev/scd0 /floppy/ > mount: block device /dev/scd0 is write-protected, mounting read-only > mount: No medium found > > And nothing happens > > No matter if it is the USB-Stick, external HD or the digital Kamera... every device is listed when I run cdrecord -scanbus try this to see if there are any devices and on which SCSI-Device sda/sdb/sdc... you can find them... Just to get some more information about this problem Hope this helps a little bit... Jörg
Re: IBM R40e: external USB floppy does not work
On 14 Apr 2004, [EMAIL PROTECTED] wrote: Thanks for you reply: > > The basics: > > A USB floppy disk drive does *not* live on /dev/fd?, it lives as a > SCSI disk drive, by virtue of the USB storage device protocols. Ok, I did not know that to start with > > So: > > Do you have USB mass-storage support, SCSI support and SCSI disk > support all compiled in, or as modules? As modules I think lsmod | grep usb gives me usb-storage60960 0 (unused) usb-ohci 18184 0 (unused) usbcore57472 0 [usb-storage hid usb-ohci] > > If so, do they correctly load and identify the floppy drive as a > SCSI mass storage device? > > If so, what happens when you access /dev/sd0? mount -t ext3 /dev/scd0 /floppy/ mount: block device /dev/scd0 is write-protected, mounting read-only mount: No medium found And nothing happens Uwe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: IBM R40e: external USB floppy does not work
On 14 Apr 2004, [EMAIL PROTECTED] wrote: > Uwe > > What messages do you get when you plug in the floppy? Use dmesg to > look at these if you are not sure where to find them. > > I have a TEAC USB floppy which is not yet supported.. I'm about to > sell it to get one of the Mitsumi drives. > > Dave Cox > Hi Dave, Thanks for you fast reply, I get something like ttyS0: LSR safety check engaged! usb.c: USB disconnect on device 00:02.0-1 address 3 sr0: CDROM not ready. Make sure there is a disc in the drive. sr0: CDROM not ready. Make sure there is a disc in the drive. sr0: CDROM not ready. Make sure there is a disc in the drive. sr0: CDROM not ready. Make sure there is a disc in the drive. sr0: CDROM not ready. Make sure there is a disc in the drive. ttyS0: LSR safety check engaged! sr0: CDROM not ready. Make sure there is a disc in the drive. sr0: CDROM not ready. Make sure there is a disc in the drive. hub.c: new USB device 00:02.0-1, assigned address 4 WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 4 sr0: CDROM not ready. Make sure there is a disc in the drive. sr0: CDROM not ready. Make sure there is a disc in the drive. sr0: CDROM not ready. Make sure there is a disc in the drive. ttyS0: LSR safety check engaged! sr0: CDROM not ready. Make sure there is a disc in the drive. sr0: CDROM not ready. Make sure there is a disc in the drive. sr0: CDROM not ready. Make sure there is a disc in the drive. sr0: CDROM not ready. Make sure there is a disc in the drive. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: IBM R40e: external USB floppy does not work
On Wed, 14 Apr 2004, Uwe Brauer wrote: > I installed Knoppix 3.3 with debian woody. The external USB floppy > shipped by IBM works with Windows XP, but I cannot access it from > linux. > Can anybody help me please? The basics: A USB floppy disk drive does *not* live on /dev/fd?, it lives as a SCSI disk drive, by virtue of the USB storage device protocols. So: Do you have USB mass-storage support, SCSI support and SCSI disk support all compiled in, or as modules? If so, do they correctly load and identify the floppy drive as a SCSI mass storage device? If so, what happens when you access /dev/sd0? If one of these steps fails, what are the errors you get? Daniel -- Great minds discuss ideas, average minds discuss events, small minds discuss people. -- Laurence J. Peter -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: IBM R40e: external USB floppy does not work
Uwe What messages do you get when you plug in the floppy? Use dmesg to look at these if you are not sure where to find them. I have a TEAC USB floppy which is not yet supported.. I'm about to sell it to get one of the Mitsumi drives. Dave Cox On Wed, 2004-04-14 at 12:41, Uwe Brauer wrote: > Hello > > I installed Knoppix 3.3 with debian woody. The external USB floppy > shipped by IBM works with Windows XP, but I cannot access it from > linux. > Can anybody help me please? > > Thanks in advance > > > Uwe Brauer > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

