From 17562ce8c9999123a00209b49adcc570ecc52047 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 31 Aug 2012 16:44:31 +0000 Subject: do not try to mount /proc/bus/usb --- mdk-stage1/NEWS | 2 ++ mdk-stage1/probing.c | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS index 7954e44a1..e90e41a24 100644 --- a/mdk-stage1/NEWS +++ b/mdk-stage1/NEWS @@ -1,3 +1,5 @@ +- do not try to mount /proc/bus/usb + 1.68 - mount /sys/kernel/debug (needed for new ldetect) diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c index d841941b3..5f9983efb 100644 --- a/mdk-stage1/probing.c +++ b/mdk-stage1/probing.c @@ -429,11 +429,6 @@ void probe_that_type(enum driver_type type, enum media_bus bus __attribute__ ((u if (!already_mounted_usbdev) { already_mounted_usbdev = 1; - if (mount("none", "/proc/bus/usb", "usbfs", 0, NULL) && - mount("none", "/proc/bus/usb", "usbdevfs", 0, NULL)) { - log_message("USB: couldn't mount /proc/bus/usb"); - goto end_usb_probe; - } wait_message("Detecting USB devices."); sleep(4); /* sucking background work */ my_insmod("usbhid", ANY_DRIVER_TYPE, NULL, 0); -- cgit v1.2.1