From: Rene B. <re...@we...> - 2002-08-12 18:42:14
|
Hello! This weekend, I found some ugly alignment problems in the 53c770 driver. I have removed it only with some dirty hacks (for now), because to fix it in a right fashion, the code needs some larger reorganisations. However, here are the first results: I have successfuly mountet and read/write to a ZIP disk. I also have used a UW-SCSI harddisk, copied my linux on it and booted from it without any problem. Also I have created and used a swap partition on an UW-SCSI drive without problems. But unfortunately I always failed to mount a CD-ROM, but this could be related to my (relative) old Toshiba drive, which has some problems. Also it seem, that the kernel sometimes doesn't start if a media is in ZIP or in CD-ROM at boottime. Bottom you can see a cut from my dmesg output, which shows the detection and correct attachment of 2 harddisks and a ZIP-drive. I'll add my last changes to CVS now. Be careful using this driver! Ciao, Renè dmesg output: Trying to detect Cyberstorm-PPC SCSI... ncr53c8xx: 53c770 detected ncr53c770-0: rev=0x00, base=0xf40000, io_port=0x0, irq=12 ncr53c770-0: using memory mapped IO at virtual address 0x80f40000 ncr53c770-0: ID 7, Fast-20, Parity Checking ncr53c770-0: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 05/c0/21/00/00/04 ncr53c770-0: final SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 05/c0/21/00/00/04 ncr53c770-0: on-chip RAM at 0xf41000 ncr53c770-0: resetting, command processing suspended for 2 seconds ncr53c770-0: restart (scsi reset). ncr53c770-0: enabling clock multiplier ncr53c770-0: Downloading SCSI SCRIPTS. scsi0 : ncr53c770-3.4.3-20010212 ncr53c770-0: command processing resumed Vendor: QUANTUM Model: FIREBALL_TM2110S Rev: 300N Type: Direct-Access ANSI SCSI revision: 02 Vendor: IOMEGA Model: ZIP 100 Rev: E.08 Type: Direct-Access ANSI SCSI revision: 02 Vendor: IBM Model: DCAS-34330W Rev: S65A Type: Direct-Access ANSI SCSI revision: 02 Attached scsi disk sda at scsi0, channel 0, id 1, lun 0 Attached scsi removable disk sdb at scsi0, channel 0, id 3, lun 0 Attached scsi disk sdc at scsi0, channel 0, id 8, lun 0 ncr53c770-0-<1,*>: FAST-20 SCSI 20.0 MB/s (50 ns, offset 15) SCSI device sda: 4124736 512-byte hdwr sectors (2112 MB) sda: RDSK sda1 sda2 sda3 ncr53c770-0-<3,*>: target did not report SYNC. sdb : READ CAPACITY failed. sdb : status = 1, message = 00, host = 0, driver = 28 Current sd00:00: sense key Not Ready Additional sense indicates Medium not present sdb : block size assumed to be 512 bytes, disk size 1GB. sdb: I/O error: dev 08:10, sector 0 I/O error: dev 08:10, sector 0 unable to read partition table ncr53c770-0-<8,*>: WIDE SCSI (16 bit) enabled. ncr53c770-0-<8,*>: FAST-20 WIDE SCSI 40.0 MB/s (50 ns, offset 15) SCSI device sdc: 8467200 512-byte hdwr sectors (4335 MB) sdc: RDSK sdc1 sdc2 sdc3 |