CC Kernel

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
oldwebber
Posts: 43
Joined: 2004-02-24 14:29
Location: Kronach
 

CC Kernel

Post 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
superuser1
Posts: 291
Joined: 2003-11-26 18:43
Location: earth
 

Re: CC Kernel

Post by superuser1 »

Hi...

cat /etc/lilo.conf
lilo -v

:roll:
oldwebber
Posts: 43
Joined: 2004-02-24 14:29
Location: Kronach
 

Re: CC Kernel

Post 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
chris76
Posts: 1878
Joined: 2003-06-27 14:37
Location: Germering
 

Re: CC Kernel

Post by chris76 »

wohin zeigt der symlink /vmlinuz denn?

Code: Select all

ls -la /vmlinuz
Gruß Christian

BofH excuses: YOU HAVE AN I/O ERROR -> Incompetent Operator error
oldwebber
Posts: 43
Joined: 2004-02-24 14:29
Location: Kronach
 

Re: CC Kernel

Post by oldwebber »

Also nach
sarge:/#lilo -v
und einem
sarge:/#reboot
ging nichts mehr :cry:
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ß
superuser1
Posts: 291
Joined: 2003-11-26 18:43
Location: earth
 

Re: CC Kernel

Post by superuser1 »

Hi...

lspci

:roll:
oldwebber
Posts: 43
Joined: 2004-02-24 14:29
Location: Kronach
 

Re: CC Kernel

Post 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)
superuser1
Posts: 291
Joined: 2003-11-26 18:43
Location: earth
 

Re: CC Kernel

Post by superuser1 »

Hi...

/var/log/messages

:roll:
chris76
Posts: 1878
Joined: 2003-06-27 14:37
Location: Germering
 

Re: CC Kernel

Post by chris76 »

in der /etc/modules das eintragen

Code: Select all

rtl8139
und am besten zusätzlich

Code: Select all

8139too
Gruß Christian

BofH excuses: YOU HAVE AN I/O ERROR -> Incompetent Operator error
oldwebber
Posts: 43
Joined: 2004-02-24 14:29
Location: Kronach
 

Re: CC Kernel

Post by oldwebber »

:oops:

Bootet trotzdem nicht.

Schade.
chris76
Posts: 1878
Joined: 2003-06-27 14:37
Location: Germering
 

Re: CC Kernel

Post by chris76 »

oldwebber wrote::oops:

Bootet trotzdem nicht.

Schade.
Bootet nicht oder hat kein Netzwerk?
Gruß Christian

BofH excuses: YOU HAVE AN I/O ERROR -> Incompetent Operator error
superuser1
Posts: 291
Joined: 2003-11-26 18:43
Location: earth
 

Re: CC Kernel

Post by superuser1 »

Hi...

nochmal: die /var/log/messages vom letzten Boot posten

:roll:
oldwebber
Posts: 43
Joined: 2004-02-24 14:29
Location: Kronach
 

Re: CC Kernel

Post 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
superuser1
Posts: 291
Joined: 2003-11-26 18:43
Location: earth
 

Re: CC Kernel

Post by superuser1 »

Hi...

dann versuchen wir es mal mit der /var/log/kern.log

:roll:
t0x1c
Posts: 127
Joined: 2003-10-09 19:59
Location: Nähe Kiel
 

Re: CC Kernel

Post by t0x1c »

Ein

mount /boot
ls -lh /boot

cat /etc/lilo.conf

wär auch nicht falsch.. :)
superuser1
Posts: 291
Joined: 2003-11-26 18:43
Location: earth
 

Re: CC Kernel

Post by superuser1 »

Hi...
t0x1c wrote:cat /etc/lilo.conf
wär auch nicht falsch..
...die steht schon oben.

:roll:
oldwebber
Posts: 43
Joined: 2004-02-24 14:29
Location: Kronach
 

Re: CC Kernel

Post 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
oldwebber
Posts: 43
Joined: 2004-02-24 14:29
Location: Kronach
 

Re: CC Kernel

Post 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
thorsten
Posts: 561
Joined: 2003-02-01 13:14
Location: Fuldatal
 

Re: CC Kernel

Post 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