[opensuse] usb, vmware and 10.2
In 10.1 we could make vmware see usb devices by executing the command: "mount -t usbfs /dev/bus/usb /proc/bus/usb". this fails in 10.2 with "/proc/bus/usb does not exist". what to do next?
Using sysfs.
Can you please be more specific? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
In 10.1 we could make vmware see usb devices by executing the command: "mount -t usbfs /dev/bus/usb /proc/bus/usb". this fails in 10.2 with "/proc/bus/usb does not exist". what to do next?
Using sysfs.
Can you please be more specific?
Oh you better ask in the Linux kernel mailing list or the usb subsystem mailing list. Fact is, from what I can see, is that usbfs/usbdevfs is gone, and the usualy reason is that something has successfully been moved from /proc to /sys. After all, USB has hardly to do anything with processes. Too bad VMware does not seem to notice it. -`J' -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Jan Engelhardt wrote:
In 10.1 we could make vmware see usb devices by executing the command: "mount -t usbfs /dev/bus/usb /proc/bus/usb". this fails in 10.2 with "/proc/bus/usb does not exist". what to do next?
Using sysfs.
Can you please be more specific?
Oh you better ask in the Linux kernel mailing list or the usb subsystem mailing list. Fact is, from what I can see, is that usbfs/usbdevfs is gone, and the usualy reason is that something has successfully been moved from /proc to /sys. After all, USB has hardly to do anything with processes. Too bad VMware does not seem to notice it.
Jan Engelhardt, it seems you are mistaken. Although /proc is destined to oblivion, usbdevfs has been replaced, probably around 2.6.12 (can't remember exactly), by usbfs, witch is what ?? Kanenas ?? is talking about. I haven't installed OpenSuSE 10.2 yet but, I can assure you that usbfs is present on Kernel 2.6.18 ( even on the new 2.6.19 ). ?? Kanenas ??, if you want to mount usbfs for VMWare, you could do one of the following: 1) Check your /etc/fstab file for a line similar to this one: usbfs /proc/bus/usb usbfs auto 0 0 expect that yours should show a noauto instead of auto. Edit it and change it accordingly. Then issue the command 'mount /proc/bus/usb' On the next boot it should be mounted automatically. 2) check if /proc/bus/usb directory exists. If not, create it. Issue the command: mount -t usbfs none /proc/bus/usb voila... see 1) for automounting at boot. Hope it helps. Regards,
-`J'
Rui Santos -- Rui Santos http://www.ruisantos.com/ They that would give up essential liberty for temporary safety deserve neither one of them. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Rui Santos
Jan Engelhardt, it seems you are mistaken. Although /proc is destined to oblivion, usbdevfs has been replaced, probably around 2.6.12 (can't remember exactly), by usbfs, witch is what ?? Kanenas ?? is talking about. I haven't installed OpenSuSE 10.2 yet but, I can assure you that usbfs is present on Kernel 2.6.18 ( even on the new 2.6.19 ).
yes, 14:13 wahoo:~ > uname -r 2.6.18.5-jen40-default 14:14 wahoo:~ > grep usbfs /etc/fstab usbfs /proc/bus/usb usbfs noauto 0 0 -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 OpenSUSE Linux http://en.opensuse.org/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Dec 15 2006 14:15, Patrick Shanahan wrote:
* Rui Santos
[12-15-06 13:30]: Jan Engelhardt, it seems you are mistaken. Although /proc is destined to oblivion, usbdevfs has been replaced, probably around 2.6.12 (can't remember exactly), by usbfs, witch is what ?? Kanenas ?? is talking about. I haven't installed OpenSuSE 10.2 yet but, I can assure you that usbfs is present on Kernel 2.6.18 ( even on the new 2.6.19 ).
yes,
14:13 wahoo:~ > uname -r 2.6.18.5-jen40-default
14:14 wahoo:~ > grep usbfs /etc/fstab usbfs /proc/bus/usb usbfs noauto 0 0
Yes what? $ uname -r 2.6.18.5-jen40b-default $ grep -i usb /proc/filesystems $ Ok so tell me what module I need ;-) Wait, don't tell me, it's usbcore.ko. But that's loaded, so: $ gzip -cd /proc/config.gz | grep DEVICEFS # CONFIG_USB_DEVICEFS is not set Hm, so let's see why this is unset... exactly, because it's not set in the kernel .config files that came with kernel-source.src.rpm. Surprising, is not it, that it was SUSE to disable it? So stop the FUD that it's my fault. -`J' -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Jan Engelhardt
Ok so tell me what module I need ;-) Wait, don't tell me, it's usbcore.ko. But that's loaded, so:
$ gzip -cd /proc/config.gz | grep DEVICEFS # CONFIG_USB_DEVICEFS is not set
Hm, so let's see why this is unset... exactly, because it's not set in the kernel .config files that came with kernel-source.src.rpm. Surprising, is not it, that it was SUSE to disable it?
So stop the FUD that it's my fault.
fault??? usb devices work on my box, SUSE 10.1 X2 x86_64, but ls -la /proc/bus total 0 dr-xr-xr-x 4 root root 0 2006-12-12 19:49 . dr-xr-xr-x 294 root root 0 2006-12-11 21:18 .. dr-xr-xr-x 2 root root 0 2006-12-15 15:51 input dr-xr-xr-x 5 root root 0 2006-12-12 19:49 pci and 2.6.16.xxx would not see any of my usb devices, including the printer :^( -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 OpenSUSE Linux http://en.opensuse.org/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 15 December 2006 08:26, Rui Santos wrote:
Jan Engelhardt, it seems you are mistaken. Although /proc is destined to oblivion, usbdevfs has been replaced, probably around 2.6.12 (can't remember exactly), by usbfs, witch is what ?? Kanenas ?? is talking about. I haven't installed OpenSuSE 10.2 yet but, I can assure you that usbfs is present on Kernel 2.6.18 ( even on the new 2.6.19 ).
?? Kanenas ??, if you want to mount usbfs for VMWare, you could do one of the following: 1) Check your /etc/fstab file for a line similar to this one: usbfs /proc/bus/usb usbfs auto 0 0 expect that yours should show a noauto instead of auto. Edit it and change it accordingly.
Found that, changed it to auto, thanks
Then issue the command 'mount /proc/bus/usb' On the next boot it should be mounted automatically.
2) check if /proc/bus/usb directory exists.
/proc/bus/usb does not exist, even after a reboot.
If not, create it. Issue the command: mount -t usbfs none /proc/bus/usb voila...
This does not work. I get the error message that /proc/bus/usb does not exist. btw, when I test the mounted fs's with "mount" the following prints out: tentwoa:/home/xyz # mount /dev/hda1 on / type ext3 (rw,acl,user_xattr) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) debugfs on /sys/kernel/debug type debugfs (rw) udev on /dev type tmpfs (rw) devpts on /dev/pts type devpts (rw,mode=0620,gid=5) securityfs on /sys/kernel/security type securityfs (rw) /dev/sdb2 on /mnt/sdb2 type ext3 (rw) /dev/sda2 on /mnt/sda2 type ext3 (rw) /dev/sda3 on /mnt/sda3 type ext3 (rw) /dev/sdb3 on /mnt/sdb3 type reiserfs (rw) /dev/sdc1 on /mnt/sdc1 type reiserfs (rw) /dev/hda3 on /mnt/hda3 type ext3 (rw) /dev/sdd1 on /media/disk type vfat (rw,nosuid,nodev,noatime,uid=1000,utf8,shortname=lower) the usb devices usb1, usb2, 1-0:1.0, 1-1, 1-1:1.0, 1-8, 1-8:1.0 and 2-0:1.0 are found in /sys/bus/usb/devices the kernel & source are 2.6.18.2-34x86-64
see 1) for automounting at boot.
Hope it helps.
Can we try once more?
Regards,
-`J'
Rui Santos
thanks, d. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 2006-12-15 at 09:56 -1000, kanenas@hawaii.rr.com wrote:
On Friday 15 December 2006 08:26, Rui Santos wrote:
<sbip>
Found that, changed it to auto, thanks
Then issue the command 'mount /proc/bus/usb' On the next boot it should be mounted automatically.
2) check if /proc/bus/usb directory exists.
/proc/bus/usb does not exist, even after a reboot.
If not, create it. Issue the command: mount -t usbfs none /proc/bus/usb voila...
This does not work. I get the error message that /proc/bus/usb does not exist.
Then create it! md /proc/bus/usb You need to be root to do this. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Found that, changed it to auto, thanks
Then issue the command 'mount /proc/bus/usb' On the next boot it should be mounted automatically.
2) check if /proc/bus/usb directory exists.
/proc/bus/usb does not exist, even after a reboot.
If not, create it. Issue the command: mount -t usbfs none /proc/bus/usb voila...
This does not work. I get the error message that /proc/bus/usb does not exist.
Then create it! md /proc/bus/usb You need to be root to do this.
# md /proc/bus/usb /bin/mkdir: cannot create directory /proc/bus/usb': No such file or directory I had rather expected some Operation not permitted. -`J' -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 15 December 2006 10:36, Jan Engelhardt wrote:
# md /proc/bus/usb /bin/mkdir: cannot create directory /proc/bus/usb': No such file or directory
I had rather expected some Operation not permitted.
-`J' -- Ok, now what? any suggestions? any workarounds? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Dec 15 2006 11:03, kanenas@hawaii.rr.com wrote:
On Friday 15 December 2006 10:36, Jan Engelhardt wrote:
# md /proc/bus/usb /bin/mkdir: cannot create directory /proc/bus/usb': No such file or directory
I had rather expected some Operation not permitted.
Ok, now what? any suggestions? any workarounds?
What, you did not know creating files in proc can't be done? Oh my, too bad. Well, ask SUSE to reenable DEVICEFS. Or just look at https://bugzilla.novell.com/show_bug.cgi?id=210899 -`J' -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Jan Engelhardt wrote:
On Dec 15 2006 11:03, kanenas@hawaii.rr.com wrote:
On Friday 15 December 2006 10:36, Jan Engelhardt wrote:
# md /proc/bus/usb /bin/mkdir: cannot create directory /proc/bus/usb': No such file or directory
I had rather expected some Operation not permitted.
Ok, now what? any suggestions? any workarounds?
What, you did not know creating files in proc can't be done? Oh my, too bad. Well, ask SUSE to reenable DEVICEFS. Or just look at https://bugzilla.novell.com/show_bug.cgi?id=210899
Wow. This is an ugly subject. It seems we won't get VMWare to work on openSuSE10.2 without recompiling the kernel to re-enable USB_DEVICEFS. SuSE has a point about that security issue. I too believe that this is a subject that VMWare should address...
-`J'
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 15 December 2006 10:04, Kenneth Schneider wrote:
This does not work. I get the error message that /proc/bus/usb does not exist.
Then create it! md /proc/bus/usb You need to be root to do this.
-- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
tentwoa:/home/xyz # md /proc/bus/usb mkdir: cannot create directory `/proc/bus/usb': No such file or directory yes, i tried the obvious before I posted. as root. I am not a guru, but i am aware of a few of the basics. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 15 December 2006 22:04, kanenas@hawaii.rr.com wrote:
On Friday 15 December 2006 10:04, Kenneth Schneider wrote:
This does not work. I get the error message that /proc/bus/usb does not exist.
Then create it! md /proc/bus/usb You need to be root to do this.
tentwoa:/home/xyz # md /proc/bus/usb mkdir: cannot create directory `/proc/bus/usb': No such file or directory
yes, i tried the obvious before I posted. as root. I am not a guru, but i am aware of a few of the basics.
Basics? How about "md -p /proc/bus/usb"? Cheers, Leen -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Dec 15 2006 22:09, Leendert Meyer wrote:
On Friday 15 December 2006 22:04, kanenas@hawaii.rr.com wrote:
On Friday 15 December 2006 10:04, Kenneth Schneider wrote:
This does not work. I get the error message that /proc/bus/usb does not exist.
Then create it! md /proc/bus/usb You need to be root to do this.
tentwoa:/home/xyz # md /proc/bus/usb mkdir: cannot create directory `/proc/bus/usb': No such file or directory
yes, i tried the obvious before I posted. as root. I am not a guru, but i am aware of a few of the basics.
Basics? How about "md -p /proc/bus/usb"?
Do some basics yourself first: 22:16 ichi:~ > alias md alias md='/bin/mkdir -p' -`J' -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 15 December 2006 22:21, Jan Engelhardt wrote:
On Dec 15 2006 22:09, Leendert Meyer wrote:
On Friday 15 December 2006 22:04, kanenas@hawaii.rr.com wrote:
On Friday 15 December 2006 10:04, Kenneth Schneider wrote:
This does not work. I get the error message that /proc/bus/usb does not exist.
Then create it! md /proc/bus/usb You need to be root to do this.
tentwoa:/home/xyz # md /proc/bus/usb mkdir: cannot create directory `/proc/bus/usb': No such file or directory
yes, i tried the obvious before I posted. as root. I am not a guru, but i am aware of a few of the basics.
Basics? How about "md -p /proc/bus/usb"?
Do some basics yourself first:
22:16 ichi:~ > alias md alias md='/bin/mkdir -p'
Indeed. Learned something... Cheers, Leen -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 15 December 2006 11:09, Leendert Meyer wrote:
yes, i tried the obvious before I posted. as root. I am not a guru, but i am aware of a few of the basics.
Basics? How about "md -p /proc/bus/usb"?
Cheers,
Leen
No i did not know that. I said "a few" of the basics. and no, it does not work. and yes I was pretty sure that /proc is not a "normal" dir that can not be touched. Yet I tried every suggestion made so far, sarcastic or not, giving everyone the benefit of the doubt, perhaps something has changed now that /proc is on the way out. But: It seems that there are some tendencies to deride folks not in the know, say someone like me. I am simply saying that I would appreciate some help with the problem at hand. I thought that in general "there are no stupid questions, only stupid answers", doesn't that apply on this list? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 2006-12-15 at 11:33 -1000, kanenas@hawaii.rr.com wrote:
On Friday 15 December 2006 11:09, Leendert Meyer wrote:
yes, i tried the obvious before I posted. as root. I am not a guru, but i am aware of a few of the basics.
Basics? How about "md -p /proc/bus/usb"?
Cheers,
Leen
No i did not know that. I said "a few" of the basics. and no, it does not work. and yes I was pretty sure that /proc is not a "normal" dir that can not be touched. Yet I tried every suggestion made so far, sarcastic or not, giving everyone the benefit of the doubt, perhaps something has changed now that /proc is on the way out.
But:
It seems that there are some tendencies to deride folks not in the know, say someone like me. I am simply saying that I would appreciate some help with the problem at hand. I thought that in general "there are no stupid questions, only stupid answers", doesn't that apply on this list?
Of course you are right here, there are no dumb questions only stupid answers. And mine was one of them. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Jan Engelhardt
-
kanenas@hawaii.rr.com
-
Kenneth Schneider
-
Leendert Meyer
-
Patrick Shanahan
-
Rui Santos