FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 11-03-2009, 09:28 PM
Niels Thykier
 
Default Bug#554272: linux-image-2.6.30-2-686: Deferences NULL pointer in xfs

Package: linux-image-2.6.30-2-686
Version: 2.6.30-8
Severity: important

Hi

When I try to build eclipse 3.5 from source the compile is usually interrupted by the kernel deferencing
a NULL pointer in (as far as I can tell) my file system driver. I do not see this during "normal" usage[1].
The attached log contains two separate deferences from two separate build attempts.

This may not be of relevance, however:
* The base system is testing while I build in cowbuilder against sid.
- I have not tried to run the build directly in my base system (outside cowbuilder).

Thank you in advance,
~Niels

[1] I do not really use it for anything besides building packages.

-- Package-specific info:
** Version:
Linux version 2.6.30-2-686 (Debian 2.6.30-8) (waldi@debian.org) (gcc version 4.3.4 (Debian 4.3.4-3) ) #1 SMP Sat Sep 26 01:16:22 UTC 2009

** Command line:
BOOT_IMAGE=/vmlinuz-2.6.30-2-686 root=UUID=391295c1-0454-43f0-8880-b342aae671a4 ro vga=791

** Tainted: G D (128)

** Kernel log:
[ 10.195887] msp3400 1-0040: MSP3410G-B11 found @ 0x80 (bt878 #0 [sw])
[ 10.209842] msp3400 1-0040: msp3400 supports nicam and radio, mode is autodetect and autoselect
[ 10.224236] bttv0: registered device video0
[ 10.238211] bttv0: registered device vbi0
[ 10.251882] bttv0: registered device radio0
[ 10.282519] bttv0: PLL: 28636363 => 35468950 .. ok
[ 11.112500] Adding 3903784k swap on /dev/sda2. Priority:-1 extents:1 across:3903784k
[ 11.451407] loop: module loaded

[ 14.237755] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 16.816120] e100: eth1 NIC Link is Up 100 Mbps Full Duplex
[ 16.816386] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 27.672007] eth1: no IPv6 routers present
[55546.963643] atkbd.c: Unknown key pressed (translated set 2, code 0xbc on isa0060/serio0).
[55546.967633] atkbd.c: Use 'setkeycodes e03c <keycode>' to make it known.
[55547.057685] atkbd.c: Unknown key released (translated set 2, code 0xbc on isa0060/serio0).
[55547.061676] atkbd.c: Use 'setkeycodes e03c <keycode>' to make it known.
[919641.540950] BUG: unable to handle kernel NULL pointer dereference at 00000020
[919641.541369] IP: [<c016c486>] generic_file_aio_read+0x242/0x580
[919641.541704] *pde = 00000000
[919641.541874] Oops: 0002 [#1] SMP
[919641.542072] last sysfs file: /sys/devices/virtual/net/lo/operstate

[919641.542407] Modules linked in: ext2 mbcache firewire_sbp2 loop msp3400 mt20xx tea5767 tda9887 tda8290 tuner bttv ir_common i2c_algo_bit v4l2_common snd_emu10k1 snd_intel8x0 snd_rawmidi videodev snd_ac97_codec v4l1_compat snd_seq_device videobuf_dma_sg snd_pcsp videobuf_core ac97_bus btcx_risc snd_util_mem snd_pcm snd_hwdep snd_timer i2c_i801 tveeprom snd evdev soundcore i2c_core rng_core dcdbas shpchp snd_page_alloc parport_pc pci_hotplug button parport processor xfs exportfs sd_mod crc_t10dif ide_cd_mod cdrom ide_pci_generic uhci_hcd ata_generic ata_piix ehci_hcd 8139cp libata piix intel_agp firewire_ohci e100 firewire_core crc_itu_t 8139too mii scsi_mod ide_core usbcore agpgart floppy thermal fan thermal_sys [last unloaded: scsi_wait_scan]
[919641.544672]
[919641.544672] Pid: 26336, comm: java Not tainted (2.6.30-2-686 #1) Dimension 4600i
[919641.544672] EIP: 0060:[<c016c486>] EFLAGS: 00010206 CPU: 0

[919641.544672] EIP is at generic_file_aio_read+0x242/0x580
[919641.544672] EAX: 40060028 EBX: 00001000 ECX: c15e4d60 EDX: 00000000
[919641.544672] ESI: c15e4d60 EDI: 0000001f EBP: 00000000 ESP: db501e28
[919641.544672] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[919641.544672] Process java (pid: 26336, ti=db500000 task=f70921c0 task.ti=db500000)
[919641.544672] Stack:
[919641.544672] 0000001f db501f64 db501ee0 e2f47180 00000000 db501f28 00000020 0000003f
[919641.544672] e2f471c8 f0fa3e24 f0fa3ed4 00000000 00001000 0000001f 00000000 00000001
[919641.544672] 00020000 0001e074 098dd810 00000000 0003e074 db501ee0 ef802000 f0fa3d00
[919641.544672] Call Trace:
[919641.544672] [<f84a5616>] ? xfs_read+0x17a/0x1e4 [xfs]
[919641.544672] [<c019e529>] ? mntput_no_expire+0x1a/0xea
[919641.544672] [<f84a1e76>] ? xfs_file_aio_read+0x5b/0x65 [xfs]
[919641.544672] [<c018d591>] ? do_sync_read+0xc0/0x107
[919641.544672] [<c01901bb>] ? cp_new_stat64+0xf7/0x109
[919641.544672] [<c0136bce>] ? autoremove_wake_function+0x0/0x2d
[919641.544672] [<c019070f>] ? sys_fstat64+0x1e/0x23
[919641.544672] [<c01d781c>] ? security_file_permission+0xc/0xd
[919641.544672] [<c018d4d1>] ? do_sync_read+0x0/0x107
[919641.544672] [<c018df74>] ? vfs_read+0x7b/0xd3
[919641.544672] [<c018e064>] ? sys_read+0x3c/0x63
[919641.544672] [<c01030c9>] ? syscall_call+0x7/0xb
[919641.544672] Code: 44 24 2c e8 ae 51 00 00 8b 54 24 1c 8b 44 24 2c e8 66 ea ff ff 89 c6 85 f6 58 5a 0f 84 f8 01 00 00 8b 06 a9 00 00 04 00 74 1a 57 <ff> 74 24 18 56 8b 4c 24 14 8b 54 24 28 8b 44 24 30 e8 ff 50 00
[919641.544672] EIP: [<c016c486>] generic_file_aio_read+0x242/0x580 SS:ESP 0068:db501e28

[919641.544672] CR2: 0000000000000020
[919641.624123] ---[ end trace 057e12e32b154e71 ]---
[924553.567389] BUG: unable to handle kernel NULL pointer dereference at (null)
[924553.568009] IP: [<f8468542>] xfs_bmap_search_multi_extents+0xba/0xc5 [xfs]
[924553.568009] *pde = 00000000
[924553.568009] Oops: 0002 [#2] SMP
[924553.568009] last sysfs file: /sys/devices/virtual/net/lo/operstate

[924553.568009] Modules linked in: ext2 mbcache firewire_sbp2 loop msp3400 mt20xx tea5767 tda9887 tda8290 tuner bttv ir_common i2c_algo_bit v4l2_common snd_emu10k1 snd_intel8x0 snd_rawmidi videodev snd_ac97_codec v4l1_compat snd_seq_device videobuf_dma_sg snd_pcsp videobuf_core ac97_bus btcx_risc snd_util_mem snd_pcm snd_hwdep snd_timer i2c_i801 tveeprom snd evdev soundcore i2c_core rng_core dcdbas shpchp snd_page_alloc parport_pc pci_hotplug button parport processor xfs exportfs sd_mod crc_t10dif ide_cd_mod cdrom ide_pci_generic uhci_hcd ata_generic ata_piix ehci_hcd 8139cp libata piix intel_agp firewire_ohci e100 firewire_core crc_itu_t 8139too mii scsi_mod ide_core usbcore agpgart floppy thermal fan thermal_sys [last unloaded: scsi_wait_scan]
[924553.568009]
[924553.568009] Pid: 29852, comm: zip Tainted: G D (2.6.30-2-686 #1) Dimension 4600i
[924553.568009] EIP: 0060:[<f8468542>] EFLAGS: 00010246 CPU: 0

[924553.568009] EIP is at xfs_bmap_search_multi_extents+0xba/0xc5 [xfs]
[924553.568009] EAX: 00000000 EBX: dac595cc ECX: fffe0024 EDX: 00000001
[924553.568009] ESI: dac595a4 EDI: f120dc08 EBP: f120dbec ESP: f120db04
[924553.568009] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[924553.568009] Process zip (pid: 29852, ti=f120c000 task=dfdcf610 task.ti=f120c000)
[924553.568009] Stack:
[924553.568009] 00000000 00000001 dac59580 f120dc08 00005d5f 00000000 f8468594 f120dc38
[924553.568009] 00000000 f120dc08 f120dbec dac595a4 ef802000 dac59580 00000004 f846f4d1
[924553.568009] 00000000 f120dc38 f120dc34 f120dc08 f120dbec 00000000 00000000 00000001
[924553.568009] Call Trace:
[924553.568009] [<f8468594>] ? xfs_bmap_search_extents+0x47/0xbb [xfs]
[924553.568009] [<f846f4d1>] ? xfs_bmapi+0x2ad/0x12b1 [xfs]
[924553.568009] [<c01f21e2>] ? elv_next_request+0x13e/0x14c
[924553.568009] [<f82b48ce>] ? scsi_dispatch_cmd+0x185/0x1e5 [scsi_mod]
[924553.568009] [<f848aecf>] ? xfs_iomap+0x1ad/0x312 [xfs]
[924553.568009] [<f849ed49>] ? __xfs_get_blocks+0x9a/0x1d6 [xfs]
[924553.568009] [<c01a60ef>] ? set_bh_page+0x4e/0x56
[924553.568009] [<f849eeab>] ? xfs_get_blocks+0x11/0x15 [xfs]
[924553.568009] [<c01a771e>] ? __block_prepare_write+0x140/0x297
[924553.568009] [<c016b44b>] ? grab_cache_page_write_begin+0x67/0x88
[924553.568009] [<c01a79d3>] ? block_write_begin+0x70/0xc6
[924553.568009] [<f849ee9a>] ? xfs_get_blocks+0x0/0x15 [xfs]
[924553.568009] [<f849fdad>] ? xfs_vm_write_begin+0x29/0x2d [xfs]
[924553.568009] [<f849ee9a>] ? xfs_get_blocks+0x0/0x15 [xfs]
[924553.568009] [<c016bc55>] ? generic_file_buffered_write+0xe2/0x279
[924553.568009] [<f84a4fd9>] ? xfs_write+0x467/0x6b2 [xfs]
[924553.568009] [<f8484b67>] ? xfs_iunlock+0x22/0x5c [xfs]
[924553.568009] [<f84a1e14>] ? xfs_file_aio_write+0x5a/0x61 [xfs]
[924553.568009] [<c018d48a>] ? do_sync_write+0xc0/0x107
[924553.568009] [<c0136bce>] ? autoremove_wake_function+0x0/0x2d
[924553.568009] [<c012e3fa>] ? run_timer_softirq+0x30/0x19d
[924553.568009] [<c01d781c>] ? security_file_permission+0xc/0xd
[924553.568009] [<c018d3ca>] ? do_sync_write+0x0/0x107
[924553.568009] [<c018dde2>] ? vfs_write+0x7e/0xd6
[924553.568009] [<c018ded2>] ? sys_write+0x3c/0x63
[924553.568009] [<c01030c9>] ? syscall_call+0x7/0xb
[924553.568009] Code: 24 1c c7 00 00 00 00 00 eb 19 85 d2 7e 09 b9 07 00 00 00 89 ee f3 a5 8b 44 24 1c 31 db c7 00 01 00 00 00 8b 44 24 20 8b 54 24 04 <89> 10 89 d8 5a 59 5b 5e 5f 5d c3 55 89 cd 57 89 d7 56 53 89 c3
[924553.568009] EIP: [<f8468542>] xfs_bmap_search_multi_extents+0xba/0xc5 [xfs] SS:ESP 0068:f120db04

[924553.568009] CR2: 0000000000000000
[924554.309149] ---[ end trace 057e12e32b154e72 ]---

** Loaded modules:
Module Size Used by
ext2 54120 1
mbcache 6924 1 ext2
firewire_sbp2 12700 0
loop 13324 0
msp3400 23220 1
mt20xx 9832 1
tea5767 5816 0
tda9887 8984 1
tda8290 9676 0
tuner 18120 2
bttv 104820 0
ir_common 47172 1 bttv

i2c_algo_bit 4860 1 bttv
v4l2_common 14308 3 msp3400,tuner,bttv
snd_emu10k1 116164 0
snd_intel8x0 26584 0
snd_rawmidi 18596 1 snd_emu10k1

videodev 31040 4 msp3400,tuner,bttv,v4l2_common
snd_ac97_codec 91264 2 snd_emu10k1,snd_intel8x0
v4l1_compat 11416 1 videodev
snd_seq_device 6136 2 snd_emu10k1,snd_rawmidi
videobuf_dma_sg 11340 1 bttv
snd_pcsp 8416 0
videobuf_core 16164 2 bttv,videobuf_dma_sg

ac97_bus 1456 1 snd_ac97_codec
btcx_risc 4488 1 bttv
snd_util_mem 3876 1 snd_emu10k1
snd_pcm 62396 4 snd_emu10k1,snd_intel8x0,snd_ac97_codec,snd_pcsp
snd_hwdep 6120 1 snd_emu10k1
snd_timer 17436 2 snd_emu10k1,snd_pcm
i2c_i801 8580 0
tveeprom 10720 1 bttv

snd 49060 9 snd_emu10k1,snd_intel8x0,snd_rawmidi,snd_ac97_code c,snd_seq_device,snd_pcsp,snd_pcm,snd_hwdep,snd_ti mer
evdev 8028 3
soundcore 6184 1 snd

i2c_core 20844 11 msp3400,mt20xx,tea5767,tda9887,tda8290,tuner,bttv, i2c_algo_bit,v4l2_common,i2c_i801,tveeprom
rng_core 3672 0
dcdbas 6736 0
shpchp 26648 0
snd_page_alloc 8180 3 snd_emu10k1,snd_intel8x0,snd_pcm
parport_pc 22392 0
pci_hotplug 24400 1 shpchp
button 5060 0
parport 31144 1 parport_pc
processor 34560 0
xfs 433932 1
exportfs 3792 1 xfs
sd_mod 28740 4
crc_t10dif 1632 1 sd_mod
ide_cd_mod 24484 0
cdrom 30316 1 ide_cd_mod
ide_pci_generic 3632 0
uhci_hcd 19136 0
ata_generic 4340 0
ata_piix 20848 3
ehci_hcd 29812 0
8139cp 17520 0
libata 151044 2 ata_generic,ata_piix
piix 5680 0
intel_agp 23052 1
firewire_ohci 18952 0
e100 27472 0
firewire_core 37736 2 firewire_sbp2,firewire_ohci

crc_itu_t 2148 1 firewire_core
8139too 21472 0
mii 4664 3 8139cp,e100,8139too

scsi_mod 131800 3 firewire_sbp2,sd_mod,libata
ide_core 87940 3 ide_cd_mod,ide_pci_generic,piix
usbcore 126052 3 uhci_hcd,ehci_hcd
agpgart 30836 1 intel_agp
floppy 46220 0
thermal 12580 0
fan 4044 0
thermal_sys 13140 3 processor,thermal,fan


** PCI devices:
not available


-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686 (SMP w/1 CPU core)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-image-2.6.30-2-686 depends on:
ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy
ii initramfs-tools [linux-initra 0.93.4 tools for generating an initramfs
ii module-init-tools 3.11-1 tools for managing Linux kernel mo

Versions of packages linux-image-2.6.30-2-686 recommends:
ii libc6-i686 2.9-25 GNU C Library: Shared libraries [i

Versions of packages linux-image-2.6.30-2-686 suggests:
ii grub 0.97-59 GRand Unified Bootloader (dummy pa
pn linux-doc-2.6.30 <none> (no description available)

-- debconf information:
linux-image-2.6.30-2-686/postinst/bootloader-test-error-2.6.30-2-686:
shared/kernel-image/really-run-bootloader: true
linux-image-2.6.30-2-686/preinst/failed-to-move-modules-2.6.30-2-686:
linux-image-2.6.30-2-686/preinst/lilo-initrd-2.6.30-2-686: true
linux-image-2.6.30-2-686/postinst/old-dir-initrd-link-2.6.30-2-686: true
linux-image-2.6.30-2-686/preinst/initrd-2.6.30-2-686:
linux-image-2.6.30-2-686/preinst/elilo-initrd-2.6.30-2-686: true
linux-image-2.6.30-2-686/postinst/depmod-error-2.6.30-2-686: false
linux-image-2.6.30-2-686/postinst/old-initrd-link-2.6.30-2-686: true
linux-image-2.6.30-2-686/preinst/abort-install-2.6.30-2-686:
linux-image-2.6.30-2-686/postinst/kimage-is-a-directory:
linux-image-2.6.30-2-686/preinst/bootloader-initrd-2.6.30-2-686: true
linux-image-2.6.30-2-686/postinst/bootloader-error-2.6.30-2-686:
linux-image-2.6.30-2-686/prerm/removing-running-kernel-2.6.30-2-686: true
linux-image-2.6.30-2-686/preinst/overwriting-modules-2.6.30-2-686: true
linux-image-2.6.30-2-686/preinst/abort-overwrite-2.6.30-2-686:
linux-image-2.6.30-2-686/postinst/depmod-error-initrd-2.6.30-2-686: false
linux-image-2.6.30-2-686/postinst/create-kimage-link-2.6.30-2-686: true
linux-image-2.6.30-2-686/prerm/would-invalidate-boot-loader-2.6.30-2-686: true
linux-image-2.6.30-2-686/preinst/lilo-has-ramdisk:
linux-image-2.6.30-2-686/postinst/old-system-map-link-2.6.30-2-686: true



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-22-2009, 06:34 PM
Ben Hutchings
 
Default Bug#554272: linux-image-2.6.30-2-686: Deferences NULL pointer in xfs

On Tue, 2009-11-03 at 23:28 +0100, Niels Thykier wrote:
> Package: linux-image-2.6.30-2-686
> Version: 2.6.30-8
> Severity: important
>
> Hi
>
> When I try to build eclipse 3.5 from source the compile is usually interrupted by the kernel deferencing
> a NULL pointer in (as far as I can tell) my file system driver. I do not see this during "normal" usage[1].
> The attached log contains two separate deferences from two separate build attempts.

Can you test whether Linux 2.6.31 (currently in unstable) fixes this?

Ben.

--
Ben Hutchings
Unix is many things to many people,
but it's never been everything to anybody.
 

Thread Tools




All times are GMT. The time now is 07:03 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org