usbfs is bugged with 2.6.35-22 when running 32-bit apps on a 64-bit kernel (breaks, Qemu, sane scanners, ...)

Bug #672516 reported by David
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

This is an attempt to re-open bug Bug #544527, which was closed with "Fix Committed". As stated in comment comments #2 ff
(https://bugs.launchpad.net/ubuntu/+source/linux/+bug/544527/comments/2), the fix in question only fixed the native ioctl handling. "compat" ioctl handling used when running 32-bit code on a 64-bit kernel is still broken.

I'd be willing to invest some time to creating and test a kernel patch. Please tell me which kernel to use for any hacking attempts (probably some"natty" kernel from kernel-ppa?).

This bug affects Ubuntu 10.10 as well as 10.04. Though most likely it does not affect any packages released through Ubuntu, as Ubuntu packages are compiled for the native bit-width of the kernel. However, maybe there are people running vanilla Ubuntu i386 on a 64-bit kernel? Users of schroot running a 32-bit Ubuntu on a 64-bit system may also hit the problem. Of course using pre-compiled (commercial) software might trigger the problem, as well as compiling software from source when using -m32.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.35-22-generic 2.6.35-22.35
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: kuehling 2626 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xeb100000 irq 44'
   Mixer name : 'Realtek ALC888'
   Components : 'HDA:10ec0888,1458a002,00100001'
   Controls : 39
   Simple ctrls : 22
Date: Mon Nov 8 12:52:00 2010
HibernationDevice: RESUME=UUID=d90d1259-9dde-41b2-9796-ad496f153c0e
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: Gigabyte Technology Co., Ltd. EP43-DS3
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic root=UUID=b88f4e0b-7c1a-4eba-88fd-6766f0e57132 ro quiet splash
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.utf8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.38
RfKill:

SourcePackage: linux
dmi.bios.date: 10/22/2008
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F9 TX
dmi.board.name: EP43-DS3
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF9TX:bd10/22/2008:svnGigabyteTechnologyCo.,Ltd.:pnEP43-DS3:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnEP43-DS3:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: EP43-DS3
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
David (dvdkhlng) wrote :
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

David Kühling, thank you for reporting this and helping make Ubuntu better. This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.