[Bug 278700] New: kernel panic during install to Xserve G5 from latest Factory - "Badness at lib/kref.c:32", ps3 code
https://bugzilla.novell.com/show_bug.cgi?id=278700
Summary: kernel panic during install to Xserve G5 from latest
Factory - "Badness at lib/kref.c:32", ps3 code
Product: openSUSE 10.3
Version: Alpha 4plus
Platform: PowerPC-64
OS/Version: openSUSE 10.3
Status: NEW
Severity: Blocker
Priority: P5 - None
Component: Installation
AssignedTo: bnc-team-screening@forge.provo.novell.com
ReportedBy: harbaugh@ncifcrf.gov
QAContact: jsrain@novell.com
Attempting to install via tftp, kernel panic happens almost immediately.
Strange messages before stack trace - "Badness at lib/kref.c:32".
The stack trace shows that ps3 code is being executed.
Below is the console log. The md5sums of the yaboot and inst64 are:
0178b8df050da4a51b3ce1cceac7698a inst64
f261a14d35df6e733bf6b8fc178eba1b yaboot
0 > boot enet1:129.43.1.107,yaboot,129.43.1.91;255.255.255.0,;129.43.1.1
CLIENT: 000d939c4485 129.43.1.91
SERVER: 000347b16c16 129.43.1.107
Transfer FILE: yaboot |
TFTP-actual=5ac0d TFTP-adler32=f0e2db17 load-size=5ac0d adler32=f0e2db17
Loading ELF
yaboot starting: loaded at 00200000 002223f0 (0/200000/ff846d38; sp: 0022afd0)
CLIENT: 000d939c4485 129.43.1.91
SERVER: 000347b16c16 129.43.1.107
Transfer FILE: yaboot.conf /
TFTP-actual=516 TFTP-adler32=ff78a586 Config file 'yaboot.conf' read, 1302
bytes
CLIENT: 000d939c4485 129.43.1.91
SERVER: 000347b16c16 129.43.1.107
Transfer FILE: yaboot.txt -
TFTP-actual=da TFTP-adler32=9366440d
Welcome to openSuSE 10.3 (PPC)!
Type "install" to start the YaST installer on this CD/DVD
Type "slp" to start the YaST install via network
Type "rescue" to start the rescue system on this CD/DVD
Welcome to yaboot version 10.1.22-r948.SuSE
booted from '/ht@0,f2000000/pci@2/bcom5704@4,1:129.43.1.107,yaboot'
Enter "help" to get some basic usage information
boot:
install slp rescue
boot: install
Please wait, loading kernel...
CLIENT: 000d939c4485 129.43.1.91
SERVER: 000347b16c16 129.43.1.107
Transfer FILE: inst64 \
TFTP-actual=9f88f7 TFTP-adler32=6b1f2188 Allocated 00b00000 bytes for
executable @ 00400000
Elf32 kernel loaded...
SuSE Linux zImage starting: loaded at 00400000-00df3cbc (10000/0/ff846d38; sp:
0022adf0)
uncompressing ELF header done. (00000100 bytes)
Allocated 00b31ebc bytes for kernel @ 02000000
Allocated 0075ca7f bytes for initrd @ 02b32000
uncompressing kernel done. (0075f398 bytes)
entering kernel at 02010000(2b32000/75ca7f/ff846d38)
OF stdout device is: /ht@0,f2000000/pci@3/mac-io@7/escc@13000/ch-a@13020
command line: mem=1800M console=ttyS0,57600 y2debug manual=2 video=ofonly debug
minmemory=0 MemYaSTText=0 quiet sysrq=1 insmod=sym53c8xx insmod=ipr
memory layout at init:
alloc_bottom : 000000000328f000
alloc_top : 0000000030000000
alloc_top_hi : 0000000180000000
rmo_top : 0000000030000000
ram_top : 0000000180000000
Looking for displays
copying OF device tree ...
Building dt strings...
Building dt structure...
Device tree strings 0x0000000003290000 -> 0x0000000003291374
Device tree struct 0x0000000003292000 -> 0x00000000032a5000
Calling quiesce ...
DO-QUIESCE finishedreturning from prom_init
Hello World !
Starting Linux PPC64 #1 SMP Fri May 25 16:12:26 UTC 2007
-----------------------------------------------------
ppc64_pft_size = 0x0
physicalMemorySize = 0x70800000
ppc64_caches.dcache_line_size = 0x80
ppc64_caches.icache_line_size = 0x80
htab_address = 0xc00000006c000000
htab_hash_mask = 0x3ffff
-----------------------------------------------------
Linux version 2.6.21-12-ppc64 (geeko@buildhost) (gcc version 4.1.3 20070521
(prerelease) (SUSE Linux)) #1 SMP Fri May 25 16:12:26 UTC 2007
CF000012
Setup Arch
[boot]0012 Setup Arch
Found U3-AGP PCI host bridge. Firmware bus number: 240->255
Can't get bus-range for /ht@0,f2000000, assume bus 0
Found U3-HT PCI host bridge. Firmware bus number: 0->239
PCI Host 0, io start: 400000; io end: bfffff
PCI Host 1, io start: 0; io end: 3fffff
via-pmu: Server Mode is disabled
PMU driver v2 initialized for Core99, firmware: 0c
nvram: Checking bank 0...
nvram: gen0=236, gen1=235
nvram: Active bank is: 0
nvram: OF partition at 0x410
nvram: XP partition at 0x1020
nvram: NR partition at 0x1120
Zone PFN ranges:
DMA 0 -> 460800
Normal 460800 -> 460800
early_node_map[1] active PFN ranges
0: 0 -> 460800
CF000015
Setup Done
[boot]0015 Setup Done
Built 1 zonelists. Total pages: 454500
Kernel command line: mem=1800M console=ttyS0,57600 y2debug manual=2
video=ofonly debug minmemory=0 MemYaSTText=0 quiet sysrq=1 insmod=sym53c8xx
insmod=ipr
smp_core99_probe
smp_core99_kick_cpu
smp_core99_kick_cpu done
core99_setup_cpu 0 done
SuSE Linux
#1 SMP Fri May 25 16:12:26 UTC 2007
rtas_flash: no firmware flash support
------------[ cut here ]------------
Badness at lib/kref.c:32
------------[ cut here ]------------
Badness at lib/kref.c:32
Unable to handle kernel paging request for data at address 0x00000000
Faulting instruction address: 0xc000000000200f5c
Oops: Kernel access of bad area, sig: 11 [#1]
SMP NR_CPUS=128 NUMA
Modules linked in:
NIP: C000000000200F5C LR: C000000000200F40 CTR: 0000000000000000
REGS: c0000000032eb8d0 TRAP: 0300 Not tainted (2.6.21-12-ppc64)
MSR: 9000000000009032
https://bugzilla.novell.com/show_bug.cgi?id=278700 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |kernel-maintainers@forge.provo.novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278700 jeffm@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |harbaugh@ncifcrf.gov ------- Comment #1 from jeffm@novell.com 2007-05-29 10:05 MST ------- We've just updated our internal kernel tree to a 2.6.22 rc snapshot, but it won't be part of the distribution until after alpha4plus. We publish the latest kernels before they're included as part of the distribution as "kernel of the day" RPMs. Can you try to reproduce this bug using the KOTD at: ftp://ftp.suse.com/pub/projects/kernel/kotd/HEAD/ppc ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278700 harbaugh@ncifcrf.gov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |harbaugh@ncifcrf.gov ------- Comment #2 from harbaugh@ncifcrf.gov 2007-05-29 10:26 MST ------- I am willing to do this, but I don't know how in the context of ppc installation. The installation yaboot.cnf file does not specify a kernel or initrd, but only 'inst64'. How do I create an 'inst64' from a kernel? Thanks, Toni -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278700 harbaugh@ncifcrf.gov changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|harbaugh@ncifcrf.gov | ------- Comment #3 from harbaugh@ncifcrf.gov 2007-05-29 11:42 MST ------- Do you have an installation-images.src.rpm for the 2.6.22 kernel? If so, could it be built on a system running a slightly older kernel? Thanks Toni -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278700
------- Comment #4 from harbaugh@ncifcrf.gov 2007-05-29 12:37 MST -------
I installed the
kernel-ppc64-2.6.22_rc2_git7-20070527162723.ppc.rpm
after 'repairing' the system to a slightly earlier state.
But the bug is still there:
0 > boot hd:4,\suseboot\yaboot load-size=5ac0d adler32=d416af9a
Loading ELF
yaboot starting: loaded at 00200000 002223f0 (0/200000/ff846d38; sp: 0022afd0)
Config file 'yaboot.conf' read, 1103 bytes
Welcome to yaboot version 10.1.22-r948.SuSE
booted from '/ht/pci@7/k2-sata-root/k2-sata@0/disk@0:4,\suseboot\yaboot'
Enter "help" to get some basic usage information
boot:
lin2622 linux * linsysdep
boot: lin2622
Please wait, loading kernel...
Allocated 00a00000 bytes for kernel @ 00400000
Elf64 kernel loaded...
Loading ramdisk...
ramdisk loaded 002c8000 @ 01500000
OF stdout device is: /ht@0,f2000000/pci@3/mac-io@7/escc@13000/ch-a@13020
command line: root=/dev/sda3 console=ttyS0,57600 video=ofonly debug quiet
sysrq=1 insmod=sym53c8xx insmod=ipr
memory layout at init:
alloc_bottom : 00000000017c8000
alloc_top : 0000000030000000
alloc_top_hi : 0000000180000000
rmo_top : 0000000030000000
ram_top : 0000000180000000
Looking for displays
copying OF device tree ...
Building dt strings...
Building dt structure...
Device tree strings 0x00000000019c9000 -> 0x00000000019ca382
Device tree struct 0x00000000019cb000 -> 0x00000000019de000
Calling quiesce ...
DO-QUIESCE finishedreturning from prom_init
Hello World !
Starting Linux PPC64 #1 SMP 2007/05/27 16:27:23 UTC
-----------------------------------------------------
ppc64_pft_size = 0x0
physicalMemorySize = 0x100000000
ppc64_caches.dcache_line_size = 0x80
ppc64_caches.icache_line_size = 0x80
htab_address = 0xc00000017c000000
htab_hash_mask = 0x7ffff
-----------------------------------------------------
Linux version 2.6.22-rc2-git7-20070527162723-ppc64 (geeko@buildhost) (gcc
version 4.1.3 20070521 (prerelease) (SUSE Linux)) #1 SMP 2007/05/27 16:27:23
UTC
CF000012
Setup Arch
[boot]0012 Setup Arch
Found U3-AGP PCI host bridge. Firmware bus number: 240->255
Can't get bus-range for /ht@0,f2000000, assume bus 0
Found U3-HT PCI host bridge. Firmware bus number: 0->239
PCI Host 0, io start: 400000; io end: bfffff
PCI Host 1, io start: 0; io end: 3fffff
via-pmu: Server Mode is disabled
PMU driver v2 initialized for Core99, firmware: 0c
nvram: Checking bank 0...
nvram: gen0=236, gen1=235
nvram: Active bank is: 0
nvram: OF partition at 0x410
nvram: XP partition at 0x1020
nvram: NR partition at 0x1120
Zone PFN ranges:
DMA 0 -> 1572864
Normal 1572864 -> 1572864
early_node_map[2] active PFN ranges
0: 0 -> 524288
0: 1048576 -> 1572864
CF000015
Setup Done
[boot]0015 Setup Done
Built 1 zonelists. Total pages: 1027072
Kernel command line: root=/dev/sda3 console=ttyS0,57600 video=ofonly debug
quiet sysrq=1 insmod=sym53c8xx insmod=ipr
smp_core99_probe
smp_core99_kick_cpu
smp_core99_kick_cpu done
core99_setup_cpu 0 done
SuSE Linux
#1 SMP 2007/05/27 16:27:23 UTC
rtas_flash: no firmware flash support
------------[ cut here ]------------
Badness at lib/kref.c:33
------------[ cut here ]------------
Badness at lib/kref.c:33
Unable to handle kernel paging request for data at address 0x00000000
Faulting instruction address: 0xc000000000208158
Oops: Kernel access of bad area, sig: 11 [#1]
SMP NR_CPUS=128 NUMA PowerMac
Modules linked in:
NIP: c000000000208158 LR: c00000000020813c CTR: 0000000000000000
REGS: c00000017bf0f8b0 TRAP: 0300 Not tainted
(2.6.22-rc2-git7-20070527162723-ppc64)
MSR: 9000000000009032
https://bugzilla.novell.com/show_bug.cgi?id=278700 ------- Comment #5 from harbaugh@ncifcrf.gov 2007-05-29 12:45 MST ------- In a side note, there appears to be a problem with the /lib/mkinitrd stuff. In order to create the initrd for the 2.6.22 kernel, I had to make the /lib/mkinitrd scripts ignore ext3 and usbcore. This weekend, before the crash during installation, another install failed when it was unable to create the initrd, probably for the same reason. Toni -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278700 jeffm@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel- |olh@novell.com |maintainers@forge.provo.nove| |ll.com | ------- Comment #6 from jeffm@novell.com 2007-05-29 15:48 MST ------- It looks like the ps3 bus driver kset list isn't initialized, which would mean that the ps3 flash driver is getting initialized before the ps3 system bus driver. The initcall ordering seems sane, though, with the system bus using core_initcall and the ps3 flash driver using device_initcall. Olaf, you own these patches, so I'm passing this to you. (gdb) list *0xc000000000208158 0xc000000000208158 is in kobject_shadow_add (include/linux/list.h:50). 45 struct list_head *next) 46 { 47 next->prev = new; 48 new->next = next; 49 new->prev = prev; 50 prev->next = new; 51 } 52 #else 53 extern void __list_add(struct list_head *new, 54 struct list_head *prev, (gdb) list *0xc00000000020813c 0xc00000000020813c is in kobject_shadow_add (lib/kobject.c:190). 185 if (kobj->kset) { 186 spin_lock(&kobj->kset->list_lock); 187 188 if (!parent) 189 parent = kobject_get(&kobj->kset->kobj); 190 191 list_add_tail(&kobj->entry,&kobj->kset->list); 192 spin_unlock(&kobj->kset->list_lock); 193 } 194 kobj->parent = parent; -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278700 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sassmann@novell.com ------- Comment #7 from olh@novell.com 2007-06-11 06:32 MST ------- *** Bug 279488 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278700 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278700#c8
Olaf Hering
participants (1)
-
bugzilla_noreply@novell.com