[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel 2.2.9 and Iomege Zip drive



Hello,

I just have tried what you suggested below but without success. The
ppa module is not automatically loaded when I issue the mount
command. At the end, of this message you will find a log of the
command I have issued.

Can you tell me what I have forgotten?

Thank you for your work on Debian,

Chris


Wichert Akkerman <wichert@cs.leidenuniv.nl> writes:

> [1  <text/plain; us-ascii (quoted-printable)>]
> Previously Jeff Licquia wrote:
> > In a file in /etc/modutils:
> > alias parport_lowlevel parport_pc
> 
> That is already done in /etc/modutils/arch/i386, so that should not
> really be necessary (this was done in modutils 2.1.121-9).
> 
> You might also need to have a line like the following:
> 
> alias block-major-3-64 ppa
> 
> Which says that the block device /dev/hdb is handled using the ppa
> driver. You can get the correct numbers by doing "file <device>".
> For example:
> 
> [lightning:~]-21> file /dev/hdb
> /dev/hdb: block special (3/64)
> 
> > Then 'update-modules'.
> 
> That still holds.
> 
> Wichert.
> 
> -- 
> ==============================================================================
> This combination of bytes forms a message written to you by Wichert Akkerman.
> E-Mail: wichert@cs.leidenuniv.nl
> WWW: http://www.wi.leidenuniv.nl/~wichert/
> [2  <application/pgp-signature (7bit)>]
> 

-- 
Looking for a cutting edge           | Christophe Broult                
software validation technology?      | <mailto:broult@info.unicaen.fr>
Check http://www.info.unicaen.fr/lpv | ``Smile, chuckle, giggle''
chicago:~# cat /etc/modutils/aliases
alias block-major-7 loop

# Uncomment the network protocols you don't want loaded:
# alias net-pf-2 off		#	IPv4
alias net-pf-3 off
alias net-pf-4 off			# IPX
alias net-pf-5 off			# DDP / appletalk
alias net-pf-10 off			# IPv6
# Other aliases:
alias net-pf-17 af_packet	# packet mode (tcpdump, etc.)

alias netalias-2 ip_alias
alias char-major-4 serial
alias char-major-10-130 softdog
alias iso9660 isofs
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias binfmt-0064 binfmt_aout
alias binfmt--310 binfmt_java

# If you use the IDE tape driver as a module, uncomment the next two lines:
# alias block-major-3 ide-probe
# alias char-major-37 ide-tape

#alias block-major-8 aic7xxx
alias scsi_hostadapter aic7xxx
alias parport_lowlevel parport_pc
options parport_pc io=0x378,0x278 irq=none,7
alias block-major-8-16 ppa
alias block-major-8-17 ppa

alias sound sb
options sound		dmabuf=1
post-install sb /sbin/modprobe "-k" "adlib_card"
options sb io=0x220 irq=6 dma=1 dma16=5 mpu_io=0x330
options adlib_card io=0x388     # FM synthesizer
options softdog soft_margin=240

#alias <whatever you don't have that kerneld complains about> off 

chicago:~# update-modules 
chicago:~# lsmod
Module                  Size  Used by
softdog                  988   1  (autoclean)
sr_mod                 17852   0  (autoclean) (unused)
cdrom                  13272   0  (autoclean) [sr_mod]
isofs                  17400   0  (autoclean) (unused)
serial                 18356   1  (autoclean)
parport                 7092   0 
sg                     13740   0  (unused)
nls_cp850               2780   0  (unused)
nls_cp437               3548   0  (unused)
nfs                    29880   1 
lockd                  30856   1  [nfs]
sunrpc                 52516   1  [nfs lockd]
binfmt_aout             3692   0 
unix                   10076 141  (autoclean)
chicago:~# cat /etc/fstab 
# /etc/fstab: static file system information.
#
# <file system>	<mount point>	<type>	<options>		<dump>	<pass>
/dev/sda4	/		ext2	defaults,errors=remount-ro   0      1
/dev/sda3               none            swap    sw          0       0
proc                /proc           proc    defaults    0       0
devpts /dev/pts devpts gid=5,mode=620 0 0
/dev/sda2 /home ext2 defaults 0 2
/dev/sda1 /mnt/extra ext2 defaults 0 2
/dev/scd0 /cdrom iso9660 defaults 0 0
/dev/sdb4 /mnt/zip-vfat vfat defaults,user,uid=1000,noauto 0 0
/dev/sdb1 /mnt/zip-ext2 ext2 defaults,user,noauto 0 0
/dev/fd0 /mnt/floppy vfat defaults,user,noauto 0 0
chicago:~# mount /mnt/zip-ext2/
mount: /dev/sdb1 is not a valid block device
chicago:~# modprobe block-major-8-17
chicago:~# mount /mnt/zip-ext2/
chicago:~# lsmod
Module                  Size  Used by
parport_probe           3012   0  (autoclean)
parport_pc              5564   1  (autoclean)
ppa                     9360   1 
softdog                  988   1  (autoclean)
sr_mod                 17852   0  (autoclean) (unused)
cdrom                  13272   0  (autoclean) [sr_mod]
isofs                  17400   0  (autoclean) (unused)
serial                 18356   1  (autoclean)
parport                 7092   1  [parport_probe parport_pc ppa]
sg                     13740   0  (unused)
nls_cp850               2780   0  (unused)
nls_cp437               3548   0  (unused)
nfs                    29880   1 
lockd                  30856   1  [nfs]
sunrpc                 52516   1  [nfs lockd]
binfmt_aout             3692   0 
unix                   10076 141  (autoclean)
chicago:~# dpkg --status modutils
Package: modutils
Status: install ok installed
Priority: required
Section: base
Installed-Size: 300
Maintainer: Wichert Akkerman <wakkerma@debian.org>
Version: 2.1.121-23
Replaces: modules, manpages (<= 1.15-3)
Provides: modules
Depends: libc6 (>= 2.1), sysvinit (>= 2.71-2)
Conffiles:
 /etc/cron.d/modutils d88d70460de4afbe9f3c935935164f88
 /etc/init.d/modutils c0cf9ef92fbd80d375d55e86f171a0ee
 /etc/init.d/kerneld d1edf7bf0f11940109629f7bffbf4be6
 /etc/modules e8c7eeaee8243ed60eb4ed7d85bbac0d
 /etc/modutils/aliases 7c29f0c358ba72b1db17027ef527465f
 /etc/modutils/paths 6e28b9648e1f42ff66a5b9c632878235
 /etc/modutils/arch/i386 a06fe12e20ddc763c9570267b41b0e10
 /etc/modutils/arch/m68k.generic 2c847312df7201d7004943482a0d1b4a
 /etc/modutils/arch/m68k.amiga f07da2ebf00c6ed6649bae5501b84c4f
 /etc/modutils/arch/m68k.atari d1fa057be093e88fc811414d32763d29
 /etc/modutils/arch/m68k.mac b96b83b867551b23d221c4d67952d2f7
Description: Linux module utilities.
 These utilities are intended to make a Linux modular kernel
 manageable for all users, administrators and distribution
 maintainers.

chicago:~# 

Reply to: