Results 1 to 7 of 7

Thread: solved: Customizing the kernel

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jul 2005
    Location
    Karlsruhe
    Posts
    2

    solved: Customizing the kernel

    Hello,

    I want to add the mISDN drivers into the kernel and remove the isdn4linux stuff.
    I get the kernel-source from www.kernel.org unpack it, set the link linux on the directory i unpacked the sources
    and run

    make-kpkg clean
    fakeroot make-kpkg --revision=custom.1.0 kernel_image

    in /usr/src/linux.

    I get these errors:

    make[4]: *** [drivers/char/drm/gamma_drv.o] Fehler 1
    make[3]: *** [drivers/char/drm] Fehler 2
    make[2]: *** [drivers/char] Fehler 2
    make[1]: *** [drivers] Fehler 2
    make[1]: Leaving directory `/usr/src/linux-2.6.11.12'
    make: *** [stamp-build] Fehler 2


    Is that the right way to remaster a new kernel for knoppix ?

    Or is there a better way ?

    Greets

  2. #2
    Junior Member
    Join Date
    Jul 2005
    Location
    Karlsruhe
    Posts
    2
    solved the problem:

    copied the config-2.6.11 to /usr/src/linux/.config

    make menuconfig

    make-kpkg clean
    fakeroot make-kpkg --revision=custom.1.0 kernel_image

    now it works

  3. #3
    Member registered user
    Join Date
    Aug 2004
    Location
    San Antonio, TX
    Posts
    61
    Am looking to do something similar, and am curious where you found the config-2.6.11 file you mention?

  4. #4
    Senior Member registered user
    Join Date
    Apr 2004
    Location
    Finland
    Posts
    272
    Quote Originally Posted by ewangr
    where you found the config-2.6.11 file you mention?
    Just look at /usr/src/knoppix-kernel.README


    Q: Where can I find the configuration for the kernel used on KNOPPIX?
    A: /usr/src/linux/.config or /boot/config-version

    -tapsa-

  5. #5
    Member registered user
    Join Date
    Aug 2004
    Location
    San Antonio, TX
    Posts
    61
    Interesting. It appears that when you do an HD install, the /usr/src files don't get copied to the HD. Guess I should have thought to keep the DVD loaded just in case.

    Thanks!

  6. #6
    Senior Member registered user
    Join Date
    Apr 2004
    Location
    Finland
    Posts
    272
    Could someone tell me what goes wrong with my compiling (2.6.13 kernel):
    Code:
      CC [M]  drivers/net/wan/sdladrv.o
    drivers/net/wan/sdladrv.c: In function 'peek_by_4':
    drivers/net/wan/sdladrv.c:962: warning: passing argument 1 of 'readb' makes
    pointer from integer without a cast
    drivers/net/wan/sdladrv.c:968: warning: passing argument 1 of 'readl' makes
    pointer from integer without a cast
    drivers/net/wan/sdladrv.c:976: warning: passing argument 1 of 'readb' makes
    pointer from integer without a cast
    drivers/net/wan/sdladrv.c: In function 'poke_by_4':
    drivers/net/wan/sdladrv.c:1044: warning: passing argument 2 of 'writeb'
    makes pointer from integer without a cast
    drivers/net/wan/sdladrv.c:1050: warning: passing argument 2 of 'writel'
    makes pointer from integer without a cast
    drivers/net/wan/sdladrv.c:1058: warning: passing argument 2 of 'writeb'
    makes pointer from integer without a cast
    drivers/net/wan/sdladrv.c: In function 'sdla_start':
    drivers/net/wan/sdladrv.c:1481: warning: passing argument 2 of 'writeb'
    makes pointer from integer without a cast
    drivers/net/wan/sdladrv.c: In function 'detect_s514':
    drivers/net/wan/sdladrv.c:2002: error: invalid lvalue in assignment
    drivers/net/wan/sdladrv.c:2015: warning: passing argument 2 of 'writeb'
    makes pointer from integer without a cast
    make[4]: *** [drivers/net/wan/sdladrv.o] Error 1
    make[3]: *** [drivers/net/wan] Error 2
    make[2]: *** [drivers/net] Error 2
    make[1]: *** [drivers] Error 2
    make[1]: Leaving directory /usr/src/linux-2.6.13'
    make: *** [stamp-build] Error 2
    root@linux:/usr/src/linux#
    This is were compiling stops. I have tried to compile the kernel from hard disk (installed remastered version of Knoppix 3.8.1). This looks quite similar as original question. But I have copied original config file to /usr/src/linux and renamed it to .cofig. Perhaps vanilla kernel 2.6.13 can not be used for some reason with 2.6.11 config file (something changed in configuration dramatically?). When I have time, I try to use newist linux-source from Debian source.


    -tapsa-

  7. #7
    Junior Member registered user
    Join Date
    Sep 2005
    Posts
    10
    Well i already got Knoppix to compile a new kernel just by booting my hd-remaster.
    But now I've got some more problems:
    2.6.13 does not support devfs any more - so i have to switch to udev. Anything to notice? What do i have tot change, that knoppix uses udev?
    And the next problem is, that i don't know how to get it bootable on cd.
    I'd like to use isolinux for boot, but don't know how the config should look like. Any suggestions?

Similar Threads

  1. customizing
    By thrustan in forum General Support
    Replies: 1
    Last Post: 04-04-2005, 04:32 PM
  2. Verify current kernel settings before customizing?
    By bigrobot in forum Customising & Remastering
    Replies: 0
    Last Post: 03-27-2005, 03:37 PM
  3. Customizing LiLo
    By Shadda in forum Customising & Remastering
    Replies: 4
    Last Post: 01-11-2005, 04:54 AM
  4. KDE customizing
    By sn0wflake in forum General Support
    Replies: 4
    Last Post: 12-05-2003, 04:15 AM
  5. customizing kde
    By pap2003 in forum Customising & Remastering
    Replies: 1
    Last Post: 06-05-2003, 08:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00



Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD picture

Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD

$119.99



Dell PowerEdge FX2 FC630 Blade 4*Slot Server Chassis Enclosure NO BLADES/PSU/CMC picture

Dell PowerEdge FX2 FC630 Blade 4*Slot Server Chassis Enclosure NO BLADES/PSU/CMC

$199.97



Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 256GB DDR3 RAM NO HDD picture

Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 256GB DDR3 RAM NO HDD

$349.99



Dell R740XD VxRail P570 24x 2.5” 2U CTO Server– 2x Gold 6240, H740p, 2x 1600W picture

Dell R740XD VxRail P570 24x 2.5” 2U CTO Server– 2x Gold 6240, H740p, 2x 1600W

$699.00



Dell Poweredge C6400 24x 2.5’’ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays picture

Dell Poweredge C6400 24x 2.5’’ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays

$799.99



HP ProLiant BL460c Gen8 Blade Server 2x E5-2680 2.7GHz 128GB Ram 2x 300GB HDD picture

HP ProLiant BL460c Gen8 Blade Server 2x E5-2680 2.7GHz 128GB Ram 2x 300GB HDD

$750.00



Dell PowerEdge FX2 FX2s Server 10GbE CMC Blade Empty Chassis XJ6VP picture

Dell PowerEdge FX2 FX2s Server 10GbE CMC Blade Empty Chassis XJ6VP

$149.99



NEW Cisco UCSB-5108-AC2 Blade Server Chassis 8 Slot 6RU Chassis 4 X PSU - DW picture

NEW Cisco UCSB-5108-AC2 Blade Server Chassis 8 Slot 6RU Chassis 4 X PSU - DW

$599.40



NEW DELL TRUSTED PLATFORM MODULE TPM 2.0 POWEREDGE R730 SERVER M48YR RXW6R K98XH picture

NEW DELL TRUSTED PLATFORM MODULE TPM 2.0 POWEREDGE R730 SERVER M48YR RXW6R K98XH

$225.00