2.4 -ac zip ppa -- 'mount: /dev/sda4 is not a valid block device'

Grant (grant@ironbark.bendigo.latrobe.edu.au)
Sun, 01 Jun 2003 08:00:23 +1000


Hi there,

Mounting a ppa zip drive:

2.4.21-rc5-ac2 and redhat 2.4.20-13.9 report sda4 as "not a
valid block device" and do not mount the drive.

2.4.21-rc6 and redhat 2.4.20-9 kernels work fine.

As two of these kernels are stock redhat releases, I doubt
my .config file is relevant. My system has IDE HD & CDROM.

File '/etc/modules.conf' has no references to scsi or parport
modules and I manually load modules with script zip-mount:

#!/bin/sh
echo "zip-mount: load modules & mount zip drive..."
insmod scsi_mod
insmod sd_mod
insmod parport
insmod parport_pc
insmod ppa
mount /mnt/zip

- - -

### Okay:

[root@two root]# /home/system/zip-mount
zip-mount: load modules & mount zip drive...
Using /lib/modules/2.4.21-rc6/kernel/drivers/scsi/scsi_mod.o
Using /lib/modules/2.4.21-rc6/kernel/drivers/scsi/sd_mod.o
Using /lib/modules/2.4.21-rc6/kernel/drivers/parport/parport.o
Using /lib/modules/2.4.21-rc6/kernel/drivers/parport/parport_pc.o
Using /lib/modules/2.4.21-rc6/kernel/drivers/scsi/ppa.o
ppa: Version 2.07 (for Linux 2.4.x)
ppa: Found device at ID 6, Attempting to use EPP 32 bit
ppa: Communication established with ID 6 using EPP 32 bit
Vendor: IOMEGA Model: ZIP 100 Rev: D.17
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 6, lun 0
SCSI device sda: 196608 512-byte hdwr sectors (101 MB)
sda: Write Protect is off
[root@two root]#

### Fail:

[root@two root]# /home/system/zip-mount
zip-mount: load modules & mount zip drive...
Using /lib/modules/2.4.21-rc5-ac2/kernel/drivers/scsi/scsi_mod.o
Using /lib/modules/2.4.21-rc5-ac2/kernel/drivers/scsi/sd_mod.o
Using /lib/modules/2.4.21-rc5-ac2/kernel/drivers/parport/parport.o
Using /lib/modules/2.4.21-rc5-ac2/kernel/drivers/parport/parport_pc.o
Using /lib/modules/2.4.21-rc5-ac2/kernel/drivers/scsi/ppa.o
ppa: Version 2.07 (for Linux 2.4.x)
ppa: Found device at ID 6, Attempting to use EPP 32 bit
ppa: Communication established with ID 6 using EPP 32 bit
Vendor: IOMEGA Model: ZIP 100 Rev: D.17
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 6, lun 0
SCSI device sda: 196608 512-byte hdwr sectors (101 MB)
sda: Write Protect is off
I/O error: dev 08:00, sector 0
unable to read partition table
mount: /dev/sda4 is not a valid block device
[root@two root]#

- - -

Cheers,
Grant.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/