Jump to content

[Debian] Aide pour compiler Kernel 2.6.15.6


Recommended Posts

Bonjour,

Je vien demander de l'aide car j'ai beaucoup de male a compiler un noyeau pour mon pc portable. Je n'arive pas a trouver les drivers qui respondent au composants de mon pc. D'apprès ce que j'ai comprit on peut connaitre les composants avec lspci, et un utilitaire nommer dmidecode. Se trouve donc à la fin le résultat de ces petits utilitaires.

Pour le momment, j'ai un problème avec le disque dur et le sytem de fichier :

VFS: Cannot open root device "hda2" or unknow-block(0,0)

Pleese append a corect "root=" boot option

Kernel Panic - not synscing: VFS: Unable to mount root fs on unknow-block(0,0)

Donc, voici mes composants :

0000:00:00.0 Host bridge: Intel Corp. 82852/855GM Host Bridge (rev 02)
0000:00:00.1 System peripheral: Intel Corp. 855GM/GME GMCH Memory I/O Control Registers (rev 02)
0000:00:00.3 System peripheral: Intel Corp. 855GM/GME GMCH Configuration Process Registers (rev 02)
0000:00:02.0 VGA compatible controller: Intel Corp. 82852/855GM Integrated Graphics Device (rev 02)
0000:00:02.1 Display controller: Intel Corp. 82852/855GM Integrated Graphics Device (rev 02)
0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 03)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 83)
0000:00:1f.0 ISA bridge: Intel Corp. 82801DBM LPC Interface Controller (rev 03)
0000:00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4) Ultra ATA Storage Controller (rev 03)
0000:00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
0000:00:1f.6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
0000:01:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:01:04.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)

# dmidecode 2.6
SMBIOS 2.3 present.
42 structures occupying 1353 bytes.
Table at 0x000EB160.
Handle 0x0000
DMI type 0, 20 bytes.
BIOS Information
	Vendor: Acer
	Version: V1.40
	Release Date: 11/04/2004
	Address: 0xEB000
	Runtime Size: 84 kB
	ROM Size: 512 kB
	Characteristics:
		ISA is supported
		PCI is supported
		PNP is supported
		APM is supported
		BIOS is upgradeable
		BIOS shadowing is allowed
		Boot from CD is supported
		BIOS ROM is socketed
		EDD is supported
		Japanese floppy for NEC 9800 1.2 MB is supported (int 13h)
		3.5"/720 KB floppy services are supported (int 13h)
		3.5"/2.88 MB floppy services are supported (int 13h)
		Print screen service is supported (int 5h)
		8042 keyboard services are supported (int 9h)
		Serial services are supported (int 14h)
		Printer services are supported (int 17h)
		CGA/mono video services are supported (int 10h)
		ACPI is supported
		USB legacy is supported
		AGP is supported
		LS-120 boot is supported
		ATAPI Zip drive boot is supported
		Function key-initiated network boot is supported
Handle 0x0001
DMI type 1, 25 bytes.
System Information
	Manufacturer: Acer
	Product Name: TravelMate 2350		  
	Version: 290
	Serial Number: LXT710502344731132ED00		  
	UUID: 62393566-3035-3335-3035-00023F0CCEF7
	Wake-up Type: Power Switch
Handle 0x0002
DMI type 2, 8 bytes.
Base Board Information
	Manufacturer: Acer
	Product Name: TravelMate 2350		  
	Version: A0
	Serial Number: LXT710502344731132ED00		  
Handle 0x0003
DMI type 3, 17 bytes.
Chassis Information
	Manufacturer: Acer
	Type: Portable
	Lock: Not Present
	Version: A1
	Serial Number: 12345678
	Asset Tag:								 
	Boot-up State: Safe
	Power Supply State: Safe
	Thermal State: Safe
	Security Status: None
	OEM Information: 0x00000000
Handle 0x0004
DMI type 4, 32 bytes.
Processor Information
	Socket Designation: mPGA478
	Type: Central Processor
	Family: Pentium
	Manufacturer: GenuineIntel
	ID: 95 06 00 00 BF FB E9 A7
	Signature: Type 0, Family 6, Model 9, Stepping 5
	Flags:
		FPU (Floating-point unit on-chip)
		VME (Virtual mode extension)
		DE (Debugging extension)
		PSE (Page size extension)
		TSC (Time stamp counter)
		MSR (Model specific registers)
		MCE (Machine check exception)
		CX8 (CMPXCHG8 instruction supported)
		APIC (On-chip APIC hardware supported)
		SEP (Fast system call)
		MTRR (Memory type range registers)
		PGE (Page global enable)
		MCA (Machine check architecture)
		CMOV (Conditional move instruction supported)
		PAT (Page attribute table)
		CLFSH (CLFLUSH instruction supported)
		DS (Debug store)
		ACPI (ACPI supported)
		MMX (MMX technology supported)
		FXSR (Fast floating-point save and restore)
		SSE (Streaming SIMD extensions)
		SSE2 (Streaming SIMD extensions 2)
		TM (Thermal monitor supported)
		PBE (Pending break enabled)
	Version: Celeron M
	Voltage: 2.9 V
	External Clock: 100 MHz
	Max Speed: 1500 MHz
	Current Speed: 1500 MHz
	Status: Populated, Enabled
	Upgrade: None
	L1 Cache Handle: 0x0008
	L2 Cache Handle: 0x0009
	L3 Cache Handle: 0x0000
Handle 0x0005
DMI type 5, 20 bytes.
Memory Controller Information
	Error Detecting Method: None
	Error Correcting Capabilities:
		None
	Supported Interleave: One-way Interleave
	Current Interleave: One-way Interleave
	Maximum Memory Module Size: 1024 MB
	Maximum Total Memory Size: 2048 MB
	Supported Speeds:
		70 ns
		60 ns
	Supported Memory Types:
		DIMM
		SDRAM
	Memory Module Voltage: 3.3 V
	Associated Memory Slots: 2
		0x0006
		0x0007
	Enabled Error Correcting Capabilities:
		None
Handle 0x0006
DMI type 6, 12 bytes.
Memory Module Information
	Socket Designation: DRAM SLOT 0
	Bank Connections: 0 1
	Current Speed: 60 ns
	Type: DIMM SDRAM
	Installed Size: 256 MB (Double-bank Connection)
	Enabled Size: 256 MB (Double-bank Connection)
	Error Status: OK
Handle 0x0007
DMI type 6, 12 bytes.
Memory Module Information
	Socket Designation: DRAM SLOT 1
	Bank Connections: 2 3
	Current Speed: 60 ns
	Type: DIMM SDRAM
	Installed Size: Not Installed
	Enabled Size: Not Installed
	Error Status: OK
Handle 0x0008
DMI type 7, 19 bytes.
Cache Information
	Socket Designation: L1 Cache
	Configuration: Enabled, Not Socketed, Level 1
	Operational Mode: Write Back
	Location: Internal
	Installed Size: 32 KB
	Maximum Size: 32 KB
	Supported SRAM Types:
		Burst
		Pipeline Burst
	Installed SRAM Type: Burst Pipeline Burst
	Speed: Unknown
	Error Correction Type: None
	System Type: Unknown
	Associativity: Unknown
Handle 0x0009
DMI type 7, 19 bytes.
Cache Information
	Socket Designation: L2 Cache
	Configuration: Enabled, Not Socketed, Level 2
	Operational Mode: Write Back
	Location: External
	Installed Size: 512 KB
	Maximum Size: 512 KB
	Supported SRAM Types:
		Burst
		Pipeline Burst
	Installed SRAM Type: Burst Pipeline Burst
	Speed: Unknown
	Error Correction Type: None
	System Type: Unknown
	Associativity: Unknown
Handle 0x000A
DMI type 8, 9 bytes.
Port Connector Information
	Internal Reference Designator: Parallel Port
	Internal Connector Type: None
	External Reference Designator: J20
	External Connector Type: DB-25 male
	Port Type: Parallel Port ECP/EPP
Handle 0x000B
DMI type 8, 9 bytes.
Port Connector Information
	Internal Reference Designator: Kbd Connector
	Internal Connector Type: None
	External Reference Designator: J8
	External Connector Type: PS/2
	Port Type: Keyboard Port
Handle 0x000C
DMI type 8, 9 bytes.
Port Connector Information
	Internal Reference Designator: Mouse Conn.
	Internal Connector Type: None
	External Reference Designator: J9
	External Connector Type: PS/2
	Port Type: Mouse Port
Handle 0x000D
DMI type 8, 9 bytes.
Port Connector Information
	Internal Reference Designator: USB Conn.
	Internal Connector Type: None
	External Reference Designator: J12
	External Connector Type: Other
	Port Type: USB
Handle 0x000E
DMI type 8, 9 bytes.
Port Connector Information
	Internal Reference Designator: VGA Conn.
	Internal Connector Type: None
	External Reference Designator: J7
	External Connector Type: Other
	Port Type: Other
Handle 0x000F
DMI type 8, 9 bytes.
Port Connector Information
	Internal Reference Designator: DC Input
	Internal Connector Type: None
	External Reference Designator: J35
	External Connector Type: Other
	Port Type: Other
Handle 0x0010
DMI type 8, 9 bytes.
Port Connector Information
	Internal Reference Designator: IrDA Port
	Internal Connector Type: None
	External Reference Designator: U1
	External Connector Type: Infrared
	Port Type: Other
Handle 0x0011
DMI type 8, 9 bytes.
Port Connector Information
	Internal Reference Designator: CardBus Conn.
	Internal Connector Type: None
	External Reference Designator: J26
	External Connector Type: Other
	Port Type: Cardbus
Handle 0x0012
DMI type 9, 13 bytes.
System Slot Information
	Designation: ISA Slot
	Type: 16-bit ISA
	Current Usage: Available
	Length: Long
	Characteristics: Unknown
Handle 0x0013
DMI type 9, 13 bytes.
System Slot Information
	Designation: PCI Slot
	Type: 32-bit PCI
	Current Usage: Available
	Length: Long
	ID: 4
	Characteristics: Unknown
Handle 0x0014
DMI type 11, 5 bytes.
OEM Strings
	String 1: Insyde Software SM-BIOS For Whitney
Handle 0x0015
DMI type 12, 5 bytes.
System Configuration Options
	Option 1: Insyde Software SM-BIOS For Whitney
Handle 0x0016
DMI type 13, 22 bytes.
BIOS Language Information
	Installable Languages: 1
		en|US|iso8859-1
	Currently Installed Language: en|US|iso8859-1
Handle 0x0017
DMI type 16, 15 bytes.
Physical Memory Array
	Location: System Board Or Motherboard
	Use: System Memory
	Error Correction Type: None
	Maximum Capacity: 256 MB
	Error Information Handle: 0x001D
	Number Of Devices: 3
Handle 0x0018
DMI type 16, 15 bytes.
Physical Memory Array
	Location: System Board Or Motherboard
	Use: Video Memory
	Error Correction Type: None
	Maximum Capacity: 2 MB
	Error Information Handle: Not Provided
	Number Of Devices: 1
Handle 0x0019
DMI type 16, 15 bytes.
Physical Memory Array
	Location: System Board Or Motherboard
	Use: Flash Memory
	Error Correction Type: None
	Maximum Capacity: 2 MB
	Error Information Handle: Not Provided
	Number Of Devices: 1
Handle 0x001A
DMI type 16, 15 bytes.
Physical Memory Array
	Location: System Board Or Motherboard
	Use: Cache Memory
	Error Correction Type: None
	Maximum Capacity: 256 kB
	Error Information Handle: Not Provided
	Number Of Devices: 1
Handle 0x001B
DMI type 17, 23 bytes.
Memory Device
	Array Handle: 0x0017
	Error Information Handle: Not Provided
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 256 MB
	Form Factor: DIMM
	Set: Unknown
	Locator: DRAM Slot 0
	Bank Locator: Banks 0/1
	Type: DRAM
	Type Detail: EDO
	Speed: 1 MHz (1000.0 ns)
Handle 0x001C
DMI type 17, 23 bytes.
Memory Device
	Array Handle: 0x0017
	Error Information Handle: Not Provided
	Total Width: 64 bits
	Data Width: 64 bits
	Size: No Module Installed
	Form Factor: DIMM
	Set: Unknown
	Locator: DRAM Slot 1
	Bank Locator: Banks 2/3
	Type: DRAM
	Type Detail: EDO
	Speed: 1 MHz (1000.0 ns)
Handle 0x001D
DMI type 19, 15 bytes.
Memory Array Mapped Address
	Starting Address: 0x00000000000
	Ending Address: 0x00000099FFF
	Range Size: 616 kB
	Physical Array Handle: 0x0017
	Partition Width: 0
Handle 0x001E
DMI type 21, 7 bytes.
Built-in Pointing Device
	Type: Mouse
	Interface: PS/2
	Buttons: 2
Handle 0x001F
DMI type 22, 26 bytes.
Portable Battery
	Location: Smart Battery Conn J37
	Manufacturer: Duracell
	Manufacture Date: 01/06/97
	Serial Number: 0042
	Name: DR36
	Design Capacity: Unknown
	Design Voltage: 12 mV
	SBDS Version: V1.0
	Maximum Error: Unknown
	SBDS Chemistry: Not Specified
	OEM-specific Information: 0x00000000
Handle 0x0020
DMI type 23, 13 bytes.
System Reset
	Status: Disabled
	Watchdog Timer: Not Present
Handle 0x0021
DMI type 24, 5 bytes.
Hardware Security
	Power-On Password Status: Disabled
	Keyboard Password Status: Not Implemented
	Administrator Password Status: Disabled
	Front Panel Reset Status: Not Implemented
Handle 0x0022
DMI type 25, 9 bytes.
System Power Controls
	Next Scheduled Power-on: *-* 00:00:00
Handle 0x0023
DMI type 26, 20 bytes.
Voltage Probe
	Description: Voltage Probe Description
	Location: Unknown
	Status: Unknown
	Maximum Value: Unknown
	Minimum Value: Unknown
	Resolution: Unknown
	Tolerance: Unknown
	Accuracy: Unknown
	OEM-specific Information: 0x00000000
Handle 0x0024
DMI type 27, 12 bytes.
Cooling Device
	Temperature Probe Handle: 0x0025
	Type: Unknown
	Status: Unknown
	OEM-specific Information: 0x00000000
Handle 0x0025
DMI type 28, 20 bytes.
Temperature Probe
	Description: Temperature Probe Description
	Location: Unknown
	Status: Unknown
	Maximum Value: Unknown
	Minimum Value Unknown
	Resolution: Unknown
	Tolerance: Unknown
	Accuracy: Unknown
	OEM-specific Information: 0x00000000
Handle 0x0026
DMI type 29, 20 bytes.
Electrical Current Probe
	Description: Electrical Probe Description
	Location: Unknown
	Status: Unknown
	Maximum Value: Unknown
	Minimum Value: Unknown
	Resolution: Unknown
	Tolerance: Unknown
	Accuracy: Unknown
	OEM-specific Information: 0x00000000
Handle 0x0027
DMI type 30, 6 bytes.
Out-of-band Remote Access
	Manufacturer Name: Manufacturer Name
	Inbound Connection: Disabled
	Outbound Connection: Disabled
Handle 0x0028
DMI type 32, 11 bytes.
System Boot Information
	Status: No errors detected
Handle 0x0029
DMI type 127, 4 bytes.
End Of Table

Link to comment
Share on other sites

Tu utilises lilo ou grub pour le boot?

L'un comme pour l'autre peux tu nous donner le fichier de configuration associé?

Sinon ta partition root est en quel système de fichier? ext3? As tu le support de ce système de fichier dans ton noyau (si oui en module ou en dur?).

J'ai l'impression que c'est plus de ce côté là qu'il faut chercher.

Link to comment
Share on other sites

J'utilise grub, normlement mon system de fichier est en ext2, et dnas mon noyeau j'ai ext2 + ext3 en dure.

Pour le boot c'est exactement le même que pour mon noyeau 2.4.27, qui lui fonctione. A la diférence biensur du nom des ficheirs, et de l'inird en moin. ca done root=hda2.

Voici la config de grub :

#------------#
#- Autolink -#
#------------#
# This is a divider, added to separate the menu items below from other os.
title		Debian operating systems [ Autolink ]
root

title		Debian GNU/Linux, kernel <Autolink>
root		(hd0,1)
kernel		/boot/vmlinuz root=/dev/hda2 ro 
boot

title		Debian GNU/Linux, kernel <Autolink> (recovery mode)
root		(hd0,1)
kernel		/boot/vmlinuz root=/dev/hda2 ro single
boot

Link to comment
Share on other sites

Oui, ca pointe vers le dernier noyeau palcer avec make install && make modules_install.

Le chipset? C'est a dire ?_?

Quesque je doit rajouter/elever? (Je sais même pas si j'ai choisi le bon driver pour le disque dur...

Nb: Apprès une leture des messages l'ors du boot avec mon noyeau qui fonctione, j'ai put voir que le system de fichier est ext 3.

Link to comment
Share on other sites

Alors :

-Comment activer l'initrd à la compilation?

-Justement, mes recherches google m'on amener à ce cite ^^ Et je vien de retante avec le nom du disque dur, et toujours rien. Je ne voit pas quel option sa peut être...

J'aimerait en fait compiler un noyeau avec le strict minimume en dur, et le reste en module, masi je ne sais pas quoi mêtre en dur/module et quoi enlever...

Link to comment
Share on other sites

Je pense que tu peux te passer de l'initrd au départ. Donc mettre en dur le chipset et contrôleur. L'initrd te permet de les mettre en module et c'est grub qui les lances il me semble, enfin vu de loin ca ressemble à ça, cf le tutorial sur la compilation du noyau de tuXXX).

Tu ne trouves rien pour noyau linux ICH4 option sur google?

Link to comment
Share on other sites

il y a un débat sur en dur ou en module (lien dans les meilleurs liens de la section).

pour ton probleme, c'est assez classique : il te fautn le controlleur ide/sata/autres ET le fs soit :

-> en dur

-> dans une initrd

le controlleur se trouve dans :

Devices drivers -> ATA/ATAPI/MFM/RLL disk... -> PCI IDE chipset support

+ le chipset de ta carte mere

si tu ne le trouve pas, tu peux toujours mettre le pilote générique

je te conseille en dur, car ce ne sont pas des trucs que tu va t'amuser à ne pas loader ou à décharger en cours d'utilisation.

En plus, ça bootera plus vite (bon, ok, de 0.1 ms mais bon, c'est déjà ça ;) )

Link to comment
Share on other sites

  • 2 weeks later...

Salut,

sauf erreur de ma part, le support pour l'ICH4 est pris en charge sur le kernel 2.6.16.1 (dernier stable en date). Alors tant qu'à compiler un noyau, autant prendre le plus récent :francais:

Je vais essayer ça ce week-end, et je vais essayer de voir pour l'ICH4 (je crois que je l'ai aussi sur ma carte mère)

Sinon pour ce noyau, je dirais aussi de regarder plus du coté du support de ton controleur/disque que du système de fichier (mais je peux dire des conneries)

Link to comment
Share on other sites

En fait j'avais réussit à le compiler et a booter avec, mais j'avais cocher a peut près n'importe quoi jusca ce que ca marche(avec qq problèmes avec la souris et pas de son). Le problème c'est que la je veut compiler en dur uniquement ce qui ser à mon pc...

Sinon, au moment ou j'ai télécharger mon noyeau c'était le dernier en date :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...