SCSI problem with Linux 2.0.0 and Sony RMO-S594 (magneto-optical disk)

SCSI problem with Linux 2.0.0 and Sony RMO-S594 (magneto-optical disk)

Post by Nicolas Pettiau » Wed, 07 Aug 1996 04:00:00



Dear "List",

        I follow this list for a while and appreciate its interest. I have now a question
that could be addressed here I think.

        I run Linux (kernel 2.0.0) on a Pentium with 48 MB Ram, an Adaptec 2940 SCSI card
that is fully recongnized (see enclosed boot log
at the end of current message), a Micropolis SCSI hard disk 2.0 GB that also works fine with
linux and a magneto optical device
SONY RMO-S594 that allows to read/write removable media of 2.4 Gb in total (1.2 GB by face).
Unfortunately, I cannot access the RMO-S594 from linux (It works with Windows NT 3.51 on the
same machine but I want to be able to run ONLY Linux ...).

        The device is - seen by the machine at boot time,
                      - seen by the linux kernel at boot time and identified
as /dev/sdb but cannot be used. To be more precise, when I use fdisk on linux,
it sees the device, sees some sectors are lost because of an unadequate formating,
allows to delete the current partition and correctly appears to save the deleted partition
BUT it cannot format the disk (the MO disks are hard formatted and oinly need a soft format).

        Any help to use this system RMO-S494 with linux is most welcome,

        Thanks in advance,

        Nicolas Pettiaux

Appendix: part of the system boot log of my machine.

Aug  6 11:18:30 lpbm13 kernel:

 syslogd 1.3-0: restart.
 klogd 1.3-0, log source = /proc/kmsg started.
 Cannot find map file.
 Console: 16 point font, 400 scans
 Console: colour VGA+ 80x25, 1 virtual console (max 63)
 pcibios_init : BIOS32 Service Directory structure at 0x000fd690
 pcibios_init : BIOS32 Service Directory entry at 0xfd6a0
 pcibios_init : PCI BIOS revision 2.10 entry at 0xfd6c1
 Probing PCI hardware.
 Calibrating delay loop.. ok - 35.84 BogoMIPS
 Memory: 46960k/49152k available (764k kernel code, 384k reserved, 1044k data)
 Swansea University Computer Society NET3.035 for Linux 2.0
 NET3: Unix domain sockets 0.12 for Linux NET3.035.
 Swansea University Computer Society TCP/IP for NET3.034
 IP Protocols: ICMP, UDP, TCP
 Appletalk 0.17 for Linux NET3.035
 Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
 Checking 'hlt' instruction... Ok.

DST 1996
 Serial driver version 4.13 with no serial options enabled
 tty00 at 0x03f8 (irq = 4) is a 16550A
 tty01 at 0x02f8 (irq = 3) is a 16550A
 lp1 at 0x0378, (polling)
 Ramdisk driver initialized : 16 ramdisks of 4096K size
 hda: QUANTUM FIREBALL1080A, 1039MB w/83kB Cache, LBA, CHS=528/64/63
 hdb: CD-ROM CDU76E, ATAPI CDROM drive
 ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
 Floppy drive(s): fd0 is 1.44M
 Started kswapd v 1.4.2.2
 FDC 0 is a National Semiconductor PC87306
 aic7xxx: BurstLen = 8 DWDs, Latency Timer = 64 PCLKS
 aic7xxx: AHA-2940 Ultra Rev B.
 aic7xxx: devconfig = 0x580.
 aic7xxx: Reading SEEPROM...done.
 aic7xxx: Extended translation enabled.
 aic7xxx: Using 16 SCB's after checking for SCB memory.
 AHA-2940 Ultra (PCI-bus):
     irq 11
     bus release time 40 bclks
     data fifo threshold 100%
     SCSI CHANNEL A:
         scsi id 7
         scsi selection timeout 256 ms
         scsi bus reset at power-on enabled
         scsi bus parity enabled
         scsi bus termination (low byte) disabled
 aic7xxx: Downloading sequencer code...done.
 aic7xxx: Resetting the SCSI bus...done.
 scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 3.2/3.1/3.0
 scsi : 1 host.
 aic7xxx: Scanning channel A for devices.
 aic7xxx: Target 0, channel A, now synchronous at 10.0MHz, offset(0xf).
   Vendor: MICROP    Model: 4221-09   1128RF  Rev: 28RF
   Type:   Direct-Access                      ANSI SCSI revision: 02
 Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
 aic7xxx: Target 5, channel A, now synchronous at 5.0MHz, offset(0xf).
   Vendor: SONY      Model: SMO-F541+3        Rev: 1.09
   Type:   Optical Device                     ANSI SCSI revision: 02
 Detected scsi disk sdb at scsi0, channel 0, id 5, lun 0
 scsi : detected 2 SCSI disks total.
 SCSI device sda: hdwr sector= 512 bytes. Sectors= 4004219 [1955 MB] [2.0 GB]
 SCSI device sdb: hdwr sector= 1024 bytes. Sectors= 1273011 [1243 MB] [1.2 GB]
 sdb: Write Protect is off
 PPP: version 2.2.0 (dynamic channel allocation)
 TCP compression code copyright 1989 Regents of the University of California
 PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
 PPP line discipline registered.
 SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
 CSLIP: code copyright 1989 Regents of the University of California.
 eth0: 3c509 at 0x300 tag 1, BNC port, address  00 20 af c9 f7 d6, IRQ 10.

 Partition check:
  sda: sda1 sda2
  sdb: sdb1
  hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
 VFS: Mounted root (ext2 filesystem) readonly.
 Adding Swap: 32252k swap-space

-
--
=========================================================================
| Nicolas Pettiaux, PhD   Laboratoire de physique biomedicale, CP 613/3 |
| ULB, Campus Erasme      Route de Lennik 808, B-1070 Brussels, Belgium |

=========================================================================

 
 
 

SCSI problem with Linux 2.0.0 and Sony RMO-S594 (magneto-optical disk)

Post by Tjeerd Mulde » Wed, 07 Aug 1996 04:00:00



>BUT it cannot format the disk (the MO disks are hard formatted and oinly need a soft format).

Which command(s) are you using for this "soft format". Do you mean mkfs ?
What error messages do you get from mkfs ... ?

 
 
 

SCSI problem with Linux 2.0.0 and Sony RMO-S594 (magneto-optical disk)

Post by roo » Fri, 09 Aug 1996 04:00:00


: Dear "List",

:         I follow this list for a while and appreciate its interest. I have now a question
: that could be addressed here I think.

:         I run Linux (kernel 2.0.0) on a Pentium with 48 MB Ram, an Adaptec 2940 SCSI card
: that is fully recongnized (see enclosed boot log
: at the end of current message), a Micropolis SCSI hard disk 2.0 GB that also works fine with
: linux and a magneto optical device
: SONY RMO-S594 that allows to read/write removable media of 2.4 Gb in total (1.2 GB by face).
: Unfortunately, I cannot access the RMO-S594 from linux (It works with Windows NT 3.51 on the
: same machine but I want to be able to run ONLY Linux ...).

:         The device is - seen by the machine at boot time,
:                       - seen by the linux kernel at boot time and identified
: as /dev/sdb but cannot be used. To be more precise, when I use fdisk on linux,
: it sees the device, sees some sectors are lost because of an unadequate formating,
: allows to delete the current partition and correctly appears to save the deleted partition
: BUT it cannot format the disk (the MO disks are hard formatted and oinly need a soft format).

:       Any help to use this system RMO-S494 with linux is most welcome,

:       Thanks in advance,

:       Nicolas Pettiaux

: -
: --
: =========================================================================
: | Nicolas Pettiaux, PhD   Laboratoire de physique biomedicale, CP 613/3 |
: | ULB, Campus Erasme      Route de Lennik 808, B-1070 Brussels, Belgium |

: =========================================================================

I have a problem with a MO drive as well, although not exactly the same.

I have a micropolis 1.2 GIG MO (600 MB per side) drive. Linux sees, and uses
the drive fine. I can fdisk, format, and mount it no prob. I can write, read, and
delete files on it no prob. I can not eject it. The eject button does noet work at
all, not under any operating system. Win95 Eject command, does the job, but not
the Linux eject command. YES, The drive IS UNMOUNTED before I try and Eject it.

Any sugestion? Please send email, as I do not read usenet to often.

Cheers

Richelo Killian

 
 
 

SCSI problem with Linux 2.0.0 and Sony RMO-S594 (magneto-optical disk)

Post by Dieter Ba » Fri, 23 Aug 1996 04:00:00



>: Dear "List",

>:         I follow this list for a while and appreciate its interest. I have now a question
>: that could be addressed here I think.

>:         I run Linux (kernel 2.0.0) on a Pentium with 48 MB Ram, an Adaptec 2940 SCSI card
>: that is fully recongnized (see enclosed boot log
>: at the end of current message), a Micropolis SCSI hard disk 2.0 GB that also works fine with
>: linux and a magneto optical device
>: SONY RMO-S594 that allows to read/write removable media of 2.4 Gb in total (1.2 GB by face).
>: Unfortunately, I cannot access the RMO-S594 from linux (It works with Windows NT 3.51 on the
>: same machine but I want to be able to run ONLY Linux ...).
>  ....
>:   Nicolas Pettiaux

>I have a problem with a MO drive as well, although not exactly the same.

>I have a micropolis 1.2 GIG MO (600 MB per side) drive. Linux sees, and uses
>the drive fine. I can fdisk, format, and mount it no prob. I can write, read, and
>delete files on it no prob. I can not eject it. The eject button does noet work at
>all, not under any operating system. Win95 Eject command, does the job, but not
>the Linux eject command. YES, The drive IS UNMOUNTED before I try and Eject it.

>Any sugestion? Please send email, as I do not read usenet to often.


Hi folks!

I also have a problem with a MO drive (Olympus Deltis MO320E): During parallel
access to MO and HDD the MO drive slows down the HDD performance:

#!/bin/bash
#

hdparm -t /dev/sda > sda &
hdparm -t /dev/sdb > sdb &
hdparm -t /dev/sdc > sdc &

/dev/sda: HDD1
 Timing buffer-cache reads:   32 MB in  5.75 seconds = 5.57 MB/sec
 Timing buffered disk reads:  16 MB in 19.66 seconds = 0.81 MB/sec <--

/dev/sdb: HDD2
 Timing buffer-cache reads:   32 MB in  5.84 seconds = 5.48 MB/sec
 Timing buffered disk reads:  16 MB in 15.35 seconds = 1.04 MB/sec <--

/dev/sdc: MO
 Timing buffer-cache reads:   32 MB in  5.89 seconds = 5.43 MB/sec
 Timing buffered disk reads:  16 MB in 17.46 seconds = 0.92 MB/sec
------------------------------------------------------------------
#!/bin/bash
#

hdparm -t /dev/sda > sda_hdd &
hdparm -t /dev/sdb > sdb_hdd &

/dev/sda:
 Timing buffer-cache reads:   32 MB in  3.64 seconds = 8.79 MB/sec
 Timing buffered disk reads:  16 MB in  6.75 seconds = 2.37 MB/sec <--

/dev/sdb:
 Timing buffer-cache reads:   32 MB in  3.57 seconds = 8.96 MB/sec
 Timing buffered disk reads:  16 MB in  3.89 seconds = 4.11 MB/sec <--
------------------------------------------------------------------

Configuration: Kernel 2.0.x, AHA 2940

I got the same results with Adaptec's SCSIBench (Win) and with other SCSI-
HDD's. So what's going wrong?

Thanks,
Dieter

P.S.: Is there a special newsgroup for discussion about MO drives (beside
comp.periphs.scsi)?
----------------------------------------------------------------------------
++++++++++++++ Dieter Baer ++++++++++++++|

WWW   http://www.uni-karlsruhe.de/~uk4f/ |                FREE SPEECH ONLINE
----------------------------------------------------------------------------

 
 
 

SCSI problem with Linux 2.0.0 and Sony RMO-S594 (magneto-optical disk)

Post by Paul Kell » Sun, 25 Aug 1996 04:00:00



> I also have a problem with a MO drive (Olympus Deltis MO320E): During parallel
> access to MO and HDD the MO drive slows down the HDD performance:

Interesting. I have a similar difficulty. Not a problem as such but
there's
definitely something wrong somewhere. I have an Adaptec 2940UW SCSI and
an
Olympus Deltis 230MB MO. In DOS with a Corel device driver I can easily
get
800KB/sec and more reading a 16MB contiguous DOS file from the MO. Using
a
devious custom device driver we've written for a DOS audio application
we can
get well over 900KB/sec. In Linux however, the best I can seem to manage
is
under 250KB/sec copying that same 16MB file to /dev/null.

Anyone like to guess why I am getting such rediculously low speeds?
The MO drive is the only device on the properly terminated bus.
The processor is a 120MHz Pentium, the hard drive is IDE. Kernel
version 2.0.6.

Paul.