[Ac] Bledy po aktualizacji jadra do 2.6.2
Daniel Mróz
beorn w alpha.pl
Czw, 22 Sty 2004, 12:28:24 CET
Czesc
Po aktualizacji jadra do wersji 2.6.2 dzieja sie dwie
nieprzewidziane rzeczy:
1. Podczas startu systemu interfejs sieciowy nie jest podnoszony.
Przyczyna: system nie widzi modulu 8139too. Po recznym zaladowaniu
(modprobe) i zrestartowaniu sieci, wszystko przechodzi bez bledow.
[root w rei fs]# grep eth0 /etc/modules.conf
alias eth0 8139too
[root w rei fs]# dmesg | grep eth0
request_module: failed /sbin/modprobe -- eth0. error = 256
eth0: RealTek RTL8139 at 0xc886af00, 00:0a:cd:04:d3:4f, IRQ 11
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: no IPv6 routers present
2. Nie dziala swapon. Komunikat: Zly argument.
Strace:
execve("/sbin/swapon", ["swapon", "/dev/hda1"], [/* 21 vars */]) = 0
uname({sys="Linux", node="rei", ...}) = 0
brk(0) = 0x804b000
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40015000
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=46211, ...}) = 0
mmap2(NULL, 46211, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@]\1\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1235464, ...}) = 0
mmap2(NULL, 1245668, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40022000
mmap2(0x40148000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x125) = 0x40148000
mmap2(0x40150000, 8676, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40150000
close(3) = 0
munmap(0x40016000, 46211) = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=27311744, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40153000
mmap2(NULL, 180224, PROT_READ, MAP_PRIVATE, 3, 0x979) = 0x40353000
brk(0) = 0x804b000
brk(0x806c000) = 0x806c000
brk(0) = 0x806c000
mmap2(NULL, 28672, PROT_READ, MAP_PRIVATE, 3, 0x9c2) = 0x4037f000
close(3) = 0
stat64("/dev/hda1", {st_mode=S_IFBLK|0660, st_rdev=makedev(3, 1), ...}) = 0
swapon("/dev/hda1") = -1 EINVAL (Invalid argument)
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2586, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40386000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2586
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40386000, 4096) = 0
open("/usr/share/locale/pl_PL/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/pl/LC_MESSAGES/libc.mo", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=118089, ...}) = 0
mmap2(NULL, 118089, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40386000
close(3) = 0
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=22024, ...}) = 0
mmap2(NULL, 22024, PROT_READ, MAP_SHARED, 3, 0) = 0x403a3000
close(3) = 0
write(2, "swapon: /dev/hda1: Z\263y argument\n", 32) = 32
exit_group(-1) = ?
Pozdrawiam
Beorn
--
----------------------------------------------------------------------
Daniel `Beorn' Mróz <beorn w alpha.pl> http://127.0.0.1/beorn
GCS/E d+(pu) s: a-@ C++++ UL++++$ P+++ L+++ E--- X W+++ N++ o? K- w---
O M- V- PS PE- !Y PGP t- 5- R tv-- b+ DI++ D+++ G++ e h! r-- y+
----------------------------------------------------------------------
Więcej informacji o liście dyskusyjnej pld-devel-pl