aiuto ricompilazione kernel principiante

Postate qui per tutte le discussioni legate a Linux in generale.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Gnu/Linux in genere, se l'argomento è specifico alla Slackware usate uno dei forum Slackware o Slackware64.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
Ermes1
Linux 2.x
Linux 2.x
Messaggi: 374
Iscritto il: sab 25 mar 2006, 16:45

aiuto ricompilazione kernel principiante

Messaggio da Ermes1 »

salve a tutti. sto cercando di divenire maggiormente consapevole del mio sistema e per questo dp essermi documentato sul funzionamento in generale di un OS ho deciso di fare un pò di pratica con la compilazione del kernel. quindi diciamo che non sono totalmente ignorante... tuttuavia la ricompilazione non è andata del tutto liscia (non ci speravo nemmeno). vi posto il log dell boot

Codice: Seleziona tutto

 Linux version 2.6.17.13 (root@theking) (gcc version 3.4.6) #3 Thu Mar 1 14:52:42 CET 2007
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e6000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001bfb0000 (usable)
 BIOS-e820: 000000001bfb0000 - 000000001bfc0000 (ACPI data)
 BIOS-e820: 000000001bfc0000 - 000000001bff0000 (ACPI NVS)
 BIOS-e820: 000000001bff0000 - 000000001c000000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ff780000 - 0000000100000000 (reserved)
447MB LOWMEM available.
found SMP MP-table at 000ff780
On node 0 totalpages: 114608
  DMA zone: 4096 pages, LIFO batch:0
  Normal zone: 110512 pages, LIFO batch:31
DMI 2.3 present.
ACPI: RSDP (v000 ACPIAM                                ) @ 0x000faa10
ACPI: RSDT (v001 A M I  OEMRSDT  0x10000514 MSFT 0x00000097) @ 0x1bfb0000
ACPI: FADT (v002 A M I  OEMFACP  0x10000514 MSFT 0x00000097) @ 0x1bfb0200
ACPI: MADT (v001 A M I  OEMAPIC  0x10000514 MSFT 0x00000097) @ 0x1bfb0390
ACPI: OEMB (v001 A M I  AMI_OEM  0x10000514 MSFT 0x00000097) @ 0x1bfc0040
ACPI: DSDT (v001  75V80 75V80000 0x00000000 INTL 0x02002026) @ 0x00000000
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:4 APIC version 20
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 15:4 APIC version 20
WARNING: NR_CPUS limit of 1 reached.  Processor ignored.
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled)
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 3, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 20000000 (gap: 1c000000:e2e00000)
Built 1 zonelists
Kernel command line: root=/dev/hda6 ro vga=791
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Detected 3003.003 MHz processor.
Using pmtmr for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 451064k/458432k available (1731k kernel code, 6816k reserved, 745k data, 156k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 6005.74 BogoMIPS (lpj=3002874)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: bfebfbff 20000000 00000000 00000000 0000649d 00000000 00000000
CPU: After vendor identify, caps: bfebfbff 20000000 00000000 00000000 0000649d 00000000 00000000
monitor/mwait feature present.
using mwait in idle threads.
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 2048K
CPU: After all inits, caps: bfebfbff 20000000 00000000 00000180 0000649d 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (24) available
CPU0: Thermal monitoring enabled
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 03
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 0k freed
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=1
Setting up standard PCI resources
ACPI: Subsystem revision 20060127
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI: Quirk-MSI-K8T Soundcard On
PCI: Unexpected Value in PCI-Register: no Change!
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
PCI: Bridge: 0000:00:01.0
  IO window: disabled.
  MEM window: fca00000-feafffff
  PREFETCH window: eff00000-f7efffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 16384 bind 8192)
TCP reno registered
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler cfq registered (default)
PCI: Bypassing VIA 8237 APIC De-Assert Message
vesafb: framebuffer at 0xf0000000, mapped to 0xdc880000, using 3072k, total 65536k
vesafb: mode is 1024x768x16, linelength=2048, pages=41
vesafb: protected mode interface info at c000:6b94
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
vga16fb: initializing
vga16fb: mapped to 0xc00a0000
fb1: VGA16 VGA frame buffer device
Real Time Clock Driver v1.12ac
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected VIA P4M800CE chipset
agpgart: AGP aperture is 64M @ 0xf8000000
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
parport0: irq 7 detected
loop: loaded (max 8 devices)
via-rhine.c:v1.10-LK1.2.0-2.6 June-10-2004 Written by Donald Becker
ACPI: PCI Interrupt 0000:00:12.0[A] -> GSI 23 (level, low) -> IRQ 16
eth0: VIA Rhine II at 0x1d400, 00:13:8f:63:da:0f, IRQ 16.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1.
Linux video capture interface: v1.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:0f.1
ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 17
PCI: VIA IRQ fixup for 0000:00:0f.1, from 255 to 1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: Maxtor 6L160P0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: SONY DVD RW DW-G120A, ATAPI CD/DVD-ROM drive
hdd: AOPEN CD-RW CRW2440, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 512KiB
hda: 320173056 sectors (163928 MB) w/8192KiB Cache, CHS=19929/255/63, UDMA(133)
hda: cache flushes supported
 hda: hda1 hda2 hda3 < hda5 hda6 hda7 >
hdc: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
ACPI: PCI Interrupt 0000:00:10.4[C] -> GSI 21 (level, low) -> IRQ 18
ehci_hcd 0000:00:10.4: EHCI Host Controller
ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.4: irq 18, io mem 0xfebff800
ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:10.0[A] -> GSI 21 (level, low) -> IRQ 18
PCI: VIA IRQ fixup for 0000:00:10.0, from 10 to 2
uhci_hcd 0000:00:10.0: UHCI Host Controller
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:10.0: irq 18, io base 0x0000c000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.1[A] -> GSI 21 (level, low) -> IRQ 18
PCI: VIA IRQ fixup for 0000:00:10.1, from 10 to 2
uhci_hcd 0000:00:10.1: UHCI Host Controller
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:10.1: irq 18, io base 0x0000c400
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.2[B] -> GSI 21 (level, low) -> IRQ 18
PCI: VIA IRQ fixup for 0000:00:10.2, from 11 to 2
uhci_hcd 0000:00:10.2: UHCI Host Controller
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:10.2: irq 18, io base 0x0000c800
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.3[B] -> GSI 21 (level, low) -> IRQ 18
PCI: VIA IRQ fixup for 0000:00:10.3, from 11 to 2
uhci_hcd 0000:00:10.3: UHCI Host Controller
uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:10.3: irq 18, io base 0x0000cc00
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
Via 686a/8233/8235 audio driver 1.9.1-ac4-2.5
ACPI: PCI Interrupt 0000:00:11.5[C] -> GSI 22 (level, low) -> IRQ 19
via82cxxx: Six channel audio available
PCI: Setting latency timer of device 0000:00:11.5 to 64
ac97_codec: AC97  codec, id: CMI131 (Unknown)
via82cxxx: Codec rate locked at 48Khz
via82cxxx: board #1 at 0xD000, IRQ 19
Advanced Linux Sound Architecture Driver Version 1.0.11rc4 (Wed Mar 22 10:27:24 2006 UTC).
ALSA device list:
  No soundcards found.
ip_conntrack version 2.4 (3581 buckets, 28648 max) - 172 bytes per conntrack
input: AT Translated Set 2 keyboard as /class/input/input0
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
ReiserFS: hda6: found reiserfs format "3.6" with standard journal
ReiserFS: hda6: using ordered data mode
ReiserFS: hda6: journal params: device hda6, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda6: checking transaction log (hda6)
ReiserFS: hda6: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 156k freed
input: ImPS/2 Logitech Wheel Mouse as /class/input/input1
Adding 1020116k swap on /dev/hda2.  Priority:-1 extents:1 across:1020116k
ReiserFS: hda5: found reiserfs format "3.6" with standard journal
ReiserFS: hda5: using ordered data mode
ReiserFS: hda5: journal params: device hda5, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda5: checking transaction log (hda5)
ReiserFS: hda5: Using r5 hash to sort names
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda7, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
NTFS driver 2.1.27 [Flags: R/W MODULE].
NTFS volume version 3.1.


questo nel runlevel 3

tarting PCMCIA services:
  <Probing for PCIC: edit /etc/rc.d/rc.pcmcia>
Scanning all LUNs for additional hardware:  /sbin/rescan-scsi-bus -l
Error: SCSI subsystem not active
Updating shared library links:  /sbin/ldconfig
Updating X font indexes:  /usr/X11R6/bin/fc-cache
Starting Internet super-server daemon:  /usr/sbin/inetd
Starting OpenSSH SSH daemon:  /usr/sbin/sshd
cups: started scheduler.
Starting sendmail MTA daemon:  /usr/sbin/sendmail -L sm-mta -bd -q25m
Starting ACPI daemon:  /usr/sbin/acpid
Loading ALSA mixer settings:  /usr/sbin/alsactl restore
Starting sendmail MSP queue runner:  /usr/sbin/sendmail -L sm-msp-queue -Ac -q25m
Loading OSS compatibility modules for ALSA.
FATAL: Module snd_pcm_oss not found.
FATAL: Module snd_mixer_oss not found.
FATAL: Module snd_seq_oss not found.
Loading /usr/share/kbd/keymaps/i386/qwerty/it.map.gz
Starting gpm:  /usr/sbin/gpm -m /dev/mouse -t imps2
Start ddclient...
FATAL: Module i2c_isa not found.
FATAL: Module w83627hf not found.

bene le domande sono

1)come faccio ad abilitare quei moduli che mancano? quali sono le voci?

2)mancano semplicemente perchè non li ho segnati? faccio questa domanda perchè inizialmente mi chiedeva anche un altro modulo che mancava perchè faceva parte dell'immagine principale, poi ricompilandolo come modulo è andato bene.

3)alsa non mi riconosce la scheda. ma io ho selezionato il chip giusto... ho controllato 10 volte! che faccio?

4)mi da errore e non riesco ad entrare in mod grafica! perchè? come graphic device ho abilitato vga e vesa dato che il mio chip non mi sembra essere nella lista. poi ho riconfigurato l'x mettendo appunto vesa. ma mi da errore e muore.

5)per quanto riguarda periferiche pmcia o scsi non li ho abilitati nel kernel dato che non li ho, ma al boot me li cerca.. innanzitutto.. ho sbagliato? se no, come faccio a disabilitarli? devo cercarli negli script d'avvio?

se mi aiutate magari un pò alla volta riesco a risolovere! grazie mille! ciao

Avatar utente
michelino
Staff
Staff
Messaggi: 871
Iscritto il: gio 21 dic 2006, 11:59
Nome Cognome: Michelino Chionchio
Slackware: -current
Kernel: 2.6.29.6
Desktop: kde (current)
Località: Foggia

Messaggio da michelino »

Per il n.5,
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
Dal modulo scsi dipendono un sacco di cose come l'USB mass storage (è anche specificato nell'help del kernel), quindi devi abilitarlo.

Ermes1
Linux 2.x
Linux 2.x
Messaggi: 374
Iscritto il: sab 25 mar 2006, 16:45

Messaggio da Ermes1 »

ma l'usb pare che me l'ha riconosciuta correttamente.. no??

Avatar utente
michelino
Staff
Staff
Messaggi: 871
Iscritto il: gio 21 dic 2006, 11:59
Nome Cognome: Michelino Chionchio
Slackware: -current
Kernel: 2.6.29.6
Desktop: kde (current)
Località: Foggia

Messaggio da michelino »

Ti ha registrato il driver dell'usb, prova a mettere una pendrive (che il sistema riconosce come un disco scsi) e vedi che succede!
Per pcmcia dai un

Codice: Seleziona tutto

chmod a-x /etc/rc.d/rd.pcmcia
(ovviamente da root).
Stante la mia natura niubbica aspetto comunque di essere contraddetto.
In ogni caso ti consiglio di dare un occhio (per scsi) all'help del kernel.

Bart
Staff
Staff
Messaggi: 4249
Iscritto il: lun 9 ago 2004, 0:00
Località: Rimini

Re: aiuto ricompilazione kernel principiante

Messaggio da Bart »

Ermes1 ha scritto:1)come faccio ad abilitare quei moduli che mancano? quali sono le voci?

Codice: Seleziona tutto

FATAL: Module snd_pcm_oss not found.
FATAL: Module snd_mixer_oss not found.
FATAL: Module snd_seq_oss not found.
Questo errore, se vogliamo chiamarlo tale, capita quando la tua macchina cerca di caricare un modulo che non trova. Ora le cose sono due: o hai messo quei supporti staticamente nel kernel (*) oppure non li hai messi per niente.
Soluzione: vai sotto device drivers, nella sezione sound, li cerchi (basta che guardi l'help relativo e ti dice come si chiama quel supporto) e li metti come moduli, poi ricompili.
2)mancano semplicemente perchè non li ho segnati? faccio questa domanda perchè inizialmente mi chiedeva anche un altro modulo che mancava perchè faceva parte dell'immagine principale, poi ricompilandolo come modulo è andato bene.
Vedi sopra.
3)alsa non mi riconosce la scheda. ma io ho selezionato il chip giusto... ho controllato 10 volte! che faccio?
Devi abilitare anche quei moduli del punto 1 per far partire correttamente alsa.
4)mi da errore e non riesco ad entrare in mod grafica! perchè? come graphic device ho abilitato vga e vesa dato che il mio chip non mi sembra essere nella lista. poi ho riconfigurato l'x mettendo appunto vesa. ma mi da errore e muore.
Configuralo con xorgconfig e usa i driver generici vesa.
5)per quanto riguarda periferiche pmcia o scsi non li ho abilitati nel kernel dato che non li ho, ma al boot me li cerca.. innanzitutto.. ho sbagliato? se no, come faccio a disabilitarli? devo cercarli negli script d'avvio?
Come ti hanno detto, molti supporti scsi servono.

Ermes1
Linux 2.x
Linux 2.x
Messaggi: 374
Iscritto il: sab 25 mar 2006, 16:45

Messaggio da Ermes1 »

ok vedo di applicare i vostri consigli e poi vi faccio sapere! grazie!

Avatar utente
waka_jawaka
Linux 3.x
Linux 3.x
Messaggi: 781
Iscritto il: mer 10 ago 2005, 0:00
Nome Cognome: Alberto Palillo
Kernel: 2.6.35
Desktop: KDE 4.5
Distribuzione: Archlinux

Messaggio da waka_jawaka »

Anche io ho appena ricompilato il kernel; sono passato al 2.6.20 (con bootsplash funzionante, si dovrebbe istruire una procedura di beatificazione per il buon Meskalamdug) e tutto *sembra* funzionare. Solo una stranezza; con i precedenti kernel autarchici impostavo sia il supporto alla fat32 che quello all'iso9660 come moduli e in fase di mount di penne e cd non avevo problemi. Ora sono stato costretto a precaricare i moduli tramite rc.modules sennò in fase di montaggio mi dice che il tipo di filesystem scelto è sconosciuto. La cosa ancora più strana è che, ad un certo punto, li ho inseriti staticamente nel kernel e ricevevo sempre lo stesso messaggio.

Bart
Staff
Staff
Messaggi: 4249
Iscritto il: lun 9 ago 2004, 0:00
Località: Rimini

Messaggio da Bart »

waka_jawaka ha scritto:Anche io ho appena ricompilato il kernel; sono passato al 2.6.20 (con bootsplash funzionante, si dovrebbe istruire una procedura di beatificazione per il buon Meskalamdug) e tutto *sembra* funzionare. Solo una stranezza; con i precedenti kernel autarchici impostavo sia il supporto alla fat32 che quello all'iso9660 come moduli e in fase di mount di penne e cd non avevo problemi. Ora sono stato costretto a precaricare i moduli tramite rc.modules sennò in fase di montaggio mi dice che il tipo di filesystem scelto è sconosciuto. La cosa ancora più strana è che, ad un certo punto, li ho inseriti staticamente nel kernel e ricevevo sempre lo stesso messaggio.
L'automount è abilitato nel kernel?

Ermes1
Linux 2.x
Linux 2.x
Messaggi: 374
Iscritto il: sab 25 mar 2006, 16:45

Messaggio da Ermes1 »

altra domanda: ma se io ad esempio non vojo mettere il supporto per OSS in questo modo sembro obbligato a farlo! oppure se vojo inserire qualcosa staticamente ma in fase di boot mi cerca i moduli sono costretto a mettee quelle cose staticamente?
mi è venuto in mente che magari quei moduli debbono necessariamente essere tali o che comunque il loro miglioramento è migliore così; oppure devo solo cambiare delle impostazioni nel programma che cerca di caricarli... avete idee??

Avatar utente
waka_jawaka
Linux 3.x
Linux 3.x
Messaggi: 781
Iscritto il: mer 10 ago 2005, 0:00
Nome Cognome: Alberto Palillo
Kernel: 2.6.35
Desktop: KDE 4.5
Distribuzione: Archlinux

Messaggio da waka_jawaka »

Bart ha scritto:L'automount è abilitato nel kernel?
Uso il mount old style (odio l'automount)
Con mount /dev/hdc (voce presente in fstab) ottengo:

Codice: Seleziona tutto

mount: unknown filesystem type 'iso9660'
se faccio modprobe isofs il montaggio va a buon fine
Qui c'è una parte del mio config, quella relativa al caricamento dei moduli

Codice: Seleziona tutto

# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y

Bart
Staff
Staff
Messaggi: 4249
Iscritto il: lun 9 ago 2004, 0:00
Località: Rimini

Messaggio da Bart »

Non intendevo l'automount dei device ma dei moduli.

Avatar utente
waka_jawaka
Linux 3.x
Linux 3.x
Messaggi: 781
Iscritto il: mer 10 ago 2005, 0:00
Nome Cognome: Alberto Palillo
Kernel: 2.6.35
Desktop: KDE 4.5
Distribuzione: Archlinux

Messaggio da waka_jawaka »

Codice: Seleziona tutto

CONFIG_KMOD=y
Non è questo l'autocaricamento dei moduli?
Sembrerebbe di si....

Bart
Staff
Staff
Messaggi: 4249
Iscritto il: lun 9 ago 2004, 0:00
Località: Rimini

Messaggio da Bart »

Adesso non mi ricordo il nome a memoria, comunque c'è scritto nell'help relativo.

Avatar utente
submax82
Staff
Staff
Messaggi: 3202
Iscritto il: mer 31 ago 2005, 0:00
Desktop: xfce
Distribuzione: SalixOS
Contatta:

Messaggio da submax82 »

consiglio di partire SEMPRE dal config di Pat

potresti provare il mio tool...

Avatar utente
waka_jawaka
Linux 3.x
Linux 3.x
Messaggi: 781
Iscritto il: mer 10 ago 2005, 0:00
Nome Cognome: Alberto Palillo
Kernel: 2.6.35
Desktop: KDE 4.5
Distribuzione: Archlinux

Messaggio da waka_jawaka »

Ora funziona tutto; avevo dimenticato una *piccola* e *insignificante* prova: montare da root. Ho commentato le voci dei filesytem in rc.modules, riavviato, rifatto la prova da utente prima che da root aspettandomi il solito messaggio di errore... e invece il mount avviene regolarmente.
L'unica cosa che ho fatto è stato ravanare col bootsplash e reinstallare non so quante volte lilo prima di ottenere il risultato che volevo, senza mai toccare il kernel. Boh!

Rispondi