Почетак › Форуми › Линукс дистрибуције › Slackware › kernel 2.6 ne ucitava module (bar ja tako mislim)
- This topic has 16 одговора, 5 гласова, and was last updated 18 years, 11 months раније by 22_dana.
-
АуторЧланци
-
16. септембар 2005. у 11:26 pm #616022_danaУчесник
sveze kompajlirani kernel 2.6.13 koji treba da ucitava driver za zvucnu ect ..kao modul izgleda da to ne uspeva
ovako izgleda /var/log/dmesg:
[code]Linux version 2.6.13-default (root@darkstar) (gcc version 3.3.4) #1 SMP Fri Sep 16 12:29:02 CEST 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 – 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 – 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 – 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 – 0000000027fec000 (usable)
BIOS-e820: 0000000027fec000 – 0000000027fef000 (ACPI data)
BIOS-e820: 0000000027fef000 – 0000000027fff000 (reserved)
BIOS-e820: 0000000027fff000 – 0000000028000000 (ACPI NVS)
BIOS-e820: 00000000ffff0000 – 0000000100000000 (reserved)
639MB LOWMEM available.
On node 0 totalpages: 163820
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 159724 pages, LIFO batch:31
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 ASUS ) @ 0x000f6a70
ACPI: RSDT (v001 ASUS A7V-133 0x30303031 MSFT 0x31313031) @ 0x27fec000
ACPI: FADT (v001 ASUS A7V-133 0x30303031 MSFT 0x31313031) @ 0x27fec080
ACPI: BOOT (v001 ASUS A7V-133 0x30303031 MSFT 0x31313031) @ 0x27fec040
ACPI: DSDT (v001 ASUS A7V-133 0x00001000 MSFT 0x0100000b) @ 0x00000000
Allocating PCI resources starting at 28000000 (gap: 28000000:d7ff0000)
Built 1 zonelists
Kernel command line: BOOT_IMAGE=Slack_2.6 ro root=302
Local APIC disabled by BIOS — you can enable it with “lapic”
mapped APIC to ffffd000 (01545000)
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 65536 bytes)
Detected 1009.175 MHz processor.
Using tsc for high-res timesourceConsole: colour VGA+ 80×25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 644020k/655280k available (2920k kernel code, 10772k reserved, 1141k data, 220k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode… Ok.
Calibrating delay using timer specific routine.. 2022.33 BogoMIPS (lpj=4044670)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 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: 0183f9ff c1c7f9ff 00000000 00000020 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
mtrr: v2.0 (20020519)
Enabling fast FPU save and restore… done.
Checking ‘hlt’ instruction… OK.
ACPI: setting ELCR to 0200 (from 0e20)
CPU0: AMD Athlon(tm) Processor stepping 04
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf1180, last bus=1
PCI: Using configuration type 1
ACPI: Subsystem revision 20050408
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] segment is 0
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 13 devices
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: d000-dfff
MEM window: d7000000-d7dfffff
PREFETCH window: d7f00000-e5ffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
pnp: 00:02: ioport range 0xe400-0xe47f could not be reserved
pnp: 00:02: ioport range 0xe800-0xe80f has been reserved
Simple Boot Flag at 0x3a set to 0x1
Machine check exception polling timer started.
audit: initializing netlink socket (disabled)
audit(1126961197.320:1): initialized
Installing knfsd (copyright (C) 1996 [email protected]).
Applying VIA southbridge workaround.
PCI: Disabling Via external APIC routing
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 16 throttling states)
isapnp: Scanning for PnP cards…
isapnp: No Plug & Play device found
Linux agpgart interface v0.101 (c) Dave Jones
[drm] Initialized drm 1.0.0 20040925
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport_pc: VIA 686A/8231 detected
parport_pc: probing current configuration
parport_pc: Current parallel port base: 0x378
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP(,…)]
parport_pc: VIA parallel port: io=0x378, irq=7
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0…
hda: MAXTOR 6L040J2, ATA DISK drive
Probing IDE interface ide1…
hdc: CRD-8520B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 78177792 sectors (40027 MB) w/1819KiB Cache, CHS=65535/16/63
hda: cache flushes supported
hda: hda1 hda2 hda3 hda4 < hda5 >
hdc: ATAPI 52X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.20
SCSI Media Changer driver v0.25
usbmon: debugfs is not available
USB Universal Host Controller Interface driver v2.3ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt 0000:00:04.2[D] -> Link [LNKD] -> GSI 5 (level, low) -> IRQ 5
uhci_hcd 0000:00:04.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
uhci_hcd 0000:00:04.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:04.2: irq 5, io base 0x0000b400
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:04.3[D] -> Link [LNKD] -> GSI 5 (level, low) -> IRQ 5
uhci_hcd 0000:00:04.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
uhci_hcd 0000:00:04.3: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:04.3: irq 5, io base 0x0000b000
hub 2-0:1.0: USB hub found
hub 2-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.
mice: PS/2 mouse device common for all mice
Advanced Linux Sound Architecture Driver Version 1.0.9b (Thu Jul 28 12:20:13 2005 UTC).
ALSA device list:
No soundcards found.
oprofile: using timer interrupt.
NET: Registered protocol family 2
input: AT Translated Set 2 keyboard on isa0060/serio0
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
TCP bind
hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
ip_conntrack version 2.1 (5119 buckets, 40952 max) – 212 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost. http://snowman.net/projects/ipt_recent/
arp_tables: (C) 2002 David S. Miller
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 220k freed
[/code]ovako izgleda lilo.conf:
[code]# LILO configuration file
# generated by ‘liloconfig’
#
# Start LILO global section
boot = /dev/hda
# message = /boot/boot_message.txt
prompt
timeout = 120
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x64k
vga = 791
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section# config boot image
bitmap = /boot/slack_boot.bmp# end config boot image
# Windows bootable partition config begins
other = /dev/hda1
label = Windows
table = /dev/hda
# Windows bootable partition config ends#///////////////////////////////////////
# Linux 2.6 kernel booting
image = /boot/vmlinuz-2.6.13-default
root = /dev/hda2
label = Slack_2.6
read-only# end linux 2.6 kernel boot
#//////////////////////////////////////# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda2
label = Slack_2.4
read-only
# Linux bootable partition config ends
[/code]posle komandi:
[code] make bzImage; make modules; make modules_install;[/code]uradio sam i:
[code]generate-modprobe.conf /etc/modprobe.conf [/code]Onda u tom bootovanom kernelu komanda lsmod daje:
[code]Module Size Used by[/code]Ono sto se ne vidi u dmesg (ne znam zasto) je nekoliko poruka (koje sam video dok se bootuje kernel) oblika
[code] FATAL
can not be found [/code]
ili slicnoAko kernel 2.6 ucitava module na osnovu pomenutog fajla, ne kapiram sta se desava kad imas dve verzije kernela 2.6 potpuno drugacije konfigurisane koji treba da ucitavaju iste module (jer moze postojati samo jedan /etc/modprobe.conf ) )????@#$#.
jos nekoliko pitanja i konstatacija:
1.Takodje kppp (k 2.6) nije hteo da se prkaci na sezam.
2.Kako podesiti da se bootovanje prikazuje u nekoj vecoj rezoluciji (1024 x nesto ili sl)?
3. Sta je potrebno od drivera da bi se mountovao flash na usb (posto ni to nije radilo)?
iako je bilo podrke za scsija, usb file system, usb storage device itdBilo kakav odgovor (osim onih mudrih “zasto uopste kompajliras kernel?”) je dobrodosao ili link ka mestu koje ce me prosvetliti.
Hvala na vremenu…17. септембар 2005. у 10:01 am #34857DooleУчесникProveri sam da li ti ucitava mdule.Kada ti se podigne sistem kucaj u konzoli “modprobe ime modula” ako ga ucita staviga negde da ti se podize prilikom boot-a.Ako ti ne ucitava modil sa modprobe kernel nije dobro kompajliran.
18. септембар 2005. у 8:14 am #34858workyУчесникhmhm, neka me neko ispravi ako grešim, pogotovu što nisam Slackware user ali nameravam
da instaliram Slack 10.2 pa će mi možda koristiti: posle make modules_install treba uraditi i [code]make install[/code]
Takođe,mislim da je potreban gcc4 da bi se kompajlirao 2.6.13 kernel18. септембар 2005. у 8:34 am #34859popacУчесникA da li je make modules install je smestio module u /lib/modules/2.6.13/ ???
Imaš opciju u konfigurisanju kernela enable module loading ili tako nešto, proveri.18. септембар 2005. у 2:52 pm #34860LYbУчесникTakođe,mislim da je potreban gcc4 da bi se kompajlirao 2.6.13 kernel
Apsolutno netacno. gcc4.x je toliko unstable da je ustanju da srusi i planinu 🙂
inace, make install samo kopira /usr/src/linux/arch/i386/boot/bzImage u /boot, i dalje treba srediti ime boot kernela i lilo/grub
18. септембар 2005. у 4:57 pm #3486122_danaУчесникma¹ opciju u konfigurisanju kernela enable module loading ili tako ne¹to, pro
cekirao sam LOADABLE MODULE SUPPORT
Primetio sam da moduli u k2.6 imaju extenziju .ko, mozda to ima neke veze? (verovatno nema)
koji fajl kernel 2.6.13 koristi za ucitavanje modula?
kad probam da rucno ubacim module, komanda modprobe ne moze da pronadje konkretan fajl iako on postoji na pravom mestu (/lib/modules/2.6.13/)18. септембар 2005. у 5:43 pm #34862popacУчесникEpa brate onda imaš jako čudan problem. Obriši .config i probaj rekompajlranje od nule. 😆
20. септембар 2005. у 9:27 pm #3486322_danaУчесникhaaa hha hhaa vrlo duhovito…
20. септембар 2005. у 9:46 pm #34864LYbУчесникPa sta je tu smesno?
26. септембар 2005. у 3:10 pm #34865popacУчесникLepo, i ja sam imao isti problem na doticnomkernelu i resava se tako sto se sama podrska za ALSU stavi u kernel a moduli se ubace samo pod PCI modul za karticu. Dakle stavis Alsa core support ili kako se vec zove u kernel a ne kao modul.
-
АуторЧланци
Мораш бити пријављен да би поставио коментар у овој теми.