Problème de son : Chipset audio

Premiérement, lorsque tu compiles un kernel toi-même, et que tu souhaites utiliser un initrd, pense à passer le paramétre --initrd à make-kpkg.
Ensuite, pour installer un kernel 2.6, c’est comme pour tous les packages Debian :

Il doit y avoir des images optimisées pour les k7, fait un apt-cache search kernel-image-2.6 pour voir la liste des packages dispo.[/quote]

Le compiler spécifiquement pour ton architecture ne t’amènera pas forcément de meilleures performances. Ce qu’il faut faire quand tu compiles un kernel, c’est lui faire une cure d’amaigrissement.
Si tu n’as qu’une carte son dans ton pc, pourquoi garder les dizaines de modèles proposés ?
Idem pour toutes les autres options proposées lors du menuconfig.
Emploie les packages de détection de matériel pour déterminer ce que tu peux virer et ce que tu dois garder… (lspci, hwtools, discover, kudzu …)
Tu peux aussi optimiser les temps d’accès à tes disques avec hdparm.

Salut Jabba,
j’ai lu ton post avec grand interêt vu que je me renseigne actuellement pour bientot recompiler mon noyau, (une première pour moi), et je souhaite bien lister mon materiel. J’ai donc essayer discover, mais je patauge un peu et ce malgré la lecture du man et une recherche sur google. Celui-ci me donne donne peu d’infos; de plus il ne fonctionne qu’en root ce qui n’est pas normal je crois; (par exemple j’ai trouvé “la simple commande $discover scanne tous les bus locaux”, et bien chez moi elle me dit no such devices). Bref si tu possédais un bon petit tuto en français, si possible, et bien je serais pour toujours ton fidèle abonné lol.
D’avance merci.

Merci Jabba pour le tuyau. J’y penserai la prochaine fois que je recompilerai le kernel. Pour l’instant, j’ai juste viré des services qui ne me servais pas, et maintenant ça va mieux, ça dépote. J’ai aussi changé de desktop, et suis passé sur blackbox, avec idesk + rox-filer, qui est plus rapide et moins lourd que gnome et nautilus, je trouve (et je ne parle pas de kde).

Sinon, le son… toujours un problème. En fait, il y a un message d’erreur au lancement, qui dit que le module du son n’a pas les droits suffisants pour le kernel ou l’user, et du coup il ne peut pas être chargé (en passant, quelle est la commande pour réafficher les messages du kernel?)

[quote=“Damsss”]
Sinon, le son… toujours un problème. En fait, il y a un message d’erreur au lancement, qui dit que le module du son n’a pas les droits suffisants pour le kernel ou l’user, et du coup il ne peut pas être chargé (en passant, quelle est la commande pour réafficher les messages du kernel?)[/quote]

dmesg
D’ailleurs, si tu pouvais nous donner ce que te renvoie cette commande, ça pourrait ptet nous éclaircir, parce que là ça me semble assez obscur :confused:

Ok, mais je préviens, c’est long… et je n’y vois pas les lignes concernant les modules.
Voyez si vous pouvez détecter des choses pas normales. C’est quoi ça le device mapper, par exemple, et cette adresse, et ce journal, que j’ai mis en gras? Et ce ramdisk?

y, caps: 0383fbff c1c3fbff 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps: 0383fbff c1c3fbff 00000000 00000020
CPU: AMD Athlon™ XP 2400+ stepping 01
Enabling fast FPU save and restore… done.
Enabling unmasked SIMD FPU exception support… done.
Checking ‘hlt’ instruction… OK.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000080
ESR value after enabling vector: 00000000
ENABLING IO-APIC IRQs
init IO_APIC IRQs
IO-APIC (apicid-pin) 2-0, 2-16, 2-17, 2-18, 2-19, 2-20, 2-21, 2-22, 2-23 not connected.
…TIMER: vector=0x31 pin1=2 pin2=-1
Using local APIC timer interrupts.
calibrating APIC timer …
… CPU clock speed is 2029.0708 MHz.
… host bus clock speed is 270.0627 MHz.
checking if image is initramfs…it isn’t (ungzip failed); looks like an initrd
Freeing initrd memory: 3760k freed
NET: Registered protocol family 16
EISA bus registered
PCI: PCI BIOS revision 2.10 entry at 0xfdaf1, last bus=1
PCI: Using configuration type 1
ACPI: Subsystem revision 20040326
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [_SB_.PCI0._PRT]
ACPI: Power Resource [URP1] (off)
ACPI: Power Resource [URP2] (off)
ACPI: Power Resource [FDDP] (off)
ACPI: Power Resource [LPTP] (off)
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)
Linux Plug and Play Support v0.97 © Adam Belay
pnp: the driver ‘system’ has been registered
PCI: Using ACPI for IRQ routing
ACPI: PCI interrupt 0000:00:05.0[A] -> GSI 16 (level, low) -> IRQ 16
ACPI: PCI interrupt 0000:00:06.0[?]: no GSI
ACPI: PCI interrupt 0000:00:10.0[A] -> GSI 21 (level, low) -> IRQ 21
ACPI: PCI interrupt 0000:00:10.1[‘B’] -> GSI 21 (level, low) -> IRQ 21
ACPI: PCI interrupt 0000:00:10.2[C] -> GSI 21 (level, low) -> IRQ 21
ACPI: PCI interrupt 0000:00:10.3[D] -> GSI 21 (level, low) -> IRQ 21
ACPI: PCI interrupt 0000:00:11.1[A]: no GSI
ACPI: PCI interrupt 0000:00:12.0[A] -> GSI 23 (level, low) -> IRQ 23
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
number of MP IRQ sources: 15.
number of IO-APIC #2 registers: 24.
testing the IO APIC…
IO APIC #2
… register #00: 02000000
… : physical APIC id: 02
… : Delivery Type: 0
… : LTS : 0
… register #01: 00178003
… : max redirection entries: 0017
… : PRQ implemented: 1
… : IO APIC version: 0003
… IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 001 01 0 0 0 0 0 1 1 39
02 001 01 0 0 0 0 0 1 1 31
03 001 01 0 0 0 0 0 1 1 41
04 001 01 0 0 0 0 0 1 1 49
05 001 01 0 0 0 0 0 1 1 51
06 001 01 0 0 0 0 0 1 1 59
07 001 01 0 0 0 0 0 1 1 61
08 001 01 0 0 0 0 0 1 1 69
09 001 01 0 1 0 1 0 1 1 71
0a 001 01 0 0 0 0 0 1 1 79
0b 001 01 0 0 0 0 0 1 1 81
0c 001 01 0 0 0 0 0 1 1 89
0d 001 01 0 0 0 0 0 1 1 91
0e 001 01 0 0 0 0 0 1 1 99
0f 001 01 0 0 0 0 0 1 1 A1
10 001 01 1 1 0 1 0 1 1 A9
11 000 00 1 0 0 0 0 0 0 00
12 000 00 1 0 0 0 0 0 0 00
13 000 00 1 0 0 0 0 0 0 00
14 000 00 1 0 0 0 0 0 0 00
15 001 01 1 1 0 1 0 1 1 B1
16 000 00 1 0 0 0 0 0 0 00
17 001 01 1 1 0 1 0 1 1 B9
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
IRQ16 -> 0:16
IRQ21 -> 0:21
IRQ23 -> 0:23
… done.
PCI: Device 00:30 not found by BIOS
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Initializing Cryptographic API
PCI: Via IRQ fixup for 0000:00:10.1, from 11 to 5
PCI: Via IRQ fixup for 0000:00:10.0, from 11 to 5
isapnp: Scanning for PnP cards…
isapnp: No Plug & Play device found
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
EISA: Probing bus 0 at eisa0
NET: Registered protocol family 2
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
NET: Registered protocol family 8
NET: Registered protocol family 20
ACPI: (supports S0 S1 S4 S5)
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 3760 blocks [1 disk] into ram disk…

|/-\|/-\|/[…]/-\|/-\|/-\|/-\|/-\|/-done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 224k freed
NET: Registered protocol family 1
SCSI subsystem initialized
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:11.1
ACPI: PCI interrupt 0000:00:11.1[A]: no GSI
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci0000:00:11.1
ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:DMA
hda: ST340014A, ATA DISK drive
hdb: ST340016A, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 1024KiB
hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100)
/dev/ide/host0/bus0/target0/lun0: p1
hdb: max request size: 128KiB
hdb: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
/dev/ide/host0/bus0/target1/lun0: p2 < p5 p6 p7 >
hdc: TSSTcorpDVD-ROM TS-H352A, ATAPI CD/DVD-ROM drive
hdd: CD-RW IDE5232, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting. Commit interval 5 seconds
EXT3-fs: hda1: orphan cleanup on readonly fs
ext3_orphan_cleanup: deleting unreferenced inode 1014339
ext3_orphan_cleanup: deleting unreferenced inode 850704
ext3_orphan_cleanup: deleting unreferenced inode 850703
ext3_orphan_cleanup: deleting unreferenced inode 850702
EXT3-fs: hda1: 4 orphan inodes deleted
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Adding 2048184k swap on /dev/hdb7. Priority:-1 extents:1
EXT3 FS on hda1, internal journal
hdc: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)

device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm@uk.sistina.com
kjournald starting. Commit interval 5 seconds

EXT3 FS on hdb6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
8139too Fast Ethernet driver 0.9.27
ACPI: PCI interrupt 0000:00:05.0[A] -> GSI 16 (level, low) -> IRQ 16
eth0: RealTek RTL8139 at <censuré>
eth0: Identified 8139 chip type 'RTL-8139C’
via-rhine.c:v1.10-LK1.1.20-2.6 May-23-2004 Written by Donald Becker
ACPI: PCI interrupt 0000:00:12.0[A] -> GSI 23 (level, low) -> IRQ 23
eth1: VIA Rhine II at <censuré>
eth1: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ACPI: PCI interrupt 0000:00:10.3[D] -> GSI 21 (level, low) -> IRQ 21
ehci_hcd 0000:00:10.3: VIA Technologies, Inc. USB 2.0
ehci_hcd 0000:00:10.3: irq 21, pci mem f8832e00
ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
NET4: DECnet for Linux: V.2.5.68s © 1995-2003 Linux DECnet Project Team
DECnet: Routing cache hash table of 1024 buckets, 8Kbytes
NET: Registered protocol family 12
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Linux agpgart interface v0.100 © Dave Jones
agpgart: Detected VIA KT400/KT400A/KT600 chipset
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: AGP aperture is 128M @ 0xe0000000
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.4
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
ip_tables: © 2000-2002 Netfilter core team
NET: Registered protocol family 10
Disabled Privacy Extensions on device c02e7c20(lo)
IPv6 over IPv4 tunneling driver
ip_conntrack version 2.1 (7168 buckets, 57344 max) - 296 bytes per conntrack
eth1: no IPv6 routers present
eth0: no IPv6 routers present
fglrx: module license ‘Proprietary. © 2002 - ATI Technologies, Starnberg, GERMANY’ taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 805 MBytes.
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
[fglrx] module loaded - fglrx 8.14.13 [Jun 8 2005] on minor 0
[fglrx] Internal AGP support requested, but kernel AGP support active.
[fglrx] Have to use kernel AGP support to avoid conflicts.
[fglrx] Kernel AGP support doesn’t provide agplock functionality.
[fglrx] AGP detected, AgpState = 0x1f000a1b (hardware caps of chipset)
agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
[fglrx] AGP enabled, AgpCommand = 0x1f000312 (selected caps)
[fglrx] free AGP = 118222848
[fglrx] max AGP = 118222848
[fglrx] free LFB = 122679296
[fglrx] max LFB = 122679296
[fglrx] free Inv = 0
[fglrx] max Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB = 0
[fglrx] total AGP = 32768
[fglrx] Internal AGP support requested, but kernel AGP support active.
[fglrx] Have to use kernel AGP support to avoid conflicts.
[fglrx] AGP detected, AgpState = 0x1f000a1b (hardware caps of chipset)
agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
[fglrx] AGP enabled, AgpCommand = 0x1f000312 (selected caps)
[fglrx] free AGP = 118222848
[fglrx] max AGP = 118222848
[fglrx] free LFB = 122679296
[fglrx] max LFB = 122679296
[fglrx] free Inv = 0
[fglrx] max Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB = 0
[fglrx] total AGP = 32768
[fglrx] Internal AGP support requested, but kernel AGP support active.
[fglrx] Have to use kernel AGP support to avoid conflicts.
[fglrx] AGP detected, AgpState = 0x1f000a1b (hardware caps of chipset)
agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
[fglrx] AGP enabled, AgpCommand = 0x1f000312 (selected caps)
[fglrx] free AGP = 118222848
[fglrx] max AGP = 118222848
[fglrx] free LFB = 122679296
[fglrx] max LFB = 122679296
[fglrx] free Inv = 0
[fglrx] max Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB = 0
[fglrx] total AGP = 32768
[fglrx] Internal AGP support requested, but kernel AGP support active.
[fglrx] Have to use kernel AGP support to avoid conflicts.
[fglrx] AGP detected, AgpState = 0x1f000a1b (hardware caps of chipset)
agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
[fglrx] AGP enabled, AgpCommand = 0x1f000312 (selected caps)
[fglrx] free AGP = 118222848
[fglrx] max AGP = 118222848
[fglrx] free LFB = 122679296
[fglrx] max LFB = 122679296
[fglrx] free Inv = 0
[fglrx] max Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB = 0
[fglrx] total AGP = 32768
[fglrx] Internal AGP support requested, but kernel AGP support active.
[fglrx] Have to use kernel AGP support to avoid conflicts.
[fglrx] AGP detected, AgpState = 0x1f000a1b (hardware caps of chipset)
agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
[fglrx] AGP enabled, AgpCommand = 0x1f000312 (selected caps)
[fglrx] free AGP = 118222848
[fglrx] max AGP = 118222848
[fglrx] free LFB = 122679296
[fglrx] max LFB = 122679296
[fglrx] free Inv = 0
[fglrx] max Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB = 0
[fglrx] total AGP = 32768
[fglrx] Internal AGP support requested, but kernel AGP support active.
[fglrx] Have to use kernel AGP support to avoid conflicts.
[fglrx] AGP detected, AgpState = 0x1f000a1b (hardware caps of chipset)
agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
[fglrx] AGP enabled, AgpCommand = 0x1f000312 (selected caps)
[fglrx] free AGP = 118222848
[fglrx] max AGP = 118222848
[fglrx] free LFB = 122679296
[fglrx] max LFB = 122679296
[fglrx] free Inv = 0
[fglrx] max Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB = 0
[fglrx] total AGP = 32768
[fglrx] Internal AGP support requested, but kernel AGP support active.
[fglrx] Have to use kernel AGP support to avoid conflicts.
[fglrx] AGP detected, AgpState = 0x1f000a1b (hardware caps of chipset)
agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
[fglrx] AGP enabled, AgpCommand = 0x1f000312 (selected caps)
[fglrx] free AGP = 118222848
[fglrx] max AGP = 118222848
[fglrx] free LFB = 122679296
[fglrx] max LFB = 122679296
[fglrx] free Inv = 0
[fglrx] max Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB = 0
[fglrx] total AGP = 32768
cdrom: open failed.
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A

Va voir la man page de initrd et tu sauras tout sur ton cher ami cramfs … :wink:

device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm@uk.sistina.com
kjournald starting. Commit interval 5 seconds

Ca m’a tout l’air d’être le système de journaling de tes filesystems. C’est ce qui te permettra de checker et réparer rapidement tes filesystems après un crash.
Et c’est apparement ce qu’il vient de faire sur ta machine, si tu regardes ton log:

EXT3-fs: hda1: orphan cleanup on readonly fs ext3_orphan_cleanup: deleting unreferenced inode 1014339 ext3_orphan_cleanup: deleting unreferenced inode 850704 ext3_orphan_cleanup: deleting unreferenced inode 850703 ext3_orphan_cleanup: deleting unreferenced inode 850702 EXT3-fs: hda1: 4 orphan inodes deleted EXT3-fs: recovery complete.
C’est une bien brave bête ! :smiley:

Par contre, à aucun moment je ne vois un message sur le chargement du module de ta carte son.
Fait un lsmod et regarde si le module snd-cs46xx est mentionné dans la sortie de cette commande.
Si il n’y est pas, fait un modprobe snd-cs46xx et dit nous ce que ça renvoie.

Salut yo4,
En fait, non je n'ai pas vraiment de tuto mais j'utilises principalement discover avec xdebconfigurator, pour configurer X.
Si tu veux un outil sympa, pour détecter ton matos, en vue de recompiler ton kernel, prends plutôt les outils suivants: [b]hwinfo, lspci lsusb hwtools[/b] et redirige leur output dans des fichiers texte.
Un exemple avec hwinfo, sur ma machine:
[code]burp:/tmp# hwinfo --short
cpu:
                       AMD Athlon(tm) 64 Processor 3000+, 2000 MHz
keyboard:
  /dev/input/event0    AT Translated Set 2 keyboard
mouse:
  /dev/input/mice      ImPS/2 Generic Wheel Mouse
graphics card:
                       ATI RV350 AS
                       ATI Display controller
sound:
                       ALi M5455 PCI AC-Link Controller Audio Device
storage:
                       Floppy disk controller
                       ALi M5229 IDE
network:
                       ALi Ethernet controller
                       3Com 3C905C-TX Fast Etherlink for PC Management NIC
network interface:
  eth0                 Ethernet network interface
  eth1                 Ethernet network interface
  lo                   Loopback network interface
disk:
  /dev/hda             HDS722525VLAT80
  /dev/hdb             SAMSUNG SP2514N
partition:
  /dev/hda1            Partition
  /dev/hda2            Partition
  /dev/hda3            Partition
  /dev/hda5            Partition
  /dev/hda6            Partition
  /dev/hda7            Partition
  /dev/hda8            Partition
  /dev/hdb1            Partition
cdrom:
  /dev/hdc             TDK DVDRW0404N
  /dev/hdd             Hewlett-Packard CD-Writer Plus 8100
floppy:
  /dev/fd0             Floppy Disk
usb controller:
                       ALi USB 1.1 Controller
                       ALi USB 1.1 Controller
                       ALi USB 1.1 Controller
                       ALi USB 2.0 Controller
bios:
                       BIOS
bridge:
                       ALi Host bridge
                       ALi PCI bridge
                       ALi M5249 HTT to PCI Bridge
                       ALi M1563 HyperTransport South Bridge
                       ALi M7101 PMU
                       AMD K8 NorthBridge
                       AMD K8 NorthBridge
                       AMD K8 NorthBridge
                       AMD K8 NorthBridge
hub:
                       Linux 2.6.11.amd64-29juin ohci_hcd ALi Corporation USB 1. 1 Controller
                       Linux 2.6.11.amd64-29juin ohci_hcd ALi Corporation USB 1. 1 Controller (#2)
                       Linux 2.6.11.amd64-29juin ohci_hcd ALi Corporation USB 1. 1 Controller (#3)
                       Linux 2.6.11.amd64-29juin ehci_hcd ALi Corporation USB 2. 0 Controller
memory:
                       Main Memory
firewire controller:
                       VIA IEEE 1394 Host Controller
unknown:
                       FPU
                       DMA controller
                       PIC
                       Timer
                       Keyboard controller
  /dev/lp0             Parallel controller
                       PS/2 Controller
  /dev/ttyS0           16550A
burp:/tmp#                  Write info to logfile.
bash: Write: command not found
burp:/tmp#
[/code]
[u]Exemple:[/u] dans l'output ci-dessus, j'ai la ligne suivante:
[quote]firewire controller:
                       VIA IEEE 1394 Host Controller[/quote]
Eh ben avec cette info c'est une bonne idée d'aller dans le répertoire des sources du kernel et de lire la doc.

[code]burp:/usr/src/linux/Documentation# grep iee *
post-halloween-2.6.txt:     and ieee1394 sbp2 devices [well it's work_in_progress]
burp:/usr/src/linux/Documentation#
[/code]Tiens ! ça parle d'halloween ...  :smiley: 

Encore une chose, vas-y progressivement, tu n'arriveras pas à purger ton kernel de toutes les choses inutiles en 1 seule compilation. 
Lis bien un maximum de documentation et vas-y par étapes. Si tu enlèves trop de choses, tu risques de te retrouver avec un système instable.
Bon courage  :wink:

Salut yo4,
En fait, non je n’ai pas vraiment de tuto mais j’utilises principalement discover avec xdebconfigurator, pour configurer X.
Si tu veux un outil sympa, pour détecter ton matos, en vue de recompiler ton kernel, prends plutôt les outils suivants: hwinfo, lspci lsusb hwtools et redirige leur output dans des fichiers texte.
Un exemple avec hwinfo, sur ma machine:

burp:/tmp# hwinfo --short cpu: AMD Athlon(tm) 64 Processor 3000+, 2000 MHz keyboard: /dev/input/event0 AT Translated Set 2 keyboard mouse: /dev/input/mice ImPS/2 Generic Wheel Mouse graphics card: ATI RV350 AS ATI Display controller sound: ALi M5455 PCI AC-Link Controller Audio Device storage: Floppy disk controller ALi M5229 IDE network: ALi Ethernet controller 3Com 3C905C-TX Fast Etherlink for PC Management NIC network interface: eth0 Ethernet network interface eth1 Ethernet network interface lo Loopback network interface disk: /dev/hda HDS722525VLAT80 /dev/hdb SAMSUNG SP2514N partition: /dev/hda1 Partition /dev/hda2 Partition /dev/hda3 Partition /dev/hda5 Partition /dev/hda6 Partition /dev/hda7 Partition /dev/hda8 Partition /dev/hdb1 Partition cdrom: /dev/hdc TDK DVDRW0404N /dev/hdd Hewlett-Packard CD-Writer Plus 8100 floppy: /dev/fd0 Floppy Disk usb controller: ALi USB 1.1 Controller ALi USB 1.1 Controller ALi USB 1.1 Controller ALi USB 2.0 Controller bios: BIOS bridge: ALi Host bridge ALi PCI bridge ALi M5249 HTT to PCI Bridge ALi M1563 HyperTransport South Bridge ALi M7101 PMU AMD K8 NorthBridge AMD K8 NorthBridge AMD K8 NorthBridge AMD K8 NorthBridge hub: Linux 2.6.11.amd64-29juin ohci_hcd ALi Corporation USB 1. 1 Controller Linux 2.6.11.amd64-29juin ohci_hcd ALi Corporation USB 1. 1 Controller (#2) Linux 2.6.11.amd64-29juin ohci_hcd ALi Corporation USB 1. 1 Controller (#3) Linux 2.6.11.amd64-29juin ehci_hcd ALi Corporation USB 2. 0 Controller memory: Main Memory firewire controller: VIA IEEE 1394 Host Controller unknown: FPU DMA controller PIC Timer Keyboard controller /dev/lp0 Parallel controller PS/2 Controller /dev/ttyS0 16550A burp:/tmp# Write info to logfile. bash: Write: command not found burp:/tmp#
Exemple: dans l’output ci-dessus, j’ai la ligne suivante:

[quote]firewire controller:
VIA IEEE 1394 Host Controller[/quote]
Eh ben avec cette info c’est une bonne idée d’aller dans le répertoire des sources du kernel et de lire la doc.

burp:/usr/src/linux/Documentation# grep iee * post-halloween-2.6.txt: and ieee1394 sbp2 devices [well it's work_in_progress] burp:/usr/src/linux/Documentation# Tiens ! ça parle d’halloween … :smiley:

Encore une chose, vas-y progressivement, tu n’arriveras pas à purger ton kernel de toutes les choses inutiles en 1 seule compilation.
Lis bien un maximum de documentation et vas-y par étapes. Si tu enlèves trop de choses, tu risques de te retrouver avec un système instable.
Bon courage :wink:

Bobx, j’ai fais un lsmode, et il n’y avait pas de module snd-cs46xx! C’est un comble… combien de fois n’avais-je pas déjà fait un modprobe. A mon avis, il ne se lance pas au démarrage.
Bref, je fais un modprobe snd-cs46xx, et tout se passe bien. Pas de messages. Je refais un lsmode et là tout les modules de sons apparaissent :

alors je fais un alsamixer :

Pas piqué des vers, je fais un alsactl power:

Je fais un update-modules pour voir, ça ne change rien.
Il doit y avoir encore une manip à faire, pour lancer la carte son.
Ha oui, si je fais un alsaconf, ça plante. Le curseur reste sans rien faire.

Merci Jabba pour l’info.

faudrait refaire un dmesg aprés le modprobe pour voir si le module se charge sans erreur

On n’y voit toujours pas de lignes sur les modules de son, par contre, la première ligne est suspecte :

Et même en lançant un hwinfo --short, la carte son n’apparaît pas.

Alors… c’est grave docteur?

Doit il y avoir un soucis avec ton kernel compilé à la main. Pour vérifier, faudrait que t’installes un kernel-image dispo dans les dépôts Debian, et voir si ça marche mieux.

dmesg n’affiche qu’une partie interressante mais insuffisante des messages kernel.
La totalité des messages est bien sûr dans /var/log/kernel.log

A vrai dire, j’ai d’avantage de soucis avec une image kernel en kit, de chez stable…
Après avoir téléchargé la version kernel-image-2.6.8-2-k7
et lancé un dpkg -i kernel-image-2.6.8.2-k7_2.6.8-16_i376.deb
je fais un reboot et choisi le kernel en question.
Il bloque durant l’initialisation, après avoir trouvé un parport.

Mais le plus beau, si je peux dire, c’est que quelques lignes avant, il affiche :

Du coup, je reviens à ma version personnelle, qui se lance malgrès tout.

A présent, j’ai réussi à chargé le module de ma carte son, il apparaît dans la liste en faisant lsmod. Tout à l’air de fonctionner, sauf que lorsque je lance alsamixer :

de même xmms ne trouve pas de carte son, alsa_ctl non plus.
Pourtant j’ai bien mis les alias dans modutils.
lsmod donne:

Il doit y avoir encore une manip’ à faire, mais laquelle?

slt,

Tu peut essayer de tracer l’execution de tes progs avec “strace”

#strace -eopen alsamixer

Ca te permet de voir tout tes “No such file or directory”, matt aussi les permissions dans /dev par exemple “dev/snd/controlC0” qu’ils soient bien en 666.

merci stonfi, cette commande est trés utile.
Mais j’ai compilé le kernel en ajoutant Alsa, et bien qu’alsa se lance au démarrage, il n’actionne pas le module de la carte son (il faut que je fasse alors un modprobe à chaque fois :confused: ). D’après quelques articles, il faudrait que je recompile le kernel parcque celui-ci s’est compilé avec Alsa, mais sans aucun driver. Pourquoi est-ce que c’est si compliqué d’installer une carte son? Je n’ai jamais connu tant de problème avec ma carte vidéo par exemple.

slt,

C’est pas que c’est compliquer mais un geeks connait tout le matos qu’il a d’installer et compile son noyau en rapport…apres il se peut qu’il y est des dependances comme pour les cartes son…

Mais je l’ai compilé en rapport… j’ai bien coché les cases en rapport à ma carte son cs46xx (Hercules truc Xp (ça doit venir du Xp)) dans xconfig. C’est simple, je n’ai jamais pus profiter de ma carte son : même en stable 2.4 il ne reconnait pas ma carte (pourant elle est bien, ma carte).