カーネルパニック


カーネル 2.4.20 のパッチをあて、 315本のリジェクトファイルを何とかマージして ようやくコンパイルが通った。
いつもどおり、/dev/fl5 に書いてブートしたら、、、
******* Product Information *******
----------------------------------
Product Name: KURO-BOX(ane)
          VER: 1.02
         Date: 2004/8/7 9:51:0
----------------------------------
Firmware check:Warning:invalid data size
done.

>>root=/dev/hda1
Now Loading...done.
Now Booting
Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb
Linux version 2.4.20_kuro-box (yasunari@hackkit) (gcc version 2.95.3 20010315 (release/franzo/20010312)) #1 Sat Aug 7 08:47:21 JST 2004
KURO-BOX (C) 2004 KUROUTO-SHIKOU.
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/hda1
OpenPIC Version 1.2 (1 CPUs and 139 IRQ sources) at 80040000
decrementer frequency = 24.467134 MHz 
Calibrating delay loop... 130.25 BogoMIPS
Memory: 62576k available (1448k kernel code, 668k data, 72k init, 0k highmem)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Disabling the Out Of Memory Killer
VFS: Diskquotas version dquot_6.4.0 initialized
Journalled Block Device driver loaded
NTFS driver v1.1.22 [Flags: R/O]
pty: 256 Unix98 ptys configured
BUFFALO INC. RTC driver ver 1.00
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x80004600 (irq = 138) is a 16550A
ttyS01 at 0x80004500 (irq = 137) is a 16550A
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
CMD680: IDE controller on PCI bus 00 dev 60
CMD680: chipset revision 2
CMD680: 100% native mode on irq 17
    ide0: BM-DMA at 0xbffed0-0xbffed7, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xbffed8-0xbffedf, BIOS settings: hdc:pio, hdd:pio
hda: FUJITSU MPC3032AT, ATA DISK drive
ide0 at 0xbffef8-0xbffeff,0xbffef6 on irq 17
blk: queue c021e5a8, I/O limit 4095Mb (mask 0xffffffff)
hda: 6335280 sectors (3244 MB), CHS=6704/15/63, UDMA(33)
Partition check:
 hda: hda1 hda2 hda3
RAMDISK driver initialized: 16 RAM disks of 10000K size 1024 blocksize
Compaq SMART2 Driver (v 2.4.21)
FLASHDISK:Initialized [FUJITSU MBM29PL32TM] 
Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
tulip0:  MII transceiver #1 config 3100 status 7849 advertising 05e1.
eth0: ADMtek Comet rev 17 at 0xbfff00, 00:07:40:A4:xx:yy, IRQ 16.
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
hcd.c: ehci-hcd @ 00:0e.2, NEC Corporation USB 2.0
hcd.c: irq 19, pci mem c5000f00
usb.c: new USB bus registered, assigned bus number 1
hcd/ehci-hcd.c: USB 2.0 support enabled, EHCI rev 1. 0
hub.c: USB hub found
hub.c: 5 ports detected
usb-ohci.c: USB OHCI at membase 0xc5002000, IRQ 19
usb-ohci.c: usb-00:0e.0, NEC Corporation USB
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
usb-ohci.c: USB OHCI at membase 0xc5004000, IRQ 19
usb-ohci.c: usb-00:0e.1, NEC Corporation USB (#2)
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver usblp
printer.c: v0.11: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: AppleTalk 0.18a for Linux NET4.0
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 72k init
Oops: kernel access of bad area, sig: 11
NIP: C000EB38 XER: 00000000 LR: C000EEB0 SP: C03F1D50 REGS: c03f1ca0 TRAP: 0300 Not tainted
MSR: 00001032 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 00000000, DSISR: 20000000
TASK = c03f0000[1] 'swapper' Last syscall: 5 
last math 00000000 last altivec 00000000
GPR00: 00000228 C03F1D50 C03F0000 00000000 00001032 04000000 C017A704 C02108A0 
GPR08: C03FE000 C0200000 00000070 C01FACA8 4410C002 7A602089 000D3125 841104EC 
GPR16: 00010C15 0C11C08E 065587B0 8F624068 00009032 003F1F20 00000002 C0377800 
GPR24: C0005E40 24004101 C017A704 04000000 00000000 0000008A C03FEFC0 00000000 
Call backtrace: 
C019DF70 C00069CC C0006B78 C00B7860 C00BA57C C00ACA38 C003D024 
C003BA3C C003B91C C003BD60 C0005E9C C0003B14 C00088D8 
Kernel panic: Attempted to kill init!
 <0>Rebooting in 30 seconds..
がーん。カーネルパニック。

デュアルブートにしていたので、

******* Product Information *******
----------------------------------
Product Name: KURO-BOX(ane)
          VER: 1.02
         Date: 2004/8/7 9:51:0
----------------------------------
Firmware check:Warning:invalid data size
done.

>>root=/dev/hda11
original kernel

******* Product Information *******
----------------------------------
Product Name: KURO-BOX(maru)
          VER: 1.00
         Date: 2004/7/10 15:6:33
----------------------------------
Firmware check:done.

>>root=/dev/hda1
Now Loading...done.
Now Booting
Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb
Linux version 2.4.17_kuro-box (root@toda_dev.melcoinc.co.jp) (gcc version 2.95.3
 20010315 (release/MontaVista)) #4 2004年 4月 16日 金曜日 11:45:05 JST
KURO-BOX (C) 2004 KUROUTO-SHIKOU.
	:
	:
Vine Linux 2.6 (La Fleur de Bouard)
Kernel 2.4.17_kuro-box on a ppc

hackkit login: 
と、オリジナルカーネルからブートして事なきを得たが、、、
もし、デュアルブートにしていなかったら、 ここで玄箱は単なるオブジェになっていたことであろう。
考えただけで、ぞっとする。

さて、ぼちぼち原因を探していくか。
しかし、餅屋見習いの身としては、つらいものがある、、、


ハックの記録 → HGLAN と LANV1 とカーネルソースの違い

Copyright (C) 2004 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp
山下康成京都府向日市