You are not logged in.

#1 2009-03-12 14:57:02

ippo76
Member
From: PL
Registered: 2008-10-05
Posts: 5

kernel config

Helllo,

I want to recompile my kernel (using arch kernel). I need config for fujitsu-siemens lifebook s 7010 (or similar). My hwd -e:

bash-3.2# hwd -e
Testing: kernel (2.6.26-ARCH) supports uevents
1217:6933 CardBus bridge: O2 Micro, Inc. module: yenta_cardbus 
          OZ6933/711E1 CardBus/SmartCardBus Controller
1217:6933 CardBus bridge: O2 Micro, Inc. module: yenta_cardbus 
          OZ6933/711E1 CardBus/SmartCardBus Controller
8086:3582 Display controller: Intel Corporation module: - 
          82852/855GM Integrated Graphics Device
14e4:165e Ethernet controller: Broadcom Corporation module: tg3 
          NetXtreme BCM5705M_2 Gigabit Ethernet
104c:8026 FireWire (IEEE 1394): Texas Instruments module: ohci1394 
          TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)
8086:3580 Host bridge: Intel Corporation module: agpgart-intel 
          82852/82855 GM/GME/PM/GMV Processor to I/O Controller
8086:24ca IDE interface: Intel Corporation module: ata_piix 
          82801DBM (ICH4-M) IDE Controller
8086:24cc ISA bridge: Intel Corporation module: - 
          82801DBM (ICH4-M) LPC Interface Bridge
8086:24c6 Modem: Intel Corporation module: Intel ICH Modem 
          82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller
8086:24c5 Multimedia audio controller: Intel Corporation module: snd_intel8x0 
          82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller
8086:4220 Network controller: Intel Corporation module: - 
          PRO/Wireless 2200BG Network Connection
8086:2448 PCI bridge: Intel Corporation module: - 
          82801 Mobile PCI Bridge
8086:24c3 SMBus: Intel Corporation module: i801_smbus 
          82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller
8086:3584 System peripheral: Intel Corporation module: - 
          82852/82855 GM/GME/PM/GMV Processor to I/O Controller
8086:3585 System peripheral: Intel Corporation module: - 
          82852/82855 GM/GME/PM/GMV Processor to I/O Controller
8086:24c2 USB Controller: Intel Corporation module: uhci_hcd 
          82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1
8086:24c4 USB Controller: Intel Corporation module: uhci_hcd 
          82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2
8086:24c7 USB Controller: Intel Corporation module: uhci_hcd 
          82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3
8086:24cd USB Controller: Intel Corporation module: ehci_hcd 
          82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller
8086:3582 VGA compatible controller: Intel Corporation module: i810 
          82852/855GM Integrated Graphics Device

There are irda and bluetooth on my laptop too
Thanks,

Offline

#2 2009-03-13 11:43:41

Convergence
Member
Registered: 2005-07-02
Posts: 377

Re: kernel config

Although I have compiled a custom kernel w/o any kind of automatic support, and it worked, I REALLY don' think that it is worth the effort.  In the wiki it recommends: zcat /proc/config.gz > .config  (from within the kernel directory), and I strongly recommend it as well.  All it does is copy some information from your existing kernel into your .config, which vastly improves your odds of having a working kernel right off the bat.  I would compile that, verify that it works, and from that point start taking out modules that you are confident have nothing to do with your system.  (don't forget to select your processor type, and deselect smp if you don't have smp)

I know that it is dissappointing and you'd like to perfect your kernel in one go, but I really think that in the long run, this is your best option.  I don't think that you are going to find anyone who is willing to take the time to tell you what options you personally need to compile in or as modules for you, however, there will be plenty of people who are willing to help. 

I know that there are even smarter solutions, including scripts that can supposedly configure a kernel based on the modules and options that are already loaded, but I think results are mixed.  Although, they might make a great starting point.  I think (but could be wrong) that gentoo's 'genkernel' worked like that.  Though I've used it years ago, I don't think that I fully understood how it worked at the time.

If you are dead set on minimizing all of the options that you compile for your kernel manually, your tools are lspci, lsmod, cat /proc* etc.  You can save the output, figure out what options correspond with that output, and hope for the best!

Good luck

Last edited by Convergence (2009-03-13 11:51:01)


It's a very deadly weapon to know what you're doing
---  William Murderface

Offline

#3 2009-03-13 19:31:46

ippo76
Member
From: PL
Registered: 2008-10-05
Posts: 5

Re: kernel config

@ Convergence
Thanks a lot for Your help.
I will try to compile kernel using Arch kernel and compare these configs: http://crake.servu.org/~asmo/txt/kernel-2.6.17.8.config and http://jmaurer.awardspace.info/e8210/linux.config.txt. I think, that these configs are extremally "light" or hardcore smile , particulary the second one. I`m a newbie, but IMO the best way to learn is to try...

I thought about gentoo too - i have already debian partition on my laptop, there is place for the next distro.

PS. Sorry for my mistakes, but english isn`t my native smile

Edit:
Ok, I have .congig from my /dev/sda6 gentoo. Maybe it will work both in arch and gentoo too smile

Last edited by ippo76 (2009-03-15 11:28:36)

Offline

Board footer

Powered by FluxBB