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

kernel compile on RS6000 7043-260



Hi !

As I finally do have my 7043-260 up and running with
kernel 2.6.11 power3 smp, I went to try to build my
own kernel. Needless to say: not very successfull.
I'm stuck with this for more than 3 weeks.... argh.
I got all the sources and patches an tools etc. installed.
As i read in several howtos, it should work like this:

make menuconfig
make-kpkg clean
make-kpkg --append-to-version=.anything --initrd kernel-image
dpkg -i kernel-image

Although I did (as one can read in lots of howtos) configure
all the important modules to drive my disk as mandatory, the
new created kernel does always the same when it should do
something different, as the log of my good old kernel shows.
Must be something with initrd/cramfs/ramdisk, when i interpret
the logfiles in the right way...
(see logs below)

What am I doing wrong ?

Thanks for help in advance...
Ralph



################ good old kernel bootlog ####################

Please wait, loading kernel...
   Elf32 kernel loaded...
Loading ramdisk...
ramdisk loaded at 01900000, size: 1696 Kbytes
instantiating rtas at 00600000 ... done
copying OF device tree...done
Calling quiesce ...
returning 0x01400000 from prom_init
Total memory = 512MB; using 2048kB for hash table (at c0400000)
Linux version 2.6.11-power3-smp (sven@pegasos2) (version gcc 3.3.6 (Debian
1:3.3.6-4)) #1 SMP Fri May 13 11:42:54 CEST 2005
PCI bus 0 controlled by pci at fef00000
PCI buses 64..65 controlled by pci at fee00000
RTAS Event Scan Rate: 1 (29999 jiffies)
Built 1 zonelists
Kernel command line: root=/dev/sda2 ro console=ttyS0,9600 vga=ask
ide0=noprobe ide1=noprobe
ide_setup: ide0=noprobe
ide_setup: ide1=noprobe
OpenPIC at ffc00000 (size 10000)
OpenPIC irqs 0..15 in ISU at feff7c00 (200)
OpenPIC irqs 16..31 in ISU at feef7c00 (200)
OpenPIC Version 1.2 (8 CPUs and 32 IRQ sources) at fbfbc000
PID hash table entries: 4096 (order: 12, 65536 bytes)
time_init: decrementer frequency = 100.004251 MHz
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 510592k available (2016k kernel code, 1228k data, 204k init, 0k
highmem)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Brought up 1 CPUs
checking if image is initramfs...it isn't (bad gzip magic numbers); looks
like an initrd
Freeing initrd memory: 1696k freed
NET: Registered protocol family 16
PCI: Probing PCI hardware
audit: initializing netlink socket (disabled)
audit(1124554570.727:0): initialized
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Initializing Cryptographic API
PCI: Enabling device 0001:41:00.0 (0000 -> 0002)
matroxfb: Matrox G550 detected
matroxfb: 640x480x8bpp (virtual: 640x26214)
matroxfb: framebuffer at 0xDE000000, mapped to 0xe1080000, size 33554432
Console: switching to colour frame buffer device 80x30
fb0: MATROX frame buffer device
matroxfb_crtc2: secondary head of fb0 was registered as fb1
Generic RTC Driver v1.07
Macintosh non-volatile memory driver v1.1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
pmac_zilog: 0.6 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
input: Macintosh mouse button emulation
Warning: no ADB interface detected
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 1696KiB [1 disk] into ram disk... done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 204k init 48k pmac 32k prep
initrd-tools: 0.1.81.1
modprobe -k ide-mod options="ide0=noprobe ide1=noprobe"
FATAL: Module ide_mod not found.
NET: Registered protocol family 1
SCSI subsystem initialized
PCI: Enabling device 0000:00:0c.0 (0140 -> 0143)
sym0: <875> rev 0x4 at pci 0000:00:0c.0 irq 17
sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
sym0: SCSI BUS has been reset.
scsi0 : sym-2.1.18n
  Vendor: IBM       Model: CDRM00203     !K  Rev: 1_04
  Type:   CD-ROM                             ANSI SCSI revision: 02
 target0:0:1: Beginning Domain Validation
sym0:1: wide asynchronous.
 target0:0:1: Domain Validation skipping write tests
sym0:1: FAST-20 WIDE SCSI 40.0 MB/s ST (50.0 ns, offset 15)
 target0:0:1: Ending Domain Validation



################ new kernel not good old bootlog ######################

Please wait, loading kernel...
   Elf32 kernel loaded...
chrpboot starting: loaded at 0x00800000
gunzipping (0x00010000 <- 0x00807c88:0x0094491f)...done 2796568 bytes
46912 bytes of heap consumed, max in use 46912
start address = 0x10000
instantiating rtas at 00600000 ... done
copying OF device tree...done
Calling quiesce ...
returning 0x00010000 from prom_init
Total memory = 512MB; using 2048kB for hash table (at c0400000)
Linux version 2.6.11.rs (root@renade) (gcc version 4.0.1 (Debian 4.0.1-2))
#1 SMP Fri Aug 19 20:51:31 CEST 2005
PCI bus 0 controlled by pci at fef00000
PCI buses 64..65 controlled by pci at fee00000
RTAS Event Scan Rate: 1 (29999 jiffies)
Built 1 zonelists
Kernel command line: root=/dev/sda2 ro console=ttyS0,9600 vga=ask
ide0=noprobe ide1=noprobe
ide_setup: ide0=noprobe
ide_setup: ide1=noprobe
OpenPIC at ffc00000 (size 10000)
OpenPIC irqs 0..15 in ISU at feff7c00 (200)
OpenPIC irqs 16..31 in ISU at feef7c00 (200)
OpenPIC Version 1.2 (8 CPUs and 32 IRQ sources) at fbfbc000
PID hash table entries: 4096 (order: 12, 65536 bytes)
time_init: decrementer frequency = 100.004288 MHz
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 512896k available (1788k kernel code, 1032k data, 180k init, 0k
highmem)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Brought up 1 CPUs
NET: Registered protocol family 16
PCI: Probing PCI hardware
audit: initializing netlink socket (disabled)
audit(1124497752.551:0): initialized
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Initializing Cryptographic API
PCI: Enabling device 0001:41:00.0 (0000 -> 0002)
matroxfb: Matrox G550 detected
matroxfb: 640x480x8bpp (virtual: 640x26214)
matroxfb: framebuffer at 0xDE000000, mapped to 0xe1080000, size 33554432
Console: switching to colour frame buffer device 80x30
fb0: MATROX frame buffer device
matroxfb_crtc2: secondary head of fb0 was registered as fb1
Generic RTC Driver v1.07
Macintosh non-volatile memory driver v1.1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
pmac_zilog: 0.6 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
VFS: Cannot open root device "sda2" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)
 <0>Rebooting in 180 seconds..





Reply to: