Kernel Updgrade
I've been running 2.4.22 with no problems and decided it was time to upgrade to 2.6.3.
I unpacked into /usr/src/linux-2.6.3 and created a symlink to linux. Ran "make mrproper" then copied my .config from the old linux directory to the new one. Then I followed the instructions in the kernel 2.6 compile sticky. Problem is my USB network card doesn't work on the new kernel and maybe a few other things I haven't tried yet. Here's the lsmod from 2.4.22 Module Size Used by Tainted: P nvidia 1965152 6 (autoclean) snd-pcm-oss 37252 0 snd-mixer-oss 11992 0 [snd-pcm-oss] parport_pc 14724 1 (autoclean) lp 6752 0 (autoclean) parport 23264 1 (autoclean) [parport_pc lp] rtl8150 8248 1 snd-cs46xx 66460 0 gameport 1452 0 [snd-cs46xx] snd-pcm 55904 0 [snd-pcm-oss snd-cs46xx] snd-timer 13252 0 [snd-pcm] snd-ac97-codec 37240 0 [snd-cs46xx] snd-page-alloc 6004 0 [snd-cs46xx snd-pcm] snd-rawmidi 12512 0 [snd-cs46xx] snd-seq-device 3920 0 [snd-rawmidi] snd 27460 0 [snd-pcm-oss snd-mixer-oss snd-cs46xx snd-pcm snd-timer snd-ac97-codec snd-rawmidi snd-seq-device] soundcore 3332 6 [snd] uhci 24496 0 (unused) usbcore 58400 1 [rtl8150 uhci] ide-scsi 9424 0 agpgart 39576 3 apm 9640 2 Here's the lsmod from 2.6.3 Module Size Used by lp 8868 0 ipv6 231072 8 ehci_hcd 23040 0 usbcore 92308 1 ehci_hcd ide_scsi 12356 0 scsi_mod 66980 1 ide_scsi agpgart 26760 0 apm 15724 1 I tried insmod rtl8150 but that didn't work. Help please. |
in networking support there should be an option for usb network cards in there should be your card the rtl8150 ... maybe it is in the usb section ... not sure i still use 2.4 kernel. Its in there if it was there in 2.4 kernel. If you are using a driver from the manufacturer you need to check with them. Most of the other stuff you are missing is dealing with sound support check the sound/alsa section. You are also missing nvidia, so you arent going to get hardware acceleration from your video card till you get it going. Check with nvidia. I also noticed your using ipv6 ... you sure you want to use that?
|
So do I need to recompile the kernel or is there a much quicker way to remove or add modules support I need?
In Device Drivers -> USB Support - there is a section USB Network Adapters and RTL8150 has M next to it. No I probably don't want IPv.6 so I'll take that out. |
rmmod ipv6
modprobe rtl8150 you can go into /etc/rc.d/rc.netdevice and there should be line something like /sbin/modprobe <some-module> <---change it so it is rtl8150 and then it should load your nic module automagically |
Hmm maybe we're not on the same version of slack? I'm on Slackware 9.1 and there's no rc.netdevice.
I tried finding what was loading rtl8150 before but couldn't find it anywhere. |
try rc.modules
|
Checked that one too, it's not there.
It's a USB NIC using the rtl8150 driver if that helps at all. |
you could always add it to rc.modules
you must not have something in plug'n play or hotplug configured properly for the 2.6 kernel. |
I tried recompiling the kernel with USB support built in and support for the rtl8150 but still doesn't work. Here's the dmesg after booting to the 2.6 kernel and trying to load USB support and APM. Please help.
Linux version 2.6.3 (root@SlackAbit) (gcc version 3.2.3) #1 Mon Mar 8 20:23:43 EST 2004 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000001fff0000 (usable) BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS) BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data) BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) 511MB LOWMEM available. On node 0 totalpages: 131056 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 126960 pages, LIFO batch:16 HighMem zone: 0 pages, LIFO batch:1 DMI 2.2 present. Built 1 zonelists Kernel command line: auto BOOT_IMAGE=Slackware9.1 ro root=302 hdd=ide-scsi ide_setup: hdd=ide-scsi Found and enabled local APIC! Initializing CPU#0 PID hash table entries: 2048 (order 11: 16384 bytes) Detected 1600.706 MHz processor. Using tsc for high-res timesource Console: colour dummy device 80x25 Memory: 515192k/524224k available (1965k kernel code, 8268k reserved, 759k data, 172k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay loop... 3153.92 BogoMIPS Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: After generic identify, caps: 0383fbff c1cbfbff 00000000 00000000 CPU: After vendor identify, caps: 0383fbff c1cbfbff 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 c1cbfbff 00000000 00000020 CPU: AMD Athlon(tm) XP 1900+ stepping 02 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 Using local APIC timer interrupts. calibrating APIC timer ... ..... CPU clock speed is 1600.0375 MHz. ..... host bus clock speed is 266.0729 MHz. NET: Registered protocol family 16 spurious 8259A interrupt: IRQ7. PCI: PCI BIOS revision 2.10 entry at 0xfb4d0, last bus=1 PCI: Using configuration type 1 mtrr: v2.0 (20020519) PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) PCI: Using IRQ router default [1106/3099] at 0000:00:00.0 vesafb: framebuffer at 0xd8000000, mapped to 0xe0800000, size 16384k vesafb: mode is 1024x768x16, linelength=2048, pages=1 vesafb: protected mode interface info at c000:e6f0 vesafb: scrolling: redraw vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0 fb0: VESA VGA frame buffer device VFS: Disk quotas dquot_6.5.1 Initializing Cryptographic API Console: switching to colour frame buffer device 128x48 pty: 512 Unix98 ptys configured Real Time Clock Driver v1.12 parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP] parport0: irq 7 detected parport0: cpp_daisy: aa5500ff(98) parport0: assign_addrs: aa5500ff(98) parport0: Printer, EPSON Stylus C62 Using anticipatory io scheduler Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize loop: loaded (max 8 devices) 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 VP_IDE: chipset revision 6 VP_IDE: not 100% native mode: will probe irqs later VP_IDE: VIA vt8233a (rev 00) IDE UDMA133 controller on pci0000:00:11.1 ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA hda: MAXTOR 6L080J4, ATA DISK drive hdb: FUJITSU MPB3032ATU, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hdc: HITACHI DVD-ROM GD-7500, ATAPI CD/DVD-ROM drive hdd: SAMSUNG CD-R/RW SW-240B, ATAPI CD/DVD-ROM drive ide1 at 0x170-0x177,0x376 on irq 15 HPT372: IDE controller at PCI slot 0000:00:13.0 HPT372: chipset revision 5 HPT37X: using 33MHz PCI clock HPT372: 100% native mode on irq 10 ide2: BM-DMA at 0xec00-0xec07, BIOS settings: hde:pio, hdf:pio ide3: BM-DMA at 0xec08-0xec0f, BIOS settings: hdg:pio, hdh:pio hda: max request size: 128KiB hda: 156355584 sectors (80054 MB) w/1819KiB Cache, CHS=65535/16/63, UDMA(133) hda: hda1 hda2 hda3 hda4 hdb: max request size: 128KiB hdb: 6335280 sectors (3243 MB), CHS=6704/15/63, UDMA(33) hdb: hdb1 hdc: ATAPI 40X DVD-ROM drive, 512kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 ide-floppy driver 0.99.newide Console: switching to colour frame buffer device 128x48 mice: PS/2 mouse device common for all mice serio: i8042 AUX port at 0x60,0x64 irq 12 input: ImExPS/2 Logitech Explorer Mouse on isa0060/serio1 serio: i8042 KBD port at 0x60,0x64 irq 1 input: AT Translated Set 2 keyboard on isa0060/serio0 md: linear personality registered as nr 1 md: raid0 personality registered as nr 2 md: raid1 personality registered as nr 3 md: raid5 personality registered as nr 4 raid5: measuring checksumming speed 8regs : 2140.000 MB/sec 8regs_prefetch: 2188.000 MB/sec 32regs : 1724.000 MB/sec 32regs_prefetch: 1548.000 MB/sec pIII_sse : 4248.000 MB/sec pII_mmx : 4256.000 MB/sec p5_mmx : 5688.000 MB/sec raid5: using function: pIII_sse (4248.000 MB/sec) md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 NET: Registered protocol family 2 IP: routing cache hash table of 4096 buckets, 32Kbytes TCP: Hash tables configured (established 32768 bind 65536) NET: Registered protocol family 1 NET: Registered protocol family 17 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 172k freed Adding 1004052k swap on /dev/hda4. Priority:-1 extents:1 EXT3 FS on hda2, internal journal kjournald starting. Commit interval 5 seconds EXT3 FS on hda1, internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS on hda3, internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS on hdb1, internal journal EXT3-fs: mounted filesystem with ordered data mode. apm: Unknown symbol __might_sleep agpgart: Unknown symbol __might_sleep rtl8150: Unknown symbol usb_alloc_urb rtl8150: Unknown symbol usb_free_urb rtl8150: Unknown symbol usb_register rtl8150: Unknown symbol usb_submit_urb rtl8150: Unknown symbol usb_control_msg rtl8150: Unknown symbol usb_deregister rtl8150: Unknown symbol __might_sleep rtl8150: Unknown symbol usb_unlink_urb apm: Unknown symbol __might_sleep apm: Unknown symbol __might_sleep |
Finally got it working. Started with the default .config file and added in built in support for USB and the RTL8150. Works great.
|
All times are GMT -5. The time now is 07:22 AM. |