2.3.x, FS corruption?
Philippe Strauss
philou en philou.ch
Dom Ene 23 14:53:44 CST 2000
Hello linux-kernel fans,
I've noticed, when I'm running either plain vanilla 2.3.39 or 2.3.40, upgrading
a pile of debian packages thru apt (download via ftp, temporary spooling of
the .deb in /var/apt/cache, then bulk installation of each .deb), the
apt software stop on an error, due to a corruption of a freshly installed
package file list (a file containing the full path of each file installed by
a particular package).
It may be apt or dpkg which are broken, but the thing is I've never had
such a corruption with 2.2.x, only 2.3.x
Hmmm I'm compiling my kernel with:
Linux version 2.3.40 (root en leeloo) (gcc version 2.95.2 19991109 (Debian GNU/Linux)) #1 Sun Jan 23 01:23:18 CET 2000
Here's one such corrupted file:
hexdump -c /var/lib/dpkg/info/smsclient.list
(I'm using 4096 bytes block size on ext2)
(notice the corrupted garbage take just the first 4096 bytes of the file.
After that it's the normal text file).
0000000 233 ~ \0 \0 \f \0 001 \0 . \0 \0 \0 277 } \0 \0
0000010 364 017 002 \0 . . \0 \0 W 200 \0 \0 020 \0 \b \0
0000020 p o s t i n s t 251 200 \0 \0 0 \0 005 \0
0000030 p r e r m \0 \0 \0 333 200 \0 \0 020 \0 006 \0
0000040 s h l i b s \0 \0 Z 201 \0 \0 020 \0 \a \0
0000050 m d 5 s u m s \0 F 202 \0 \0 250 017 \a \0
0000060 c o n t r o l \0 \0 \0 \0 \0 \0 \0 \0 \0
0000070 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0001000 s e r v i c e s / t e l e n o r
0001010 \n / e t c / s m s c l i e n t /
0001020 s e r v i c e s / p a g e n e t
[snip - the rest of the file is normal]
Cheers.
--
Philippe Strauss, Telecom Consulting
home email address: <philou en philou.ch>
Be Here Now. If you do not live in the future, there is nothing to fear.
If you do not live in the past, there is nothing to regret.
--
------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: smsclient.list
Type: application/octet-stream
Size: 4496 bytes
Desc: no disponible
URL: <https://lists.srvr.mx/pipermail/ayuda/attachments/20000124/29d17644/attachment.obj>
------------ próxima parte ------------
Linux version 2.3.40 (root en leeloo) (gcc version 2.95.2 19991109 (Debian GNU/Linux)) #1 Sun Jan 23 01:23:18 CET 2000
e820: 0009f800 @ 00000000 (usable)
e820: 00000800 @ 0009f800 (reserved)
e820: 00010000 @ 000f0000 (reserved)
e820: 07efd000 @ 00100000 (usable)
e820: 00002000 @ 07ffd000 (ACPI data)
e820: 00001000 @ 07fff000 (ACPI NVS)
e820: 00010000 @ ffff0000 (reserved)
Scan SMP from c0000000 for 1024 bytes.
Scan SMP from c009fc00 for 1024 bytes.
Scan SMP from c00f0000 for 65536 bytes.
Scan SMP from c009f800 for 4096 bytes.
mapped APIC to ffffe000 (01000000)
On node 0 totalpages: 00008000
zone(0): 4096 pages.
zone(1): 28672 pages.
zone(2): 0 pages.
Initializing CPU#0
Detected 459981989 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 458.75 BogoMIPS
Memory: 126560k/131072k available (1194k kernel code, 4124k reserved, 106k data, 192k init, 0k highmem)
Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: Intel Pentium II (Deschutes) stepping 02
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.35 (19990512) Richard Gooch (rgooch en atnf.csiro.au)
PCI: PCI BIOS revision 2.10 entry at 0xf0720
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Interrupt Routing Table found at 0xc00f0d10 [router type 8086/122e]
Limiting direct PCI/PCI transfers.
Linux NET4.0 for Linux 2.3
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
Initializing RT netlink socket
Starting kswapd v1.6
matroxfb: Matrox unknown G400 (AGP) detected
matroxfb: MTRR's turned on
matroxfb: 640x480x8bpp (virtual: 640x26208)
matroxfb: framebuffer at 0xE2000000, mapped to 0xc8805000, size 16777216
Console: switching to colour frame buffer device 80x30
fb0: MATROX VGA frame buffer device
Serial driver version 4.91 (1999-11-17) with MANY_PORTS SHARE_IRQ SERIAL_PCI PCI_IOMEM enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
Uniform Multi-Platform E-IDE driver Revision: 6.30
PIIX4: IDE controller on PCI bus 00 dev 21
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:DMA, hdd:pio
hdc: Pioneer DVD-ROM ATAPIModel DVD-104S 011, ATAPI CDROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hdc: ATAPI DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.06
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
sym53c8xx: at PCI bus 0, device 11, function 0
sym53c8xx: setting PCI_COMMAND_PARITY...(fix-up)
sym53c8xx: 53c895 detected with Tekram NVRAM
sym53c895-0: rev 0x1 on pci bus 0 device 11 function 0 irq 10
sym53c895-0: Tekram format NVRAM, ID 7, Fast-40, Parity Checking
sym53c895-0: on-chip RAM at 0xdf000000
sym53c895-0: restart (scsi reset).
sym53c895-0: Downloading SCSI SCRIPTS.
sym53c895-0: SCSI bus mode change from 80 to 80.
sym53c895-0: restart (scsi mode change).
sym53c895-0: Downloading SCSI SCRIPTS.
scsi0 : sym53c8xx - version 1.5h
scsi : 1 host.
Vendor: IBM Model: DDRS-39130D Rev: DC1B
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
Vendor: iomega Model: jaz 2GB Rev: E.17
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi removable disk sdb at scsi0, channel 0, id 4, lun 0
Vendor: YAMAHA Model: CRW4260 Rev: 1.0h
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 6, lun 0
sym53c895-0-<0,0>: tagged command queue depth set to 16
scsi : detected 1 SCSI cdrom 2 SCSI disks total.
sym53c895-0-<6,*>: target did not report SYNC.
sr0: scsi3-mmc drive: 6x/6x writer cd/rw xa/form2 cdda tray
sym53c895-0-<0,*>: FAST-20 WIDE SCSI 40.0 MB/s (50 ns, offset 15)
SCSI device sda: hdwr sector= 512 bytes. Sectors= 17850000 [8715 MB] [8.7 GB]
Partition check:
sda: sda1 sda2 < sda5 sda6 sda7 sda8 sda9 sda10 sda11 >
sym53c895-0-<4,*>: FAST-20 SCSI 20.0 MB/s (50 ns, offset 15)
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 3915600 [1911 MB] [1.9 GB]
sdb: Write Protect is off
sdb: sdb1 < sdb5 >
Real Time Clock Driver v1.09b
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 192k freed
Adding Swap: 133096k swap-space (priority -1)
eth0: DE500-AA at 0xd000 (PCI bus 0, device 9), h/w address 00:00:f8:05:76:46,
and requires IRQ9 (provided by PCI BIOS).
de4x5.c:V0.545 1999/11/28 davies en maniac.ultranet.com
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
SB 4.05 detected OK (220)
i2c-core.o: i2c core module
0x378: FIFO is 16 bytes
0x378: writeIntrThreshold is 9
0x378: readIntrThreshold is 9
0x378: PWord is 8 bits
0x378: Interrupts are ISA-Pulses
parport0: PC-style at 0x378 (0x778), irq 7, using FIFO [PCSPP,TRISTATE,EPP,ECP]
parport0: cpp_daisy: aa5500ff(98)
parport0: assign_addrs: aa5500ff(98)
parport0: No more nibble data (0 bytes)
parport0: faking semi-colon
parport0: Printer, Hewlett-Packard HP LaserJet 2100 Series
lp0: using parport0 (interrupt-driven).
0x278: CTR: wrote 0x0c, read 0xff
0x278: DATA: wrote 0xaa, read 0xff
parport1: PC-style at 0x278 [PCSPP,TRISTATE]
parport1: cpp_daisy: aa5500ff87(b8)
parport1: assign_addrs: aa5500ff87(b8)
lp1: using parport1 (polling).
eth0: media is TP.
Más información sobre la lista de distribución Ayuda