Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 181847 - gentoo-sources 2.6.16-gentoo-r13 kernel error on I/O error on UDF disk
Summary: gentoo-sources 2.6.16-gentoo-r13 kernel error on I/O error on UDF disk
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-13 02:45 UTC by progserega
Modified: 2007-06-13 07:13 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description progserega 2007-06-13 02:45:16 UTC
Insert propertly formated (before this mount I mounted this disk success) udf-DVDrw disk in cdrom. Mount it is is fail.

dmesg:
>ide: failed opcode was: unknown
end_request: I/O error, dev hdd, sector 1128
hdd: media error (bad sector): status=0x51 { DriveReady SeekComplete Error }
hdd: media error (bad sector): error=0x30 { LastFailedSense=0x03 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdd, sector 1132
hdd: media error (bad sector): status=0x51 { DriveReady SeekComplete Error }
hdd: media error (bad sector): error=0x30 { LastFailedSense=0x03 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdd, sector 1136
hdd: media error (bad sector): status=0x51 { DriveReady SeekComplete Error }
hdd: media error (bad sector): error=0x30 { LastFailedSense=0x03 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdd, sector 1140
hdd: media error (bad sector): status=0x51 { DriveReady SeekComplete Error }
hdd: media error (bad sector): error=0x30 { LastFailedSense=0x03 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdd, sector 1144
hdd: media error (bad sector): status=0x51 { DriveReady SeekComplete Error }
hdd: media error (bad sector): error=0x30 { LastFailedSense=0x03 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdd, sector 1148
pktcdvd: write speed 5540kB/s
pktcdvd: 4590208kB available on disc
UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'LinuxUDF', timestamp 2007/                           04/15 18:14 (11a4)
hdd: media error (bad sector): status=0x51 { DriveReady SeekComplete Error }
hdd: media error (bad sector): error=0x30 { LastFailedSense=0x03 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdd, sector 1668
udf: udf_read_inode(ino 417) failed !bh
Unable to handle kernel paging request at virtual address 00510000
 printing eip:
c0257afd
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: nvidia iptable_nat ip_nat xt_state iptable_filter ip_tables s                           nd_opl3_synth snd_seq_instr snd_seq_midi_emul snd_ainstr_fm snd_seq_midi snd_pcm                           _oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_sonicvibes snd_mpu                           401_uart snd_intel8x0 snd_cs46xx snd_cs4281 snd_opl3_lib snd_hwdep snd_ca0106 sn                           d_rawmidi snd_seq_device snd_ac97_codec snd_pcm snd_timer snd snd_ac97_bus snd_p                           age_alloc pktcdvd kqemu tun 8139too
CPU:    0
EIP:    0060:[<c0257afd>]    Tainted: P      VLI
EFLAGS: 00210246   (2.6.16-gentoo-r13 #1) 
EIP is at udf_get_fileshortad+0x2d/0x60
eax: 00000000   ebx: de653d48   ecx: 00510000   edx: 005100b8
esi: 009800b0   edi: 00510000   ebp: de653d48   esp: de653c8c
ds: 007b   es: 007b   ss: 0068
Process mount (pid: 15705, threadinfo=de652000 task=cdb00070)
Stack: <0>00000000 df4bbe54 c024ee77 00510000 009800b0 de653d48 00000001 0000000                           0 
       00000000 00000000 00000000 00000000 ffffffd5 de653d40 de653d58 df4bbe8c 
       de653d4c c024ed33 df4bbe8c de653d40 de653d48 de653d4c de653d54 de653d58 
Call Trace:
 [<c024ee77>] udf_current_aext+0xc7/0x210
 [<c024ed33>] udf_next_aext+0x43/0xc0
 [<c02568f4>] udf_discard_prealloc+0xc4/0x2f0
 [<c011d53d>] current_fs_time+0x4d/0x60
 [<c024c96c>] __udf_read_inode+0xbc/0x240
 [<c024a6cb>] udf_clear_inode+0x3b/0x60
 [<c0172a1a>] clear_inode+0xba/0x130
 [<c0173987>] generic_forget_inode+0xd7/0x160
 [<c0173a6c>] iput+0x3c/0x90
 [<c024e517>] udf_iget+0xa7/0xc0
 [<c0255a7d>] udf_fill_super+0x25d/0x750
 [<c012fbc8>] debug_mutex_init+0x18/0x40
 [<c019ffff>] new_inode_init+0xaf/0xb0
 [<c01609ce>] sb_set_blocksize+0x2e/0x60
 [<c016037d>] get_sb_bdev+0xdd/0x150
 [<c02531cf>] udf_get_sb+0x2f/0x40
 [<c0255820>] udf_fill_super+0x0/0x750
 [<c016061b>] do_kern_mount+0x5b/0xd0
 [<c0176993>] do_new_mount+0x83/0xe0
 [<c0177005>] do_mount+0x1e5/0x220
 [<c0176dc0>] copy_mount_options+0x60/0xc0
 [<c0177366>] sys_mount+0x96/0xd0
 [<c010300f>] sysenter_past_esp+0x54/0x75
Code: ec 04 8b 4c 24 0c 8b 5c 24 14 85 c9 0f 94 c2 85 db 0f 94 c0 09 d0 a8 01 75                            27 8b 03 85 c0 78 2e 8d 50 08 3b 54 24 10 77 25 31 c0 <83> 39 00 74 0c 8b 44 24                            18 85 c0 74 02 89 13 89 c8 83 c4 04 5b

Reproducible: Sometimes

Steps to Reproduce:
1. Propertly formated UDF DVD-rw disk, but have bad blocks.
2. Insert in DVDrw device.
3. use packet writing in kernel and sys-fs/udftools-1.0.0b-r5
4. Try mount this dvdrw-udf.

Actual Results:  
Mount operation is still wait. And can-not kill it.

Expected Results:  
mount operation end with success mount, or error I/O

uname -a:
Linux sky 2.6.16-gentoo-r13 #1 Mon Jun 4 13:21:35 NOVST 2007 i686 AMD Athlon(tm) XP 1900+ AuthenticAMD GNU/Linux
Comment 1 progserega 2007-06-13 02:46:14 UTC
Portage 2.1.2.7 (default-linux/x86/2007.0, gcc-3.4.6, glibc-2.3.5-r2, 2.6.16-gentoo-r13 i686)
=================================================================
System uname: 2.6.16-gentoo-r13 i686 AMD Athlon(tm) XP 1900+
Gentoo Base System version 1.6.14
Timestamp of tree: Sun, 10 Jun 2007 09:30:08 +0000
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -m3dnow -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -m3dnow -mfpmath=sse -pipe"
DISTDIR="/portage/gentoo/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://192.168.128.102/Linux/ ftp://10.3.82.32/pub/gentoo/ ftp://10.168.50.54/gentoo/ ftp://192.168.130.251/mirrors/gentoo/ ftp://ftp.nsu.ru/pub/FreeBSD/ http://adelie.polymtl.ca/"
LANG="ru_RU.KOI8-R"
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/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="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl alsa bash-completion berkdb bitmap-fonts cdr clamav cli cracklib crypt cups dga directfb dri dvd dvdr encode esd fbcon flac fortran gdbm gpm gtk iconv imap ipv6 isdnlog jpeg libg++ midi mmx mmxext mp2 mp3 mudflap ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl openmp pam pcre perl png pppd python readline reflection rtc sdl session spamassassin spell spl sse ssl svg tcpd tetex truetype-fonts type1-fonts vim-syntax vorbis win32codecs x86 xorg xosd zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-06-13 07:13:36 UTC
You kernel is pretty outdated. Please, try w/ latest stable gentoo-sources at least and report back.