zip drive and automount, ac20 and ac21

From: Jean-Luc Coulon (jean-luc.coulon@fnac.net)
Date: Mon Jun 19 2000 - 01:53:02 EST


Hi!

I use a iomega zip 100 with the automounter. It is connected to the
parallel
port and use the ppa driver. I have installed on the disk an ext2
filesystem
instead of a msdos one. The device is /dev/sda1. This works fine with
2.2.16
kernel and with all the 2.4.0-test1-acxx up to ac19. With ac20 and ac21,
it
doesnt mount (even 'by hand').

Here are the messages I got :

Jun 18 23:58:20 f5ibh automount[130]: attempting to mount entry
/amnt/zip
Jun 18 23:58:20 f5ibh automount[209]: lookup(file): looking up zip
Jun 18 23:58:20 f5ibh automount[209]: lookup(file): zip ->
-fstype=ext2^I^I:/dev/zip
Jun 18 23:58:20 f5ibh automount[209]: expanded entry:
-fstype=ext2^I^I:/dev/zip
Jun 18 23:58:20 f5ibh automount[209]: parse(sun): gathered options:
fstype=ext2
Jun 18 23:58:20 f5ibh automount[209]: parse(sun): core of entry:
/dev/zip
Jun 18 23:58:20 f5ibh automount[209]: do_mount /dev/zip /amnt/zip type
ext2
options (null) using module ext2
Jun 18 23:58:20 f5ibh automount[209]: mount(ext2): calling mkdir
/amnt/zip
Jun 18 23:58:20 f5ibh automount[209]: mount(ext2): calling fsck.ext2 -p
/dev/zipJun 18 23:58:20 f5ibh modprobe: modprobe: Can't locate module
block-major-8
Jun 18 23:58:20 f5ibh automount[209]: >> /sbin/fsck.ext2: Operation not
supported by device while trying to open /dev/zip^M
Jun 18 23:58:20 f5ibh automount[209]: >> /dev/zip:
Jun 18 23:58:20 f5ibh automount[209]: >> The superblock could not be
read or
does not describe a correct ext2
Jun 18 23:58:20 f5ibh automount[209]: >> filesystem. If the device is
valid
and it really contains an ext2
Jun 18 23:58:20 f5ibh automount[209]: >> filesystem (and not swap or ufs
or
something else), then the superblock
Jun 18 23:58:20 f5ibh automount[209]: >> is corrupt, and you might try
running
e2fsck with an alternate superblock:
Jun 18 23:58:20 f5ibh automount[209]: >> e2fsck -b 8193 <device>
Jun 18 23:58:20 f5ibh automount[209]: mount(ext2): /dev/zip: filesystem
needs
repair, won't mount

The filesystem is clean (tested with 2.2.16), the only message that
seems
relevant is : modprobe: Can't locate module block-major-8.

I've the following lines in my /etc/modules.conf :

# Parallel port
#--------------
post-install parport modprobe -k parport_pc
options parport_pc io=0x378 irq=7
alias parport_lowlevel parport_pc

# ZIP drive (ppa)
#----------------
post-install scsi_mod modprobe -k ppa

The device is :
brw-rw---- 1 root disk 8, 1 mai 10 1999 /dev/sda1

Is this a bug of ac20/ac21 or is there something specific for
block-major-8 ?

---
Regards

Jean-Luc

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



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:16 EST