skrewball Posted January 21, 2004 Report Share Posted January 21, 2004 i am running mandrake 9.2 but i am having lots of probs with my ethernet. the mandrake installation picked up my ethernet with no problems but when it came time to configure it to access the interenet whatever i tried didnt seem to work.. i have all the correct information such as DHCP etc. any ideas on what i can do to get the internet to work? Thanks :D Quote Link to comment Share on other sites More sharing options...
skrewball Posted January 21, 2004 Author Report Share Posted January 21, 2004 btw my ethernet card is a Broadcom 440x 10/100 Intergrated Controller Quote Link to comment Share on other sites More sharing options...
Gowator Posted January 21, 2004 Report Share Posted January 21, 2004 OK - should be OK, First some diagnostics :D As root in a console: ifconfig (paste the results back here) Quote Link to comment Share on other sites More sharing options...
skrewball Posted January 21, 2004 Author Report Share Posted January 21, 2004 the results from ifconfig are: lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:182 errors:0 dropped:0 overruns:0 frame:0 TX packets:182 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:13162 (12.8 Kb) TX bytes:13162 (12.8 Kb) Quote Link to comment Share on other sites More sharing options...
Gowator Posted January 21, 2004 Report Share Posted January 21, 2004 OK, That tells us that it isn't up. try as root ifup eth0 See what it says and post.... Also lsmod Now see if you have the broadcom driver loaded.... it should be called bc440x (or similar) If not check it exists (2.4 kernel) /lib/modules/2.4.xxxx/kernel/net Can you see the driver ?? (it should be bc440x.o or .o.gz) If not then you need to get it. I think it should be there but Im at work on XP right now!! Look in dmesg (just type less dmesg) see if it tells you about a failure etc. post back and well get some more info :D Quote Link to comment Share on other sites More sharing options...
skrewball Posted January 21, 2004 Author Report Share Posted January 21, 2004 here is the following information u requested :D ifup eth0 : bcm4400 device eth0 does not seem to be present, delaying initialization. lsmod : dont see bc440x or anything simalar dmesg : Linux version 2.4.19-24mdk (qateam@updates.mandrakesoft.com) (gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk)) #1 Thu Jan 30 13:13:07 MST 2003 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 00000000000a0000 (usable) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000000f774000 (usable) BIOS-e820: 000000000f774000 - 000000000f776000 (ACPI NVS) BIOS-e820: 000000000f776000 - 000000000f797000 (ACPI data) BIOS-e820: 000000000f797000 - 000000000f800000 (reserved) BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee10000 (reserved) BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved) 247MB LOWMEM available. found SMP MP-table at 000fe710 hm, page 000fe000 reserved twice. hm, page 000ff000 reserved twice. hm, page 000f0000 reserved twice. Advanced speculative caching feature not present On node 0 totalpages: 63348 zone(0): 4096 pages. zone(1): 59252 pages. zone(2): 0 pages. Intel MultiProcessor Specification v1.4 Virtual Wire compatibility mode. OEM ID: DELL Product ID: Dim 2400 APIC at: 0xFEE00000 Processor #0 Unknown CPU [15:2] APIC version 20 I/O APIC #1 Version 32 at 0xFEC00000. Processors: 1 Kernel command line: BOOT_IMAGE=2419-24 ro root=304 devfs=mount hdc=ide-scsi acpi=ht resume=/dev/hda5 ide_setup: hdc=ide-scsi Initializing CPU#0 Detected 2192.959 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 4377.80 BogoMIPS Memory: 248136k/253392k available (1176k kernel code, 4872k reserved, 443k data, 132k 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: 6, 262144 bytes) CPU: Before vendor init, caps: bfebfbff 00000000 00000000, vendor = 0 CPU: L1 I cache: 12K, L1 D cache: 8K CPU: After vendor init, caps: bfebfbff 00000000 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: bfebfbff 00000000 00000000 00000000 CPU: Common caps: bfebfbff 00000000 00000000 00000000 CPU: Intel® Celeron® CPU 2.20GHz stepping 09 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX enabled ExtINT on CPU#0 ESR value before enabling vector: 00000000 ESR value after enabling vector: 00000000 ENABLING IO-APIC IRQs Setting 1 in the phys_id_present_map ...changing IO-APIC physical APIC ID to 1 ... ok. init IO_APIC IRQs IO-APIC (apicid-pin) 1-0, 1-13, 1-20, 1-21, 1-22 not connected. ..TIMER: vector=0x31 pin1=2 pin2=0 number of MP IRQ sources: 29. number of IO-APIC #1 registers: 24. testing the IO APIC....................... IO APIC #1...... .... register #00: 01000000 ....... : physical APIC id: 01 .... register #01: 00178020 ....... : max redirection entries: 0017 ....... : PRQ implemented: 1 ....... : IO APIC version: 0020 .... register #02: 00000000 ....... : arbitration: 00 .... 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 0 0 0 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 000 00 1 0 0 0 0 0 0 00 0e 001 01 0 0 0 0 0 1 1 91 0f 001 01 0 0 0 0 0 1 1 99 10 001 01 1 1 0 1 0 1 1 A1 11 001 01 1 1 0 1 0 1 1 A9 12 001 01 1 1 0 1 0 1 1 B1 13 001 01 1 1 0 1 0 1 1 B9 14 000 00 1 0 0 0 0 0 0 00 15 000 00 1 0 0 0 0 0 0 00 16 000 00 1 0 0 0 0 0 0 00 17 001 01 1 1 0 1 0 1 1 C1 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 IRQ14 -> 0:14 IRQ15 -> 0:15 IRQ16 -> 0:16 IRQ17 -> 0:17 IRQ18 -> 0:18 IRQ19 -> 0:19 IRQ23 -> 0:23 .................................... done. Using local APIC timer interrupts. calibrating APIC timer ... ..... CPU clock speed is 2193.0453 MHz. ..... host bus clock speed is 99.6838 MHz. cpu: 0, clocks: 996838, slice: 498419 CPU0<T0:996832,T1:498400,D:13,S:498419,C:996838> mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au) mtrr: detected mtrr type: Intel PCI: PCI BIOS revision 2.10 entry at 0xfbc8f, last bus=1 PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) Unknown bridge resource 2: assuming transparent PCI: Using IRQ router PIIX [8086/24c0] at 00:1f.0 PCI->APIC IRQ transform: (B0,I2,P0) -> 16 PCI->APIC IRQ transform: (B0,I29,P0) -> 16 PCI->APIC IRQ transform: (B0,I29,P1) -> 19 PCI->APIC IRQ transform: (B0,I29,P2) -> 18 PCI->APIC IRQ transform: (B0,I29,P3) -> 23 PCI->APIC IRQ transform: (B0,I31,P0) -> 18 PCI->APIC IRQ transform: (B0,I31,P1) -> 17 PCI->APIC IRQ transform: (B0,I31,P1) -> 17 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 apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16) Starting kswapd VFS: Diskquotas version dquot_6.5.0 initialized devfs: v1.12a (20020514) Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x1 pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A Redundant entry in serial pci_table. Please send the output of lspci -vv, this message (14e4,4212,1028,0001) and the manufacturer and name of serial board or modem board to serial-pci-info@lists.sourceforge.net. register_serial(): autoconfig failed Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ICH4: IDE controller on PCI bus 00 dev f9 ICH4: chipset revision 1 ICH4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio hda: Maxtor 2F040L0, ATA DISK drive hdc: HL-DT-ST GCE-8481B, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: 80293248 sectors (41110 MB) w/2048KiB Cache, CHS=4998/255/63, UDMA(100) Partition check: /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 < p5 p6 > p4 RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize 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 32768) 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: 96k freed VFS: Mounted root (ext2 filesystem). Mounted devfs on /dev Journalled Block Device driver loaded kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Mounted devfs on /dev Freeing unused kernel memory: 132k freed Real Time Clock Driver v1.10e usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-uhci.c: $Revision: 1.275 $ time 13:39:07 Jan 30 2003 usb-uhci.c: High bandwidth mode enabled PCI: Setting latency timer of device 00:1d.0 to 64 usb-uhci.c: USB UHCI at I/O 0xff80, IRQ 16 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: Setting latency timer of device 00:1d.1 to 64 usb-uhci.c: USB UHCI at I/O 0xff60, IRQ 19 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 PCI: Setting latency timer of device 00:1d.2 to 64 usb-uhci.c: USB UHCI at I/O 0xff40, IRQ 18 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 3 hub.c: USB hub found hub.c: 2 ports detected usb-uhci.c: v1.275:USB Universal Host Controller Interface driver PCI: Setting latency timer of device 00:1d.7 to 64 hcd.c: ehci-hcd @ 00:1d.7, Intel Corp. 82801DB USB EHCI Controller hcd.c: irq 23, pci mem d0072800 usb.c: new USB bus registered, assigned bus number 4 ehci-hcd.c: restricting 64bit DMA mappings to segment 0 ... ehci-hcd.c: USB 2.0 support enabled, EHCI rev 1. 0 hub.c: USB hub found hub.c: 6 ports detected usbdevfs: remount parameter error EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,4), internal journal Adding Swap: 530104k swap-space (priority -1) SCSI subsystem driver Revision: 1.00 scsi0 : SCSI host adapter emulation for IDE ATAPI devices Vendor: HL-DT-ST Model: CD-RW GCE-8481B Rev: C102 Type: CD-ROM ANSI SCSI revision: 02 NTFS driver 2.1.0a [Flags: R/O MODULE]. NTFS-fs warning (device 03:02): parse_options(): Option iocharset is deprecated. Please use option nls=<charsetname> in the future. NTFS volume version 3.1. inserting floppy driver for 2.4.19-24mdk FDC 0 is a post-1991 82077 Attached scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0 sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray Uniform CD-ROM driver Revision: 3.12 Installing knfsd (copyright © 1996 okir@monad.swb.de). PCI: Setting latency timer of device 00:1f.5 to 64 intel8x0: clocking to 48000 ip_tables: © 2000-2002 Netfilter core team ip_conntrack version 2.1 (1979 buckets, 15832 max) - 304 bytes per conntrack parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE] parport0: irq 7 detected lp0: using parport0 (polling). Linux agpgart interface v0.99 © Jeff Hartmann agpgart: Maximum main memory to use for agp memory: 196M agpgart: Detected an Intel 845G Chipset. agpgart: detected 8060K stolen memory. agpgart: AGP aperture is 128M @ 0xe8000000 memory : cc1f73a0 memory : cc1f73e0 memory : cc1f7420 [drm] AGP 0.99 on Intel i810 @ 0xe8000000 128MB [drm] Initialized i830 1.2.0 20011004 on minor 0 mtrr: base(0xe8020000) is not aligned on a size(0x300000) boundary [drm: i830_unlock] *ERROR* Process 2585 using kernel context 0 memory : cc1f7460 Quote Link to comment Share on other sites More sharing options...
Gowator Posted January 21, 2004 Report Share Posted January 21, 2004 Looks like you need to download this driver Click here Quote Link to comment Share on other sites More sharing options...
skrewball Posted January 21, 2004 Author Report Share Posted January 21, 2004 i actually tried that driver but when i build the binary driver for my kernel i get these errors Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5483 + umask 022 + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf bcm4400-3.0.7 + /bin/mkdir -p bcm4400-3.0.7 + cd bcm4400-3.0.7 + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/bcm4400-3.0.7.tgz + tar -xvvf - -rw-r--r-- root/root 2901 2003-10-28 18:36:56 DISTRIB.TXT -rw-r--r-- root/root 15153 2003-10-28 18:36:56 LICENSE -rw-r--r-- root/root 3100 2003-10-28 18:36:56 Makefile -rw-r--r-- root/root 7988 2003-10-28 18:36:56 README.TXT -rw-r--r-- root/root 7313 2003-10-28 18:36:56 RELEASE.TXT -rw-r--r-- root/root 38701 2003-10-28 18:36:57 b44.h -rw------- root/root 64573 2003-10-28 18:36:57 b44lm.c -rw-r--r-- root/root 17494 2003-10-28 18:36:57 b44lm.h -rw-r--r-- root/root 8474 2003-10-28 18:36:57 b44mm.h -rw-r--r-- root/root 10300 2003-10-28 18:36:57 b44proc.c -rw-r--r-- root/root 11645 2003-10-28 18:36:57 b44queue.h -rw-r--r-- root/root 53199 2003-10-28 18:36:57 b44um.c -rw-r--r-- root/root 6047 2003-10-28 18:36:57 bcm4400.4 + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/bcm4400-3.0.7.tgz + tar -xvvf - -rw-r--r-- root/root 2901 2003-10-28 18:36:56 DISTRIB.TXT -rw-r--r-- root/root 15153 2003-10-28 18:36:56 LICENSE -rw-r--r-- root/root 3100 2003-10-28 18:36:56 Makefile -rw-r--r-- root/root 7988 2003-10-28 18:36:56 README.TXT -rw-r--r-- root/root 7313 2003-10-28 18:36:56 RELEASE.TXT -rw-r--r-- root/root 38701 2003-10-28 18:36:57 b44.h -rw------- root/root 64573 2003-10-28 18:36:57 b44lm.c -rw-r--r-- root/root 17494 2003-10-28 18:36:57 b44lm.h -rw-r--r-- root/root 8474 2003-10-28 18:36:57 b44mm.h -rw-r--r-- root/root 10300 2003-10-28 18:36:57 b44proc.c -rw-r--r-- root/root 11645 2003-10-28 18:36:57 b44queue.h -rw-r--r-- root/root 53199 2003-10-28 18:36:57 b44um.c -rw-r--r-- root/root 6047 2003-10-28 18:36:57 bcm4400.4 + STATUS=0 + '[' 0 -ne 0 ']' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5483 + umask 022 + cd /usr/src/RPM/BUILD + cd bcm4400-3.0.7 + make bcm4400.o gcc -DMODULE -D__KERNEL__ -DDBG=0 -Wall -Wstrict-prototypes -O6 -I/lib/modules/2.4.19-24mdk/build/include -c -o b44um.o b44um.c In file included from b44mm.h:28, from b44um.c:57: /usr/include/linux/version.h:2:2: #error "=======================================================" /usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header" /usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules." /usr/include/linux/version.h:5:2: #error "" /usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined" /usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)" /usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the" /usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be" /usr/include/linux/version.h:10:2: #error "included via other system header files - user space" /usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or" /usr/include/linux/version.h:12:2: #error "<asm/*.h> as well." /usr/include/linux/version.h:13:2: #error "" /usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:" /usr/include/linux/version.h:15:2: #error "" /usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed" /usr/include/linux/version.h:17:2: #error "" /usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link" /usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to" /usr/include/linux/version.h:20:2: #error " the matching kernel source directory" /usr/include/linux/version.h:21:2: #error "" /usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to" /usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h" /usr/include/linux/version.h:24:2: #error "" /usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following" /usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:" /usr/include/linux/version.h:27:2: #error "" /usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include" /usr/include/linux/version.h:29:2: #error "" /usr/include/linux/version.h:30:2: #error " instead of" /usr/include/linux/version.h:31:2: #error "" /usr/include/linux/version.h:32:2: #error " -I/usr/include/linux" /usr/include/linux/version.h:33:2: #error "" /usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly." /usr/include/linux/version.h:35:2: #error "=======================================================" In file included from /usr/include/linux/prefetch.h:13, from /usr/include/linux/list.h:6, from /usr/include/linux/module.h:11, from b44mm.h:33, from b44um.c:57: /usr/include/asm/processor.h:55: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/asm/processor.h:55: error: requested alignment is not a constant In file included from /usr/include/linux/module.h:297, from b44mm.h:33, from b44um.c:57: /usr/include/linux/version.h:2:2: #error "=======================================================" /usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header" /usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules." /usr/include/linux/version.h:5:2: #error "" /usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined" /usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)" /usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the" /usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be" /usr/include/linux/version.h:10:2: #error "included via other system header files - user space" /usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or" /usr/include/linux/version.h:12:2: #error "<asm/*.h> as well." /usr/include/linux/version.h:13:2: #error "" /usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:" /usr/include/linux/version.h:15:2: #error "" /usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed" /usr/include/linux/version.h:17:2: #error "" /usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link" /usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to" /usr/include/linux/version.h:20:2: #error " the matching kernel source directory" /usr/include/linux/version.h:21:2: #error "" /usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to" /usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h" /usr/include/linux/version.h:24:2: #error "" /usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following" /usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:" /usr/include/linux/version.h:27:2: #error "" /usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include" /usr/include/linux/version.h:29:2: #error "" /usr/include/linux/version.h:30:2: #error " instead of" /usr/include/linux/version.h:31:2: #error "" /usr/include/linux/version.h:32:2: #error " -I/usr/include/linux" /usr/include/linux/version.h:33:2: #error "" /usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly." /usr/include/linux/version.h:35:2: #error "=======================================================" In file included from b44mm.h:33, from b44um.c:57: /usr/include/linux/module.h:299: error: syntax error before "UTS_RELEASE" In file included from /usr/include/linux/mm.h:12, from /usr/include/linux/slab.h:14, from b44mm.h:47, from b44um.c:57: /usr/include/linux/mmzone.h:44: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/mmzone.h:44: error: requested alignment is not a constant In file included from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:46, from b44mm.h:48, from b44um.c:57: /usr/include/linux/irq.h:65: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/irq.h:65: error: requested alignment is not a constant In file included from /usr/include/linux/interrupt.h:46, from b44mm.h:48, from b44um.c:57: /usr/include/asm/hardirq.h:16: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/asm/hardirq.h:16: error: requested alignment is not a constant In file included from b44mm.h:48, from b44um.c:57: /usr/include/linux/interrupt.h:129: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/interrupt.h:129: error: requested alignment is not a constant In file included from b44mm.h:51, from b44um.c:57: /usr/include/linux/netdevice.h:165: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/netdevice.h:165: error: requested alignment is not a constant In file included from b44mm.h:51, from b44um.c:57: /usr/include/linux/netdevice.h:517: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/netdevice.h:517: error: requested alignment is not a constant In file included from b44um.c:57: b44mm.h:123: warning: redefinition of `dma_addr_t' /usr/include/asm/types.h:51: warning: `dma_addr_t' previously declared here In file included from b44um.c:57: b44mm.h:191:1: warning: "DECLARE_PCI_UNMAP_ADDR" redefined In file included from /usr/include/linux/pci.h:654, from b44mm.h:49, from b44um.c:57: /usr/include/asm/pci.h:125:1: warning: this is the location of the previous definition In file included from b44um.c:57: b44mm.h:192:1: warning: "DECLARE_PCI_UNMAP_LEN" redefined In file included from /usr/include/linux/pci.h:654, from b44mm.h:49, from b44um.c:57: /usr/include/asm/pci.h:126:1: warning: this is the location of the previous definition In file included from b44um.c:57: b44mm.h:194:1: warning: "pci_unmap_addr" redefined In file included from /usr/include/linux/pci.h:654, from b44mm.h:49, from b44um.c:57: /usr/include/asm/pci.h:127:1: warning: this is the location of the previous definition In file included from b44um.c:57: b44mm.h:197:1: warning: "pci_unmap_len" redefined In file included from /usr/include/linux/pci.h:654, from b44mm.h:49, from b44um.c:57: /usr/include/asm/pci.h:129:1: warning: this is the location of the previous definition In file included from b44um.c:57: b44mm.h:200:1: warning: "pci_unmap_addr_set" redefined In file included from /usr/include/linux/pci.h:654, from b44mm.h:49, from b44um.c:57: /usr/include/asm/pci.h:128:1: warning: this is the location of the previous definition In file included from b44um.c:57: b44mm.h:203:1: warning: "pci_unmap_len_set" redefined In file included from /usr/include/linux/pci.h:654, from b44mm.h:49, from b44um.c:57: /usr/include/asm/pci.h:130:1: warning: this is the location of the previous definition b44um.c:93:1: warning: "pci_resource_start" redefined In file included from b44mm.h:49, from b44um.c:57: /usr/include/linux/pci.h:751:1: warning: this is the location of the previous definition b44um.c:104: error: conflicting types for `netif_start_queue' /usr/include/linux/netdevice.h:545: error: previous declaration of `netif_start_queue' b44um.c: In function `netif_start_queue': b44um.c:105: error: dereferencing pointer to incomplete type b44um.c:106: error: dereferencing pointer to incomplete type b44um.c:107: error: dereferencing pointer to incomplete type b44um.c: At top level: b44um.c:114: error: conflicting types for `tasklet_schedule' /usr/include/linux/interrupt.h:159: error: previous declaration of `tasklet_schedule' b44um.c:122: error: conflicting types for `tasklet_init' /usr/include/linux/interrupt.h:200: error: previous declaration of `tasklet_init' b44um.c: In function `tasklet_init': b44um.c:123: error: structure has no member named `next' b44um.c: At top level: b44um.c:134: error: redefinition of `struct pci_device_id' b44um.c:141:1: warning: "PCI_ANY_ID" redefined /usr/include/linux/pci.h:354:1: warning: this is the location of the previous definition b44um.c:150:1: warning: "__devexit" redefined In file included from /usr/include/asm/system.h:5, from /usr/include/asm/semaphore.h:39, from /usr/include/linux/fs.h:202, from /usr/include/linux/capability.h:17, from /usr/include/linux/binfmts.h:5, from /usr/include/linux/sched.h:8, from b44mm.h:42, from b44um.c:57: /usr/include/linux/init.h:155:1: warning: this is the location of the previous definition b44um.c:152:1: warning: "SET_MODULE_OWNER" redefined In file included from b44mm.h:33, from b44um.c:57: /usr/include/linux/module.h:411:1: warning: this is the location of the previous definition b44um.c:153:1: warning: "MODULE_DEVICE_TABLE" redefined /usr/include/linux/module.h:336:1: warning: this is the location of the previous definition b44um.c:175: warning: static declaration for `pci_alloc_consistent' follows non-static b44um.c:264: error: `UTS_RELEASE' undeclared here (not in a function) b44um.c: In function `bcm4400_init_board': b44um.c:342: warning: assignment from incompatible pointer type b44um.c:353: error: dereferencing pointer to incomplete type b44um.c:389: error: dereferencing pointer to incomplete type b44um.c:389: error: structure has no member named `base_address' b44um.c:390: error: dereferencing pointer to incomplete type b44um.c:390: error: dereferencing pointer to incomplete type b44um.c:391: error: dereferencing pointer to incomplete type b44um.c:402: warning: passing arg 1 of `unregister_netdev' from incompatible pointer type b44um.c: In function `bcm4400_init_one': b44um.c:449: error: dereferencing pointer to incomplete type b44um.c:450: error: dereferencing pointer to incomplete type b44um.c:451: error: dereferencing pointer to incomplete type b44um.c:452: error: dereferencing pointer to incomplete type b44um.c:453: error: dereferencing pointer to incomplete type b44um.c:454: error: dereferencing pointer to incomplete type b44um.c:455: error: dereferencing pointer to incomplete type b44um.c:461: error: dereferencing pointer to incomplete type b44um.c:462: error: dereferencing pointer to incomplete type b44um.c:465: error: dereferencing pointer to incomplete type b44um.c:468: error: dereferencing pointer to incomplete type b44um.c:468: error: structure has no member named `base_address' b44um.c:469: error: dereferencing pointer to incomplete type b44um.c:480: error: dereferencing pointer to incomplete type b44um.c:480: error: dereferencing pointer to incomplete type b44um.c:483: error: dereferencing pointer to incomplete type b44um.c:483: error: dereferencing pointer to incomplete type b44um.c:484: error: dereferencing pointer to incomplete type b44um.c:487: error: dereferencing pointer to incomplete type b44um.c: In function `bcm4400_remove_one': b44um.c:517: error: dereferencing pointer to incomplete type b44um.c:523: warning: passing arg 1 of `unregister_netdev' from incompatible pointer type b44um.c: In function `bcm4400_open': b44um.c:546: error: dereferencing pointer to incomplete type b44um.c:551: error: dereferencing pointer to incomplete type b44um.c:551: error: dereferencing pointer to incomplete type b44um.c:557: error: dereferencing pointer to incomplete type b44um.c:562: error: dereferencing pointer to incomplete type b44um.c:563: error: dereferencing pointer to incomplete type b44um.c: In function `bcm4400_timer': b44um.c:592: error: dereferencing pointer to incomplete type b44um.c:617: error: dereferencing pointer to incomplete type b44um.c:619: error: dereferencing pointer to incomplete type b44um.c: In function `bcm4400_tx_timeout': b44um.c:651: error: dereferencing pointer to incomplete type b44um.c:654: error: dereferencing pointer to incomplete type b44um.c:657: error: dereferencing pointer to incomplete type b44um.c:658: error: dereferencing pointer to incomplete type b44um.c:662: error: dereferencing pointer to incomplete type b44um.c:662: error: `NET_BH' undeclared (first use in this function) b44um.c:662: error: (Each undeclared identifier is reported only once b44um.c:662: error: for each function it appears in.) b44um.c: In function `bcm4400_start_xmit': b44um.c:668: error: dereferencing pointer to incomplete type b44um.c:681: error: dereferencing pointer to incomplete type b44um.c:689: error: dereferencing pointer to incomplete type b44um.c:692: error: dereferencing pointer to incomplete type b44um.c:692: error: `NET_BH' undeclared (first use in this function) b44um.c:701: error: dereferencing pointer to incomplete type b44um.c:705: error: dereferencing pointer to incomplete type b44um.c:716: error: dereferencing pointer to incomplete type b44um.c:718: error: dereferencing pointer to incomplete type b44um.c: In function `bcm4400_poll': b44um.c:728: error: dereferencing pointer to incomplete type b44um.c:732: error: dereferencing pointer to incomplete type b44um.c:733: error: dereferencing pointer to incomplete type b44um.c:737: error: dereferencing pointer to incomplete type b44um.c:748: warning: passing arg 1 of `netif_rx_complete' from incompatible pointer type b44um.c: In function `bcm4400_interrupt': b44um.c:766: error: dereferencing pointer to incomplete type b44um.c:786: error: dereferencing pointer to incomplete type b44um.c:786: warning: implicit declaration of function `hard_smp_processor_id' b44um.c:828: error: dereferencing pointer to incomplete type b44um.c:828: error: `NET_BH' undeclared (first use in this function) b44um.c: In function `bcm4400_close': b44um.c:855: error: dereferencing pointer to incomplete type b44um.c:859: error: dereferencing pointer to incomplete type b44um.c:861: error: dereferencing pointer to incomplete type b44um.c:876: error: dereferencing pointer to incomplete type b44um.c: In function `bcm4400_freemem': b44um.c:919: error: dereferencing pointer to incomplete type b44um.c: In function `bcm4400_get_stats': b44um.c:939: error: dereferencing pointer to incomplete type b44um.c: In function `netdev_ethtool_ioctl': b44um.c:1029: error: storage size of `ethcmd' isn't known b44um.c:1030: error: dereferencing pointer to incomplete type b44um.c:1034: warning: implicit declaration of function `copy_from_user' b44um.c:1053: error: `ETHTOOL_GSET' undeclared (first use in this function) b44um.c:1055: error: `SUPPORTED_10baseT_Half' undeclared (first use in this function) b44um.c:1056: error: `SUPPORTED_10baseT_Full' undeclared (first use in this function) b44um.c:1057: error: `SUPPORTED_100baseT_Half' undeclared (first use in this function) b44um.c:1058: error: `SUPPORTED_100baseT_Full' undeclared (first use in this function) b44um.c:1059: error: `SUPPORTED_Autoneg' undeclared (first use in this function) b44um.c:1060: error: `SUPPORTED_TP' undeclared (first use in this function) b44um.c:1061: error: `PORT_TP' undeclared (first use in this function) b44um.c:1063: error: `XCVR_INTERNAL' undeclared (first use in this function) b44um.c:1067: error: `SPEED_100' undeclared (first use in this function) b44um.c:1069: error: `SPEED_10' undeclared (first use in this function) b44um.c:1074: error: `DUPLEX_FULL' undeclared (first use in this function) b44um.c:1076: error: `DUPLEX_HALF' undeclared (first use in this function) b44um.c:1079: error: `AUTONEG_ENABLE' undeclared (first use in this function) b44um.c:1080: error: `ADVERTISED_Autoneg' undeclared (first use in this function) b44um.c:1082: error: `ADVERTISED_TP' undeclared (first use in this function) b44um.c:1087: error: `ADVERTISED_10baseT_Half' undeclared (first use in this function) b44um.c:1093: error: `ADVERTISED_10baseT_Full' undeclared (first use in this function) b44um.c:1099: error: `ADVERTISED_100baseT_Half' undeclared (first use in this function) b44um.c:1105: error: `ADVERTISED_100baseT_Full' undeclared (first use in this function) b44um.c:1109: error: `AUTONEG_DISABLE' undeclared (first use in this function) b44um.c:1113: warning: implicit declaration of function `copy_to_user' b44um.c:1117: error: `ETHTOOL_SSET' undeclared (first use in this function) b44um.c:1126: error: `SPEED_1000' undeclared (first use in this function) b44um.c:1029: warning: unused variable `ethcmd' b44um.c: In function `bcm4400_ioctl': b44um.c:1272: error: dereferencing pointer to incomplete type b44um.c: In function `bcm4400_set_rx_mode': b44um.c:1318: error: dereferencing pointer to incomplete type b44um.c:1324: error: dereferencing pointer to incomplete type b44um.c:1324: error: dereferencing pointer to incomplete type b44um.c:1328: error: dereferencing pointer to incomplete type b44um.c:1338: error: dereferencing pointer to incomplete type b44um.c: In function `bcm4400_set_mac_addr': b44um.c:1356: error: dereferencing pointer to incomplete type b44um.c:1358: error: dereferencing pointer to incomplete type b44um.c:1360: error: dereferencing pointer to incomplete type b44um.c:1360: error: dereferencing pointer to incomplete type b44um.c:1360: error: dereferencing pointer to incomplete type b44um.c:1360: error: dereferencing pointer to incomplete type b44um.c:1360: error: dereferencing pointer to incomplete type b44um.c:1361: error: dereferencing pointer to incomplete type b44um.c: In function `cleanup_module': b44um.c:1423: error: dereferencing pointer to incomplete type b44um.c:1428: warning: passing arg 1 of `unregister_netdev' from incompatible pointer type b44um.c: In function `b44_MM_ScheduleRxPoll': b44um.c:1552: warning: passing arg 1 of `netif_rx_schedule_prep' from incompatible pointer type b44um.c:1553: warning: passing arg 1 of `__netif_rx_schedule' from incompatible pointer type b44um.c: In function `b44_MM_AllocateMemory': b44um.c:1653: error: dereferencing pointer to incomplete type b44um.c: In function `b44_MM_MapMemBase': b44um.c:1663: error: structure has no member named `base_address' b44um.c: In function `b44_MM_InitializeUmPackets': b44um.c:1691: warning: assignment from incompatible pointer type b44um.c: In function `b44_MM_IndicateRxPackets': b44um.c:1850: warning: assignment from incompatible pointer type b44um.c: In function `bcm4400_rxfill': b44um.c:1890: warning: assignment from incompatible pointer type b44um.c: In function `b44_MM_IndicateTxPackets': b44um.c:1934: error: dereferencing pointer to incomplete type b44um.c:1934: error: `NET_BH' undeclared (first use in this function) b44um.c:1909: warning: unused variable `i' b44um.c: In function `b44_MM_IndicateStatus': b44um.c:1957: error: dereferencing pointer to incomplete type b44um.c:1961: error: dereferencing pointer to incomplete type b44um.c: In function `b44_MM_FreeRxBuffer': b44um.c:2008: warning: unused variable `pUmDevice' b44um.c: At top level: b44um.c:515: warning: `bcm4400_remove_one' defined but not used make: *** [b44um.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.5483 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.5483 (%build) Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted January 21, 2004 Report Share Posted January 21, 2004 With the default 9.2 kernel (2.4.22-10) there is a driver in //lib/modules/2.4.22-10mdk/kernel/net/drivers/ that is called b44.o This might work for you. See if it's there for you. If so, try modprobe b44 and see if that works and if you can config it from there (ifup eth0) Quote Link to comment Share on other sites More sharing options...
Gowator Posted January 21, 2004 Report Share Posted January 21, 2004 That sounds a lot easier.... I must admit I had this myself with the nforce nvnet driver and it really is a pain in the neck.... I eventually fixed it but Im damned if I remeber how!!!! IF liquidzoo\s suggestion works then that sounds by far the easiest.... Incidently I built the broadcom bcm5700 *gigabit driver under knoppix yesterday .... No such problems, oops my apt-spy just finished.... gotta go... Quote Link to comment Share on other sites More sharing options...
skrewball Posted January 22, 2004 Author Report Share Posted January 22, 2004 there was no file named b44.o in //lib/modules/2.4.22-10mdk/kernel/net/drivers/ there wasnt even a drivers directory in the net directory Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted January 22, 2004 Report Share Posted January 22, 2004 Sorry, it's ...drivers/net/ Quote Link to comment Share on other sites More sharing options...
skrewball Posted January 22, 2004 Author Report Share Posted January 22, 2004 hmm weird the module is there as b44.o.gz but modprobe b44 :module cannot be found. :o Quote Link to comment Share on other sites More sharing options...
skrewball Posted January 22, 2004 Author Report Share Posted January 22, 2004 ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.