Comment 0 for bug 857170

Revision history for this message
unsound (unsound) wrote :

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 0x00000320
[ 84.594303] Faulting instruction address: 0xc00000000025adbc
[ 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: c00000000025adbc LR: c00000000025ada8 CTR: c00000000053d560
[ 84.594768] REGS: c0000001726675c0 TRAP: 0300 Not tainted (2.6.38-11-powerpc64-smp)
[ 84.594781] MSR: 9000000000009032 <EE,ME,IR,DR> CR: 24448442 XER: 20000000
[ 84.594819] DAR: 0000000000000320, DSISR: 40000000
[ 84.594830] TASK = c00000016b11d130[2137] 'mount' THREAD: c000000172664000 CPU: 1
[ 84.594847] GPR00: 0000000000000000 c000000172667840 c000000001160190 c0000000013f58c0
[ 84.594876] GPR04: c000000179306dd0 0000000000000000 c000000000195a08 a000000000000000
[ 84.594905] GPR08: c00000017bfd4c00 c0000000013f58c8 0000000000000000 5e86cff07c1b7400
[ 84.594934] GPR12: 0000000024444428 c00000000ff60280 0000000000000000 0000000010114ec8
[ 84.594964] GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 84.594993] GPR20: 00000000100231f8 0000000000000000 0000000000000000 c00000000118e580
[ 84.595022] GPR24: c000000179306da0 ffffffffffffffe2 0000000000000000 0000000000000083
[ 84.595051] GPR28: c000000179306d80 c000000179306d80 c0000000010ae9b8 c000000172667840
[ 84.595087] NIP [c00000000025adbc] .blkdev_get+0x16c/0x2c0
[ 84.595100] LR [c00000000025ada8] .blkdev_get+0x158/0x2c0
[ 84.595111] Call Trace:
[ 84.595119] [c000000172667840] [c00000000025ada8] .blkdev_get+0x158/0x2c0 (unreliable)
[ 84.595141] [c000000172667900] [c00000000025b0d4] .blkdev_get_by_path+0x54/0xd0
[ 84.595159] [c0000001726679a0] [c000000000210970] .mount_bdev+0x80/0x2b0
[ 84.595181] [c000000172667a80] [d000000001c62a2c] .udf_mount+0x4c/0x70 [udf]
[ 84.595197] [c000000172667b20] [c00000000020ffac] .vfs_kern_mount+0xcc/0x300
[ 84.595214] [c000000172667be0] [c0000000002102b4] .do_kern_mount+0x74/0x160
[ 84.595230] [c000000172667c90] [c00000000023ba70] .do_mount+0x250/0x2d0
[ 84.595248] [c000000172667d60] [c000000000278814] .compat_sys_mount+0x174/0x2c0
[ 84.595265] [c000000172667e30] [c0000000000085b0] syscall_exit+0x0/0x40
[ 84.595280] Instruction dump:
[ 84.595290] 6b5a0001 0b1a0000 3b400000 7fa3eb78 38800000 fb430051 4be7f99d 60000000
[ 84.595327] 880d01dc 2f800000 409e00f8 7c2004ac <80160320> 39200000 91370000 7809c7e3
[ 84.600364] ---[ end trace efdcc03d2a77700c ]---
---

I have verified that this problem does not occur with kernel version 2.6.38-10-powerpc64-smp. All packages are up-to-date as of 23 Sep 2011, 10.46 CET (UTC+2).

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-2.6.38-11-powerpc64-smp 2.6.38-11.50
ProcVersionSignature: Ubuntu 2.6.38-11.50-powerpc64-smp 2.6.38.8
Uname: Linux 2.6.38-11-powerpc64-smp ppc64
AcpiTables:

AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: SoundByLayout [SoundByLayout], device 0: Master []
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: powerpc
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: SoundByLayout [SoundByLayout], device 0: Master []
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: erik 6591 F.... pulseaudio
CRDA: Error: [Errno 2] Filen eller katalogen finns inte
Card0.Amixer.info:
 Card hw:0 'SoundByLayout'/'SoundByLayout'
   Mixer name : 'SoundByLayout'
   Components : ''
   Controls : 18
   Simple ctrls : 14
Date: Fri Sep 23 10:36:19 2011
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=1d1304f9-b33f-44cc-b7d7-b3b6a80b9797
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release powerpc (20100428)
PciMultimedia:

ProcEnviron:
 LANGUAGE=sv_SE:en
 PATH=(custom, user)
 LANG=sv_SE.utf8
 SHELL=/bin/bash
ProcKernelCmdLine: root=/dev/sda7 ro quiet splash
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-11-powerpc64-smp N/A
 linux-backports-modules-2.6.38-11-powerpc64-smp N/A
 linux-firmware 1.52.4
SourcePackage: linux
UpgradeStatus: Upgraded to natty on 2011-05-10 (135 days ago)