[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel 2.6.8 won't boot



Eric Gaumer wrote:

On Tue, 2005-01-04 at 02:05 +0700, Muhammad Reza wrote:
Eric Gaumer wrote:
Dear Lists,

I'm stuck with compiling debian kernel-2.6.8 source at Sarge, this is what exactly i did...

debian:/usr/src# ln -s kernel-source-2.6.8 linux
debian:/boot# cd /usr/src/linux
debian:/usr/src/linux# cp /root/config .config
debian:/usr/src/linux#patch -p1 </root/bootsplash-3.1.6-2.6.8.diff
debian:/usr/src/linux#make menuconfig
debian:/usr/src#make-kpkg --initrd --revision=custom.1.0 kernel_image
----sucess-----
debian:/usr/src/linux# cd ../
debian:/usr/src# ls
kernel-image-2.6.8_custom.1.0_i386.deb kernel-patches kernel-source-2.6.8 kernel-source-2.6.8.tar.bz2 linux
debian:/usr/src# dpkg -i kernel-image-2.6.8_custom.1.0_i386.deb
---sucess---

but new compile kernel wont boot with this error...

RAMDISK: cramfs file system found at block 0
RAMDISK: loading 3620 block [1 disk] into ramdisk done..
Kernel Panic:VFS:unable to mount root fs on unknown_block(3.1)

please help me...to solved this problem..
here is .config and menu.lst in attach....

Since you are using a ramdisk, it would be helpful if you could post the
contents of the loadmodules file on the ramdisk itself. You are most
likely missing some modules needed to mount the filesystem since (3,1)
is hda1.

]$ mount -o loop /boot/initrd-xxx  /mnt/tmp
]$ cat /mnt/tmp/loadmodules

lspci may also help.

What kernel are you currently running? Any special file system stuff
like RAID or SATA?



Thanks for good advice

this differnet betwen 2.4.7 and 2.6.8 loadmodules..

I'm now confused, in my .config for 2.6.8 kernel (attach..) , all module that need it already enabled, fyi i get this .config from Suse-9.1

I dont have spesial file system like you said, i just this kernel to be portable...

Okay ata_piix leads me to believe you are using SATA. Is this correct?
The new API (libata) scans for drives on the SCSI bus. Try
root=/dev/sda1 (edit the grub entry at boot)



Sorry, is not correct, my drive is hda ...


Are using SATA? It looks like mkinitrd is saying yes. If you are then
your drive is no longer hda.


It PIII machine with Asus motherboard, this dmesg output and lspci for futher reference,
debian:/usr/src/linux# dmesg | more
Linux version 2.4.27-1-386 (joshk@trollwife) (gcc version 3.3.4 (Debian 1:3.3.4-9)) #1 Fri Sep 3 06:24:46 UTC 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000007ffc000 (usable)
BIOS-e820: 0000000007ffc000 - 0000000007fff000 (ACPI data)
BIOS-e820: 0000000007fff000 - 0000000008000000 (ACPI NVS)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
127MB LOWMEM available.
On node 0 totalpages: 32764
zone(0): 4096 pages.
zone(1): 28668 pages.
zone(2): 0 pages.
ACPI disabled because your bios is from 2000 and too old
You can enable it with acpi=force
Kernel command line: root=/dev/hda1 ro
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
Detected 503.533 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1002.70 BogoMIPS
Memory: 123556k/131056k available (1065k kernel code, 7112k reserved, 457k data, 96k init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU:     After generic, caps: 0383fbff 00000000 00000000 00000000
CPU:             Common caps: 0383fbff 00000000 00000000 00000000
CPU: Intel Pentium III (Coppermine) stepping 06
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 503.5380 MHz.
..... host bus clock speed is 100.7073 MHz.
cpu: 0, clocks: 1007073, slice: 503536
CPU0<T0:1007072,T1:503536,D:0,S:503536,C:1007073>
ACPI: Subsystem revision 20040326
ACPI: Interpreter disabled.
PCI: PCI BIOS revision 2.10 entry at 0xf0890, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router VIA [1106/0596] at 00:04.0
Activating ISA DMA hang workarounds.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
COMX: driver version 0.85 (C) 1995-1999 ITConsult-Pro Co. <info@itc.hu>
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
Linux IP multicast router 0.06 plus PIM-SM
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 3788 blocks [1 disk] into ram disk... \
\
done.
Freeing initrd memory: 3788k freed
VFS: Mounted root (cramfs filesystem).
Freeing unused kernel memory: 96k freed
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ide: late registration of driver.
VP_IDE: IDE controller at PCI slot 00:04.1
VP_IDE: chipset revision 16
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt82c596b (rev 23) IDE UDMA66 controller on pci00:04.1
   ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:DMA
   ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:pio, hdd:pio
hda: ST340016A, ATA DISK drive
hdb: SAMSUNG CD-ROM SC-152L, ATAPI CD/DVD-ROM drive
blk: queue c8825b40, I/O limit 4095Mb (mask 0xffffffff)
hdc: IRQ probe failed (0xfffffff8)
hdc: IRQ probe failed (0xfffffff8)
hdc: no response (status = 0x0a), resetting drive
hdc: IRQ probe failed (0xfffffff8)
hdc: no response (status = 0x0a)
hdd: IRQ probe failed (0xfffffff8)
hdd: IRQ probe failed (0xfffffff8)
hdd: no response (status = 0x0a), resetting drive
hdd: IRQ probe failed (0xfffffff8)
hdd: no response (status = 0x0a)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: attached ide-disk driver.
hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=77545/16/63, UDMA(33)
Partition check:
/dev/ide/host0/bus0/target0/lun0: [PTBL] [4865/255/63] p1 p2 < p5 p6 p7 p8 p9 >
Journalled Block Device driver loaded
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Adding Swap: 377488k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
hdb: attached ide-cdrom driver.
hdb: ATAPI 52X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,9), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,8), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,5), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,6), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 94M
agpgart: Detected Via Apollo Pro chipset
agpgart: AGP aperture is 64M @ 0xe4000000
8139too Fast Ethernet driver 0.9.26
PCI: Found IRQ 11 for device 00:0e.0
eth0: RealTek RTL8139 at 0xd000, 00:50:ba:59:0b:01, IRQ 11
eth0:  Identified 8139 chip type 'RTL-8139C'
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 10 for device 00:04.2
uhci.c: USB UHCI at I/O 0xd400, IRQ 10
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
Real Time Clock Driver v1.10f
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
loop: loaded (max 8 devices)

debian:/usr/src/linux# lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev c4) 0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP] 0000:00:04.0 ISA bridge: VIA Technologies, Inc. VT82C596 ISA [Mobile South] (rev 23) 0000:00:04.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 10) 0000:00:04.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 11) 0000:00:04.3 Host bridge: VIA Technologies, Inc. VT82C596 Power Management (rev 30) 0000:00:0e.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
0000:01:00.0 VGA compatible controller: S3 Inc. 86c368 [Trio 3D/2X] (rev 02)

regards
reza



Reply to: