[LinuxBIOS] irq_table/mptable problems?

Philipp Degler pdegler at rumms.uni-mannheim.de
Fri Jun 23 02:50:36 CEST 2006


hi 

step by step I make my way booting a 2.6 kernel with linuxbios on an Iwill 
dk8htx board. I was able to compile a working rom and start loading a 2.6.13 
kernel but something seems to be wrong with my irq_table/mptable settings. I 
first used initial cvs-settings. Finally I generated a new irq_table.c with 
getpir. But I still get a kernel panic. I think it must have something to do 
with the irq or mp settings. What can I do?

This is what the kernel says: 
-------------------------------------------------------------------------------------------------------------
boot: hde2:/boot/static pci=noapci ro root=/dev/sda2 console=tty 
console=ttyS0,115200n8
hde: LBA48: ST380817AS                              
Mounted ext2fs
Found Linux version 2.6.13-15.8-default (geeko at buildhost) #2 SMP Thu Jun 22 
15:56:16 CEST 2006 bzImage.
Loading kernel... ok
Jumping to entry point...
Bootdata ok (command line is pci=noapci ro root=/dev/sda2 
console=ttyS0,115200n8)
Linux version 2.6.13-15.8-default (geeko at buildhost) (gcc version 4.0.2 
20050901 (prerelease) (SUSE Linux)) #2 SMP Thu Jun 22 15:56:16 CEST 2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 0000000000000e74 type 16
 BIOS-e820: 0000000000000e74 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 00000000000f0400 type 16
 BIOS-e820: 0000000000100000 - 0000000080000000 (usable)
ACPI: Unable to locate RSDP
Scanning NUMA topology in Northbridge 24
Number of nodes 2
Node 0 MemBase 0000000000000000 Limit 000000003fffffff
Node 1 MemBase 0000000040000000 Limit 000000007fffffff
Using node hash shift of 24
Bootmem setup node 0 0000000000000000-000000003fffffff
Bootmem setup node 1 0000000040000000-000000007fffffff
Intel MultiProcessor Specification v1.4
    Virtual Wire compatibility mode.
OEM ID: IWILL    <6>Product ID: DK8HTX       <6>APIC at: 0xFEE00000
Processor #0 15:5 APIC version 16
Processor #1 15:5 APIC version 16
I/O APIC #2 Version 17 at 0xFEC00000.
I/O APIC #3 Version 17 at 0xFD300000.
I/O APIC #4 Version 17 at 0xFD301000.
Setting APIC routing to flat
Processors: 2
Allocating PCI resources starting at 80000000 (gap: 80000000:80000000)
Checking aperture...
CPU 0: aperture @ f8000000 size 64 MB
CPU 1: aperture @ f8000000 size 64 MB
Built 2 zonelists
Kernel command line: pci=noapci ro root=/dev/sda2 console=ttyS0,115200n8
PCI: Unknown option `noapci'
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 131072 bytes)
time.c: Using 1.193182 MHz PIT timer.
time.c: Detected 2004.583 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Memory: 2053304k/2097152k available (4614k kernel code, 0k reserved, 2494k 
data, 288k init)
Calibrating delay using timer specific routine.. 4018.02 BogoMIPS 
(lpj=8036053)
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 0(1) -> Node 0 -> Core 0
mtrr: v2.0 (20020519)
Using IO-APIC 2
Using IO-APIC 3
Using IO-APIC 4
Using local APIC timer interrupts.
Detected 12.528 MHz APIC timer.
Booting processor 1/2 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 4009.46 BogoMIPS 
(lpj=8018924)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 1(1) -> Node 1 -> Core 0
AMD Opteron(tm) Processor 246 stepping 0a
CPU 1: Syncing TSC to CPU 0.
CPU 1: synchronized TSC with CPU 0 (last diff -626 cycles, maxerr 4804 cycles)
Brought up 2 CPUs
time.c: Using PIT/TSC based timekeeping.
testing NMI watchdog ... OK.
NET: Registered protocol family 16
PCI: Using configuration type 1
ACPI: Subsystem revision 20050408
ACPI: Interpreter disabled.
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Discovered primary peer bus 01 [IRQ]
PCI: Discovered primary peer bus ff [IRQ]
PCI->APIC IRQ transform: 0000:02:03.0[A] -> IRQ 193
PCI->APIC IRQ transform: 0000:02:04.0[A] -> IRQ 193
PCI->APIC IRQ transform: 0000:04:05.0[A] -> IRQ 177
PCI-DMA: Disabling IOMMU.
PCI: Bridge: 0000:01:01.0
  IO window: 1000-1fff
  MEM window: fd100000-fd2fffff
  PREFETCH window: disabled.
PCI: Bridge: 0000:01:02.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:01:03.0
  IO window: 2000-2fff
  MEM window: fc000000-fd0fffff
  PREFETCH window: disabled.
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Coda Kernel/Venus communications, v6.0.0, coda at cs.cmu.edu
Installing knfsd (copyright (C) 1996 okir at monad.swb.de).
subfs 0.9
...
testing michael_mic across pages
PCI: MSI quirk detected. pci_msi_quirk set.
PCI: MSI quirk detected. pci_msi_quirk set.
PCI: No IRQ known for interrupt pin C of device 0000:04:06.0. Probably buggy 
MP table.
atyfb: using auxiliary register aperture
atyfb: 3D RAGE XL (Mach64 GR, PCI-33MHz) [0x4752 rev 0x27]
atyfb: vclk out of range
atyfb: 8M SGRAM (1:1), 14.31818 MHz XTAL, 230 MHz PLL, 83 Mhz MCLK, 63 MHz 
XCLK
Console: switching to colour frame buffer device 80x30
atyfb: fb0: ATY Mach64 frame buffer device on PCI
vga16fb: mapped to 0xffff8100000a0000
fb1: VGA16 VGA frame buffer device
Real Time Clock Driver v1.12
Non-volatile memory driver v1.2
hw_random: AMD768 system management I/O registers at 0x3000.
hw_random hardware driver 1.0.0 loaded
WDT driver for Acquire single board computer initialising.
Acquire WDT: I/O address 0x0043 already in use
WDT driver for Advantech single board computer initialising.
Advantech WDT: initialized. timeout=60 sec (nowayout=0)
ib700wdt: WDT driver for IB700 single board computer initialising.
ib700wdt: failed to register misc device
sbc60xxwdt: I/O address 0x0443 already in use
machzwd: MachZ ZF-Logic Watchdog driver initializing.
0xffff
machzwd: Watchdog using action = RESET
can't misc_register on minor=130
eurwdt: can't misc_register on minor=130
w83877f_wdt: I/O address 0x0443 already in use
WDT driver for the Winbond(TM) W83627HF Super I/O chip initialising.
w83627hf WDT: cannot register miscdev on minor=130 (err=-16)
sc520_wdt: cannot register miscdev on minor=130 (err=-16)
alim7101_wdt: Steve Hill <steve at navaho.co.uk>.
alim7101_wdt: ALi M7101 PMU not present - WDT not set
sc1200wdt: build 20020303<3>sc1200wdt: io parameter must be specified
WDT driver for Wafer 5823 single board computer initialising.
Wafer 5823 WDT: I/O address 0x0443 already in use
cpu5wdt: misc_register failed
usbcore: registered new driver pcwd_usb
pcwd_usb: Berkshire USB-PC Watchdog driver v1.01 (15 Mar 2005)
SoftDog: cannot register miscdev on minor=130 (err=-16)
Linux agpgart interface v0.101 (c) Dave Jones
ipmi message handler version v33
ipmi device interface version v33
IPMI System Interface driver version v33, KCS version v33, SMIC version v33, 
BT version v33
    ACPI-0384: *** Warning: RSDP structure not found, AE_NOT_FOUND Flags=8
ACPI: System description tables not found
ipmi_si: Trying "kcs" at I/O port 0xca2
ipmi_si: Trying "smic" at I/O port 0xca9
ipmi_si: Trying "bt" at I/O port 0xe4
ipmi_si: Unable to find any System Interface(s)
IPMI Watchdog: driver version v33
Copyright (C) 2004 MontaVista Software - IPMI Powerdown via sys_reboot version 
v33.
Hangcheck: starting hangcheck timer 0.9.0 (tick is 180 seconds, margin is 60 
seconds).
Hangcheck: Using monotonic_clock().
i8042.c: Can't read CTR while initializing i8042.
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
PCI: No IRQ known for interrupt pin B of device 0000:01:04.6. Probably buggy 
MP table.
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 128000K size 1024 blocksize
loop: loaded (max 8 devices)
pktcdvd: v0.2.0a 2004-07-14 Jens Axboe (axboe at suse.de) and petero2 at telia.com
nbd: registered device at major 43
loop: registered Twofish encryption 
Intel(R) PRO/1000 Network Driver - version 6.0.60-k2-NAPI
Copyright (c) 1999-2005 Intel Corporation.
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection
Ethernet Channel Bonding Driver: v2.6.3 (June 8, 2005)
bonding: Warning: either miimon or arp_interval and arp_ip_target module 
parameters must be specified, otherwise bonding will not detect link 
failures! see bonding.txt for details.
Equalizer2002: Simon Janes (simon at ncm.com) and David S. Miller 
(davem at redhat.com)
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk at qualcomm.com>
Linux video capture interface: v1.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
AMD8111: IDE controller at PCI slot 0000:01:04.1
AMD8111: chipset revision 3
AMD8111: not 100% native mode: will probe irqs later
AMD8111: 0000:01:04.1 (rev 03) UDMA133 controller
AMD8111: neither IDE port enabled (BIOS)
ide-floppy driver 0.99.newide
iscsi: registered transport (tcp)
PCI: No IRQ known for interrupt pin B of device 0000:02:05.0. Probably buggy 
MP table.
ata1: SATA max UDMA/100 cmd 0xFFFFC20000002080 ctl 0xFFFFC2000000208A bmdma 
0xFFFFC20000002000 irq 0
ata2: SATA max UDMA/100 cmd 0xFFFFC200000020C0 ctl 0xFFFFC200000020CA bmdma 
0xFFFFC20000002008 irq 0
ata3: SATA max UDMA/100 cmd 0xFFFFC20000002280 ctl 0xFFFFC2000000228A bmdma 
0xFFFFC20000002200 irq 0
ata4: SATA max UDMA/100 cmd 0xFFFFC200000022C0 ctl 0xFFFFC200000022CA bmdma 
0xFFFFC20000002208 irq 0
Unable to handle kernel NULL pointer dereference at 0000000000000010 RIP: 
<ffffffff801c430e>{sysfs_hash_and_remove+14}
PGD 0 
Oops: 0000 [1] SMP 
CPU 0 
Pid: 1, comm: swapper Not tainted 2.6.13-15.8-default
RIP: 0010:[<ffffffff801c430e>] <ffffffff801c430e>{sysfs_hash_and_remove+14}
RSP: 0000:ffff81007ffd9c18  EFLAGS: 00010282
RAX: ffffffff8072e3b8 RBX: ffffffff8072e3b8 RCX: ffffffff8080bb00
RDX: ffff810001f62370 RSI: ffffffff805f9847 RDI: 0000000000000000
RBP: ffff810001f62370 R08: 0000000000019b47 R09: 0000000000000037
R10: 0000000000000000 R11: 0000000000000004 R12: ffffffff8072e3b8
R13: 0000000000000000 R14: ffffffff805f9847 R15: ffff810001f61800
FS:  0000000000000000(0000) GS:ffffffff808ab800(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000000000000010 CR3: 0000000000101000 CR4: 00000000000006e0
Process swapper (pid: 1, threadinfo ffff81007ffd8000, task ffff81003ffa94a0)
Stack: ffffffff8072e3b8 ffff810001f62370 ffffffff8072e3b8 ffff810001f62380 
       ffffffff8072e300 ffffffff8038b9f8 ffff810001f62370 0000000000000001 
       ffff810001f62180 ffffc200000022ca 
Call Trace:<ffffffff8038b9f8>{class_device_del+168} 
<ffffffff8038bab1>{class_device_unregister+33}
       <ffffffff8040f7cd>{scsi_remove_host+125} 
<ffffffff80433930>{ata_host_remove+16}
       <ffffffff804373d5>{ata_device_add+2389} 
<ffffffff804f386f>{pci_conf1_read+223}
       <ffffffff8043a9a0>{sil_init_one+944} 
<ffffffff802ed6c9>{pci_device_probe+89}
       <ffffffff8038af0b>{driver_probe_device+123} 
<ffffffff8038b079>{__driver_attach+73}
       <ffffffff8038b030>{__driver_attach+0} 
<ffffffff8038a2a9>{bus_for_each_dev+73}
       <ffffffff8038a818>{bus_add_driver+152} 
<ffffffff802ed359>{pci_register_driver+137}
       <ffffffff8010b232>{init+482} <ffffffff8010e81e>{child_rip+8}
       <ffffffff8010b050>{init+0} <ffffffff8010e816>{child_rip+0}
       

Code: 48 8b 6f 10 4c 8b a7 88 00 00 00 48 85 ed 0f 84 04 01 00 00 
RIP <ffffffff801c430e>{sysfs_hash_and_remove+14} RSP <ffff81007ffd9c18>
CR2: 0000000000000010
 <0>Kernel panic - not syncing: Attempted to kill init!


thx
phil
 




More information about the coreboot mailing list