PDA

View Full Version : Problemi strani con debian.......... non capisco........


stefanoxjx
16-04-2005, 18:03
Ciao a tutti, volevo capire un paio di cose che sto cercando di risolvere da tempo ma senza esito positivo:

1. Se su grub aggiungo vga=791, il risultato è una bella schermata nera fino all'avvio di kdm, nonostante nella compilazione del kernel, abbia attivato Frame buffer (VESA), Boot Logo e Frame Buffer console support tutto come Built-in.
Se anzichè compilare il kernel con il metodo debian-way, lo compilo con il classico make bzImage && make modules && make modules_install, il vga=791 funziona, solo che poi (ovviamente) ho un kernel-panic.

2. Ad ogni reboot, devo eseguire alsaconf perchè altrimenti l'audio non va.

Questo è lsmod subito dopo il reboot:

nvidia 3922556 12
lp 11972 0
ipv6 255232 8
parport_pc 36164 1
parport 37192 2 lp,parport_pc
floppy 60368 0
pcspkr 3556 0
ohci1394 34948 0
ieee1394 110392 1 ohci1394
emu10k1_gp 3840 0
gameport 4736 1 emu10k1_gp
shpchp 102244 0
pci_hotplug 33328 1 shpchp
intel_mch_agp 10896 0
intel_agp 23324 1
agpgart 34984 3 nvidia,intel_mch_agp,intel_agp
ehci_hcd 34440 0
evdev 9856 0
mousedev 11928 2
tsdev 8000 0
usbhid 34624 0
uhci_hcd 32656 0
usbcore 120440 4 ehci_hcd,usbhid,uhci_hcd
snd_emu10k1 100996 0
snd_rawmidi 24224 1 snd_emu10k1
snd_seq_device 8844 2 snd_emu10k1,snd_rawmidi
snd_ac97_codec 78584 1 snd_emu10k1
snd_pcm_oss 53536 0
snd_mixer_oss 20096 1 snd_pcm_oss
snd_pcm 92936 3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_timer 24836 2 snd_emu10k1,snd_pcm
snd_page_alloc 10244 2 snd_emu10k1,snd_pcm
snd_util_mem 4736 1 snd_emu10k1
snd_hwdep 9376 1 snd_emu10k1
snd 53988 9 snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
soundcore 9952 1 snd
i2c_isa 2176 0
ide_cd 42116 0
cdrom 41504 1 ide_cd
rtc 12088 0
ide_disk 18304 6
ide_generic 1408 0 [permanent]
siimage 12800 0 [permanent]
aec62xx 7424 0 [permanent]
trm290 4484 0 [permanent]
alim15x3 12428 0 [permanent]
hpt34x 5504 0 [permanent]
hpt366 20352 0 [permanent]
cmd64x 12316 0 [permanent]
piix 10500 0 [permanent]
rz1000 2688 0 [permanent]
slc90e66 6016 0 [permanent]
generic 4096 0 [permanent]
cs5530 5504 0 [permanent]
cs5520 4864 0 [permanent]
sc1200 7552 0 [permanent]
triflex 3968 0 [permanent]
atiixp 6032 0 [permanent]
pdc202xx_old 11520 0 [permanent]
pdc202xx_new 9216 0 [permanent]
opti621 4740 0 [permanent]
ns87415 4552 0 [permanent]
cy82c693 4996 0 [permanent]
amd74xx 14620 0 [permanent]
sis5513 16648 0 [permanent]
via82cxxx 14108 0 [permanent]
serverworks 9480 0 [permanent]
ide_core 130640 28 ide_cd,ide_disk,ide_generic,siimage,aec62xx,trm290,alim15x3,hpt34x,hpt366,cmd64x,piix,rz1000,slc90e66,generic,cs5530,cs5520,sc1200,triflex,atiixp,pdc202xx_old,pdc202xx_new,opti621,ns87415,cy82c693,amd74xx,sis5513,via82cxxx,serverworks
unix 27700 278

mentre questo è lsmod subito dopo alsaconf:

Module Size Used by
snd_emu10k1 100996 0
snd_ac97_codec 78584 1 snd_emu10k1
snd_pcm_oss 53536 0
snd_mixer_oss 20096 1 snd_pcm_oss
snd_pcm 92936 3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_timer 24836 2 snd_emu10k1,snd_pcm
snd_page_alloc 10244 2 snd_emu10k1,snd_pcm
snd_util_mem 4736 1 snd_emu10k1
snd_hwdep 9376 1 snd_emu10k1
snd_rawmidi 24224 1 snd_emu10k1
snd_seq_device 8844 2 snd_emu10k1,snd_rawmidi
nvidia 3922556 12
lp 11972 0
ipv6 255232 8
parport_pc 36164 1
parport 37192 2 lp,parport_pc
floppy 60368 0
pcspkr 3556 0
ohci1394 34948 0
ieee1394 110392 1 ohci1394
emu10k1_gp 3840 0
gameport 4736 1 emu10k1_gp
shpchp 102244 0
pci_hotplug 33328 1 shpchp
intel_mch_agp 10896 0
intel_agp 23324 1
agpgart 34984 3 nvidia,intel_mch_agp,intel_agp
ehci_hcd 34440 0
evdev 9856 0
mousedev 11928 2
tsdev 8000 0
usbhid 34624 0
uhci_hcd 32656 0
usbcore 120440 4 ehci_hcd,usbhid,uhci_hcd
snd 53988 9 snd_emu10k1,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep,snd_rawmidi,snd_seq_device
soundcore 9952 1 snd
i2c_isa 2176 0
ide_cd 42116 0
cdrom 41504 1 ide_cd
rtc 12088 0
ide_disk 18304 6
ide_generic 1408 0 [permanent]
siimage 12800 0 [permanent]
aec62xx 7424 0 [permanent]
trm290 4484 0 [permanent]
alim15x3 12428 0 [permanent]
hpt34x 5504 0 [permanent]
hpt366 20352 0 [permanent]
cmd64x 12316 0 [permanent]
piix 10500 0 [permanent]
rz1000 2688 0 [permanent]
slc90e66 6016 0 [permanent]
generic 4096 0 [permanent]
cs5530 5504 0 [permanent]
cs5520 4864 0 [permanent]
sc1200 7552 0 [permanent]
triflex 3968 0 [permanent]
atiixp 6032 0 [permanent]
pdc202xx_old 11520 0 [permanent]
pdc202xx_new 9216 0 [permanent]
opti621 4740 0 [permanent]
ns87415 4552 0 [permanent]
cy82c693 4996 0 [permanent]
amd74xx 14620 0 [permanent]
sis5513 16648 0 [permanent]
via82cxxx 14108 0 [permanent]
serverworks 9480 0 [permanent]
ide_core 130640 28 ide_cd,ide_disk,ide_generic,siimage,aec62xx,trm290,alim15x3,hpt34x,hpt366,cmd64x,piix,rz1000,slc90e66,generic,cs5530,cs5520,sc1200,triflex,atiixp,pdc202xx_old,pdc202xx_new,opti621,ns87415,cy82c693,amd74xx,sis5513,via82cxxx,serverworks
unix 27700 286

I moduli per la scheda audio, mi sembra ci siano tutti sia prima che dopo e i volumi (con alsamixer) risultano sempre allo stesso livello sia prima che dopo, solo che prima non va e poi va :muro:

Inoltre, volevo capire come posso eliminare quei maledettissimi moduli [permanent] che non hanno nulla a che vedere con il mio hardware.
So che c'è di mezzo initrd (che sto iniziando ad odiare), ma non sono ancora riuscito a compilare un kernel che funzioni senza :cry:

Grazie.