2001-11-25 20:05:39

by Niels Christiansen

[permalink] [raw]
Subject: /var corruption after 2.4.15 and 2.5.0 reboot

[1.] One line summary of the problem:
/var corruption after 2.4.15 and 2.5.0 reboot
[2.] Full description of the problem/report:
On a Dell Optiplex 300MHz PII I build 2.4.15 kernel and 2.5.0 kernel
for SMP with no errors and boot with no errors. When I reboot from
either kernel, the system pumps out error messages and ends the boot
after displaying that it starts logging. I can not boot until I
force a fsck on /var.
[3.] Keywords (i.e., modules, networking, kernel):
/lock/subsys, boot, file system
[4.] Kernel version (from /proc/version):
2.4.15 and 2.5.0 compiled with gcc 3.0.1
[5.] Output of Oops.. message (if applicable) with symbolic information
resolved (see Documentation/oops-tracing.txt)
I attach excerpt from /var/log/messages after a restart where fsck
had to be run to clear the errors.
[6.] A small shell script or example program which triggers the
problem (if possible)
n/a
[7.] Environment
[7.1.] Software (add the output of the ver_linux script here)
???
[7.2.] Processor information (from /proc/cpuinfo):
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 5
model name : Pentium II (Deschutes)
stepping : 0
cpu MHz : 298.003
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat p
se36 mmx fxsr
bogomips : 594.73
[7.3.] Module information (from /proc/modules):
eepro100 17424 1 (autoclean)
3c59x 27264 0 (autoclean) (unused)
[7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem)
cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
0213-0213 : isapnp read
02f8-02ff : serial(auto)
0376-0376 : ide1
03c0-03df : vga+
03f8-03ff : serial(auto)
0800-083f : Intel Corporation 82371AB PIIX4 ACPI
0840-085f : Intel Corporation 82371AB PIIX4 ACPI
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
c800-c8ff : Adaptec AHA-2940U2/W
cc80-ccbf : 3Com Corporation 3c905 100BaseTX [Boomerang]
cc80-ccbf : 00:11.0
cce0-ccff : Intel Corporation 82371AB PIIX4 USB
cce0-ccff : usb-uhci
d000-dfff : PCI Bus #02
dcc0-dcff : Intel Corporation 82557 [Ethernet Pro 100]
dcc0-dcff : eepro100
e000-efff : PCI Bus #01
ec00-ecff : ATI Technologies Inc 3D Rage Pro AGP 1X
ffa0-ffaf : Intel Corporation 82371AB PIIX4 IDE
ffa8-ffaf : ide1

cat /proc/iomem
00000000-0009ffff : System RAM
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000c8000-000cd7ff : Extension ROM
000d0000-000d17ff : Extension ROM
000f0000-000fffff : System ROM
00100000-1fffffff : System RAM
00100000-002b64bf : Kernel code
002b64c0-0032481f : Kernel data
f0000000-f3ffffff : Intel Corporation 440LX/EX - 82443LX/EX Host
bridge
f5000000-f5ffffff : PCI Bus #02
f6000000-f6ffffff : PCI Bus #01
f7000000-f70000ff : Motorola SM56 PCI Modem
fa000000-fbffffff : PCI Bus #02
fae00000-faefffff : Intel Corporation 82557 [Ethernet Pro 100]
fafff000-faffffff : Intel Corporation 82557 [Ethernet Pro 100]
fafff000-faffffff : eepro100
fc000000-feffffff : PCI Bus #01
fcfff000-fcffffff : ATI Technologies Inc 3D Rage Pro AGP 1X
fd000000-fdffffff : ATI Technologies Inc 3D Rage Pro AGP 1X
ff000000-ff000fff : Adaptec AHA-2940U2/W
ff000000-ff000fff : aic7xxx
ffe00000-ffffffff : reserved
[7.5.] PCI information ('lspci -vvv' as root)
appended as vvv
[7.6.] SCSI information (from /proc/scsi/scsi)
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: SEAGATE Model: ST118273LW Rev: 4244
Type: Direct-Access ANSI SCSI revision: 02
[7.7.] Other information that might be relevant to the problem
(please look in /proc and include all information that you
think to be relevant):

Regards,
Niels Christiansen
Linux Technology Center, Kernel Performance
Phone (512) 838 1243, Fax (512) 835 6441

(See attached file: messages)(See attached file: vvv)


Attachments:
messages (16.99 kB)
vvv (6.20 kB)
Download all attachments

2001-11-25 20:19:53

by Davide Libenzi

[permalink] [raw]
Subject: Re: /var corruption after 2.4.15 and 2.5.0 reboot

On Sun, 25 Nov 2001, Niels Christiansen wrote:

[...]

Pls apply Al's patch or use Linus's -pre01




- Davide



2001-11-25 20:33:15

by Phil Sorber

[permalink] [raw]
Subject: Re: /var corruption after 2.4.15 and 2.5.0 reboot

On Sun, 2001-11-25 at 15:29, Davide Libenzi wrote:
>
> Pls apply Al's patch or use Linus's -pre01

isn't it marcello's pre1 now?

--
Phil Sorber
AIM: PSUdaemon
IRC: irc.openprojects.net #psulug PSUdaemon
GnuPG: keyserver - pgp.mit.edu


Attachments:
(No filename) (232.00 B)

2001-11-25 20:53:06

by Davide Libenzi

[permalink] [raw]
Subject: Re: /var corruption after 2.4.15 and 2.5.0 reboot

On 25 Nov 2001, Phil Sorber wrote:

> On Sun, 2001-11-25 at 15:29, Davide Libenzi wrote:
> >
> > Pls apply Al's patch or use Linus's -pre01
>
> isn't it marcello's pre1 now?

I meant Linus's 2.5.1-pre1 but I forgot Marcello's 2.4.16-pre1.
Sorry Marcello :)




- Davide


2001-11-25 22:00:40

by Pawel Worach

[permalink] [raw]
Subject: Re: /var corruption after 2.4.15 and 2.5.0 reboot

Niels Christiansen wrote:

> [1.] One line summary of the problem:
> /var corruption after 2.4.15 and 2.5.0 reboot


Both the 2.4.15 and 2.5.0 kernels have a filesystem corruption bug,
don't use them. Please apply the 2.4.16-pre1 (or 2.5.1-pre1) patch,
you can find it on http://www.kernel.org/.

Regards
Pawel Worach