Page 1 of 1
CC Kernel
Posted: 2005-02-18 11:54
by oldwebber
Hab mir mal kernel-image-2.4.28-grsec_1_i386.deb von roothell gezogen.
sarge:/#dpkg -i kernel-image-2.4.28-grsec_1_i386.deb
sarge:/#reboot
:D
sarge:/#uname -r
sarge:/#2.6.9-041221
Aus welchen grund nimmt der noch den alten von 1&2.
sarge:/#lrwxrwxrwx 1 root root 25 Feb 18 11:15 vmlinuz -> boot/vmlinuz-2.4.28-grsec
sarge:/#lrwxrwxrwx 1 root root 25 Jan 13 09:50 vmlinuz.old -> boot/vmlinuz-2.6.9-041221
:?: Kann mir jemand einen Tipp geben.
:?: In welchem .log kann ich denn nachsehen.
:?: Ist es so das vmlinuz.old gebootet wird wenn vmlinuz-2.4.28-grsec nicht funktioniert.
:-D Danke Jesse
Re: CC Kernel
Posted: 2005-02-18 12:09
by superuser1
Hi...
cat /etc/lilo.conf
lilo -v
:roll:
Re: CC Kernel
Posted: 2005-02-18 12:33
by oldwebber
/etc/lilo.conf
vga=normal
timeout=60
prompt
lba32
read-only
default=lx
append="console=tty0 panic=30"
image=/vmlinuz
label=lx
image=/vmlinuz.old
optional
label=lxold
Re: CC Kernel
Posted: 2005-02-18 12:38
by chris76
wohin zeigt der symlink /vmlinuz denn?
Re: CC Kernel
Posted: 2005-02-18 13:34
by oldwebber
Also nach
sarge:/#lilo -v
und einem
sarge:/#reboot
ging nichts mehr

alse rescue und
mount /dev/hda1 /mnt
chroot /mnt
hab ich mal
mv vmlinux vmlinuz.grsec
mv vmlinux.old vmlinux
lilo -v
exit
Jetzt bootet das System wieder.
:oops: Hoffe doch das war o.k. so.
Wie soll ich jetzt weiter vorgehen (Netzwekkarte ?).
Gruß
Re: CC Kernel
Posted: 2005-02-18 13:39
by superuser1
Hi...
lspci
:roll:
Re: CC Kernel
Posted: 2005-02-18 14:00
by oldwebber
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia] (rev 05)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia AGP]
0000:00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
0000:00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
0000:00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:01:00.0 VGA compatible controller: Trident Microsystems CyberBlade/i1 (rev 6a)
Re: CC Kernel
Posted: 2005-02-18 14:03
by superuser1
Hi...
/var/log/messages
:roll:
Re: CC Kernel
Posted: 2005-02-18 14:05
by chris76
in der /etc/modules das eintragen
und am besten zusätzlich
Re: CC Kernel
Posted: 2005-02-18 14:34
by oldwebber
:oops:
Bootet trotzdem nicht.
Schade.
Re: CC Kernel
Posted: 2005-02-18 14:58
by chris76
oldwebber wrote::oops:
Bootet trotzdem nicht.
Schade.
Bootet nicht oder hat kein Netzwerk?
Re: CC Kernel
Posted: 2005-02-18 15:20
by superuser1
Hi...
nochmal: die /var/log/messages vom letzten Boot posten
:roll:
Re: CC Kernel
Posted: 2005-02-18 16:17
by oldwebber
Hi
Feb 18 11:15:38 pxxxxxxxx shutdown[14111]: shutting down for system reboot
Feb 18 11:36:35 pxxxxxxxx -- MARK --
Feb 18 11:56:35 pxxxxxxxx -- MARK --
Feb 18 12:16:35 pxxxxxxxx -- MARK --
Feb 18 12:31:23 pxxxxxxxx shutdown[2340]: shutting down for system reboot
Feb 18 13:27:47 pxxxxxxxx -- MARK --
Feb 18 13:47:47 pxxxxxxxx -- MARK --
Feb 18 14:07:47 pxxxxxxxx -- MARK --
Feb 18 14:24:31 pxxxxxxxx shutdown[2304]: shutting down for system reboot
Da steht ja wohl nix drin oder :?:
c4n jesse
Re: CC Kernel
Posted: 2005-02-18 17:01
by superuser1
Hi...
dann versuchen wir es mal mit der /var/log/kern.log
:roll:
Re: CC Kernel
Posted: 2005-02-18 17:04
by t0x1c
Ein
mount /boot
ls -lh /boot
cat /etc/lilo.conf
wär auch nicht falsch.. :)
Re: CC Kernel
Posted: 2005-02-18 17:06
by superuser1
Hi...
t0x1c wrote:cat /etc/lilo.conf
wär auch nicht falsch..
...die steht schon oben.
:roll:
Re: CC Kernel
Posted: 2005-02-19 05:07
by oldwebber
Morgen 8O
/var/log/kern.log enthält nur Einträge der Boots mit dem 2.6.9.
ls -lh /boot
-rw-r--r-- 1 root root 456K Jan 3 22:36 System.map-2.4.28-grsec
-rw-r--r-- 1 root root 837K Dec 14 01:58 System.map-2.6.9-041214
-rw-r--r-- 1 root root 837K Dec 21 16:02 System.map-2.6.9-041221
lrwxrwxrwx 1 root root 1 Jan 13 09:49 boot -> .
-rw-r--r-- 1 root root 7.9K Aug 19 2004 boot-bmp.b
-rw-r--r-- 1 root root 6.1K Aug 19 2004 boot-compat.b
-rw-r--r-- 1 root root 7.8K Aug 19 2004 boot-menu.b
-rw-r--r-- 1 root root 6.1K Aug 19 2004 boot-text.b
-rw-r--r-- 1 root root 512 Jan 13 09:50 boot.0300
-rw-r--r-- 1 root root 7.8K Aug 19 2004 boot.b
-rw-r--r-- 1 root root 302K Dec 20 21:54 coffee.bmp
-rw-r--r-- 1 root root 21K Jan 3 22:29 config-2.4.28-grsec
-rw-r--r-- 1 root root 23K Dec 14 01:54 config-2.6.9-041214
-rw-r--r-- 1 root root 23K Dec 21 15:58 config-2.6.9-041221
lrwxrwxrwx 1 root root 13 Jan 13 09:50 debian.bmp -> /boot/sid.bmp
-rw-r--r-- 1 root root 151K Dec 20 21:54 debianlilo.bmp
drwx------ 2 root root 48K Jan 13 09:50 lost+found
-rw------- 1 root root 29K Feb 18 15:55 map
-rw-r--r-- 1 root root 93K Feb 2 23:41 memtest86.bin
-rw-r--r-- 1 root root 24K Dec 20 21:54 sarge.bmp
-rw-r--r-- 1 root root 24K Dec 20 21:54 sid.bmp
lrwxrwxrwx 1 root root 8 Jan 13 09:50 vmlinuz -> /vmlinuz
-rw-r--r-- 1 root root 698K Jan 3 22:36 vmlinuz-2.4.28-grsec
-rw-r--r-- 1 root root 1.5M Dec 14 01:58 vmlinuz-2.6.9-041214
-rw-r--r-- 1 root root 1.5M Dec 21 16:02 vmlinuz-2.6.9-041221
lrwxrwxrwx 1 root root 12 Jan 13 09:50 vmlinuz.old -> /vmlinuz.old
ls -lh /
lrwxrwxrwx 1 root root 25 Jan 13 09:50 vmlinuz -> boot/vmlinuz-2.6.9-041221
lrwxrwxrwx 1 root root 25 Feb 18 11:15 vmlinuz.grsec -> boot/vmlinuz-2.4.28-grsec
:idea: Wobei ich die Beiden links umbenannt habe damit ich wieder booten kann.
so jetzt erst mal Kaffee 8O
Re: CC Kernel
Posted: 2005-04-06 12:36
by oldwebber
sorry aber irgendwie komme ich immer noch nicht weiter.
hab das genze heute mal mit dem aktuellen cc kernel getestet.
nach einem reboot nichts mehr. kein eintrag in einem log file noch sonstiges.
:idea: hat nicht noch jemand einen lösungsansatz für mich?
gruß jesse
Re: CC Kernel
Posted: 2005-04-06 16:37
by thorsten
Ich hätte nen Vorschlag: Mach dir den Kernel selbst!
Die .config vom cc Kernel kannste dir ja als Ausgangsbasis nehmen.
Wie du nen Kernel backst, steht u.a. unter
http://channel.debian.de in der FAQ