linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.4 -ac zip ppa --  'mount: /dev/sda4 is not a valid block device'
@ 2003-05-31 22:00 Grant
  2003-05-31 23:12 ` Grant
  0 siblings, 1 reply; 3+ messages in thread
From: Grant @ 2003-05-31 22:00 UTC (permalink / raw)
  To: linux-kernel

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.4 -ac zip ppa --  'mount: /dev/sda4 is not a valid block device'
  2003-05-31 22:00 2.4 -ac zip ppa -- 'mount: /dev/sda4 is not a valid block device' Grant
@ 2003-05-31 23:12 ` Grant
  2003-06-01 12:34   ` Ken Moffat
  0 siblings, 1 reply; 3+ messages in thread
From: Grant @ 2003-05-31 23:12 UTC (permalink / raw)
  To: linux-kernel

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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.4 -ac zip ppa --  'mount: /dev/sda4 is not a valid block device'
  2003-05-31 23:12 ` Grant
@ 2003-06-01 12:34   ` Ken Moffat
  0 siblings, 0 replies; 3+ messages in thread
From: Ken Moffat @ 2003-06-01 12:34 UTC (permalink / raw)
  To: gcoady; +Cc: linux-kernel

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...

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-01 12:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-31 22:00 2.4 -ac zip ppa -- 'mount: /dev/sda4 is not a valid block device' Grant
2003-05-31 23:12 ` Grant
2003-06-01 12:34   ` Ken Moffat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).