Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-08-2004, 09:27 PM   #1
Registered: Oct 2003
Posts: 64

Rep: Reputation: 15
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.
Old 03-08-2004, 11:30 PM   #2
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
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?
Old 03-09-2004, 07:32 AM   #3
Registered: Oct 2003
Posts: 64

Original Poster
Rep: Reputation: 15
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.
Old 03-09-2004, 01:06 PM   #4
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
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
Old 03-09-2004, 04:07 PM   #5
Registered: Oct 2003
Posts: 64

Original Poster
Rep: Reputation: 15
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.
Old 03-09-2004, 11:59 PM   #6
Crazy Travis
Registered: Feb 2004
Location: Knoxville TN
Distribution: gentoo
Posts: 104

Rep: Reputation: 15
try rc.modules
Old 03-10-2004, 07:31 AM   #7
Registered: Oct 2003
Posts: 64

Original Poster
Rep: Reputation: 15
Checked that one too, it's not there.

It's a USB NIC using the rtl8150 driver if that helps at all.
Old 03-10-2004, 12:36 PM   #8
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
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.
Old 03-10-2004, 08:04 PM   #9
Registered: Oct 2003
Posts: 64

Original Poster
Rep: Reputation: 15
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: hdaMA, hdbMA
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdcMA, hddMA
hda: MAXTOR 6L080J4, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
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: hdeio, hdfio
ide3: BM-DMA at 0xec08-0xec0f, BIOS settings: hdgio, hdhio
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
Old 03-11-2004, 07:08 AM   #10
Registered: Oct 2003
Posts: 64

Original Poster
Rep: Reputation: 15
Finally got it working. Started with the default .config file and added in built in support for USB and the RTL8150. Works great.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
ISOLinux from Debian etch cannot find kernel image (but kernel is in its place)! Why? *Dark Dragon* Debian 4 11-07-2005 09:54 PM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Kernel 2.6.6 kernel heads up ! (Nvidia and Alcatel usb modem users) Evilone Linux - Software 0 04-18-2004 01:08 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration