Re: [SOLVED] auto module loading with udev ?

2010-12-23 Thread briand
On Wed, 22 Dec 2010 22:01:07 -0800
bri...@aracnet.com wrote:

This will give you the /dev/pilot symlink which is very handy.  I
already had this, in fact it may eve be in the /lib/udev/rules.d/

SUBSYSTEMS==usb, KERNEL==ttyUSB*, \
ATTRS{product}==Palm Handheld*|Handspring Visor|palmOne Handheld,
\ SYMLINK+=pilot


The following provides, and removes, the module automagically.
The key is to match the add udev action (?):


SUBSYSTEMS==usb, ACTION==add, \
ATTRS{product}==Palm Handheld*|Handspring Visor|palmOne Handheld,
\ RUN+=/sbin/modprobe visor
SUBSYSTEMS==usb, ACTION==remove, \
ATTRS{product}==Palm Handheld*|Handspring Visor|palmOne Handheld,
\ RUN+=/sbin/modprobe -r visor



Got all that useful info courtesy of the following web-page, and I used
it verbatim.

http://math.umh.ac.be/an/D830/

Bonus! the page talks about using Debian :-)

All of this would be a whole lot easier if there was some sort of trace
that tells you what udev is doing, verbosely.  udevadm monitor isn't
that useful.

 Brian


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101223141955.1a0f2...@windy.deldotd.com



auto module loading with udev ?

2010-12-22 Thread briand
Hi,

Palm TX support is busted in that the visor module is never loaded
automagically, and it takes more googling than you would think to
find out that you need the visor module.

so I'd like to set up udev to do the right thing, which I have done for
other devices.  However I have not had to load modules as part of the
set-up.

Looks as though I need to maybe brute force it with PROGRAM to do a
modprobe ?  That seems way to klunky for a problem that had to be
solved at the time udev was invented.

The other possibilty is using RUN, which what the rules in /lib/udev
seem to do.

suggestions ?

Thanks,

Brian


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2010120107.2b8d6...@windy.deldotd.com



problem with module loading in etch

2009-03-27 Thread Long Wind
I have a bttv card
etch loads driver for it during booting
but etch does not use correct options
so I have to use commands below:

rmmod bttv
modprobe bttv card=8

I add bttv card=8 to /etc/modules
but it does not help.

My question is how to help etch use correct options so that I needn't
enter the 2 commands every time I boot etch.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



problem with module loading in etch

2009-03-27 Thread Long Wind
I have a bttv card
etch loads driver for it during booting
but etch does not use correct options
so I have to use commands below:

rmmod bttv
modprobe bttv card=8

I add bttv card=8 to /etc/modules
but it does not help.

My question is how to help etch use correct options so that I needn't
enter the 2 commands every time I boot etch.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: problem with module loading in etch

2009-03-27 Thread Alex Samad
On Fri, Mar 27, 2009 at 04:25:40PM -0400, Long Wind wrote:
 I have a bttv card
 etch loads driver for it during booting
 but etch does not use correct options
 so I have to use commands below:
 
 rmmod bttv
 modprobe bttv card=8
 
 I add bttv card=8 to /etc/modules
 but it does not help.
 
 My question is how to help etch use correct options so that I needn't
 enter the 2 commands every time I boot etch.


I would put something into /etc/modprobe.d/bttv like
options bttv card=8

then do a update-initramfs

 
 

-- 
It's unacceptable to think that there's any kind of comparison between the 
behavior of the United States of America and the action of Islamic extremists 
who kill innocent women and children to achieve an objective.

- George W. Bush
09/15/2006
Washington, DC
White House Press Conference


signature.asc
Description: Digital signature


Re: problem with module loading in etch

2009-03-27 Thread Andrei Popescu
On Fri,27.Mar.09, 05:42:32, Long Wind wrote:
 I have a bttv card
 etch loads driver for it during booting
 but etch does not use correct options
 so I have to use commands below:
 
 rmmod bttv
 modprobe bttv card=8
 
 I add bttv card=8 to /etc/modules
 but it does not help.
 
 My question is how to help etch use correct options so that I needn't
 enter the 2 commands every time I boot etch.

Create a file (for example 00local.conf) in /etc/modprobe.d/ and put

options bttv card=8

in it.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: problem with module loading in etch

2009-03-27 Thread Long Wind
Thanks!
I'll try your solutions later on.

On Fri, Mar 27, 2009 at 4:53 PM, Alex Samad a...@samad.com.au wrote:
 On Fri, Mar 27, 2009 at 04:25:40PM -0400, Long Wind wrote:
 I have a bttv card
 etch loads driver for it during booting
 but etch does not use correct options
 so I have to use commands below:

 rmmod bttv
 modprobe bttv card=8

 I add bttv card=8 to /etc/modules
 but it does not help.

 My question is how to help etch use correct options so that I needn't
 enter the 2 commands every time I boot etch.


 I would put something into /etc/modprobe.d/bttv like
 options bttv card=8

 then do a update-initramfs




 --
 It's unacceptable to think that there's any kind of comparison between the 
 behavior of the United States of America and the action of Islamic extremists 
 who kill innocent women and children to achieve an objective.

- George W. Bush
 09/15/2006
 Washington, DC
 White House Press Conference

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)

 iEYEARECAAYFAknNPMAACgkQkZz88chpJ2ODiwCfYqCey05AEVj+vrcNDDC5LlfV
 evYAoLuyfJOJ8jXwly054sD8g0lgOzdZ
 =tPyr
 -END PGP SIGNATURE-




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Module loading at boot (was re: setting up an encrypted filesystem..)

2006-04-27 Thread Digby Tarvin
On Thu, Apr 27, 2006 at 08:02:48AM -0400, Roberto C. Sanchez wrote:
 Digby Tarvin wrote:
 ...
 
 But I have no idea why the '.load' suffixes - and it would appear
 that the system doesn't know either, because all it does is produce
 a series of 'FATAL' messages on the console during boot...
 
 Does anyone know of a reason for this? Or is this something that should
 go into a bug report to the install people?
 
 
 Check the current bug reports against the installer (I think it is a 
 pseudo-package).  If it is not already reported, consider filing a 
 detailed bug report.  What they likely want to know is:
 
 - How exactly you installed (e.g., what options you chose, etc)
 - What config changes you made after install
 - What version of the d-i (e.g., release number or dailiy build)
 - Exact error messages you receive on boot

I did submit an installation report which described all the things
which didn't work during or immediately after the install.

But that was before I had worried about any of the benign problems
that don't seem to do any harm, but are redundent or innefective.

I'll send in another report. There are a couple of other ugly
error message during boot which it would be nice to get cleaned
up, like a bunch of:
skipping already loaded module 
messages, and other things which flash by to fast to see.

Does anyone know if there is a way to capture all of the console
messages that are displayed during boot?

Dmesg is only a subset, and I can't see anything else in /var/log.
I don't really want to compile a kernel with a serial console
because then it would no longer be the unmodified results of
the install that I would be looking at. And more importantly,
the only serial port that I have is a USB serial adapter, and
I am not sure that a serial console could use that

Regards,
DigbyT
-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Module loading at boot (was re: setting up an encrypted filesystem..)

2006-04-27 Thread Mumia W

Digby Tarvin wrote:

[...]
Does anyone know if there is a way to capture all of the console
messages that are displayed during boot?
[...]


Enable boot logging in /etc/default/bootlogd




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Module loading at boot (was re: setting up an encrypted filesystem..)

2006-04-27 Thread Digby Tarvin
On Thu, Apr 27, 2006 at 09:24:52PM -0500, Mumia W wrote:
 Digby Tarvin wrote:
 [...]
 Does anyone know if there is a way to capture all of the console
 messages that are displayed during boot?
 [...]
 
 Enable boot logging in /etc/default/bootlogd

That seems to do the trick - thanks.

Regards,
DigbyT
-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Question about module loading from floppy

2005-12-23 Thread Marc Demlenne
Hello,

I have to start a machine with rescue CD because lilo is broken. (I
probably just have to run /sbin/lilo as root to correct this) The
problem is that booting with rescue root=/dev/sda1 won't work because
my drive is a RAID-5 and I need to load an extra-module to make it
work.

I have this module on floppy, however. How can I tell Debian to load
the module from /dev/fd0 before trying to mount root FS ?

Thanks for any help !

--
Marc



Re: Question about module loading from floppy

2005-12-23 Thread hendrik
On Fri, Dec 23, 2005 at 12:08:30PM +0100, Marc Demlenne wrote:
 Your Debian CD 1, for instance, is a rescue CD as well... Juste take a
 look at the help, and try with rescue as boot image.

That was the case with woody.  But I hadn't found it to be true with
the sarge netinstall -- perhaps I just have too old a copy of sarge?
I'll try download a new one.

-- hendrik

 
 On 23/12/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  On Fri, Dec 23, 2005 at 01:02:50AM +0100, Marc Demlenne wrote:
   Hello,
  
   I have to start a machine with rescue CD because lilo is broken. (I
   probably just have to run /sbin/lilo as root to correct this) The
   problem is that booting with rescue root=/dev/sda1 won't work because
   my drive is a RAID-5 and I need to load an extra-module to make it
   work.
 
  In the last few days I've heard about the so-called rescue CD.
  Where do I get one?  My installation disks don't seem to have one.
  Have I got the wrong version or  something?
 
  -- hendrik
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Question about module loading from floppy

2005-12-23 Thread Richard Lyons
On Friday, 23 December 2005 at 14:13:19 +0100, Marc Demlenne wrote:
 Hello,
 
 I have to start a machine with rescue CD because lilo is broken. (I
 probably just have to run /sbin/lilo as root to correct this) The
 problem is that booting with rescue root=/dev/sda1 won't work because
 my drive is a RAID-5 and I need to load an extra-module to make it
 work.
 
 I have this module on floppy, however. How can I tell Debian to load
 the module from /dev/fd0 before trying to mount root FS ?

IMHO nobody should be without a live CD such as Knoppix or Mepis or DSL
or... See http://www.frozentech.com/content/livecd.php for a more
complete list.

Download one and boot from that.  Then mount the partition on which your
root filesystem is located and copy what you need, do any
necessary configuration (chroot into the mount if necessary).

-- 
richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Question about module loading from floppy

2005-12-22 Thread Marc Demlenne
Hello,

I have to start a machine with rescue CD because lilo is broken. (I
probably just have to run /sbin/lilo as root to correct this) The
problem is that booting with rescue root=/dev/sda1 won't work because
my drive is a RAID-5 and I need to load an extra-module to make it
work.

I have this module on floppy, however. How can I tell Debian to load
the module from /dev/fd0 before trying to mount root FS ?

Thanks for any help !

--
Marc



Re: Question about module loading from floppy

2005-12-22 Thread hendrik
On Fri, Dec 23, 2005 at 01:02:50AM +0100, Marc Demlenne wrote:
 Hello,
 
 I have to start a machine with rescue CD because lilo is broken. (I
 probably just have to run /sbin/lilo as root to correct this) The
 problem is that booting with rescue root=/dev/sda1 won't work because
 my drive is a RAID-5 and I need to load an extra-module to make it
 work.

In the last few days I've heard about the so-called rescue CD.
Where do I get one?  My installation disks don't seem to have one.
Have I got the wrong version or  something?

-- hendrik


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



How to disable module loading during bootup

2005-01-01 Thread Han Lin
Hi guys,

I'm new to Debian, I've just installed Debian using sarge
debian-installer rc2 cd and upgrade to Sid.

I need to disable my TV Tuner card (bttv) during bootup but don't know
how to, I've already tried from /etc/modutils/actions by putting # in
front of the post-install and post-remove :

# Special actions that are needed for some modules

# The BTTV module does not load the tuner module automatically,
# so do that in here
#post-install bttv insmod tuner
#post-remove bttv rmmod tuner

and /etc/discover.conf and put skip bttv but it doesn't work, the bttv
modules keep loading during bootup.

Please advise.

Regards,
Han Lin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How to disable module loading during bootup

2005-01-01 Thread Andreas Janssen
Hello

Han Lin ([EMAIL PROTECTED]) wrote:

 I'm new to Debian, I've just installed Debian using sarge
 debian-installer rc2 cd and upgrade to Sid.
 
 I need to disable my TV Tuner card (bttv) during bootup but don't know
 how to, I've already tried from /etc/modutils/actions by putting # in
 front of the post-install and post-remove :

If you use kernel 2.6, you need to make the changes in /etc/modprobe.d/.
Try something like this:

alias bttv off

 # Special actions that are needed for some modules
 
 # The BTTV module does not load the tuner module automatically,
 # so do that in here
 #post-install bttv insmod tuner
 #post-remove bttv rmmod tuner

This only prevents the commands from being run when bttv is loaded, it
does not prevent bttv from being loaded itself.

 and /etc/discover.conf and put skip bttv but it doesn't work, the bttv
 modules keep loading during bootup.

Also tell hotplug to load it (etc/hotplug/blacklist.d/).

best regards
 Andreas Janssen

-- 
Andreas Janssen [EMAIL PROTECTED]
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How to disable module loading during bootup

2005-01-01 Thread Han Lin
Hi Andreas,

Thanks for the hints. Now no more bttv modules appeared in my screen but
I still can see the bttv: modules loaded successfully, it's funny but
nevermind, I thought it's caused my soundcard not working but actually
it's not, it's the OSS driver loaded before ALSA driver.

Btw, I also see a lot of pciehp, shpchp thingy with failed or error, any
way to prevent them to load?

Regards,
Han Lin

On Sat, 2005-01-01 at 14:23 +0100, Andreas Janssen wrote:
 Hello
 
 Han Lin ([EMAIL PROTECTED]) wrote:
 
  I'm new to Debian, I've just installed Debian using sarge
  debian-installer rc2 cd and upgrade to Sid.
  
  I need to disable my TV Tuner card (bttv) during bootup but don't know
  how to, I've already tried from /etc/modutils/actions by putting # in
  front of the post-install and post-remove :
 
 If you use kernel 2.6, you need to make the changes in /etc/modprobe.d/.
 Try something like this:
 
 alias bttv off
 
  # Special actions that are needed for some modules
  
  # The BTTV module does not load the tuner module automatically,
  # so do that in here
  #post-install bttv insmod tuner
  #post-remove bttv rmmod tuner
 
 This only prevents the commands from being run when bttv is loaded, it
 does not prevent bttv from being loaded itself.
 
  and /etc/discover.conf and put skip bttv but it doesn't work, the bttv
  modules keep loading during bootup.
 
 Also tell hotplug to load it (etc/hotplug/blacklist.d/).
 
 best regards
  Andreas Janssen
 
 -- 
 Andreas Janssen [EMAIL PROTECTED]
 PGP-Key-ID: 0xDC801674 ICQ #17079270
 Registered Linux User #267976
 http://www.andreas-janssen.de/debian-tipps-sarge.html
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How to disable module loading during bootup

2005-01-01 Thread Andreas Janssen
Hello

Han Lin ([EMAIL PROTECTED]) wrote:

 Thanks for the hints. Now no more bttv modules appeared in my screen
 but I still can see the bttv: modules loaded successfully, it's funny
 but nevermind, I thought it's caused my soundcard not working but
 actually it's not, it's the OSS driver loaded before ALSA driver.

Make sure the latest versions of discover1, hotplug and alsa-base are
installed, that should solve the problem.

 Btw, I also see a lot of pciehp, shpchp thingy with failed or error,
 any way to prevent them to load?

Blacklist the modules in the hotplug configuration.

best regards
 Andreas Janssen

-- 
Andreas Janssen [EMAIL PROTECTED]
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Documentation about module loading in sarge/kernel2.6?

2004-12-05 Thread Iwan van der Kleyn
Hi there,
I just got a new laptop, an Acer Aspire 1522WLMi. After installing Sarge 
(kernel 2.6) with the rc of the debian installer, essentials parts of 
the system work flawlessly and I can get my work done. However, looking 
at /etc/modules, I findthat it's nearly empty. But modules like r8169 
(Realtek nic) are loaded and working fine. Grepping /etc, I can't find 
any traces of aforementioned module.

So conclusion is, I've been a dumb-ass thinking that I know how modules 
work in sarge/kernel 2.6

Anyone care to help me out or at least point me at proper documentation?
Regards,
Iwan
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Documentation about module loading in sarge/kernel2.6?

2004-12-05 Thread Andreas Janssen
Hello

Iwan van der Kleyn ([EMAIL PROTECTED]) wrote:

 I just got a new laptop, an Acer Aspire 1522WLMi. After installing
 Sarge (kernel 2.6) with the rc of the debian installer, essentials
 parts of the system work flawlessly and I can get my work done.
 However, looking at /etc/modules, I findthat it's nearly empty. But
 modules like r8169 (Realtek nic) are loaded and working fine. Grepping
 /etc, I can't find any traces of aforementioned module.

Most modules are loaded by discover1 or hotplug (if you use kernel 2.6).
See the documentation of these packages for more information.

best regards
 Andreas Janssen

-- 
Andreas Janssen [EMAIL PROTECTED]
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: udev, autofs module loading

2004-04-18 Thread Michael Graham
Michael wrote:
 Hi Michael,

Hi Michael :)

 normally if you insert a CD a corresponding pci hotplug event should
 be generated and hotplug should load the right module. Check out the 
 logfiles when inserting a CD.

I've rebuilt my kernel with the pci hotplugging support and loaded the
pci_hotplug, shpchp, and pciehp. But I'm still not seeing any hotplug
events when I insert a cd. I'm going to recompile with all of the pci
hotplugging modules -- ibm, compact, and acpi -- but I'm not optimistic
as I don't have ibm, or compact hardware it's sis.

 On a side note:
 Forget about autofs and install gnome-volume-manager. It does all what
 you want and a lot more. Despite its name it also works flawlessly
 under KDE and every other DE. Just try it. Check project utopia for
 more information about this.

I've had a little look at it but I'm not too impressed. It's doesn't
unmount when things are not in use, meaning I have to unmount them
manually. Also I use autofs to mount NFS shares and g-v-m doesn't does
this. But saying that I do like the way that it mounts things as the
user not as root meaning I can umount manually without becoming root.
Maybe I need to have a look at supermount but I'm not keen on doing that
(yet!)

-- 
OoberMick
Marge, you're as beautiful as Princess Leia and as smart as Yoda. --
Homer Simpson


pgp0.pgp
Description: PGP signature


Re: udev, autofs module loading

2004-04-18 Thread John L Fjellstad
Michael Graham [EMAIL PROTECTED] writes:

 cd /mnt/cdrom

 works as expected and the cdrom is mounted. But if the module hasn't
 been loaded then this fails

 bash: cd: /mnt/cdrom: No such file or directory

 because the device /dev/hdc does not exist yet and neither hotplug nor
 udev creates it.

 Is there away around this without adding the modules to /etc/modules?

From what I've read on the hotplug mailing lists, Linux is going from
'load-module-at-first-use' to 'load-module-at-first-hw-detection'.
Basically, you have to load the modules for your hardware when it is
first inserted (or for built in hardware, like cdrom, at bootup),
because udev won't load the modules when you try to access the nodes
(unlike devfs).

-- 
John L. Fjellstad
web: http://www.fjellstad.org/  Quis custodiet ipsos custodes


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



udev, autofs module loading

2004-04-17 Thread Michael Graham
Does anyone use udev and autofs? If so how did you get it to work?

I have the following in /etc/auto.misc

cdrom-fstype=iso9660,ro,sync,nodev,nosuid :/dev/hdc
udfcdrom -fstype=udf,ro,sync,nodev,nosuid :/dev/hdc
floppy   -fstype=vfat,sync,nodev,nosuid   :/dev/fd0
usbpen   -fstype=vfat,sync,nodev,nosuid   :/dev/sda1

If I load the modules for say my cdrom (ide-cd) then

cd /mnt/cdrom

works as expected and the cdrom is mounted. But if the module hasn't
been loaded then this fails

bash: cd: /mnt/cdrom: No such file or directory

because the device /dev/hdc does not exist yet and neither hotplug nor
udev creates it.

Is there away around this without adding the modules to /etc/modules?

-- 
OoberMick
Don't go around saying the world owes you a living. The world owes you
nothing. It was here first. -- Mark Twain


pgp0.pgp
Description: PGP signature


Re: udev, autofs module loading

2004-04-17 Thread Michael Biebl
Michael Graham wrote:
Does anyone use udev and autofs? If so how did you get it to work?

I have the following in /etc/auto.misc

cdrom-fstype=iso9660,ro,sync,nodev,nosuid :/dev/hdc
udfcdrom -fstype=udf,ro,sync,nodev,nosuid :/dev/hdc
floppy   -fstype=vfat,sync,nodev,nosuid   :/dev/fd0
usbpen   -fstype=vfat,sync,nodev,nosuid   :/dev/sda1
If I load the modules for say my cdrom (ide-cd) then

cd /mnt/cdrom

works as expected and the cdrom is mounted. But if the module hasn't
been loaded then this fails
bash: cd: /mnt/cdrom: No such file or directory

because the device /dev/hdc does not exist yet and neither hotplug nor
udev creates it.
Is there away around this without adding the modules to /etc/modules?

Hi Michael,

normally if you insert a CD a corresponding pci hotplug event should be 
generated and hotplug should load the right module. Check out the 
logfiles when inserting a CD.
On a side note:
Forget about autofs and install gnome-volume-manager. It does all what 
you want and a lot more. Despite its name it also works flawlessly under 
KDE and every other DE. Just try it. Check project utopia for more 
information about this.

Cheers,
Michael
--

E-Mail: [EMAIL PROTECTED]
WWW: http://www.teco.edu/
TecO (Telecooperation Office) Vincenz-Priessnitz-Str.1
University of Karlsruhe 76131 Karlsruhe, Germany

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Module loading problem

2004-04-05 Thread Andreas Semt
Hello list,

I use Debian woody and try to get a module working ... without success :-(
I've compiled DRBD (does RAID-1 over IP network) and this gone fine 
and smoothly. The module drbd.o was installed, however I can't use 
modprobe drbd but insmod drbd works, output:
Using /lib/modules/block/drbd.o (I have copied the module to this 
place, because I watched insmod's behaviour with strace. Before that 
insmod did not found the module, too).
I've created a file drbd in /etc/modutils, then update-modules and 
then again modprobe drbd. Result: modprobe hangs and did never return ...
Can anybody help how to say modprobe to load the module properly?

Thanks a lot!

--
Best regards,
Andreas Semt
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Module loading problem

2004-04-05 Thread Roberto Sanchez
Andreas Semt wrote:
Hello list,

I use Debian woody and try to get a module working ... without success :-(
I've compiled DRBD (does RAID-1 over IP network) and this gone fine 
and smoothly. The module drbd.o was installed, however I can't use 
modprobe drbd but insmod drbd works, output:
Using /lib/modules/block/drbd.o (I have copied the module to this 
place, because I watched insmod's behaviour with strace. Before that 
insmod did not found the module, too).
I've created a file drbd in /etc/modutils, then update-modules and 
then again modprobe drbd. Result: modprobe hangs and did never return ...
Can anybody help how to say modprobe to load the module properly?

Thanks a lot!

Did you run `depmod -a` after copying it to /lib/modules ?

-Roberto


signature.asc
Description: OpenPGP digital signature


Module loading

2004-01-24 Thread Rajesh Menon
Hi, how do we load modules at boot-time on debian? when i look at 
modules.conf, it says that I shouldnt edit it, and to use modconf and 
look at update-modules.
also there are some files in /etc/modutils and is this where I should 
add the module specific lines? I'm trying to have 'snd-intel8x0' up 
after boot, and right now I modprobe snd-intel8x0. how can i get this 
done while the other modules are brought up? There is an alsa file in 
/etc/modutils which has a line alias snd-card-0 snd-intel8x0.

thanks.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Module loading

2004-01-24 Thread Roberto Sanchez
Rajesh Menon wrote:
Hi, how do we load modules at boot-time on debian? when i look at 
modules.conf, it says that I shouldnt edit it, and to use modconf and 
look at update-modules.
also there are some files in /etc/modutils and is this where I should 
add the module specific lines? I'm trying to have 'snd-intel8x0' up 
after boot, and right now I modprobe snd-intel8x0. how can i get this 
done while the other modules are brought up? There is an alsa file in 
/etc/modutils which has a line alias snd-card-0 snd-intel8x0.

thanks.


echo snd-intel8x0  /etc/modules

-Roberto


signature.asc
Description: OpenPGP digital signature


Re: Module loading

2004-01-24 Thread matt zagrabelny
On Sat, 2004-01-24 at 17:24, Rajesh Menon wrote:
 Hi, how do we load modules at boot-time on debian? when i look at 
 modules.conf, it says that I shouldnt edit it, and to use modconf and 
 look at update-modules.
 also there are some files in /etc/modutils and is this where I should 
 add the module specific lines? I'm trying to have 'snd-intel8x0' up 
 after boot, and right now I modprobe snd-intel8x0. how can i get this 
 done while the other modules are brought up? There is an alsa file in 
 /etc/modutils which has a line alias snd-card-0 snd-intel8x0.

the way i did it was by installing the following packages

alsa-base
alsa-utils

(i am not sure which one did the job). during configuration of the
package it asks me what my sound card is, (and then presumably sets up
the correct module(s) in /etc/modutils)

anyhow it seems very clean and straight-forward. i recommend it. :)

-matt zagrabelny





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Module loading problem with 2.6.0 kernel

2003-12-30 Thread Stefan Bellon
Hi!

I've installed a 2.6.0 kernel image on my notebook which runs Debian
GNU/Linux unstable. I configured the kernel in a very modular way, i.e.
everything not necessary for booting is built as a module and not
statically compiled into the kernel.

I have installed the new modules-init-tools as well and I have added
aliases to the /etc/modprobe.d/ directory and run update-modules
afterwards, so that /etc/modprobe.conf reflects my setup (I think).

Now, quite some modules get automatically loaded, but some don't. E.g.
the sound modules got automatically loaded with the 2.4 kernel when I
loaded xmms or xine. With the 2.6 kernel it doesn't. However, if I do

# modprobe sound-slot-0

then it works as well. So, this proves that the alias is correctly set
up. The same applies to the ethernet card module: If I load it by hand,
it works, but it doesn't get automatically loaded though the alias to
eth0 is correctly set up.

What am I missing?

TIA.

-- 
Stefan Bellon


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



module loading errors

2003-12-06 Thread Joris Huizer
Hello,

I recently compiled my own 2.4.18 kernel and all goes well; However, I 
get module errors because some modules were not compiled (instead 
functionality was compiled in the kernel)

Which log file do I have to check for the module names which can't load?

Thanks,

Joris

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: module loading errors

2003-12-06 Thread Micha Feigin
On Sat, Dec 06, 2003 at 05:49:38PM +0100, Joris Huizer wrote:
 Hello,
 
 I recently compiled my own 2.4.18 kernel and all goes well; However, I 
 get module errors because some modules were not compiled (instead 
 functionality was compiled in the kernel)
 
 Which log file do I have to check for the module names which can't load?
 

You should probably see the output in /var/log/syslog and/or
/var/log/messages.
See if the modules appear in /etc/modules, thats where modules you want
to start on startup appear.

 Thanks,
 
 Joris
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact 
 [EMAIL PROTECTED]
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Kernel versions and module loading

2002-09-04 Thread Eric Richardson

Hi,

I have a woody laptop and upgraded the kernel to 2.4.18. The new kernel 
uses the yenta_socket and tulip for the ethernet card whereas with the 
2.2.x kernel used the tulip_cb driver.

Now if I try to boot the old kernel the network stuff won't work right. 
Here is what I found. The following kernel related things all have 
version numbers:
/boot/vmlinuz-version
/boot/System.map-version
/boot/initrd.img-version  I gather for pre file system mounted module 
loading e.g. ext3
/lib/modules/version

It seems to me that there should be seperate /etc/modules-version 
files as well as that seems to be the only thing stopping seemless 
booting from version to version. At least at first blush.

The /etc/init.d/modutils script is what loads the modules and prints the 
  'Calculating module dependencies' line in the boot sequence. It calls 
depmod -a which creates the /lib/modules/version/modules.dep file 
AFAIK so it understands the kernel version. Later in the script it loops 
through the entries in /etc/modules and calls modprobe.

Couldn't this script use uname -r and then load /etc/modules-version 
where version comes from the uname -r output?

This I think would make everything work better you could have different 
kernel versions and custom versions etc. work together better. Comments 
and suggestions welcome.

Eric


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Module Loading at Boot

2001-01-08 Thread Sean Rhea
All,

I have a new Sony Vaio Z505LS, which I have gotten Debian installed on.
Everything works, except one thing: when I boot, the system loads the sound
card modules before the Ethernet card modules, and the sound card steals
the Ethernet's IRQ.  This does not happen if I load the Ethernet card
first.  I can easily frankenstein into the init scripts the functionality
that the Ethernet card gets loaded first, but I would rather know the
Debian way of doing this correctly.  I'm guessing it has something to do
with the /etc/modules.conf setup?  

Btw, if anyone is interested in how I got Debian installed on this laptop,
I'd be happy to write it up.  The USB floppy drive makes for an interesting
install, given that Debian likes a Rescue and a Root floppy, and the kernel
on the Rescue floppy doesn't speak USB...

Sean
-- 
 If at first the idea is not absurd, then there is no hope for it.
-- Albert Einstein

Sean C. Rhea   |   Please do not accept any email from me
[EMAIL PROTECTED]  |   which is not digitally signed.  Also,
http://www.srhea.net   |   please sign any email you send to me.


pgpm1jeya3Obw.pgp
Description: PGP signature


Re: Module Loading at Boot

2001-01-08 Thread Philipp Schulte
On Mon, Jan 08, 2001 at 10:39:25AM -0800, Sean Rhea wrote: 

 I have a new Sony Vaio Z505LS, which I have gotten Debian installed on.
 Everything works, except one thing: when I boot, the system loads the sound
 card modules before the Ethernet card modules, and the sound card steals
 the Ethernet's IRQ.  This does not happen if I load the Ethernet card
 first.  I can easily frankenstein into the init scripts the functionality
 that the Ethernet card gets loaded first, but I would rather know the
 Debian way of doing this correctly.  I'm guessing it has something to do
 with the /etc/modules.conf setup?  

You can define modules, which should be loaded at boot time in
/etc/modules
On my system the modules named there are loaded in the specified
order.

 Btw, if anyone is interested in how I got Debian installed on this laptop,
 I'd be happy to write it up.  The USB floppy drive makes for an interesting
 install, given that Debian likes a Rescue and a Root floppy, and the kernel
 on the Rescue floppy doesn't speak USB...

Then write a report for
http://www.cs.utexas.edu/users/kharker/linux-laptop/
Phil



8139too.o module loading problem

2000-12-18 Thread M. V. Nguyen
Hi,

I get the following error message when trying to load the 8139too.o module.

/lib/modules/2.4.0-test12/kernel/drivers/net/8139too.o: symbol for parameter
debug not found
/lib/modules/2.4.0-test12/kernel/drivers/net/8139too.o: insmod
/lib/modules/2.4.0-test12/kernel/drivers/net/8139too.o failed
/lib/modules/2.4.0-test12/kernel/drivers/net/8139too.o: insmod 8139too
failed

I'm using woody, generic pentium2 based machine. I compiled the kernel the
debian way cos I'm lazy. I did an upgrade on all the debs before i compiled
this
kernel. The network card is fine because I can still use it in mswindows.

I don't know what the error mean or how to fix the problem. Can someone help
me?

M.



Re: 8139too.o module loading problem

2000-12-18 Thread mikpolniak

On Tue, 19 Dec 2000 02:05:08 +1100, M. V. Nguyen said:

 Hi,
  
  I get the following error message when trying to load the 8139too.o module.
  
  /lib/modules/2.4.0-test12/kernel/drivers/net/8139too.o: symbol for parameter
  debug not found
  /lib/modules/2.4.0-test12/kernel/drivers/net/8139too.o: insmod
  /lib/modules/2.4.0-test12/kernel/drivers/net/8139too.o failed
  /lib/modules/2.4.0-test12/kernel/drivers/net/8139too.o: insmod 8139too
  failed
  
  I'm using woody, generic pentium2 based machine. I compiled the kernel the
  debian way cos I'm lazy. I did an upgrade on all the debs before i compiled
  this
  kernel. The network card is fine because I can still use it in mswindows.
  
  I don't know what the error mean or how to fix the problem. Can someone help
  me?
  
I am using 2.2.18pre21 and was unable to to load 8139too as
a module even though it was installed. So i compiled it directly
into the kernel and it has been working fine since then.

 



Re: module loading problems

2000-05-22 Thread David Wright
Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]):
 
 He downloaded kernel version 2.2.9.
 
 It was my first time installing a kernel 
 and we read from various sources before he
 became impatient. We then did the following:
 
 tar xzf /usr/src/kernel...tar.gz
 .
 .
 .
 make menuconfig
 make-kpkg clean 
 make-kpkg --revision=custom.1.0 kernel_image
 dpkg -i ../kernel-image..deb
 
 With the new kernel installed we get the following
 messages:
 .
 .
 .
 calculating module dependencies ...done 
 loading modules: cdrom can't locate module cdrom
 snbfs can't locate module snbfs
 nfs can't locate module nfs
 ip_alias can't locate module ip_alias
 rarp can't locate module rarp
 cyclades can't locate module cyclades
 serial can't locate module serial
 3c509 can't locate module 3c509
 ppp /lib/modules/2.2.9/net/slhc.o unresolved symbol kmalloc_R93d4cfe6
 /lib/modules/2.2.9/net/slhc.o unresolved symbol print_Rdd172261
 /lib/modules/2.2.9/net/slhc.o unresolved symbol kfree_R037a0cba
 slhc:No such file or directory

The usual reason is that you need to edit /etc/modules.
When you installed, you probably loaded some modules at
the appropriate stage, and this writes these module names into
/etc/modules.

Now you've installed a new kernel, and it has different things
built in and different things compiled as modules. But when you
boot up, the init.d scripts will try to modprobe or insmod all
the modules listed in /etc/modules. Some may now be built in,
some you may not have built, etc.

 It a little irrating booting and rebooting just so as to be
 able to read boot messages.

Just press Shift-PageUp/PageDown (and don't switch VCs) to read
the boot up stuff.

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.



RE: module loading problems

2000-05-22 Thread Dominic Blythe
if everything necessary was compiled in, 
could you just delete everything from /etc/modules?

 -Original Message-
 From: David Wright [mailto:[EMAIL PROTECTED]
 Sent: 22 May 2000 16:35
 To: [EMAIL PROTECTED]
 Cc: debian-user@lists.debian.org
 Subject: Re: module loading problems
 
 
 Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]):
  
  He downloaded kernel version 2.2.9.
  
  It was my first time installing a kernel 
  and we read from various sources before he
  became impatient. We then did the following:
  
  tar xzf /usr/src/kernel...tar.gz
  .
  .
  .
  make menuconfig
  make-kpkg clean 
  make-kpkg --revision=custom.1.0 kernel_image
  dpkg -i ../kernel-image..deb
  
  With the new kernel installed we get the following
  messages:
  .
  .
  .
  calculating module dependencies ...done 
  loading modules: cdrom can't locate module cdrom
  snbfs can't locate module snbfs
  nfs can't locate module nfs
  ip_alias can't locate module ip_alias
  rarp can't locate module rarp
  cyclades can't locate module cyclades
  serial can't locate module serial
  3c509 can't locate module 3c509
  ppp /lib/modules/2.2.9/net/slhc.o unresolved symbol 
 kmalloc_R93d4cfe6
  /lib/modules/2.2.9/net/slhc.o unresolved symbol print_Rdd172261
  /lib/modules/2.2.9/net/slhc.o unresolved symbol kfree_R037a0cba
  slhc:No such file or directory
 
 The usual reason is that you need to edit /etc/modules.
 When you installed, you probably loaded some modules at
 the appropriate stage, and this writes these module names into
 /etc/modules.
 
 Now you've installed a new kernel, and it has different things
 built in and different things compiled as modules. But when you
 boot up, the init.d scripts will try to modprobe or insmod all
 the modules listed in /etc/modules. Some may now be built in,
 some you may not have built, etc.
 
  It a little irrating booting and rebooting just so as to be
  able to read boot messages.
 
 Just press Shift-PageUp/PageDown (and don't switch VCs) to read
 the boot up stuff.
 
 Cheers,
 
 -- 
 Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 
 1908 655 151
 Snail:  David Wright, Earth Science Dept., Milton Keynes, 
 England, MK7 6AA
 Disclaimer:   These addresses are only for reaching me, and 
 do not signify
 official stationery. Views expressed here are either my own 
 or plagiarised.
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe 
 [EMAIL PROTECTED]  /dev/null
 



Re: module loading problems

2000-05-22 Thread David Wright
Quoting Dominic Blythe ([EMAIL PROTECTED]):
 if everything necessary was compiled in, 
 could you just delete everything from /etc/modules?

Yes, though the comments there might indicate some advantage
in putting noauto. But I much prefer not compiling everything
in. (In fact, you can't if you want certain drivers which
have to be compiled as modules.)

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.



module loading problems

2000-05-21 Thread ulla . russell

I was asked by a friend to help him install
debian onto one of his computers.He downloaded 
the programs allowing him to install the base 
system, which we did.

We used a cdrom I Got from the book Debian 
GNU/linux 2.1 unleased, and installed the
packages that would allow us to compile a
new kernel.

He downloaded kernel version 2.2.9.

It was my first time installing a kernel 
and we read from various sources before he
became impatient. We then did the following:

tar xzf /usr/src/kernel...tar.gz
.
.
.
make menuconfig
make-kpkg clean 
make-kpkg --revision=custom.1.0 kernel_image
dpkg -i ../kernel-image..deb

With the new kernel installed we get the following
messages:
.
.
.
calculating module dependencies ...done 
loading modules: cdrom can't locate module cdrom
snbfs can't locate module snbfs
nfs can't locate module nfs
ip_alias can't locate module ip_alias
rarp can't locate module rarp
cyclades can't locate module cyclades
serial can't locate module serial
3c509 can't locate module 3c509
ppp /lib/modules/2.2.9/net/slhc.o unresolved symbol kmalloc_R93d4cfe6
/lib/modules/2.2.9/net/slhc.o unresolved symbol print_Rdd172261
/lib/modules/2.2.9/net/slhc.o unresolved symbol kfree_R037a0cba
slhc:No such file or directory
.
.
.

Has any one got any idea what the problem might be ?

Two questions:

1)
Obviously it is to do with the loading of modules but I can't
why they are being loaded they are in /lib/modules/2.2.9. It 
seems however that ppp has been loaded but requires slhc
which has also not been located (it is also in /lib/mod..).
Can anyone help. It would be nice to find out why this problem
is occuring and not just reinstall everthing. I have already 
learnt alot searching through various archives on linux in
search of a solution.

2)
How can I get dmesg or some log file to save a complete list 
of all the messages that the kernel prints when it is booting.
It a little irrating booting and rebooting just so as to be
able to read boot messages.

Tia

T:Irvine



Re: module loading problems

2000-05-21 Thread Lindsay Haisley
Thus spake [EMAIL PROTECTED] on Sun, May 21, 2000 at 02:00:11AM CDT
 
 .
 .
 make menuconfig
 make-kpkg clean 
 make-kpkg --revision=custom.1.0 kernel_image
 dpkg -i ../kernel-image..deb
 
 With the new kernel installed we get the following
 messages:

Simple is best.  I've never had any problems under Debian building and
installing Linux kernels the 'old fashioned' way.

cd /usr/src/linux
make menuconfig
make dep
make clean
make bzImage
make modules
make modules_install

Copy the compressed kernel image from /usr/src/linux/arch/i386/boot to /boot
using an appropriate name of your choice such as vmlinuz-2.2.9 (don't
overwrite your old one!)

Edit /etc/lilo.conf to reference your new kernel (see the man page for
lilo.conf)

lilo
shutdown -r now

After the system comes back up, as root, run depmod -a.  It's probably
already being run by the /etc/init.d/modutils boot script but running it
again won't hurt anything, and will make sure it's done.


 2)
 How can I get dmesg or some log file to save a complete list 
 of all the messages that the kernel prints when it is booting.
 It a little irrating booting and rebooting just so as to be
 able to read boot messages.

Ctrl-S will stop the load process and freeze your display.  Ctrl-Q will
restart it.  This may help.  I believe the scroll-lock key works as a toggle
on this on current kernels.

-- 
Lindsay Haisley   | Everything works| PGP public key
FMP Computer Services |   if you let it |  available at
[EMAIL PROTECTED]|(The Roadie)  | http://www.fmp.com/pubkeys
http://www.fmp.com|  |



Re: module loading problems

2000-05-21 Thread ulla . russell

I tried depmod -a and got  

/lib/modules/2.2.9/fs/vfat.o:unresolved symbols
/lib/modules/2.2.9/fs/msdos.o
/lib/modules/2.2.9/fs/fat.o
/lib/modules/2.2.9/net/eepro100.o
/lib/modules/2.2.9/net/3c59x.o
/lib/modules/2.2.9/net/dummy
/lib/modules/2.2.9/net/bsd_comp.o
/lib/modules/2.2.9/net/ibmtr.o
etc etc...

Maybe my friend and I will just have to try again
(to recompile that is).I try to investigate this 
problem further b4 that though. It would be nice 
to know what went wrong and his computer is so 
sl! It takes forever to compile the kernel.

Thanks for the tip viz ^s and ^q.

T:Irvine



At 02:37 21.5.2000 -0500, you wrote:
Thus spake [EMAIL PROTECTED] on Sun, May 21, 2000 at 02:00:11AM CDT
 
 .
 .
 make menuconfig
 make-kpkg clean 
 make-kpkg --revision=custom.1.0 kernel_image
 dpkg -i ../kernel-image..deb
 
 With the new kernel installed we get the following
 messages:

Simple is best.  I've never had any problems under Debian building and
installing Linux kernels the 'old fashioned' way.

cd /usr/src/linux
make menuconfig
make dep
make clean
make bzImage
make modules
make modules_install

Copy the compressed kernel image from /usr/src/linux/arch/i386/boot to /boot
using an appropriate name of your choice such as vmlinuz-2.2.9 (don't
overwrite your old one!)

Edit /etc/lilo.conf to reference your new kernel (see the man page for
lilo.conf)

lilo
shutdown -r now

After the system comes back up, as root, run depmod -a.  It's probably
already being run by the /etc/init.d/modutils boot script but running it
again won't hurt anything, and will make sure it's done.


 2)
 How can I get dmesg or some log file to save a complete list 
 of all the messages that the kernel prints when it is booting.
 It a little irrating booting and rebooting just so as to be
 able to read boot messages.

Ctrl-S will stop the load process and freeze your display.  Ctrl-Q will
restart it.  This may help.  I believe the scroll-lock key works as a toggle
on this on current kernels.

-- 
Lindsay Haisley   | Everything works| PGP public key
FMP Computer Services |   if you let it |  available at
[EMAIL PROTECTED]|(The Roadie)  | http://www.fmp.com/pubkeys
http://www.fmp.com|  |




Re: Module loading

2000-05-07 Thread itz
 Istvan == Kovacs Istvan [EMAIL PROTECTED] writes:

Istvan Also, where is it documented how module names and devices
Istvan correspond to each-other?  Please point me to T relevant FM,
Istvan so I can R it.

In most cases (all that I care and know about), this is controlled by
alias settings in modules.conf(5).  For example,

alias   block-major-2   fd
alias   char-major-6lp


-- 
Ian Zimmerman, Oakland, California, U.S.A.
In his own soul a man bears the source
from which he draws all his sorrows and his joys.
Sophocles.


Module loading

2000-05-01 Thread Kovacs Istvan
Hello!

As some of my modules still won't load on demand, yesterday evening
(CET) I visited the IRC channel #debianhelp. There, someone told me
that not all modules are supposed to load on demand. Sure enough, the
drivers for my SCSI card, NIC, SB AWE32 won't load on demand, but work
fine with modprobe.
How can I tell which modules are supposed to auto-load and which are
not?
Also, where is it documented how module names and devices correspond to
each-other?

Please point me to T relevant FM, so I can R it.

TIA,
Kofa

Homepage at http://www.math.bme.hu/~kofa - For PGP public key: send mail
with the subject PGP Public Key Request or finger [EMAIL PROTECTED]


Re: After ftp upgrade of slink, module loading fails

1998-09-20 Thread Richard E. Hawkins Esq.
 After allowing an upgrade of slink packages without watching too
 closely, I then discovered that the auto loading of modules
 (ppp,sound,vfat) fails for all modules.  I can use insmod to *manually*
 load these modules (in dependency order) and everything works.  The
 modules.dep file is correct (depmod -a doesn't help), it has the right
 dependencies and locations.  I have done nothing to the kernel; no new
 kernel.  I booted up this morning with everything working, connected to
 an ftp site with dselect, allowed it to upgrade about a dozen packages,
 and afterword all module loading is broken.  Anybody seen this?

i got hit with this one too, but good, yesterday.  I noticed something
going to slink about modules being handled differently, but the message
and the instructions flew by.

Having caught that it had something to do with modules, i reinstalled 
modconf  modutils from hamm, and seems to work again.

also, it didn't merely stop at not autoloading, they didn't seem to stay
properly loaded once inserted.  in particular, i'd log in, insert the ppp
module, log out, connect and try to start a ppp session, and the host
where i was doing this would report to syslog that the kernel didn't 
support ppp.

anyway, downgrade the two modules, and it seems to work.  For that matter,
putting ppp in /etc/modules still gave me the not supported problem.

rick


Re: After ftp upgrade of slink, module loading fails

1998-09-20 Thread Ed Cogburn
Richard E. Hawkins Esq. wrote:
 
  After allowing an upgrade of slink packages without watching too
  closely, I then discovered that the auto loading of modules
  (ppp,sound,vfat) fails for all modules.  I can use insmod to *manually*
  load these modules (in dependency order) and everything works.  The
  modules.dep file is correct (depmod -a doesn't help), it has the right
  dependencies and locations.  I have done nothing to the kernel; no new
  kernel.  I booted up this morning with everything working, connected to
  an ftp site with dselect, allowed it to upgrade about a dozen packages,
  and afterword all module loading is broken.  Anybody seen this?
 
 i got hit with this one too, but good, yesterday.  I noticed something
 going to slink about modules being handled differently, but the message
 and the instructions flew by.
 
 Having caught that it had something to do with modules, i reinstalled
 modconf  modutils from hamm, and seems to work again.
 


This did it; I didn't have modconf installed, but downgrading modutils
solved the problem.  THANK YOU.

PS:  The problem must have something to do with the /etc/modutils/
config files in the slink package.  The /etc/modutils/ dir is a recent
development isn't it?


 
 rick

-- 
Ed C.


After ftp upgrade of slink, module loading fails

1998-09-19 Thread Ed Cogburn
After allowing an upgrade of slink packages without watching too
closely, I then discovered that the auto loading of modules
(ppp,sound,vfat) fails for all modules.  I can use insmod to *manually*
load these modules (in dependency order) and everything works.  The
modules.dep file is correct (depmod -a doesn't help), it has the right
dependencies and locations.  I have done nothing to the kernel; no new
kernel.  I booted up this morning with everything working, connected to
an ftp site with dselect, allowed it to upgrade about a dozen packages,
and afterword all module loading is broken.  Anybody seen this?


-- 
Ed C.


Kernel and auto module loading.

1998-03-08 Thread Ian Perry
I originally installed debian 1.3 stable version and enabled smbfs and rarp
on install.

I have recompiled the kernel to 2.0.32 and disabled these modules as they
were not needed.
I did the usual  make dep, make clean, make zImage, make modules, make
modules_install, and copied the zImage file to /boot and created a symbolic
pointer /vmlinuz   /boot/zImage, and reran LILO
So far so good...and this works fine except...

On bootup I still get loading modules   smbfs, rarp
plus /lib/modules/2.0.32/ivp4/rarp.0: unresolved symbol kfree_skb_R2cfc2375
/lib/modules/2.0.32/ipv4/rarp.o: unresolved symbol arp   etc

How do I stop the kernel from loading these modules at startup ?
What haven't I done ?

Thanks in advance

Ian
[EMAIL PROTECTED]


--
E-mail the word unsubscribe to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .


Re: Kernel and auto module loading.

1998-03-08 Thread Jean Pierre LeJacq
On Sun, 8 Mar 1998, Ian Perry wrote:

 I have recompiled the kernel to 2.0.32 and disabled these modules as they
 were not needed.
 I did the usual  make dep, make clean, make zImage, make modules, make
 modules_install, and copied the zImage file to /boot and created a symbolic
 pointer /vmlinuz   /boot/zImage, and reran LILO
 So far so good...and this works fine except...
 
 On bootup I still get loading modules   smbfs, rarp
 plus /lib/modules/2.0.32/ivp4/rarp.0: unresolved symbol kfree_skb_R2cfc2375
 /lib/modules/2.0.32/ipv4/rarp.o: unresolved symbol arp   etc
 
 How do I stop the kernel from loading these modules at startup ?

Just before doing the install, try moving /lib/modules/2.0.3? aside.
Then do the install.  Run depmod -a both before and after rebooting.
You may also want to check your /etc/modules and /etc/modules.conf
files to see whats being preloaded.

-- 
Jean Pierre



--
E-mail the word unsubscribe to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .


Re: Kernel and auto module loading.

1998-03-08 Thread Ian Perry
Thanks, 

It was in the modules file.
I had not noticed that file, and I just checked, it is nowhwere in the docs
I have.
There was also a lot of unused stuff in the /lib/modules/2.0.3? directory.

I am beginning to realise that debian linux is not nearly as 'user
unfriendly' as people make out.

Ian

--
 From: Jean Pierre LeJacq [EMAIL PROTECTED]
 To: debian-user@lists.debian.org
 Cc: debian-user@lists.debian.org
 Subject: Re: Kernel and auto module loading.
 Date: Sunday, 8 March 1998 12:26
 
 On Sun, 8 Mar 1998, Ian Perry wrote:
 
  I have recompiled the kernel to 2.0.32 and disabled these modules as
they
  were not needed.
  I did the usual  make dep, make clean, make zImage, make modules, make
  modules_install, and copied the zImage file to /boot and created a
symbolic
  pointer /vmlinuz   /boot/zImage, and reran LILO
  So far so good...and this works fine except...
  
  On bootup I still get loading modules   smbfs, rarp
  plus /lib/modules/2.0.32/ivp4/rarp.0: unresolved symbol
kfree_skb_R2cfc2375
  /lib/modules/2.0.32/ipv4/rarp.o: unresolved symbol arp   etc
  
  How do I stop the kernel from loading these modules at startup ?
 
 Just before doing the install, try moving /lib/modules/2.0.3? aside.
 Then do the install.  Run depmod -a both before and after rebooting.
 You may also want to check your /etc/modules and /etc/modules.conf
 files to see whats being preloaded.
 
 -- 
 Jean Pierre
 
 
 
 --
 E-mail the word unsubscribe to [EMAIL PROTECTED]
 TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to
[EMAIL PROTECTED] .


--
E-mail the word unsubscribe to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .


Re: Kernel and auto module loading.

1998-03-08 Thread Jean Pierre LeJacq
On Sun, 8 Mar 1998, Ian Perry wrote:

 Thanks, 
 
 It was in the modules file.
 I had not noticed that file, and I just checked, it is nowhwere in the docs
 I have.
 There was also a lot of unused stuff in the /lib/modules/2.0.3? directory.
 
 I am beginning to realise that debian linux is not nearly as 'user
 unfriendly' as people make out.

Debian does still require quite a bit of knowledge to get everything
to work correctly.

One thing that should make your life much simplier when recompiling
the kernel is the kernel-package package.  I use it exclusively since
it takes care of many of these cross-dependencies.

-- 
Jean Pierre




--
E-mail the word unsubscribe to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .