[Bug 857170] Re: Kernel oops when mounting UDF volume
This bug was fixed in the package linux - 2.6.38-13.52 --- linux (2.6.38-13.52) natty-proposed; urgency=low [Herton R. Krzesinski] * Release Tracking Bug - LP: #887379 [ Konrad Rzeszutek Wilk ] * SAUCE: x86/paravirt: Partially revert remove lazy mode in interrupts - LP: #854050 [ Ming Lei ] * SAUCE: [media] uvcvideo: Set alternate setting 0 on resume if the bus has been reset - LP: #816484 [ Seth Forshee ] * SAUCE: acer-wmi: Add wireless quirk for Lenovo 3000 N200 - LP: #857297 [ Upstream Kernel Changes ] * Make TASKSTATS require root access, CVE-2011-2494 - LP: #866021 - CVE-2011-2494 * proc: restrict access to /proc/PID/io, CVE-2011-2495 - LP: #866025 - CVE-2011-2495 * proc: fix a race in do_io_accounting(), CVE-2011-2495 - LP: #866025 - CVE-2011-2495 * staging: comedi: fix infoleak to userspace, CVE-2011-2909 - LP: #869261 - CVE-2011-2909 * perf tools: do not look at ./config for configuration, CVE-2011-2905 - LP: #869259 - CVE-2011-2905 * e1000e: workaround for packet drop on 82579 at 100Mbps - LP: #870127 * eCryptfs: Remove unnecessary grow_file() function - LP: #745836 * eCryptfs: Remove ECRYPTFS_NEW_FILE crypt stat flag - LP: #745836 * block: blkdev_get() should access -bd_disk only after success - LP: #857170 * ipv6: restore correct ECN handling on TCP xmit - LP: #872179 * nl80211: fix overflow in ssid_len - CVE-2011-2517 - LP: #869245 - CVE-2011-2517 * ksm: fix NULL pointer dereference in scan_get_next_rmap_item() - CVE-2011-2183 - LP: #869227 - CVE-2011-2183 * NLM: Don't hang forever on NLM unlock requests - CVE-2011-2491 - LP: #869237 - CVE-2011-2491 * KVM: fix kvmclock regression due to missing clock update - LP: #795717 * drm/i915: don't enable plane, pipe and PLL prematurely - LP: #812638 * drm/i915: add pipe/plane enable/disable functions - LP: #812638 -- Herton Ronaldo Krzesinski herton.krzesin...@canonical.com Mon, 07 Nov 2011 22:11:51 -0200 ** Changed in: linux (Ubuntu Natty) Status: Fix Committed = Fix Released ** CVE added: http://www.cve.mitre.org/cgi- bin/cvename.cgi?name=2011-2183 ** CVE added: http://www.cve.mitre.org/cgi- bin/cvename.cgi?name=2011-2491 ** CVE added: http://www.cve.mitre.org/cgi- bin/cvename.cgi?name=2011-2494 ** CVE added: http://www.cve.mitre.org/cgi- bin/cvename.cgi?name=2011-2495 ** CVE added: http://www.cve.mitre.org/cgi- bin/cvename.cgi?name=2011-2517 ** CVE added: http://www.cve.mitre.org/cgi- bin/cvename.cgi?name=2011-2905 ** CVE added: http://www.cve.mitre.org/cgi- bin/cvename.cgi?name=2011-2909 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857170 Title: Kernel oops when mounting UDF volume To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/857170/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857170] Re: Kernel oops when mounting UDF volume
Tagging as verification-done-natty given the feedback on comment #7 ** Tags removed: verification-needed-natty ** Tags added: verification-done-natty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857170 Title: Kernel oops when mounting UDF volume To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/857170/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857170] Re: Kernel oops when mounting UDF volume
I can verify that I cannot reproduce the problem in the version currently in 'proposed', 2.6.38-13.52. So the bug appears to be fixed in this kernel version. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857170 Title: Kernel oops when mounting UDF volume To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/857170/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857170] Re: Kernel oops when mounting UDF volume
This bug is awaiting verification that the kernel for Natty in -proposed solves the problem (2.6.38-13.52). Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-natty' to 'verification-done-natty'. If verification is not done by one week from today, this fix will be dropped from the source code, and this bug will be closed. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you! ** Tags added: verification-needed-natty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857170 Title: Kernel oops when mounting UDF volume To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/857170/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857170] Re: Kernel oops when mounting UDF volume
** Tags added: regression-update -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857170 Title: Kernel oops when mounting UDF volume To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/857170/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857170] Re: Kernel oops when mounting UDF volume
unsound, thanks for the testing. I submitted the fix for inclusion in the natty kernel. Once an update is made, it'll be requested for you to do one more test with the update candidate, stay tuned. ** Changed in: linux (Ubuntu) Status: Incomplete = In Progress ** Description changed: + SRU Justification + = + + Impact + + Regression after the update to 2.6.38.8, there is a possibility of crash + in block code after the change block: don't block events on excl write + for non-optical devices, like the one reported in bug 857170 + + Fix + + Fixed by upstream commit 4c49ff3fe128ca68dabd07537415c419ad7f82f9, + tested by the reporter in this bug. + + Testcase + + Report in this bug shows one way to reproduce the issue. + + - + After installing kernel version 2.6.38-11-powerpc64-smp to my PowerMac G5 Quad I noticed that upon logging in with a CD inserted, the system would throw an error during login and while it doesn't seem like an actual panic, the system was unusable after this error. I investigated some more and realized that it was upon attempting to mount the inserted CD (with UDF) that the error was thrown. I can reproduce this error manually with the following recipe: - Start the computer, boot Linux with kernel 2.6.38-11-powerpc64-smp. - Skip graphical login and VT-switch to console one and log in. - Attempt to mount /dev/hda (which the device assigned to the built-in DVD-RW) as UDF as in the following example: --- $ sudo mount -t udf /dev/hda mountpoint [ 84.594281] Unable to handle kernel paging request for data at address 0x0320 [ 84.594303] Faulting instruction address: 0xc025adbc [ 84.594317] Oops: Kernel access of bad area, sig: 11 [#1] [ 84.594329] SMP NR_CPUS=1024 NUMA PowerMac [ 84.594347] last sysfs file: /sys/module/crc_itu_t/initstate [ 84.594360] Modules linked in: udf sha256_generic aes_generic parport_pc ppdev lp parport dm_crypt binfmt_misc rfcomm sco bnep l2cap btusb bluetooth sil164 nouveau drm_kms_helper ttm drm snd_aoa_codec_onyx snd_aoa_fabric_layout snd_aoa arc4 b43 mac80211 cfg80211 snd_aoa_i2sbus snd_aoa_soundbus rtc_generic snd_powermac snd_pcm snd_page_alloc snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd soundcore raid10 raid456 async_pq async_xor xor async_raid6_recov raid6_pq async_memcpy async_tx raid1 raid0 multipath linear md_mod windfarm_cpufreq_clamp windfarm_max6690_sensor windfarm_lm75_sensor windfarm_smu_sensors windfarm_smu_controls windfarm_pm112 windfarm_pid windfarm_smu_sat windfarm_core dm_mirror dm_region_hash dm_log hid_apple sg usbhid ssb hid mmc_core firewire_ohci sd_mod tg3 crc_t10dif firewire_core uninorth_agp crc_itu_t [ 84.594753] NIP: c025adbc LR: c025ada8 CTR: c053d560 [ 84.594768] REGS: c001726675c0 TRAP: 0300 Not tainted (2.6.38-11-powerpc64-smp) [ 84.594781] MSR: 90009032 EE,ME,IR,DR CR: 24448442 XER: 2000 [ 84.594819] DAR: 0320, DSISR: 4000 [ 84.594830] TASK = c0016b11d130[2137] 'mount' THREAD: c00172664000 CPU: 1 - [ 84.594847] GPR00: c00172667840 c1160190 c13f58c0 - [ 84.594876] GPR04: c00179306dd0 c0195a08 a000 - [ 84.594905] GPR08: c0017bfd4c00 c13f58c8 5e86cff07c1b7400 - [ 84.594934] GPR12: 2428 cff60280 10114ec8 - [ 84.594964] GPR16: - [ 84.594993] GPR20: 100231f8 c118e580 - [ 84.595022] GPR24: c00179306da0 ffe2 0083 - [ 84.595051] GPR28: c00179306d80 c00179306d80 c10ae9b8 c00172667840 + [ 84.594847] GPR00: c00172667840 c1160190 c13f58c0 + [ 84.594876] GPR04: c00179306dd0 c0195a08 a000 + [ 84.594905] GPR08: c0017bfd4c00 c13f58c8 5e86cff07c1b7400 + [ 84.594934] GPR12: 2428 cff60280 10114ec8 + [ 84.594964] GPR16: + [ 84.594993] GPR20: 100231f8 c118e580 + [ 84.595022] GPR24: c00179306da0 ffe2 0083 + [ 84.595051] GPR28: c00179306d80 c00179306d80 c10ae9b8 c00172667840 [ 84.595087] NIP [c025adbc] .blkdev_get+0x16c/0x2c0 [ 84.595100] LR [c025ada8] .blkdev_get+0x158/0x2c0 [ 84.595111] Call Trace: [ 84.595119] [c00172667840] [c025ada8] .blkdev_get+0x158/0x2c0 (unreliable) [ 84.595141]
[Bug 857170] Re: Kernel oops when mounting UDF volume
** Also affects: linux (Ubuntu Natty) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Oneiric) Importance: Medium Assignee: Herton R. Krzesinski (herton) Status: In Progress ** Changed in: linux (Ubuntu Oneiric) Status: In Progress = Fix Released ** Changed in: linux (Ubuntu Natty) Status: New = Fix Committed ** Changed in: linux (Ubuntu Natty) Assignee: (unassigned) = Herton R. Krzesinski (herton) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857170 Title: Kernel oops when mounting UDF volume To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/857170/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857170] Re: Kernel oops when mounting UDF volume
I know nothing about powerpc ISA/arch, but it seems the crash point is NIP [c025adbc] .blkdev_get+0x16c/0x2c0 Since there is no ddebs built for powerpc, I built myself using same natty toolchain, this is what gdb points at blkdev_get+0x16c: (gdb) l *(blkdev_get+0x16c) 0xc025adbc is in blkdev_get (/home/herton/ubuntu-natty/fs/block_dev.c:1270). 1265 * write holder makes the write_holder state stick until 1266 * all are released. This is good enough and tracking 1267 * individual writeable reference is too fragile given the 1268 * way @mode is used in blkdev_get/put(). 1269 */ 1270if ((disk-flags GENHD_FL_BLOCK_EVENTS_ON_EXCL_WRITE) 1271!res (mode FMODE_WRITE) !bdev-bd_write_holder) { 1272bdev-bd_write_holder = true; 1273disk_block_events(disk); 1274} Which means likely this bug will be fixed by cherry-picking commit 4c49ff3 upstream on natty. I'll build a test kernel on Monday with the fix and ask you try it. ** Changed in: linux (Ubuntu) Assignee: (unassigned) = Herton R. Krzesinski (herton) ** Changed in: linux (Ubuntu) Status: Confirmed = In Progress ** Changed in: linux (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857170 Title: Kernel oops when mounting UDF volume To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/857170/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857170] Re: Kernel oops when mounting UDF volume
Built the kernel earlier. unsound, can you try the kernel from http://people.canonical.com/~herton/lp857170/ and see if the problem still happens, and report here the result? ** Changed in: linux (Ubuntu) Status: In Progress = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857170 Title: Kernel oops when mounting UDF volume To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/857170/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857170] Re: Kernel oops when mounting UDF volume
I can verify that I no longer have the kernel oops with your custom-built kernel... so the patch was effective! Thanks a lot for looking into this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857170 Title: Kernel oops when mounting UDF volume To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/857170/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857170] Re: Kernel oops when mounting UDF volume
** Attachment added: Full dmesg snapshot after oops. https://bugs.launchpad.net/bugs/857170/+attachment/2445631/+files/dmesg.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857170 Title: Kernel oops when mounting UDF volume To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/857170/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857170] Re: Kernel oops when mounting UDF volume
** Changed in: linux (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857170 Title: Kernel oops when mounting UDF volume To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/857170/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs