Newsgroup: it.comp.os.linux.software
Titolo: modprobe: can't locate module...

Ciao!
Dai messaggi di boot vengono fuori alcuni "modprobe: can't locate
module..." che peraltro non so come ritrovare (dmesg non li presenta,
ne' syslog, ne' kern.log) altrimenti ve li invierei.
Cosa sta avvenendo e cosa devo fare?
Grazie e ciao,
Maurizio.

 Maurizio.
-- 
Ciao,  |     Gott weiss ich will kein Engel sein
Matteo |                     -- Rammstein, Engel

> Maurizio.
Vorrei introdurmi anch'io per chiarire una questione a cui non mi hanno
ancora dato risposta. Il file modules.conf, va aggiornato ogni volta che
si cambia il kernel (nel senso, devo scaricarlo da qualche parte), oppure
devo sorbirmi quello fornito dalla distribuzione? Se andasse aggiornato,
dove posso scaricarlo?
Grazie per l'attenzione!
-- 
Abel Dufresue:
" la persona insignificante segue la moda,
  la presuntuosa la esagera,
  quella di buon gusto scende a patti con lei "

 # depmod -a
In effetti non ho dato niente del genere. Non sapevo di doverlo dare.
Cos'e`, normale prassi nella creazione di un nuovo kernel?
Grazie!
Ciao,
Maurizio.


direi proprio di si. Dovrebbe farlo in automatico quando, compilato
kernel e moduli, li installi con:
# make modules_install
ma se lo riesegui a mano magari ti ci raccapezzi meglio con eventuali
errori...
nel Makefile del kernel dovresti trovare questo:
$ cat /usr/src/linux/Makefile | grep DEPMOD     
   DEPMOD          = /sbin/depmod
	if [ -r System.map ]; then $(DEPMOD) -ae -F System.map \
          $(depmod_opts) $(KERNELRELEASE); fi
Come vedi dopo aver proceduto alla creazione di un System.map (che devi
poi copiare in /boot) esegue depmod. Cito: "This depmod is only for
convenience to give the initial boot a modules.dep even before / is
mounted read-write."
Guarda anche in /etc/init.d/modutils, lo script che carica i moduli
all'avvio e... se non l'hai gia` fatto, leggi il kernel-howto ;)
Nel caso di debian e` comodo usare il kernel-package per creare un
pacchetto .deb del kernel, anziche` poi installarlo a mano (a me con la
potato aggiornata al kernel 2.4 non funziona, ma se hai unstable o
potato "liscia" dovresti andare sul sicuro). In questo caso fa tutto da
solo... Nella guida che trovi on-line sul sito deb c'e' tutto (una delle
ultime appendici, se non sbaglio).


 niente di niente ne` in /var/log/messages ne` in /var/log/syslog??
Ho finalmente trovato, mi doveva essere sfuggito:
---------------------------------------------------------------------------------------------
Aug 10 10:00:00 hpi12257 modprobe: modprobe: Can't locate module
sound-slot-0
Aug 10 10:00:00 hpi12257 modprobe: modprobe: Can't locate module
sound-service-0-3
Aug 10 11:18:17 hpi12257 modprobe: modprobe: Can't locate module
sound-slot-1
Aug 10 11:18:17 hpi12257 modprobe: modprobe: Can't locate module
sound-service-1-0
Aug 10 12:18:42 hpi12257 modprobe: modprobe: Can't locate module
char-major-10-135
Aug 10 12:22:44 hpi12257 modprobe: modprobe: Can't locate module
sound-slot-0
Aug 10 12:22:44 hpi12257 modprobe: modprobe: Can't locate module
sound-service-0-3
Aug 10 13:22:36 hpi12257 modprobe: modprobe: Can't locate module
nls_iso8859-1
Aug 10 14:29:25 hpi12257 modprobe: modprobe: Can't locate module
sound-service-1-0
Aug 22 18:58:02 hpi12257 modprobe: modprobe: Can't locate module
char-major-10-135
---------------------------------------------------------------------------------------------
In piu`, se puo` servire, posso aggiungere comunque l'uscita di dmesg, nel
caso servisse a capirci di piu`:
---------------------------------------------------------------------------------------------
Linux version 2.4.7 (root@hpi12257) (gcc version 2.95.2 20000220 (Debian
GNU/Linux)) #1 Thu Aug 9 19:38:42 CEST 2001
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e5800 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
 BIOS-e820: 000000001fff0000 - 000000001ffffc00 (ACPI data)
 BIOS-e820: 000000001ffffc00 - 0000000020000000 (ACPI NVS)
 BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
Scan SMP from c0000000 for 1024 bytes.
Scan SMP from c009fc00 for 1024 bytes.
Scan SMP from c00f0000 for 65536 bytes.
Scan SMP from c009f800 for 4096 bytes.
On node 0 totalpages: 131056
zone(0): 4096 pages.
zone(1): 126960 pages.
zone(2): 0 pages.
mapped APIC to ffffe000 (01884000)
Kernel command line: BOOT_IMAGE=l1 ro root=307
BOOT_FILE=/boot/vmlinuz-2.4.7-mc1
Initializing CPU#0
Detected 863.879 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1723.59 BogoMIPS
Memory: 512968k/524224k available (1258k kernel code, 10868k reserved, 456k
data, 196k init, 0k highmem)
Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: Before vendor init, caps: 0383f9ff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After vendor init, caps: 0383f9ff 00000000 00000000 00000000
CPU:     After generic, caps: 0383f9ff 00000000 00000000 00000000
CPU:             Common caps: 0383f9ff 00000000 00000000 00000000
CPU: Intel Pentium III (Coppermine) stepping 06
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (
rgo...@atnf.csiro.au
)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfd9ae, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
Unknown bridge resource 0: assuming transparent
Unknown bridge resource 2: assuming transparent
PCI: Using IRQ router PIIX [8086/2410] at 00:1f.0
PCI: Found IRQ 11 for device 00:1f.2
PCI: Found IRQ 9 for device 00:1f.5
PCI: Sharing IRQ 9 with 00:1f.3
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.14)
Starting kswapd v1.8
VFS: Diskquotas version dquot_6.4.0 initialized
NTFS version 1.1.15
udf: registering filesystem
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
i810_rng: RNG not detected
block: queued sectors max/low 340890kB/209818kB, 1024 slots per queue
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller on PCI bus 00 dev f9
PIIX4: chipset revision 2
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1800-0x1807, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1808-0x180f, BIOS settings: hdc:DMA, hdd:pio
hda: Maxtor 5T040H4, ATA DISK drive
hdc: HITACHI DVD-ROM GD-7500, ATAPI CD/DVD-ROM drive
hdd: Hewlett-Packard CD-Writer Plus 9100b, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 78198750 sectors (40038 MB) w/2048KiB Cache, CHS=4867/255/63
hdc: ATAPI 40X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
hdd: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
Partition check:
 hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
PCI: Found IRQ 5 for device 01:04.0
3c59x.c:LK1.1.15 6 June 2001  Donald Becker and others.
http://www.scyld.com/network/vortex.html
See Documentation/networking/vortex.txt
01:04.0: 3Com PCI 3c905C Tornado at 0x2000,  00:01:02:4c:94:87, IRQ 5
  product code ffff rev 00.14 date 15-31-127
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
  MII transceiver found at address 24, status 782d.
  Enabling bus-master transmits and whole-frame receives.
01:04.0: scatter/gather enabled. h/w checksums enabled
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: agpgart: Detected an Intel i815, but could not find the secondary
device. Assuming a non-integrated video card.
agpgart: Detected Intel i815 chipset
agpgart: AGP aperture is 64M @ 0xf0000000
[drm] AGP 0.99 on Unknown @ 0xf0000000 64MB
[drm] Initialized mga 2.0.1 20000928 on minor 63
Intel 810 + AC97 Audio, version 0.02, 19:39:50 Aug  9 2001
PCI: Enabling device 00:1f.5 (0000 -> 0001)
PCI: Found IRQ 9 for device 00:1f.5
PCI: Sharing IRQ 9 with 00:1f.3
PCI: Setting latency timer of device 00:1f.5 to 64
i810: Intel ICH 82801AA found at IO 0x1300 and 0x1200, IRQ 9
ac97_codec: AC97 Audio codec, id: 0x4352:0x5934 (Cirrus Logic CS4299 rev D)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 196k freed
Adding Swap: 128484k swap-space (priority -1)
eth0: using NWAY device table, not 8
---------------------------------------------------------------------------------------------
Spero vi dia mod idi aiutarmi a capirci qualcosa.
Grazie!
Ciao,
Maurizio.

 dove posso scaricarlo?
Non va aggiornato solo xche' hai ricompilato il kernel con le stesse
impostazioni di prima. Dipende dal setup della macchina.
--
  	Giuseppe "Cowo" Corbelli  -->>  Riding on Linux-2.4.7-xfs
    **ANTI-SPAM** -- **Substitute IHATESPAM with cowo to reply by mail**
  -<! Asynchronous inputs are at the root of our race problems. !>-
                 D. Winker and F. Prosser


il dmesg mi sembra nella norma.
Ho notato che il kernel caricato e` il 2.4.7 (tra l'altro e` uscito il
.9) ma il file in /boot si chiama xxx-2.4.7-mc1. Questo non significa
nulla ed e` perfettamente lecito, ma guardando l'altro thread sul
System.map, forse hai creato in /lib/modules una cartella che non
corrisponde esattamente a
  # uname -r
e magari hai un /lib/modules/2.4.7-mc1 mentre si aspetta un
/lib/modules/2.4.7 (?)
