[Bug 311481] Re: still uses /proc/bus/usb for $DEVICE
We disable this in kernel config now ** Changed in: linux (Ubuntu) Status: Incomplete = Fix Released -- still uses /proc/bus/usb for $DEVICE https://bugs.launchpad.net/bugs/311481 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311481] Re: still uses /proc/bus/usb for $DEVICE
This bug report was marked as Triaged a while ago but has not had any updated comments for quite some time. Please let us know if this issue remains in the current Ubuntu release, http://www.ubuntu.com/getubuntu/download . If the issue remains, click on the current status under the Status column and change the status back to New. Thanks. [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.] ** Tags added: kj-triage ** Changed in: linux (Ubuntu) Status: Triaged = Incomplete -- still uses /proc/bus/usb for $DEVICE https://bugs.launchpad.net/bugs/311481 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311481] Re: still uses /proc/bus/usb for $DEVICE
Call for testing 1 month ago. But there is no update. So I will set this bug to Won't fix. -Bryan ** Changed in: linux (Ubuntu) Status: In Progress = Won't Fix -- still uses /proc/bus/usb for $DEVICE https://bugs.launchpad.net/bugs/311481 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311481] Re: still uses /proc/bus/usb for $DEVICE
I discussed this on IRC: The patch to remove the option has been deferred upstream because RedHat still relies on /proc/bus/usb for their initramfs. Could we instead change the config option to N ** Changed in: linux (Ubuntu) Status: Won't Fix = Triaged -- still uses /proc/bus/usb for $DEVICE https://bugs.launchpad.net/bugs/311481 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311481] Re: still uses /proc/bus/usb for $DEVICE
After cherry pick patch from Scott, I built 2 kernel deb for testing. Please find deb package in the following URL: http://people.ubuntu.com/~roc/linux-image-2.6.28-14-generic_2.6.28-14.45_lp311481_amd64.deb http://people.ubuntu.com/~roc/linux-image-2.6.28-14-generic_2.6.28-14.45_lp311481_i386.deb And my git tree branch is http://kernel.ubuntu.com/git?p=roc/ubuntu- jaunty.git;a=shortlog;h=refs/heads/lp311481 It might break some application in Jaunty, if so we can not merge it as SRU. Thanks -Bryan -- still uses /proc/bus/usb for $DEVICE https://bugs.launchpad.net/bugs/311481 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311481] Re: still uses /proc/bus/usb for $DEVICE
Scott, Thanks for the patch. I will cherry-pick it. ** Changed in: linux (Ubuntu) Status: Triaged = In Progress ** Changed in: linux (Ubuntu) Assignee: (unassigned) = Bryan Wu (cooloney) -- still uses /proc/bus/usb for $DEVICE https://bugs.launchpad.net/bugs/311481 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311481] Re: still uses /proc/bus/usb for $DEVICE
Note that usbfs is on schedule for removal from the upstream kernel tree entirely: http://git.kernel.org/?p=linux/kernel/git/sfr/linux- next.git;a=commit;h=0b39ff7d28651737658cb41e37c7ffcf7f573861 -- still uses /proc/bus/usb for $DEVICE https://bugs.launchpad.net/bugs/311481 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311481] Re: still uses /proc/bus/usb for $DEVICE
** Changed in: linux (Ubuntu) Importance: Undecided = Medium ** Changed in: linux (Ubuntu) Status: New = Triaged -- still uses /proc/bus/usb for $DEVICE https://bugs.launchpad.net/bugs/311481 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311481] Re: still uses /proc/bus/usb for $DEVICE
The bug is in Ubuntu userspace changing the mount point for usbfs. It should be /proc/bus/usb, to match all the various programs that understand that convention. Doing otherwise breaks them. The ABI for usbfs is /proc/bus/usb. Re why ship with usbfs enabled ... it's used all over the place. Why would you choose to break programs? -- still uses /proc/bus/usb for $DEVICE https://bugs.launchpad.net/bugs/311481 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 311481] Re: still uses /proc/bus/usb for $DEVICE
Why would you ever choose to use a system which has user space configurable. But refuse to fix programs that break when that flexibility is employed. No, the kernel and any other program that assumes /proc/usb are broken. ABI does not extend to mount points. If it does, then you should be sure to bring that mount point out of configuration files and into code where it can not be changed without hacking. -- still uses /proc/bus/usb for $DEVICE https://bugs.launchpad.net/bugs/311481 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311481] Re: still uses /proc/bus/usb for $DEVICE
** Changed in: udev (Ubuntu) Status: New = Invalid -- still uses /proc/bus/usb for $DEVICE https://bugs.launchpad.net/bugs/311481 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311481] Re: still uses /proc/bus/usb for $DEVICE
So here's a question -- why do we still ship kernels with CONFIG_USB_DEVICEFS enabled? -- still uses /proc/bus/usb for $DEVICE https://bugs.launchpad.net/bugs/311481 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311481] Re: still uses /proc/bus/usb for $DEVICE
drivers/usb/core/driver.c: #ifdef CONFIG_USB_DEVICEFS /* If this is available, userspace programs can directly read * all the device descriptors we don't tell them about. Or * act as usermode drivers. */ if (add_uevent_var(env, DEVICE=/proc/bus/usb/%03d/%03d, usb_dev-bus-busnum, usb_dev-devnum)) return -ENOMEM; #endif Evidently $DEVICE is specific to usbfs. -- still uses /proc/bus/usb for $DEVICE https://bugs.launchpad.net/bugs/311481 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311481] Re: still uses /proc/bus/usb for $DEVICE
Does CONFIG_USB_DEVICEFS effect anything else? -- still uses /proc/bus/usb for $DEVICE https://bugs.launchpad.net/bugs/311481 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs