2.3.7-pre5 file corruption

Mike Galbraith (mikeg@weiden.de)
Fri, 18 Jun 1999 17:19:59 +0200 (CEST)


Hi,

I gave 2.3.7-pre5 a (cautious) run today, and saw some file corruption.
For example, every time klogd starts at boot, I see corruption like that
in the extracted log data below. I have seen bits of C source and ascii
text in this spot. Mostly, logging works properly. If klogd hasn't done
anything in a (short) while, the next message logged will begin with data
from some unknown source. I saw similar corruption in a mailbox after
accidentally booting (oops) the wrong kernel and calling fetchmail before
realizing I had turned it loose on a live fs. Fsck found nothing wrong.

This is gcc-2.7.2.3 compiled virgin 2.3.7-pre5 source.

/var/log/kernel extract:
Jun 18 11:11:16 kernel: klogd 1.3-3, log source = /proc/kmsg started.
Jun 18 11:11:17 kernel: Loaded 18001 symbols from /boot/current/System.map.
Jun 18 11:11:17 kernel: Symbols match kernel version 2.3.6.
Jun 18 11:11:17 kernel: Loaded 56 symbols from 6 modules.
€€€€€€€€€€€€€€€ kernel: klogd 1.3-3, log source = /proc/kmsg started.
Jun 18 11:32:36 kernel: Loaded 8367 symbols from /boot/current/System.map.
Jun 18 11:32:36 kernel: Symbols match kernel version 2.3.7.
Jun 18 11:32:36 kernel: Loaded 54 symbols from 4 modules.
Jun 18 11:32:36 kernel: Linux version 2.3.7 (root@mikeg) (gcc version 2.7.2.3) #1 Fri Jun 18 11:05:17 CEST 1999
...

(started iozone 100 8192 in scratch fs here)
€€€€€€€€€€€€€€€ kernel: bh c0001a40 (0832:5): count=1, state=0x0009
Jun 18 11:34:17 kernel: bh c00018c0 (0832:1): count=1, state=0x0009
Jun 18 11:34:17 kernel: bh c06bdae0 (0814:12561): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bda80 (0814:12560): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bda20 (0814:12559): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd9c0 (0814:12558): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd960 (0814:12557): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd900 (0814:12556): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd8a0 (0814:12555): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd840 (0814:12554): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd7e0 (0814:12553): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd780 (0814:12552): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd720 (0814:12551): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd6c0 (0814:12550): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd660 (0814:12549): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd600 (0814:12548): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd5a0 (0814:12547): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd540 (0814:12546): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd4e0 (0814:12545): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd480 (0814:12544): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd420 (0814:12543): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd3c0 (0814:12542): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd360 (0814:12541): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd300 (0814:12540): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd2a0 (0814:12539): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd240 (0814:12538): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd1e0 (0814:12537): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd180 (0814:12536): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd120 (0814:12535): count=0, state=0x0003
Jun 18 11:34:17 kernel: bh c06bd0c0 (0814:12534): count=0, state=0x0003
...
€€€€€€€€€€€€€€€ kernel: SysRq: Show Regs
Jun 18 11:54:06 kernel:
Jun 18 11:54:06 kernel: EIP: 0010:[hard_idle+33/64] EFLAGS: 00000246
Jun 18 11:54:06 kernel: EAX: c02a4000 EBX: c0296000 ECX: c0296000 EDX: c027a19c
Jun 18 11:54:06 kernel: ESI: 00000000 EDI: 0002062c EBP: 00000912 DS: 0018 ES: 0018
Jun 18 11:54:06 kernel: CR0: 8005003b CR2: 4004e000 CR3: 00101000
Jun 18 11:55:13 kernel: SysRq: Show Regs
Jun 18 11:55:13 kernel:
Jun 18 11:55:13 kernel: EIP: 0010:[cpu_idle+105/128] EFLAGS: 00000246
Jun 18 11:55:13 kernel: EAX: 0000000c EBX: c0296000 ECX: c0296000 EDX: c027a19c
Jun 18 11:55:13 kernel: ESI: 00000000 EDI: 00022058 EBP: 00000912 DS: 0018 ES: 0018
Jun 18 11:55:13 kernel: CR0: 8005003b CR2: 4004e000 CR3: 00101000
...
@Øòÿ¿8Ù @ s€@€ kernel: SysRq: Show Regs
Jun 18 12:02:05 kernel:
Jun 18 12:02:05 kernel: EIP: 0010:[hard_idle+33/64] EFLAGS: 00000246
Jun 18 12:02:05 kernel: EAX: c02a4000 EBX: c0296000 ECX: c0296000 EDX: c027a19c
Jun 18 12:02:05 kernel: ESI: 00000000 EDI: 0002c0f7 EBP: 00000912 DS: 0018 ES: 0018
Jun 18 12:02:05 kernel: CR0: 8005003b CR2: 4004e000 CR3: 00101000
Jun 18 12:02:56 kernel: SysRq: Show Regs
Jun 18 12:02:56 kernel:
Jun 18 12:02:56 kernel: EIP: 0010:[do_con_trol+354/4912] EFLAGS: 00000297
Jun 18 12:02:56 kernel: EAX: c3b72c00 EBX: c3b72c00 ECX: 00000006 EDX: 00000000
Jun 18 12:02:56 kernel: ESI: 00000040 EDI: 00000004 EBP: 00000001 DS: 0018 ES: 0018
Jun 18 12:02:56 kernel: CR0: 8005003b CR2: 4004e000 CR3: 037ca000
...
kde/bin€EXINIT= kernel: SysRq: Show Regs
Jun 18 12:21:45 kernel:
Jun 18 12:21:45 kernel: EIP: 0010:[hard_idle+33/64] EFLAGS: 00000246
Jun 18 12:21:45 kernel: EAX: c02a4000 EBX: c0296000 ECX: c0296000 EDX: c027a19c
Jun 18 12:21:45 kernel: ESI: 00000000 EDI: 00048dee EBP: 00000912 DS: 0018 ES: 0018
Jun 18 12:21:45 kernel: CR0: 8005003b CR2: 4004e000 CR3: 00101000

(that last one looks like env)

Hardware:
Main memory size: 80 Mbytes
1 GenuineIntel P5MMX step 4 @ 150.345453 Mhz
2 16550A serial ports
1 vga+ graphics device
1 keyboard
1 ethernet interface
eth0: NE2000
SCSI devices:
HP C2247-300
QUANTUM FIREBALL_TM2110S
QUANTUM FIREBALL_TM2110S
HP C2488A
TOSHIBA CD-ROM XM-3601TA
PCI bus devices:
Host bridge: Intel 82434LX Mercury/Neptune (rev 16).
IDE interface: PCTECH RZ1000 (buggy) (rev 1).
Non-VGA device: Intel 82378IB (rev 3).
VGA compatible controller: Cirrus Logic GD 5434 (rev 38).
SCSI storage controller: Adaptec AIC-7871 (rev 0).
VGA compatible controller: Matrox Mystique (rev 2).

ver_linux:
Kernel modules 2.2.2-pre4
Gnu C 2.8.1 (2.7.2.3 used for this kernel)
Binutils 2.9.1.0.25
Linux C Library 2.1.1
Dynamic linker ldd (GNU libc) 2.1.1
Linux C++ Library 2.9.0
Procps 1.9.0
Mount 2.9s
Net-tools 1.50
Kbd 0.96
Sh-utils 1.16
Modules Loaded parport_pc lp parport isofs nls_iso8859-1 nls_cp437

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/