Can't boot 2.0.36 with ATAPI ZIP drive installed

Can't boot 2.0.36 with ATAPI ZIP drive installed

Post by Chip Ols » Sat, 07 Nov 1998 04:00:00



I got an internal ATAPI ZIP drive for my birthday. :-) :-) :-)

However, I'm having trouble getting it to work in my RedHat 5.0 box. :-(
It's sharing my secondary IDE controller with my CD-ROM drive; the CD is
the master and the ZIP drive is the slave. The kernel detects the new drive
OK, and calls it /dev/hdd. However, when I try to mount it as an MS-DOS
filesystem, it says it can't find a valid MSDOS filesystem. When I boot, I
get the following:

ide: i82371 PIIX (Triton) on PCI bus 0 function 57
    ide0: BM-DMA at 0xffa0-0xffa7
    ide1: BM-DMA at 0xffa8-0xffaf
hda: WDC AC33100H, 3020MB w/128kB Cache, CHS=767/128/63, DMA
hdb: ST3850A, 811MB w/120kB Cache, CHS=824/32/63
hdc: TOSHIBA CD-ROM XM-6102B, ATAPI CDROM drive
hdd: IOMEGA ZIP 100 ATAPI, ATAPI FLOPPY drive
ide2: ports already in use, skipping probe
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.35 MAX_MD_DEV=4, MAX_REAL=8
scsi : 0 hosts.
scsi : detected total.
Partition check:
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
 hdb: hdb1 hdb2
ide-floppy: hdd: I/O error, pc = 5a, key =  5, asc = 24, ascq =  0
ide-floppy: Can't get drive capabilities
hdd: 98304kB, 32/64/96 CHS, 4096 kBps, 512 sector size, 2941 rpm
hdd: The drive reports both 100663296 and 0 bytes as its capacity
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 36284k swap-space (priority -1)
[MS-DOS FS Rel. 12,FAT 16,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
[me=0xf8,cs=8,#f=2,fs=32,fl=0,ds=32,de=0,data=32,se=0,ts=1024128,ls=512]
Transaction block size = 512
VFS: Can't find a valid MSDOS filesystem on dev 03:02.

I found instructions in Linux Gazette
(http://www.linuxgazette.com/issue28/lg_tips28.html#atapi) on how to do
this, and since I'd already downloaded the 2.0.36 sources, I compiled those
with ATAPI FLOPPY support turned off and SCSI support turned on, just like
it said. I don't have a SCSI host adapter; I assume that doesn't matter.
Now, when I reboot that kernel, I get the following:

scsi0: scsi host adapter emulation for ATAPI devices
scsi: 1 host
 vendor: IOMEGA         model: ZIP 100          rev: 23.D
 type: Direct-access    ANSI SCSI revision: 00
Detected SCSI removeable disk at scsi0, channel 0, LUN 0
scsi:: detected 1 SCSI disk total.
sda: READ CAPACITY failed.
sda: STATUS = 0, message = 00, host = 0, driver = 28
sda: extended sense code = 2
sda: block size assumed to be 512 bytes, disk size 1GB.
Partition check:
 sda: scsidisk I/O error: dev 08:00, sector 0, absolute sector 0
 unable to read partition table
 hda: hda1 hda2 hda3 hda4 <hda5 hda6>
 hdb: hdb1 hdb2
VFS: Mounted root (ext2) filesystem read-only

At this point, it just stops, and never goes any further. I haven't
actually checked if the new kernel will boot without the ZIP drive
installed; it's possible that the failure to boot is entirely unrelated.

Any ideas would be hugely appreciated.

--
-Chip Olson. | ceo at shore dot net
Remove all instances of ".foo" from my address in order to reply.