Package: linux-image-2.6.18-3-sparc64 Version: 2.6.18-8 Severity: important
The Debian 2.6.18 kernel images do not boot on my Netra X1 machine. The same machine boots with Debian 2.6.17. I have not tried any kernel.org versions on this machine. I get the following Oops boot: Linux -p Allocated 8 Megs of memory at 0x40000000 for kernel Uncompressing image... Loaded kernel version 2.6.18 Loading initial ramdisk (4671270 bytes at 0x67800000 phys, 0x40C00000 virt)... \ PROMLIB: Sun IEEE Boot Prom 'OBP 4.0.9 2001/05/17 21:52' PROMLIB: Root node compatible: sun4u Linux version 2.6.18-3-sparc64 (Debian 2.6.18-7) ([EMAIL PROTECTED]) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)) #1 Mon Dec 4 17:47:35 GMT 2006 ARCH: SUN4U Ethernet address: 08:00:20:f8:35:85 Remapping the kernel... done. PROM: Built device tree with 47532 bytes of memory. Booting Linux... CPU[0]: Caches D[sz(16384):line_sz(32)] I[sz(16384):line_sz(32)] E[sz(262144):line_sz(64)] Built 1 zonelists. Total pages: 64293 Kernel command line: root=/dev/hda7 ro -p PID hash table entries: 2048 (order: 11, 16384 bytes) Console: colour dummy device 80x25 Dentry cache hash table entries: 65536 (order: 6, 524288 bytes) Inode-cache hash table entries: 32768 (order: 5, 262144 bytes) Memory: 509168k available (2208k kernel code, 784k data, 136k init) [fffff80000000000,0000000067ec8000] Calibrating delay using timer specific routine.. 11.12 BogoMIPS (lpj=22247) Security Framework v1.0.0 initialized SELinux: Disabled at boot. Capability LSM initialized Mount-cache hash table entries: 512 checking if image is initramfs... it is Freeing initrd memory: 4561k freed NET: Registered protocol family 16 PCI: Probing for controllers. /[EMAIL PROTECTED],0: SABRE PCI Bus Module PCI quirk: region 2000-203f claimed by ali7101 ACPI PCI quirk: region 4000-401f claimed by ali7101 SMB PCI0(PBMA): Bus running at 33MHz isa0: [dma] [rtc -><2>OOPS: Bogus kernel PC [00000000007018d4] in fault handler OOPS: RPC [00000000007018c8] RPC: <isa_dev_get_resource+0x18/0x80> OOPS: Fault was to vaddr[0] Call Trace: [0000000000404c74] sparc64_realfault_common+0x18/0x20 [00000000007018c8] isa_dev_get_resource+0x18/0x80 [0000000000701b9c] isa_init+0x238/0x2b0 [00000000006ff854] pcibios_init+0x78/0x90 [0000000000416f18] init+0x9c/0x28c [0000000000417978] kernel_thread+0x38/0x48 [0000000000417120] rest_init+0x18/0x2c Unable to handle kernel paging request at virtual address 00000000007018d4 tsk->{mm,active_mm}->context = 0000000000000000 tsk->{mm,active_mm}->pgd = fffff80067320e10 \|/ ____ \|/ "@'/ .. \`@" /_| \__/ |_\ \__U_/ swapper(1): Oops [#1] TSTATE: 0000000080001607 TPC: 00000000007018d4 TNPC: 00000000007018d8 Y: 00000000 Not tainted TPC: <isa_dev_get_resource+0x24/0x80> g0: 000001ff80000000 g1: 0000000000000072 g2: fffffffffffffffc g3: 000000006e000000 g4: fffff80067e99aa0 g5: 0000000000000000 g6: fffff80066fa0000 g7: 0000000000000000 o0: 0000000000000000 o1: 000000000063dd00 o2: fffff80066fa3c1c o3: fffff80066fa3cc8 o4: 000001ff80000000 o5: fffff80067c1a000 sp: fffff80066fa3361 ret_pc: 00000000007018c8 RPC: <isa_dev_get_resource+0x18/0x80> l0: fffff80020392d00 l1: 0000000000000001 l2: 0000000000000000 l3: 0000000000000000 l4: 000000000000000a l5: 0000000000000000 l6: fffff80067c15800 l7: 0000000000000000 i0: fffff80067c10000 i1: 0000000000000000 i2: 0000000000000000 i3: fffff80067c10000 i4: 0000000000000000 i5: fffff80067ec5148 i6: fffff80066fa3431 i7: 0000000000701b9c I7: <isa_init+0x238/0x2b0> Caller[0000000000701b9c]: isa_init+0x238/0x2b0 Caller[00000000006ff854]: pcibios_init+0x78/0x90 Caller[0000000000416f18]: init+0x9c/0x28c Caller[0000000000417978]: kernel_thread+0x38/0x48 Caller[0000000000417120]: rest_init+0x18/0x2c Instruction DUMP: 7ff49445 92126100 da5e27c0 <c2020000> a0100008 920627d0 c45b67c0 ce022004 83287020 Kernel panic - not syncing: Attempted to kill init! <0>Press Stop-A (L1-A) to return to the boot prom I believe that the problem is due to a null pointer being returned from of_get_property in isa_dev_get_resource() arch/sparc64/kernel/isa.c Enclosed is a disassembly of the appropriate bit of code along with the prtconf -pv output for the isa device tree. I wonder if the problem might be the fact that the todm5819 node does not have "reg" properties. 7018b0: 9e 10 40 00 mov %g1, %o7 7018b4: 01 00 00 00 nop 7018b8: 9d e3 bf 30 save %sp, -208, %sp 7018bc: d0 5e 27 c8 ldx [ %i0 + 0x7c8 ], %o0 7018c0: 13 00 18 f7 sethi %hi(0x63dc00), %o1 7018c4: 94 07 a7 eb add %fp, 0x7eb, %o2 7018c8: 7f f4 94 45 call 4269dc <sun4u_init+0x225a8> 7018cc: 92 12 61 00 or %o1, 0x100, %o1 7018d0: da 5e 27 c0 ldx [ %i0 + 0x7c0 ], %o5 7018d4: c2 02 00 00 ld [ %o0 ], %g1 7018d8: a0 10 00 08 mov %o0, %l0 7018dc: 92 06 27 d0 add %i0, 0x7d0, %o1 static struct linux_prom_registers * __init isa_dev_get_resource(struct sparc_isa_device *isa_dev) { struct linux_prom_registers *pregs; unsigned long base, len; int prop_len; pregs = of_get_property(isa_dev->prom_node, "reg", &prop_len); /* Only the first one is interesting. */ len = pregs[0].reg_size; base = (((unsigned long)pregs[0].which_io << 32) | (unsigned long)pregs[0].phys_addr); of_get_property is returning null. Node 0xf007377c cache-line-size: 00000000 latency-timer: 00000000 #size-cells: 00000001 #address-cells: 00000002 name: 'isa' ranges: 00000000.00000000.81003810.00000000.00000000.00010000.00000 01f.00000000.82003814.00000000.f0000000.00080000 reg: 00003800.00000000.00000000.00000000.00000000.81003810.00000000 ..00000000.00000000.00010000.82003814.00000000.00000000.00000000.00100000 devsel-speed: 00000001 class-code: 00060100 max-latency: 00000000 min-grant: 00000000 subsystem-id: 00001533 subsystem-vendor-id: 000010b9 revision-id: 00000000 device-id: 00001533 vendor-id: 000010b9 Node 0xf0074344 reg: 00000000.00000000.00010000 interrupts: 00000001 compatible: 'isadma' name: 'dma' Node 0xf007461c address: fffce070 reg: 00000000.00000070.00000002 compatible: 'm5819' model: 'm5819' name: 'rtc' Node 0xf009e390 device_type: 'tod' name: 'todm5819' Node 0xf0075134 compatible: 'acpi-power' button: interrupts: 00000005 reg: 00000000.00002000.00000008 name: 'power' Node 0xf00752c8 reg: 00000000.00008010.00000002 interrupts: 00000001 device_type: 'block' name: 'SUNW,lomh' Node 0xf0076704 port-a-ignore-cd: nohupcl: 00 interrupt-priorities: 0000000c.0000000c reg: 00000000.000003f8.00000008 compatible: 73753136.35353000.737500 device_type: 'serial' name: 'serial' interrupts: 00000004 Node 0xf00783f0 port-b-ignore-cd: nohupcl: 00 interrupt-priorities: 0000000c.0000000c reg: 00000000.000002e8.00000008 compatible: 73753136.35353000.737500 device_type: 'serial' name: 'serial' interrupts: 00000004 Node 0xf007a508 model: 'SUNW,258-7883' version: 'CORE 1.0.2 2001/04/23 18:18' name: 'flashprom' reg: 0000001f.00000000.00080000 -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: sparc (sparc64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-2-sparc64 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages linux-image-2.6.18-3-sparc64 depends on: ii coreutils 5.97-5 The GNU core utilities ii debconf [debconf-2.0] 1.5.8 Debian configuration management sy ii initramfs-tools [linux-initra 0.85b tools for generating an initramfs ii module-init-tools 3.3-pre3-1 tools for managing Linux kernel mo linux-image-2.6.18-3-sparc64 recommends no packages. -- debconf information: linux-image-2.6.18-3-sparc64/preinst/lilo-has-ramdisk: linux-image-2.6.18-3-sparc64/preinst/lilo-initrd-2.6.18-3-sparc64: true linux-image-2.6.18-3-sparc64/postinst/bootloader-error-2.6.18-3-sparc64: linux-image-2.6.18-3-sparc64/preinst/initrd-2.6.18-3-sparc64: linux-image-2.6.18-3-sparc64/prerm/would-invalidate-boot-loader-2.6.18-3-sparc64: true shared/kernel-image/really-run-bootloader: true linux-image-2.6.18-3-sparc64/preinst/abort-overwrite-2.6.18-3-sparc64: linux-image-2.6.18-3-sparc64/postinst/create-kimage-link-2.6.18-3-sparc64: true linux-image-2.6.18-3-sparc64/postinst/old-system-map-link-2.6.18-3-sparc64: true linux-image-2.6.18-3-sparc64/preinst/abort-install-2.6.18-3-sparc64: linux-image-2.6.18-3-sparc64/preinst/already-running-this-2.6.18-3-sparc64: linux-image-2.6.18-3-sparc64/prerm/removing-running-kernel-2.6.18-3-sparc64: true linux-image-2.6.18-3-sparc64/postinst/bootloader-test-error-2.6.18-3-sparc64: linux-image-2.6.18-3-sparc64/postinst/kimage-is-a-directory: linux-image-2.6.18-3-sparc64/postinst/depmod-error-2.6.18-3-sparc64: false linux-image-2.6.18-3-sparc64/postinst/old-initrd-link-2.6.18-3-sparc64: true linux-image-2.6.18-3-sparc64/preinst/failed-to-move-modules-2.6.18-3-sparc64: linux-image-2.6.18-3-sparc64/postinst/old-dir-initrd-link-2.6.18-3-sparc64: true linux-image-2.6.18-3-sparc64/preinst/bootloader-initrd-2.6.18-3-sparc64: true linux-image-2.6.18-3-sparc64/preinst/elilo-initrd-2.6.18-3-sparc64: true linux-image-2.6.18-3-sparc64/preinst/overwriting-modules-2.6.18-3-sparc64: true linux-image-2.6.18-3-sparc64/postinst/depmod-error-initrd-2.6.18-3-sparc64: false -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]