[ oadar @ 19.08.2002. 22:05 ] @
Imam modem Intel HaM MD5628D-L-A. Nasao sam Linux drajvere na internetu i pokusao da ga instaliram ali kada izdam komandu: make install on mi izbaci kako nema ham.o modula. U cemu je stvar? |
[ oadar @ 19.08.2002. 22:05 ] @
[ B o j a n @ 20.08.2002. 02:42 ] @
Zdravo pope,
ako mislis da ti neko pomogne oko toga, posalji CEO output, zajedno sa dmesg(1) i cat /proc/pci outputom. [ oadar @ 20.08.2002. 13:56 ] @
Ovo izlazi kad uradi make clean
------------------------------- cd coredrv; make clean make[1]: Entering directory `/home/milorad/Desktop/new/coredrv' rm -f *.o *~ core make[1]: Leaving directory `/home/milorad/Desktop/new/coredrv' cd serialdrv; make clean make[1]: Entering directory `/home/milorad/Desktop/new/serialdrv' rm -f *.o *~ core make[1]: Leaving directory `/home/milorad/Desktop/new/serialdrv' rm -f *.o rm -f *.o Ovo izlazi kad uradim make ham ------------------------------ [root@localhost new]# make ham if [ -a /boot/vmlinuz.version.h ]; then \ cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h; fi cd coredrv; make \ "PSTN_DEF=-DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX" \ ham; make[1]: Entering directory `/home/milorad/Desktop/new/coredrv' cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o coredrv.o coredrv.c In file included from ../inc/hamdefs.h:65, from ../inc/hamcore.h:39, from coredrv.c:33: /usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers, /usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package. /usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to /usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include /usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel. make[1]: *** [coredrv.o] Error 1 make[1]: Leaving directory `/home/milorad/Desktop/new/coredrv' make: *** [ham] Error 2 Ovo izlazi kad uradim make install ---------------------------------- bash haminst running kernel 2.4.7-10 installing hamregistry, used for persistant storage installing ham module install: cannot stat `ham.o': No such file or directory installing hamcore module install: cannot stat `hamcore.o': No such file or directory redhat hamboot rc2.d and rc3.d scripts starting module and utilities insmod: hamcore: no module by that name found done [ oadar @ 20.08.2002. 13:58 ] @
Nastavak...
Ovo je /proc/pci ----------------- PCI devices found: Bus 0, device 0, function 0: Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 3). Master Capable. Latency=8. Prefetchable 32 bit memory at 0xe4000000 [0xe7ffffff]. Bus 0, device 1, function 0: PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP] (rev 0). Master Capable. No bursts. Min Gnt=8. Bus 0, device 4, function 0: ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 64). Bus 0, device 4, function 1: IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 6). Master Capable. Latency=32. I/O at 0xd800 [0xd80f]. Bus 0, device 4, function 2: USB Controller: VIA Technologies, Inc. UHCI USB (rev 22). IRQ 5. Master Capable. Latency=32. I/O at 0xd400 [0xd41f]. Bus 0, device 4, function 3: USB Controller: VIA Technologies, Inc. UHCI USB (#2) (rev 22). IRQ 5. Master Capable. Latency=32. I/O at 0xd000 [0xd01f]. Bus 0, device 4, function 4: Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 64). IRQ 9. Bus 0, device 9, function 0: Communication controller: PCI device 1813:4000 (Ambient Technologies Inc) (rev 2). IRQ 5. Non-prefetchable 32 bit memory at 0xd5800000 [0xd5800fff]. I/O at 0xa400 [0xa4ff]. Bus 0, device 13, function 0: Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 16). IRQ 5. Master Capable. Latency=32. Min Gnt=2.Max Lat=24. I/O at 0xa000 [0xa0ff]. Bus 0, device 17, function 0: Unknown mass storage controller: Promise Technology, Inc. 20265 (rev 2). IRQ 10. Master Capable. Latency=32. I/O at 0x9800 [0x9807]. I/O at 0x9400 [0x9403]. I/O at 0x9000 [0x9007]. I/O at 0x8800 [0x8803]. I/O at 0x8400 [0x843f]. Non-prefetchable 32 bit memory at 0xd5000000 [0xd501ffff]. Bus 1, device 0, function 0: VGA compatible controller: nVidia Corporation NV11 (rev 178). IRQ 11. Master Capable. Latency=64. Min Gnt=5.Max Lat=1. Non-prefetchable 32 bit memory at 0xd6000000 [0xd6ffffff]. Prefetchable 32 bit memory at 0xd8000000 [0xdfffffff]. ----------------------------- Ovo je dmesg ----------------------------- Linux version 2.4.7-10 ([email protected]) (gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)) #1 Thu Sep 6 16:46:36 EDT 2001 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009e800 (usable) BIOS-e820: 000000000009e800 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000000ffec000 (usable) BIOS-e820: 000000000ffec000 - 000000000ffef000 (ACPI data) BIOS-e820: 000000000ffef000 - 000000000ffff000 (reserved) BIOS-e820: 000000000ffff000 - 0000000010000000 (ACPI NVS) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) On node 0 totalpages: 65516 zone(0): 4096 pages. zone(1): 61420 pages. zone(2): 0 pages. Local APIC disabled by BIOS -- reenabling. Found and enabled local APIC! Kernel command line: ro root=/dev/hde7 Initializing CPU#0 Detected 908.116 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 1808.79 BogoMIPS Memory: 253032k/262064k available (1279k kernel code, 6716k reserved, 91k data, 232k init, 0k highmem) Dentry-cache hash table entries: 32768 (order: 6, 262144 bytes) Inode-cache hash table entries: 16384 (order: 5, 131072 bytes) Mount-cache hash table entries: 4096 (order: 3, 32768 bytes) Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes) Page-cache hash table entries: 65536 (order: 7, 524288 bytes) CPU: Before vendor init, caps: 0183fbff c1c7fbff 00000000, vendor = 2 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) CPU: After vendor init, caps: 0183fbff c1c7fbff 00000000 00000000 CPU: After generic, caps: 0183fbff c1c7fbff 00000000 00000000 CPU: Common caps: 0183fbff c1c7fbff 00000000 00000000 CPU: AMD Athlon(tm) Processor stepping 02 Enabling fast FPU save and restore... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX mtrr: v1.40 (20010327) Richard Gooch ([email protected]) mtrr: detected mtrr type: Intel PCI: PCI BIOS revision 2.10 entry at 0xf1150, last bus=1 PCI: Using configuration type 1 PCI: Probing PCI hardware Unknown bridge resource 0: assuming transparent PCI: Using IRQ router VIA [1106/0686] at 00:04.0 Applying VIA southbridge workaround. PCI: Disabling Via external APIC routing 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 Initializing RT netlink socket Simple Boot Flag extension found and enabled. apm: BIOS version 1.2 Flags 0x03 (Driver version 1.14) Starting kswapd v1.8 VFS: Diskquotas version dquot_6.5.0 initialized pty: 2048 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A Real Time Clock Driver v1.10d block: queued sectors max/low 167978kB/55992kB, 512 slots per queue RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz PCI bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller on PCI bus 00 dev 21 VP_IDE: chipset revision 6 VP_IDE: not 100% native mode: will probe irqs later ide: Assuming 33MHz PCI bus speed for PIO modes; override with idebus=xx VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:04.1 ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:pio, hdd:pio PDC20265: IDE controller on PCI bus 00 dev 88 PCI: Found IRQ 10 for device 00:11.0 PDC20265: chipset revision 2 PDC20265: not 100% native mode: will probe irqs later PDC20265: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI Mode. ide2: BM-DMA at 0x8400-0x8407, BIOS settings: hde:pio, hdf:pio ide3: BM-DMA at 0x8408-0x840f, BIOS settings: hdg:DMA, hdh:DMA hda: _NEC DV-5800A, ATAPI CD/DVD-ROM drive hde: MAXTOR 4K040H2, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide2 at 0x9800-0x9807,0x9402 on irq 10 hde: 78198750 sectors (40038 MB) w/2000KiB Cache, CHS=77578/16/63, UDMA(100) ide-floppy driver 0.97 Partition check: hde: [PTBL] [4867/255/63] hde1 hde2 < hde5 hde6 hde7 hde8 > Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 ide-floppy driver 0.97 md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 2048 buckets, 16Kbytes TCP: Hash tables configured (established 16384 bind 16384) Linux IP multicast router 0.06 plus PIM-SM NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. RAMDISK: Compressed image found at block 0 Freeing initrd memory: 319k freed VFS: Mounted root (ext2 filesystem). Journalled Block Device driver loaded kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Freeing unused kernel memory: 232k freed Adding Swap: 522072k swap-space (priority -1) usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-uhci.c: $Revision: 1.259 $ time 16:59:02 Sep 6 2001 usb-uhci.c: High bandwidth mode enabled PCI: Found IRQ 5 for device 00:04.2 PCI: Sharing IRQ 5 with 00:04.3 PCI: Sharing IRQ 5 with 00:09.0 PCI: Sharing IRQ 5 with 00:0d.0 usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 5 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found hub.c: 2 ports detected PCI: Found IRQ 5 for device 00:04.3 PCI: Sharing IRQ 5 with 00:04.2 PCI: Sharing IRQ 5 with 00:09.0 PCI: Sharing IRQ 5 with 00:0d.0 usb-uhci.c: USB UHCI at I/O 0xd000, IRQ 5 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 2 hub.c: USB hub found hub.c: 2 ports detected usb-uhci.c: v1.251:USB Universal Host Controller Interface driver EXT3 FS 2.4-0.9.8, 25 Aug 2001 on ide2(33,7), internal journal kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.8, 25 Aug 2001 on ide2(33,6), internal journal EXT3-fs: mounted filesystem with ordered data mode. 0x378: FIFO is 16 bytes 0x378: writeIntrThreshold is 8 0x378: readIntrThreshold is 8 0x378: PWord is 8 bits 0x378: Interrupts are ISA-Pulses 0x378: ECP port cfgA=0x10 cfgB=0x00 0x378: ECP settings irq=<none or set by other means> dma=<none or set by other means> parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,COMPAT,ECP] parport0: cpp_daisy: aa5500ff(38) parport0: assign_addrs: aa5500ff(38) parport0: cpp_daisy: aa5500ff(38) parport0: assign_addrs: aa5500ff(38) parport_pc: Via 686A parallel port: io=0x378 ip_conntrack (2047 buckets, 16376 max) cm: version $Revision: 5.64 $ time 16:59:11 Sep 6 2001 PCI: Found IRQ 5 for device 00:0d.0 PCI: Sharing IRQ 5 with 00:04.2 PCI: Sharing IRQ 5 with 00:04.3 PCI: Sharing IRQ 5 with 00:09.0 cm: found CM8738 adapter at io 0xa000 irq 5 chip version = 037 cm: Enable SPDIF loop ide-floppy driver 0.97 hda: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.12 [ B o j a n @ 20.08.2002. 17:40 ] @
Citat: Linux version 2.4.7-10 Koristis divlji, i nestandardni linux kernel, za koji nije predvidjen drajver koji pokusavas da instaliras. A i osim toga, lepo ti pise: Citat: Change -I/usr/src/linux/include (or similar) to -I/lib/modules/$(uname -r)/build/include to build against the currently-running kernel. Instaliraj normalan kernel sa kernel.org i resi se bede. [ oadar @ 21.08.2002. 00:26 ] @
Skinuo sam patch kernel 2.4.19 (koji bi trebao da je stabilan) ali, posto sam tek dva dana u Linuxu trebace mi pomoc oko patchovanja ovog mog kernela.
Mozes li mi opisati sta bi trebao da radim? [ oadar @ 21.08.2002. 23:05 ] @
Problem sam resio na sledeci nacin:
Sa intelovog sajta skinuo sam drajver i compieled binaries za MD5628D-L-B iako je moj bio MD5628D-L-A i kada sam vec gotove module ubacio proradio je. Nisam morao da instalilram drugi kernel. Copyright (C) 2001-2025 by www.elitesecurity.org. All rights reserved.
|