Randall R Schulz wrote:
> [...]
> 1) Specific recommendations on the most expedient way to endow the 
> kernel in openSUSE 10.2 with this USB support. In particular, is it 
> possible to simply load (or build and load) a kernel module to reenable 
> the USB filesystem (known variously as usbfs, usbdevfs, USB_DEVICEFS, 
> or /proc/bus/usb)?

usbfs is not implemented as a separate kernel module. As far as I know,
you need to recompile the usbcore module if you want to re-enable usbfs.

> 2) Assuming a full kernel rebuild is required, I'd like to get some 
> recommendations for informational resources of a tutorial nature on how 
> to build a late-model kernel with emphasis on anything 
> openSUSE-specific or -related. I found this How-To Forge article: 
> <http://www.howtoforge.com/kernel_compilation_suse>. If anyone is 
> familiar with it and can comment on its usefulness, that would be 
> helpful.

Well, I would not really recommend this Howto, but that's just my
personal opinion :)

> [...]
> 1. Install kernel-sources and kernel-syms
> 2. copy .config and Modules.symvers from /usr/src/linux-obj/<your 
> kernel> to /usr/src/linux
> 3. make oldconfig
> 4. make menuconfig, select the usbfs
> 5. make modules && make modules_install
> 6. change noauto to auto for the usbfs in fstab
> 7. reboot
> 8. ta-da 

I think, the following procedure might work (however, it's untested
since I do not have a 10.2 installation):

$> cd /usr/src/linux
$> make cloneconfig
$> vi .config
change
# USB_DEVICEFS is not set
to
USB_DEVICEFS=y
$> make oldconfig
$> make drivers/usb/core/usbcore.ko

and then install this new module (i.e. replace the standard usbcore.ko
module in /lib/modules/`uname -r`/ with this new one). That should avoid
the time-consuming process of compiling all modules (make modules).
However, this will only work if all the USB_DEVICEFS functionality is
really contained in the usbcore module (I think it is but I am not 100%
sure). If not, then you have to re-compile additional modules and a
"make modules" might be a safe way to do it. Maybe someone using 10.2
can report which way works best.

Please note that this method is not using a build directory, i.e. it
will build the module(s) in place (i.e. in the kernel source tree).

Also note that you'll have to go through this procedure again after
upgrading a SuSE kernel.

Cheers, Th.
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to