I took your advise and try the 2.6. I am using the initramfs_data.cpio.gz from the link you send me.
The mkelf command is:
./objdir/sbin/mkelfImage -t bzImage-i386 --kernel=/home/sagivy/bzImage-2.6. --command-line="rw console=ttyS0,115200 root=/dev/ram0" --initrd=/home/sagivy/initramfs_data.cpio.gz --output=/home/sagivy/bzImage2.6.8.elf
And here is the output:
Jumping to Linux Linux version 2.6.8 (root@hermes) (gcc version 3.3.3) #6 Mon Nov 17 21:49:23 IST
2003 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 0000000000000d54 (rese
BIOS-e820: 0000000000000d54 - 00000000000a0000 (usable)
BIOS-e820: 00000000000f0000 - 00000000000f0400 (reserved)
BIOS-e820: 0000000000100000 - 0000000020000000 (usable)
0MB HIGHMEM available. 512MB LOWMEM available. DMI not present. ACPI: Unable to locate RSDP Built 1 zonelists Kernel command line: rw console=ttyS0,115200 root=/dev/ram0
Initializing CPU#0 PID hash table entries: 4096 (order 12: 32768 bytes)
Detected 1603.740 MHz processor. Using tsc for high-res timesource Console: colour VGA+ 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)..
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) PCI: Using configuration type 1 Memory: 515700k/524288k available (1525k kernel code, 7824k reserved, 702k data, K8 Northbridge Enumerating: AMD K8 CPU 228k init, 0k highmem)g: AMD 8111 Southbridge Checking if this processor honours the WP bit even in supervisor mode... Ok. Enumerating buses... amdk8_scan_root_bus Calibrating delay loop... 3162.11 BogoMIPSart scaning pci bus
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
PCI: 00:18.0 [1022/1100] enabled CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
PCI: 00:18.2 [1022/1102] enabled CPU: L2 Cache: 1024K (64 bytes/line)022/1103] ops Enabling fast FPU save and restore... done.
HyperT rese Enabling unmasked SIMD FPU exception support... done.for bus 1
PCI: 01:01.0 [10 Checking 'hlt' instruction... OK. PCI: 01:01.0 [1022 checking if image is initramfs... it is PCI: 01:02.0 [1022/7468] bus ops Freeing initrd memory: 151k freedCI: 01:02.0 [1022/7468] enabled NET: Registered protocol family 16 01:02.1 [1022/7469] ops EISA bus registeredCI: 01:02.1 [1022/7 PCI: Using configuration type 1 PCI: 01:02.2 [1022 mtrr: v2.0 (20020519) Linux Plug and Play Support v0.97 (c) Adam Belay PCI: 01:02.3 [1022/746b] enabled PCI: Probing PCI hardware PCI: 01:02.5 [1022/746 PCI: IRQ 0 for device 0000:02:00.0 doesn't match PIRQ mask - try pci=usepirqmask7463] ops PCI: 02:00.2 [1022/7463] disabled
PCI: IRQ 0 for device 0000:02:00.1 doesn't match PIRQ mask - try pci=usepirqmaskPCI: 02:01.0 [1022/7462] disabled
PCI: 02:0a.0
PCI: IRQ 0 for device 0000:02:0a.0 doesn't match PIRQ mask - try pci=usepirqmask PCI: 02:0b.0 [1002/4752] enabled
PCI: IRQ 0 for device 0000:02:0b.0 doesn't match PIRQ m
PCI: 02:0e.0 [14e PNP: 002e.7 disabled apm: BIOS not found. disabled VFS: Disk quotas dquot_6.5.1d PNP: 0 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) scan_static_bus done PC isapnp: Scanning for PnP cards...=02 isapnp: No Plug & Play device found 0 new max: 2 Real Time Clock Driver v1.12ort scan link done Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled PCI: pci_scan_bus returning with max=02 ttyS0 at I/O 0x3f8 (irq = bus: AMD8111: not 100% native mode: will probe irqs later AMD8111: 0000:01:02.1 (rev 03) UDMA133 controller ide0: BM-DMA at 0x2420-0x2427, BIOS settings: hda:pio, hdb:pio ide1: BM-DMA at 0x2428-0x242f, BIOS settings: hdc:pio, hdd:pio ide-floppy driver 0.99.newide mice: PS/2 mouse device common for all mice serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 EISA: Probing bus 0 at eisa0 NET: Registered protocol family 2 IP: routing cache hash table of 4096 buckets, 32Kbytes TCP: Hash tables configured (established 131072 bind 65536) NET: Registered protocol family 1 NET: Registered protocol family 17 NET: Registered protocol family 8 NET: Registered protocol family 20 Freeing unused kernel memory: 228k freed Kernel panic: Attempted to kill init! ================ ================== This kernel uses initramfs ================================== Unknown root filesystem type!
Sagiv.
-----Original Message----- From: Dave Aubin [mailto:daubin@actuality-systems.com] Sent: Wednesday, October 13, 2004 2:47 PM To: Sagiv Yefet; Stefan Reinauer Cc: linuxbios@clustermatic.org Subject: RE: Kernel for linuxbios
Sorry for the late response. Are you using Linux 2.6.*. If so give initramfs a try. Here is a link to aid you in how:
http://linuxfromscratch.org/pipermail/lfs-hackers/2004-June/001424.html
Dave
-----Original Message----- From: linuxbios-admin@clustermatic.org [mailto:linuxbios-admin@clustermatic.org] On Behalf Of Sagiv Yefet Sent: Wednesday, October 13, 2004 8:10 AM To: Stefan Reinauer Cc: linuxbios@clustermatic.org Subject: RE: Kernel for linuxbios
I tried to use initrd - same problem.
Sagiv
-----Original Message----- From: Stefan Reinauer [mailto:stepan@openbios.org] Sent: Monday, October 11, 2004 11:21 AM To: Sagiv Yefet Cc: linuxbios@clustermatic.org Subject: Re: Kernel for linuxbios
* Sagiv Yefet sagivy@3vium.com [041011 11:06]:
I add the console support and there is output. Thanks.
My machine has no disks and I need initrd. So I took initrd from Thinstation and build the elf file by the command :
RAMDISK: Couldn't find valid RAM disk image starting at 0. Freeing initrd memory: 11922k freed Kernel panic: VFS: Unable to mount root fs on 01:00
use initrd, not ramdisk!
Stefan
_______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios