Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217334 - 2.6.24-gentoo-r2 - kernel panic while running mke2fs on an arcmsr device
Summary: 2.6.24-gentoo-r2 - kernel panic while running mke2fs on an arcmsr device
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-11 21:31 UTC by Joshua Hoblitt
Modified: 2008-10-13 19:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/proc/config.gz (ipp014.config,40.23 KB, text/plain)
2008-04-11 21:34 UTC, Joshua Hoblitt
Details
dmesg (ipp014.dmesg,26.84 KB, text/plain)
2008-04-11 21:34 UTC, Joshua Hoblitt
Details
/proc/interrupts (ipp014.interrupts,1.69 KB, text/plain)
2008-04-11 21:35 UTC, Joshua Hoblitt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Hoblitt 2008-04-11 21:31:42 UTC
This one system that consistently has a kernel panic when running this command on an arcmsr (ARECA) device:

mke2fs -F -j -J size=400 -O dir_index,filetype,resize_inode,sparse_super -i32768 -m1 -L ${HOSTNAME}.0 /dev/sda4

I have 15 other systems with identical software (all installed with the same binary gentoo packages), hardware, firmware on the RAID card, and BIOS versions on the motherboard.  I have about a dozen other systems with the same model of RAID card (1280ML) and none of them have experience this issue.  I suspect that this is a hardware problem with either the RAID card of the motherboard but I am reporting it because of the NULL pointer dereference.

The Areca cards are all running the latest firmware (v1.44) and the motherboards are Tyan S2912s running BIOS v3.03.

Reproducible: Always

Actual Results:  
Unable to handle kernel NULL pointer dereference at 0000000000000018 RIP: 
 [<ffffffff80222ea9>] gart_unmap_sg+0x18/0x63
PGD 228407067 PUD 228c1e067 PMD 0 
Oops: 0000 [1] SMP 
CPU 3 
Modules linked in: w83627hf hwmon_vid autofs4 k8temp forcedeth i2c_nforce2 i2c_core aacraid 3w_9xxx 3w_xxxx atp870u aic7xxx arcmsr tg3 e1000 dm_mirror
Pid: 8771, comm: mke2fs Not tainted 2.6.24-gentoo-r2 #1
RIP: 0010:[<ffffffff80222ea9>]  [<ffffffff80222ea9>] gart_unmap_sg+0x18/0x63
RSP: 0018:ffff81022c27fe98  EFLAGS: 00010297
RAX: ffffffff805a99c0 RBX: 0000000000000000 RCX: 0000000000000001
RDX: 0000000000000004 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff81022c21c549 R09: 0000000000000001
R10: ffff81012fc9dbc8 R11: ffffffff80222e91 R12: 0000000000000001
R13: 0000000000000004 R14: 0000000000000000 R15: ffff81022bcab6c8
FS:  00002b02f6a6af90(0000) GS:ffff81022c21c700(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000018 CR3: 000000022849b000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process mke2fs (pid: 8771, threadinfo ffff810228534000, task ffff810228536860)
Stack:  0000000000000001 ffff81022a930460 ffff8100cf857a00 ffff81016f1da8c0
 ffff81022bcab7d8 ffffffff88043e02 0000000000000001 ffffc20000c50000
 ffff81022a930460 0000000000000008 0000000000000012 ffffffff8804440f
Call Trace:
 <IRQ>  [<ffffffff88043e02>] :arcmsr:arcmsr_ccb_complete+0x25/0x81
 [<ffffffff8804440f>] :arcmsr:arcmsr_interrupt+0x72/0x104
 [<ffffffff880451ea>] :arcmsr:arcmsr_do_interrupt+0x19/0x29
 [<ffffffff8026ea58>] handle_IRQ_event+0x25/0x53
 [<ffffffff8026ff49>] handle_fasteoi_irq+0x94/0xd0
 [<ffffffff8020e675>] do_IRQ+0xf1/0x160
 [<ffffffff8020c341>] ret_from_intr+0x0/0xa
 <EOI>  [<ffffffff802b9af3>] __block_write_full_page+0x1b1/0x2ab
 [<ffffffff802b9aee>] __block_write_full_page+0x1ac/0x2ab
 [<ffffffff802bd2b5>] blkdev_get_block+0x0/0x46
 [<ffffffff802783a3>] __writepage+0xa/0x23
 [<ffffffff80278828>] write_cache_pages+0x176/0x2ab
 [<ffffffff80278399>] __writepage+0x0/0x23
 [<ffffffff802b7c24>] alloc_buffer_head+0x2f/0x60
 [<ffffffff80278999>] do_writepages+0x20/0x2d
 [<ffffffff802b4665>] __writeback_single_inode+0x18d/0x2e0
 [<ffffffff80396364>] prop_fraction_single+0x35/0x55
 [<ffffffff802b4af9>] sync_sb_inodes+0x1b6/0x273
 [<ffffffff802b4f19>] writeback_inodes+0x69/0xbb
 [<ffffffff80278e0f>] balance_dirty_pages_ratelimited_nr+0x155/0x2b3
 [<ffffffff802736ba>] generic_file_buffered_write+0x210/0x66b
 [<ffffffff8022d9f8>] enqueue_task+0x4d/0x58
 [<ffffffff80273e53>] __generic_file_aio_write_nolock+0x33e/0x3a8
 [<ffffffff8023001c>] __wake_up+0x38/0x4e
 [<ffffffff803b1b77>] n_tty_receive_buf+0xde4/0xe3c
 [<ffffffff80273fb2>] generic_file_aio_write_nolock+0x34/0x80
 [<ffffffff8029a214>] do_sync_write+0xc9/0x10c
 [<ffffffff803b1bc4>] n_tty_receive_buf+0xe31/0xe3c
 [<ffffffff8024b40e>] autoremove_wake_function+0x0/0x2e
 [<ffffffff8022e1f6>] __dequeue_entity+0x1c/0x32
 [<ffffffff8029a954>] vfs_write+0xad/0x136
 [<ffffffff8029ae91>] sys_write+0x45/0x6e
 [<ffffffff8020be2e>] system_call+0x7e/0x83


Code: 8b 43 18 85 c0 74 3b 83 7b 0c 00 74 35 48 8b 73 10 89 c2 44 
RIP  [<ffffffff80222ea9>] gart_unmap_sg+0x18/0x63
 RSP <ffff81022c27fe98>
CR2: 0000000000000018
---[ end trace 788f08c42010e104 ]---
Kernel panic - not syncing: Aiee, killing interrupt handler!



Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r2 x86_64 Dual-Core AMD Opteron(tm) Processor 2220
Timestamp of tree: Mon, 11 Feb 2008 18:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/genkernel"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=k8"
DISTDIR="/portage/distfiles"
FEATURES="buildpkg ccache digest distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict suidctl unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/data/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/data/portage"
PORTDIR_OVERLAY="/data/portage_overlay"
SYNC="rsync://gentoo.ifa.hawaii.edu/gentoo-portage-ipp"
USE="X acl acpi amd64 apache2 bash-completion berkdb bitmap-fonts cli cracklib crypt cups dri firefox fontconfig fortran gdbm gif gnome gnome2 gnutls gpm graphviz gtk gtk2 iconv imap ipv6 isdnlog jbig jpeg jpeg2k lcms mbox midi mmx mpeg mudflap ncurses nfs nls nptl openmp pam pcre perl pic png pppd python readline reflection samba session spl sse sse2 ssl svg sysfs tcpd tiff truetype truetype-fonts type1-fonts unicode vim-with-x xattr xinerama xorg xpm xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias asis auth_digest autoindex cache dav deflate dir env expires headers include info log_config logio mime negotiation proxy rewrite setenvif speling status userdir usertrack auth_basic authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user cern_meta charset_lite dav_fs dav_lock dbd disk_cache dumpio ext_filter file_cache filter ident imagemap log_forensic mem_cache mime_magic proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http unique_id version vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="r128 radeon nv vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Joshua Hoblitt 2008-04-11 21:34:27 UTC
Created attachment 149436 [details]
/proc/config.gz
Comment 2 Joshua Hoblitt 2008-04-11 21:34:40 UTC
Created attachment 149438 [details]
dmesg
Comment 3 Joshua Hoblitt 2008-04-11 21:35:01 UTC
Created attachment 149439 [details]
/proc/interrupts
Comment 4 Mike Pagano gentoo-dev 2008-10-03 17:56:32 UTC
Does this occur on more recent kernel versions?
Comment 5 Joshua Hoblitt 2008-10-03 20:09:06 UTC
we have seen softlockup problems when running fsck as recently as 2.6.27-rc5 but that is probably a separate issue from this one.  I think we should close the bug out unless someone else has hit this.
Comment 6 Mike Pagano gentoo-dev 2008-10-13 19:26:31 UTC
Closing this, Joshua if you are having issues with later kernels, please open a new bug.