2003-05-31 21:47:09

by Grant

[permalink] [raw]
Subject: 2.4 -ac zip ppa -- 'mount: /dev/sda4 is not a valid block device'

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.


2003-05-31 22:59:40

by Grant

[permalink] [raw]
Subject: Re: 2.4 -ac zip ppa -- 'mount: /dev/sda4 is not a valid block device'

Hi there,

A followup: kernel 2.4.21-rc6-ac1 also fails to recognise
the zip ppa /dev/sda4 as a block device.

Cheers,
Grant.


2003-06-01 12:20:54

by Ken Moffat

[permalink] [raw]
Subject: Re: 2.4 -ac zip ppa -- 'mount: /dev/sda4 is not a valid block device'

On Sun, 1 Jun 2003, Grant wrote:

> Hi there,
>
> A followup: kernel 2.4.21-rc6-ac1 also fails to recognise
> the zip ppa /dev/sda4 as a block device.
>
> Cheers,
> Grant.
>

Maybe a stupid question, but I'm assuming you have this as a module.
Have you loaded the module before trying to access the device ?

Ken
--
Live Long or Prosper! No, wait, that wasn't it...