On Wed, Aug 3, 2011 at 11:37 PM, Nico Kadel-Garcia <[email protected]> wrote:
> On Wed, Aug 3, 2011 at 9:54 PM, Andrew Z <[email protected]> wrote: > > On Thu, Jul 14, 2011 at 5:35 PM, Tom H <[email protected]> wrote: > >> > >> On Wed, Jul 13, 2011 at 11:26 PM, Andrew Z <[email protected]> wrote: > >> > On Wed, Jul 13, 2011 at 10:03 PM, Tom H <[email protected]> wrote: > >> >> On Wed, Jul 13, 2011 at 9:49 PM, Andrew Z <[email protected]> wrote: > >> >>> > >> >>> so how do i modify the kernel and recompile it in SL6? > >> >> > >> >> What steps are you following? > >> >> > >> >> Anything different or missing compared to > >> >> http://fedoraproject.org/wiki/Building_a_custom_kernel > >> > > >> > aha! looks like the guide i need. On my own i pretty much completed > >> > everything up to "Configure Kernel Options" section of the guide. > >> > Thank you Tom i'll give it a try tonight. > >> > >> You're welcome. Good luck. > > > > Last night finally got to this. > > I followed the guide Tom shared. The only difference was that i did > > everything using mock. All-in-all it was smooth sailing. The only change > i > > made to the current kernel config was compiling USB as module. > > Compilation took over 2 hours > > Today i installed this modified kernel and.. well, i have vlc, mplayer > > showing some movies; firefox playing some youtube,; yum updating packages > > and me clicking with the mouse on the screen hoping for it to go > kaboom... > > So far ( 2 hours now ) it's still going all right. > > Excellent for you! Can you post a diff between your .config file and > the standard /boot/config-[whatever] configuration file, for our > reference? Did you build a tweaked RPM, or simply install from the > "mock" environment? > Nico, that's a good idea. I'm not sure i understand what you meant under "tweaked rpm"... Here is the result of the diff: Well, yes, now when i'm looking @ the diff, i recalled that i switched olpc off. So there you have 2 changes.... [code] pwd -> /boot diff -h config-2.6.32-131.6.1.el6.usb.i686 config-2.6.32-131.6.1.el6.i686 3,4c3,4 < # Linux kernel version: 2.6.32-131.6.1.el6.usb.i686 < # Tue Aug 2 23:21:50 2011 --- > # Linux kernel version: 2.6.32-131.6.1.el6.i686 > # Tue Jul 12 17:10:51 2011 529a530 > CONFIG_PCI_OLPC=y 554c555 < # CONFIG_OLPC is not set --- > CONFIG_OLPC=y 2216a2218 > CONFIG_MOUSE_PS2_OLPC=y 2490a2493 > CONFIG_BATTERY_OLPC=y 3411c3414 < CONFIG_USB_HID=m --- > CONFIG_USB_HID=y 3418,3424c3421,3427 < CONFIG_HID_A4TECH=m < CONFIG_HID_APPLE=m < CONFIG_HID_BELKIN=m < CONFIG_HID_CHERRY=m < CONFIG_HID_CHICONY=m < CONFIG_HID_CYPRESS=m < CONFIG_HID_DRAGONRISE=m --- > CONFIG_HID_A4TECH=y > CONFIG_HID_APPLE=y > CONFIG_HID_BELKIN=y > CONFIG_HID_CHERRY=y > CONFIG_HID_CHICONY=y > CONFIG_HID_CYPRESS=y > CONFIG_HID_DRAGONRISE=y 3426,3431c3429,3434 < CONFIG_HID_EZKEY=m < CONFIG_HID_KYE=m < CONFIG_HID_GYRATION=m < CONFIG_HID_TWINHAN=m < CONFIG_HID_KENSINGTON=m < CONFIG_HID_LOGITECH=m --- > CONFIG_HID_EZKEY=y > CONFIG_HID_KYE=y > CONFIG_HID_GYRATION=y > CONFIG_HID_TWINHAN=y > CONFIG_HID_KENSINGTON=y > CONFIG_HID_LOGITECH=y 3434,3437c3437,3440 < CONFIG_HID_MICROSOFT=m < CONFIG_HID_MONTEREY=m < CONFIG_HID_NTRIG=m < CONFIG_HID_PANTHERLORD=m --- > CONFIG_HID_MICROSOFT=y > CONFIG_HID_MONTEREY=y > CONFIG_HID_NTRIG=y > CONFIG_HID_PANTHERLORD=y 3439,3443c3442,3446 < CONFIG_HID_PETALYNX=m < CONFIG_HID_SAMSUNG=m < CONFIG_HID_SONY=m < CONFIG_HID_SUNPLUS=m < CONFIG_HID_GREENASIA=m --- > CONFIG_HID_PETALYNX=y > CONFIG_HID_SAMSUNG=y > CONFIG_HID_SONY=y > CONFIG_HID_SUNPLUS=y > CONFIG_HID_GREENASIA=y 3445c3448 < CONFIG_HID_SMARTJOYPLUS=m --- > CONFIG_HID_SMARTJOYPLUS=y 3447,3448c3450,3451 < CONFIG_HID_TOPSEED=m < CONFIG_HID_THRUSTMASTER=m --- > CONFIG_HID_TOPSEED=y > CONFIG_HID_THRUSTMASTER=y 3451c3454 < CONFIG_HID_ZEROPLUS=m --- > CONFIG_HID_ZEROPLUS=y 3457c3460 < CONFIG_USB=m --- > CONFIG_USB=y 3469c3472 < CONFIG_USB_MON=m --- > CONFIG_USB_MON=y 3480c3483 < CONFIG_USB_EHCI_HCD=m --- > CONFIG_USB_EHCI_HCD=y 3487,3488c3490 < CONFIG_USB_OHCI_HCD=m < # CONFIG_USB_OHCI_HCD_SSB is not set --- > CONFIG_USB_OHCI_HCD=y 3492c3494 < CONFIG_USB_UHCI_HCD=m --- > CONFIG_USB_UHCI_HCD=y 3501,3504d3502 < # Enable Host or Gadget support to see Inventra options < # < < # 4361a4360 > # CONFIG_SECURITY_ROOTPLUG is not set [/code] Andrew
