Suse 7.2 von Kernel 2.4.4 auf 2.4.7

Post Reply
Message
Author
Patrick

Suse 7.2 von Kernel 2.4.4 auf 2.4.7

#1 Post by Patrick »

Hallo Leute!

Kann mir jemand sagen wie ich den Suse Standartkernel (2.4.4) gegen einen Kernel 2.4.7 oder höher ersetze? Ich hab folgendes versucht:
- vmlinuz.config aus /boot übernommen und in /usr/src/linux mit neuen Sourcen kopiert als .config
- make xconfig
- make dep clean bzImage modules modules_install
- make bzlilo

beim booten des neuen Kernels kommen Fehlermeldungen zu den Modulen. Wie kann ich einen neuen Kernel compilieren der genauso funktioniert wie der Alte?
Was muss ich bei den Modulen beachten? Wie kann ich sie nachträglich laden, so das alles (Ethernet, USB, SCSI-Emulation, ReiserFS) ohne Probleme funktionieren?

Vielen Dank für eure Hilfe, auch wenn dies mal wieder nur so eine "langweilige" Kernel-Newbie-Geschichte ist! <img src="http://www.pl-forum.de/UltraBoard/Images/Happy.gif" border="0" align="middle">

Viele Grüsse,

Patrick

Michael

Re: Suse 7.2 von Kernel 2.4.4 auf 2.4.7

#2 Post by Michael »

Besser ist es, statt "make xconfig" ein "make oldconfig" zu machen. Er fragt dann auf der Kommandozeile nur noch die Sachen ab, die sich zwischen den Kernelversionen veraendert haben. Meistens reicht es, dort die Defaulteinstellungen zu nehmen, es sei denn Du hast etwas Spezielles vor.

Patrick

Re: Suse 7.2 von Kernel 2.4.4 auf 2.4.7

#3 Post by Patrick »

Hallo Michael!

Mit make oldconfig habe ich nachher auch keine Probleme mit den modulen? Ich werde es gleich mal probieren!

Patrick

Re: Suse 7.2 von Kernel 2.4.4 auf 2.4.7

#4 Post by Patrick »

Re: Michael

Mit make oldconfig klappt es auch nicht! Da ich reiserfs nutze hatte ich bei einem Versuch die Unterstützung fest in den Kernel einkompiliert. Für die restliche Hardware würde das auch gehen, ich möchte sie jedoch lieber modular nutzen. Leider kenne ich mich damit nicht so gut aus! Was muss ich ändern, um die von Suse genutzten Module wieder standartmäßig zu starten?

MfG

Patrick

Sebastian Ude

Re: Suse 7.2 von Kernel 2.4.4 auf 2.4.7

#5 Post by Sebastian Ude »

@ Patrick

> beim booten des neuen Kernels kommen Fehlermeldungen zu den Modulen.

Diese Meldungen würden mich / uns mal interessieren, bevor wir hier irgendwie weiter rumvermuten ...

Patrick

Re: Suse 7.2 von Kernel 2.4.4 auf 2.4.7

#6 Post by Patrick »

Re: Sebastian

Ich bekomme unter anderem folgende Meldungen beim Booten:

modeprobe Can't locate module: ide-scsi
modeprobe Can't locate module: eth0
modeprobe Can't locate module: snd-card-es1939

Ich füge die boot.msg einfach mal an, vielleicht hilft das ja!
Vielen Dank für eure Hilfe!

MfG

Patrick


Inspecting /boot/System.map
Loaded 11298 symbols from /boot/System.map.
Symbols match kernel version 2.4.7.
No module symbols loaded.
klogd 1.3-3, log source = ksyslog started.
<4>Linux version 2.4.7 (root@cartman) (gcc version 2.95.3 20010315 (SuSE)) #4 Tue Sep 11 00:30:30 CEST 2001
<6>BIOS-provided physical RAM map:
<4> BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
<4> BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
<4> BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
<4> BIOS-e820: 0000000000100000 - 0000000013ff0000 (usable)
<4> BIOS-e820: 0000000013ff0000 - 0000000013ff3000 (ACPI NVS)
<4> BIOS-e820: 0000000013ff3000 - 0000000014000000 (ACPI data)
<4> BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
<4>Scan SMP from c0000000 for 1024 bytes.
<4>Scan SMP from c009fc00 for 1024 bytes.
<4>Scan SMP from c00f0000 for 65536 bytes.
<4>Scan SMP from c009fc00 for 4096 bytes.
<4>On node 0 totalpages: 81904
<4>zone(0): 4096 pages.
<4>zone(1): 77808 pages.
<4>zone(2): 0 pages.
<4>mapped APIC to ffffe000 (01553000)
<4>Kernel command line: auto BOOT_IMAGE=Kernel-2.4.7 ro root=307 BOOT_FILE=/boot/vmlinuz hdc=ide-scsi hdd=ide-scsi
<4>ide_setup: hdc=ide-scsi
<4>ide_setup: hdd=ide-scsi
<6>Initializing CPU#0
<4>Detected 514.575 MHz processor.
<4>Console: colour dummy device 80x25
<4>Calibrating delay loop... 1025.63 BogoMIPS
<4>Memory: 319044k/327616k available (1323k kernel code, 8184k reserved, 503k data, 116k init, 0k highmem)
<4>Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes)
<4>Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
<4>Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
<4>Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
<4>Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
<7>CPU: Before vendor init, caps: 0387f9ff 00000000 00000000, vendor = 0
<6>CPU: L1 I cache: 16K, L1 D cache: 16K
<6>CPU: L2 cache: 512K
<6>Intel machine check architecture supported.
<6>Intel machine check reporting enabled on CPU#0.
<7>CPU: After vendor init, caps: 0387f9ff 00000000 00000000 00000000
<5>CPU serial number disabled.
<7>CPU: After generic, caps: 0383f9ff 00000000 00000000 00000000
<7>CPU: Common caps: 0383f9ff 00000000 00000000 00000000
<4>CPU: Intel Pentium III (Katmai) stepping 03
<6>Enabling fast FPU save and restore... done.
<6>Enabling unmasked SIMD FPU exception support... done.
<6>Checking 'hlt' instruction... OK.
<4>POSIX conformance testing by UNIFIX
<4>mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
<4>mtrr: detected mtrr type: Intel
<4>PCI: PCI BIOS revision 2.10 entry at 0xfb150, last bus=1
<4>PCI: Using configuration type 1
<4>PCI: Probing PCI hardware
<6>PCI: Using IRQ router VIA [1106/0596] at 00:07.0
<6>Activating ISA DMA hang workarounds.
<6>Linux NET4.0 for Linux 2.4
<6>Based upon Swansea University Computer Society NET3.039
<4>Initializing RT netlink socket
<6>apm: BIOS version 1.2 Flags 0x07 (Driver version 1.14)
<4>Starting kswapd v1.8
<4>allocated 32 pages and 32 bhs reserved for the highmem bounces
<5>VFS: Diskquotas version dquot_6.4.0 initialized
<6>vesafb: framebuffer at 0xdc000000, mapped to 0xd4800000, size 32768k
<6>vesafb: mode is 800x600x8, linelength=800, pages=63
<6>vesafb: protected mode interface info at c000:4a0b
<6>vesafb: scrolling: redraw
<4>Console: switching to colour frame buffer device 100x37
<6>fb0: VESA VGA frame buffer device
<4>pty: 256 Unix98 ptys configured
<6>Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
<6>ttyS00 at 0x03f8 (irq = 4) is a 16550A
<6>ttyS01 at 0x02f8 (irq = 3) is a 16550A
<6>Real Time Clock Driver v1.10d
<4>block: queued sectors max/low 211512kB/80440kB, 640 slots per queue
<4>RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize
<6>Uniform Multi-Platform E-IDE driver Revision: 6.31
<4>ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
<4>VP_IDE: IDE controller on PCI bus 00 dev 39
<4>VP_IDE: chipset revision 6
<4>VP_IDE: not 100%% native mode: will probe irqs later
<6>VP_IDE: VIA vt82c596a (rev 07) IDE UDMA33 controller on pci00:07.1
<4> ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:DMA
<4> ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
<4>hda: Maxtor 53073H4, ATA DISK drive
<4>hdb: QUANTUM BIGFOOT_CY6480A, ATA DISK drive
<4>hdc: ATAPI CDROM, ATAPI CD/DVD-ROM drive
<4>hdd: CD-R CDU928E, ATAPI CD/DVD-ROM drive
<4>ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
<4>ide1 at 0x170-0x177,0x376 on irq 15
<6>hda: 60030432 sectors (30736 MB) w/2048KiB Cache, CHS=3736/255/63, UDMA(33)
<6>hdb: 12706470 sectors (6506 MB) w/67KiB Cache, CHS=840/240/63, DMA
<6>Partition check:
<6> hda: hda1 hda2 < hda5 hda6 hda7 hda8 >
<6> hdb: hdb1
<6>Floppy drive(s): fd0 is 1.44M
<6>FDC 0 is a post-1991 82077
<6>loop: loaded (max 8 devices)
<6>Linux video capture interface: v1.00
<6>SCSI subsystem driver Revision: 1.00
<3>request_module[scsi_hostadapter]: Root fs not mounted
<3>request_module[scsi_hostadapter]: Root fs not mounted
<6>NET4: Linux TCP/IP 1.0 for NET4.0
<6>IP Protocols: ICMP, UDP, TCP, IGMP
<4>IP: routing cache hash table of 2048 buckets, 16Kbytes
<4>TCP: Hash tables configured (established 32768 bind 32768)
<6>Linux IP multicast router 0.06 plus PIM-SM
<6>NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
<5>RAMDISK: Compressed image found at block 0
<4>Freeing initrd memory: 506k freed
<4>VFS: Mounted root (ext2 filesystem).
<4>fatfs: bogus logical sector size 0
<4>fatfs: bogus logical sector size 0
<4>reiserfs: checking transaction log (device 03:07) ...
<4>Using r5 hash to sort names
<4>reiserfs: using 3.5.x disk format
<4>ReiserFS version 3.6.25
<4>VFS: Mounted root (reiserfs filesystem) readonly.
<4>change_root: old root has d_count=2
<5>Trying to unmount old root ... okay
<4>Freeing unused kernel memory: 116k freed
<6>Adding Swap: 771080k swap-space (priority 42)
<4>reiserfs: checking transaction log (device 03:06) ...
<4>Using r5 hash to sort names
<4>reiserfs: using 3.5.x disk format
<4>ReiserFS version 3.6.25
Kernel logging (ksyslog) stopped.
Kernel log daemon terminating.

Sebastian Ude

Re: Suse 7.2 von Kernel 2.4.4 auf 2.4.7

#7 Post by Sebastian Ude »

Und du hast *sicher* ein

make modules_install

gemacht ?


Falls ja, bräuchte ich mal die Ausgaben von:

uname -r

und

find /lib/modules

klaus

Re: Suse 7.2 von Kernel 2.4.4 auf 2.4.7

#8 Post by klaus »

Hi,

wenn Du schon den SuSe-Standard-kernel
nimmst, dann lade Dir doch von
ftp://ftp.suse.com/pub/suse/i386/update ... nel/2.4.7/, die rpms herunter.

Dann nur noch
mk_initrd
lilo
fertig

Post Reply