[Unionfs] Another NULL pointer problem with
unionfs-2.1.4_for_2.6.23-rc7
Jesse I Pollard
pollard at ccs.nrl.navy.mil
Fri Sep 21 15:52:59 EDT 2007
Erez Zadok wrote:
> In message <46F3CF80.3060502 at ccs.nrl.navy.mil>, Jesse I Pollard writes:
>
>
>> Had another one:
>>
>> unionfs mount:
>>
>> mount -t unionfs -o dirs=/mnt/torpedo-new=rw:/mnt/torpedo-old=ro
>> none /mnt/torpedo
>>
>> torpedo-old is a 6 TB file system - NFS mounted, torpedo-new is a local
>> directory. I was not trying to copy files, just doing:
>>
>> find /mnt/torpedo -depth -type d -print
>>
>> I wanted to use the output to look at the directory tree, and thought it
>> would be a nice test (it has
>> failed before). The find was started at about 5:30PM, the crash occured
>> almost 4AM the next
>> morning (today).
>>
>> df shows: (without the unionfs mount)
>>
>> /dev/sda1 15227008 8710172 5730860 61% /
>> tmpfs 517312 0 517312 0% /dev/shm
>> /var/odf.fs 507748 2353 479181 1% /odf
>> crete:/vol/torpedo 6495730240 4274851328 2220878912 66%
>>
>
> ODF? Are you using the ODF code or the latest non-odf code as per subject
> line. Just verifying.
>
No. that is left over from odf testing I did out of curiosity. The
current system does not use it.
>> /mnt/torpedo-old# df -i
>>
>> and df -i:
>> # df -i
>> Filesystem Inodes IUsed IFree IUse% Mounted on
>> /dev/sda1 3932160 319076 3613084 9% /
>> tmpfs 129328 1 129327 1% /dev/shm
>> /var/odf.fs 131072 49 131023 1% /odf
>> crete:/vol/torpedo 31876689 9264548 22612141 30% /mnt/torpedo-old
>>
>> Attached is the .config for the system.
>>
>> Syslog recorded:
>>
>
> Jesse, can you run dmesg and cut get me the entire oops trace? syslog may
> not record everything, and may not record messages in the right order or all
> of the last ones; I'm missing the rest of the oops trace, where it gives me
> the actual function in which it failed and the hex offset within the
> function.
>
> Thanks,
> Erez.
>
Wellll. The following dmesg doesn't seem to have anything. I have to
reboot the system before I can do anything.
One of the symptoms are that existing processes seem to work until they
attempt a disk access of any kind. This
dmesg was just recorded, but the node isn't used for anything but this
testing. I also didn't realize the record would
be out of order - it is fairly long.
I'll re-run the test, and then take some screenshots of the console
before rebooting. That will, unfortunately, take
until Monday.
[pollard at lint ~]$ dmesg
Linux version 2.6.23-rc7 (pollard at lint.nrl.navy.mil) (gcc version 4.1.1
20070105 (Red Hat 4.1.1-52)) #1 SMP Thu Sep 20 18:32:59 EDT 2007
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000ca000 - 00000000000cc000 (reserved)
BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003fef0000 (usable)
BIOS-e820: 000000003fef0000 - 000000003feff000 (ACPI data)
BIOS-e820: 000000003feff000 - 000000003ff00000 (ACPI NVS)
BIOS-e820: 000000003ff00000 - 0000000040000000 (usable)
BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved)
128MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000f6ce0
Entering add_active_range(0, 0, 262144) 0 entries of 256 used
Zone PFN ranges:
DMA 0 -> 4096
Normal 4096 -> 229376
HighMem 229376 -> 262144
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0 -> 262144
On node 0 totalpages: 262144
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4064 pages, LIFO batch:0
Normal zone: 1760 pages used for memmap
Normal zone: 223520 pages, LIFO batch:31
HighMem zone: 256 pages used for memmap
HighMem zone: 32512 pages, LIFO batch:7
Movable zone: 0 pages used for memmap
DMI present.
Using APIC driver default
ACPI: RSDP 000F6C70, 0014 (r0 PTLTD )
ACPI: RSDT 3FEFAB66, 0030 (r1 PTLTD RSDT 6040000 LTP 0)
ACPI: FACP 3FEFEF06, 0074 (r1 INTEL 440BX 6040000 PTL F4240)
ACPI: DSDT 3FEFAB96, 4370 (r1 PTLTD Custom 6040000 MSFT 100000D)
ACPI: FACS 3FEFFFC0, 0040
ACPI: APIC 3FEFEF7A, 005E (r1 PTLTD APIC 6040000 LTP 0)
ACPI: BOOT 3FEFEFD8, 0028 (r1 PTLTD $SBFTBL$ 6040000 LTP 1)
ACPI: PM-Timer IO Port: 0x1008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 6:15 APIC version 17
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1 6:15 APIC version 17
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode: Flat. Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 50000000 (gap: 40000000:bec00000)
swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000ca000
swsusp: Registered nosave memory region: 00000000000ca000 - 00000000000cc000
swsusp: Registered nosave memory region: 00000000000cc000 - 00000000000dc000
swsusp: Registered nosave memory region: 00000000000dc000 - 0000000000100000
Built 1 zonelists in Zone order. Total pages: 260096
Kernel command line: ro root=LABEL=/1
mapped APIC to ffffb000 (fee00000)
mapped IOAPIC to ffffa000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Detected 1861.340 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1032816k/1048576k available (2379k kernel code, 15012k reserved,
1244k data, 232k init, 131008k highmem)
virtual kernel memory layout:
fixmap : 0xffe14000 - 0xfffff000 (1964 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB)
lowmem : 0xc0000000 - 0xf8000000 ( 896 MB)
.init : 0xc0490000 - 0xc04ca000 ( 232 kB)
.data : 0xc0352f59 - 0xc0489fb4 (1244 kB)
.text : 0xc0100000 - 0xc0352f59 (2379 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
SLUB: Genslabs=22, HWalign=64, Order=0-1, MinObjects=4, CPUs=2, Nodes=1
Calibrating delay using timer specific routine.. 3664.81 BogoMIPS
(lpj=7329639)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0febfbff 00100000 00000000 00000000
00000211 00000000 00000000 00000000
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: After all inits, caps: 0febfbff 00100000 00000000 00003940 00000211
00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
ACPI: Core revision 20070126
Parsing all Control Methods:
Table [DSDT](id 0001) - 328 Objects with 31 Devices 84 Methods 9 Regions
tbxface-0598 [00] tb_load_namespace : ACPI Tables successfully acquired
evxfevnt-0091 [00] enable : Transition to ACPI mode
successful
CPU0: Intel(R) Xeon(R) CPU E5320 @ 1.86GHz stepping 08
SMP alternatives: switching to SMP code
Booting processor 1/1 eip 3000
Initializing CPU#1
Calibrating delay using timer specific routine.. 3366.67 BogoMIPS
(lpj=6733347)
CPU: After generic identify, caps: 0febfbff 00100000 00000000 00000000
00000211 00000000 00000000 00000000
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: After all inits, caps: 0febfbff 00100000 00000000 00003940 00000211
00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: Intel(R) Xeon(R) CPU E5320 @ 1.86GHz stepping 08
Total of 2 processors activated (7031.49 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
checking TSC synchronization [CPU#0 -> CPU#1]: passed.
Brought up 2 CPUs
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfd9a0, last bus=1
PCI: Using configuration type 1
Setting up standard PCI resources
evgpeblk-0956 [00] ev_create_gpe_block : GPE 00 to 0F [_GPE] 2 regs on
int 0x9
evgpeblk-1052 [00] ev_initialize_gpe_bloc: Found 1 Wake, Enabled 1
Runtime GPEs in this block
ACPI: EC: Look up EC in DSDT
Completing Region/Field/Buffer/Package
initialization:....................................................
Initialized 5/9 Regions 0/0 Fields 26/26 Buffers 21/22 Packages (337 nodes)
Initializing Device/Processor/Thermal objects by executing _INI methods:.
Executed 1 _INI methods requiring 0 _STA executions (examined 37 objects)
ACPI: Interpreter enabled
ACPI: (supports S0 S1)
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI quirk: region 1000-103f claimed by PIIX4 ACPI
PCI quirk: region 1040-104f claimed by PIIX4 SMB
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 11 14 *15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *9 10 11 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 *10 11 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 12 devices
ACPI: ACPI bus type pnp unregistered
SCSI subsystem initialized
libata version 2.21 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a
report
Time: tsc clocksource has been installed.
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
PCI: Setting latency timer of device 0000:00:01.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1572864 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 1282k freed
Simple Boot Flag at 0x36 set to 0x80
Machine check exception polling timer started.
IA-32 Microcode Update Driver: v1.14a <tigran at aivazian.fsnet.co.uk>
highmem bounce pool size: 64 pages
Total HugeTLB memory allocated, 0
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Limiting direct PCI/PCI transfers.
Boot video device is 0000:00:0f.0
ACPI: AC Adapter [ACAD] (on-line)
input: Power Button (FF) as /class/input/input0
ACPI: Power Button (FF) [PWRF]
ACPI: Processor [CPU0] (supports 8 throttling states)
ACPI: Processor [CPU1] (supports 8 throttling states)
ACPI Exception (processor_core-0816): AE_NOT_FOUND, Processor Device is
not present [20070126]
ACPI Exception (processor_core-0816): AE_NOT_FOUND, Processor Device is
not present [20070126]
Real Time Clock Driver v1.12ac
Linux agpgart interface v0.102
agpgart: Detected an Intel 440BX Chipset.
agpgart: AGP aperture is 256M @ 0x0
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: module loaded
netconsole: not configured, aborting
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1050-0x1057, BIOS settings: hda:DMA, hdb:pio
Probing IDE interface ide0...
Switched to high resolution mode on CPU 0
Switched to high resolution mode on CPU 1
hda: VMware Virtual IDE CDROM Drive, ATAPI CD/DVD-ROM drive
hda: selected mode 0x42
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hda: ATAPI 1X CD-ROM drive, 32kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ACPI: PCI Interrupt 0000:00:10.0[A] -> GSI 17 (level, low) -> IRQ 16
scsi: ***** BusLogic SCSI Driver Version 2.1.16 of 18 July 2002 *****
scsi: Copyright 1995-1998 by Leonard N. Zubkoff <lnz at dandelion.com>
scsi0: Configuring BusLogic Model BT-958 PCI Wide Ultra SCSI Host Adapter
scsi0: Firmware Version: 5.07B, I/O Address: 0x1060, IRQ Channel: 16/Level
scsi0: PCI Bus: 0, Device: 16, Address: 0xF4800000, Host Adapter SCSI
ID: 7
scsi0: Parity Checking: Enabled, Extended Translation: Enabled
scsi0: Synchronous Negotiation: Ultra, Wide Negotiation: Enabled
scsi0: Disconnect/Reconnect: Enabled, Tagged Queuing: Enabled
scsi0: Scatter/Gather Limit: 128 of 128 segments, Mailboxes: 211
scsi0: Driver Queue Depth: 211, Host Adapter Queue Depth: 192
scsi0: Tagged Queue Depth: Automatic, Untagged Queue Depth: 3
scsi0: *** BusLogic BT-958 Initialized Successfully ***
scsi0 : BusLogic BT-958
scsi 0:0:0:0: Direct-Access VMware Virtual disk 1.0 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 33554432 512-byte hardware sectors (17180 MB)
sd 0:0:0:0: [sda] Test WP failed, assume Write Enabled
sd 0:0:0:0: [sda] Cache data unavailable
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 33554432 512-byte hardware sectors (17180 MB)
sd 0:0:0:0: [sda] Test WP failed, assume Write Enabled
sd 0:0:0:0: [sda] Cache data unavailable
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1 sda2
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
ieee1394: raw1394: /dev/raw1394 device initialized
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
USB Universal Host Controller Interface driver v3.0
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
PNP: PS/2 Controller [PNP0303:KBC,PNP0f13:MOUS] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /class/input/input1
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised:
dm-devel at redhat.com
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
oprofile: using NMI interrupt.
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
Using IPI No-Shortcut mode
Freeing unused kernel memory: 232k freed
Fusion MPT base driver 3.04.05
Copyright (c) 1999-2007 LSI Logic Corporation
Fusion MPT SPI Host driver 3.04.05
end_request: I/O error, dev fd0, sector 0
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
input: ImPS/2 Generic Wheel Mouse as /class/input/input2
kjournald starting. Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
pcnet32.c:v1.33 27.Jun.2006 tsbogend at alpha.franken.de
ACPI: PCI Interrupt 0000:00:11.0[A] -> GSI 18 (level, low) -> IRQ 17
pcnet32: PCnet/PCI II 79C970A at 0x1080, 00 50 56 8c 19 5a assigned IRQ 17.
eth0: registered as PCnet/PCI II 79C970A
ACPI: PCI Interrupt 0000:00:12.0[A] -> GSI 19 (level, low) -> IRQ 18
pcnet32: PCnet/PCI II 79C970A at 0x1400, 00 50 56 8c 3a bf assigned IRQ 18.
eth1: registered as PCnet/PCI II 79C970A
ACPI: PCI Interrupt 0000:00:13.0[A] -> GSI 16 (level, low) -> IRQ 19
pcnet32: PCnet/PCI II 79C970A at 0x1480, 00 50 56 8c 5a a2 assigned IRQ 19.
eth2: registered as PCnet/PCI II 79C970A
pcnet32: 3 cards_found.
EXT3 FS on sda1, internal journal
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
Adding 1052248k swap on /dev/sda2. Priority:-1 extents:1 across:1052248k
eth0: link up
eth1: link up
eth2: link up
eth0: no IPv6 routers present
eth2: no IPv6 routers present
Installing knfsd (copyright (C) 1996 okir at monad.swb.de).
[pollard at lint ~]$
More information about the unionfs
mailing list