Kristian Kielhofner wrote:
> Has anyone had success in booting trunk for VIA?
>
> I've got some strange interaction between the new kernel and the
> initrd (most likely):
>
> Runnix version runnix-0.2-SVN starting
> proc mounted
> Verifying astlinux-trunk-2501.run...
> astlinux-trunk-2501.run verified
> Root mounted
> Custom initrd /mnt/base/os/initrd.img found
> Custom kernel /mnt/root/boot/bzImage found
> Copying kernel and initrd to ramdisk...
> Unmounting image...
> Trying kexec...
> Starting new kernel
> Linux version 2.6.26.8-astlinux ([email protected]) (gcc
> version 4.1.2) #1 PREEMPT Sun Feb 15 19:58:48 EST 2009
> BIOS-provided physical RAM map:
>  BIOS-e820: 0000000000000100 - 00000000000a0000 (usable)
>  BIOS-e820: 0000000000100000 - 00000000077f0000 (usable)
>  BIOS-e820: 00000000077f0000 - 00000000077f3000 (ACPI NVS)
>  BIOS-e820: 00000000077f3000 - 0000000007800000 (ACPI data)
>  BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
> 0MB HIGHMEM available.
> 119MB LOWMEM available.
> Zone PFN ranges:
>   DMA             0 ->     4096
>   Normal       4096 ->    30704
>   HighMem     30704 ->    30704
> Movable zone start PFN for each node
> early_node_map[1] active PFN ranges
>     0:        0 ->    30704
> DMI 2.2 present.
> ACPI: RSDP 000F7350, 0014 (r0 VIA601)
> ACPI: RSDT 077F3000, 0028 (r1 VIA601 AWRDACPI 42302E31 AWRD        0)
> ACPI: FACP 077F3040, 0074 (r1 VIA601 AWRDACPI 42302E31 AWRD        0)
> ACPI: DSDT 077F30C0, 2352 (r1 VIA601 AWRDACPI     1000 MSFT  100000E)
> ACPI: FACS 077F0000, 0040
> ACPI: PM-Timer IO Port: 0x4008
> Allocating PCI resources starting at 10000000 (gap: 07800000:f87f0000)
> Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 30464
> Kernel command line: root=/dev/ram0 rw init=/linuxrc astlinux=via
> astimg=astlinux-trunk-2501.run astlive console=ttyS0,19200n8
> No local APIC present or hardware disabled
> Initializing CPU#0
> PID hash table entries: 512 (order: 9, 2048 bytes)
> Detected 532.654 MHz processor.
> Console: colour VGA+ 80x25
> console [ttyS0] enabled
> Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
> Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
> Memory: 117484k/122816k available (1975k kernel code, 4844k reserved,
> 829k data, 192k init, 0k highmem)
> virtual kernel memory layout:
>     fixmap  : 0xfffa8000 - 0xfffff000   ( 348 kB)
>     pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
>     vmalloc : 0xc8000000 - 0xff7fe000   ( 887 MB)
>     lowmem  : 0xc0000000 - 0xc77f0000   ( 119 MB)
>       .init : 0xc03c0000 - 0xc03f0000   ( 192 kB)
>       .data : 0xc02edc87 - 0xc03bd2e0   ( 829 kB)
>       .text : 0xc0100000 - 0xc02edc87   (1975 kB)
> Checking if this processor honours the WP bit even in supervisor mode...Ok.
> Calibrating delay using timer specific routine.. 1066.51 BogoMIPS (lpj=533258)
> Mount-cache hash table entries: 512
> CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
> CPU: L2 Cache: 64K (32 bytes/line)
> CPU: Centaur VIA Samuel 2 stepping 03
> Checking 'hlt' instruction... OK.
> Freeing SMP alternatives: 0k freed
> ACPI: Core revision 20080321
> ACPI: setting ELCR to 0200 (from 1e20)
> net_namespace: 644 bytes
> NET: Registered protocol family 16
> ACPI: bus type pci registered
> PCI: PCI BIOS revision 2.10 entry at 0xfb5d0, last bus=1
> PCI: Using configuration type 1 for base access
> Setting up standard PCI resources
> ACPI: Interpreter enabled
> ACPI: (supports S0 S5)
> ACPI: Using PIC for interrupt routing
> ACPI: PCI Root Bridge [PCI0] (0000:00)
> pci 0000:00:07.4: quirk: region 6000-607f claimed by vt82c686 HW-mon
> pci 0000:00:07.4: quirk: region 5000-500f claimed by vt82c686 SMB
> ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 11 *12 14 15)
> ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
> ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 *5 6 7 10 11 12 14 15)
> ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
> Linux Plug and Play Support v0.97 (c) Adam Belay
> pnp: PnP ACPI init
> ACPI: bus type pnp registered
> pnp: PnP ACPI: found 10 devices
> ACPI: ACPI bus type pnp unregistered
> SCSI subsystem initialized
> usbcore: registered new interface driver usbfs
> usbcore: registered new interface driver hub
> usbcore: registered new device driver usb
> PCI: Using ACPI for IRQ routing
> system 00:00: iomem range 0xe1800-0xe3fff has been reserved
> system 00:00: iomem range 0xf0000-0xf7fff could not be reserved
> system 00:00: iomem range 0xf8000-0xfbfff could not be reserved
> system 00:00: iomem range 0xfc000-0xfffff could not be reserved
> system 00:00: iomem range 0x77f0000-0x77fffff could not be reserved
> system 00:00: iomem range 0xffff0000-0xffffffff could not be reserved
> system 00:00: iomem range 0x0-0x9ffff could not be reserved
> system 00:00: iomem range 0x100000-0x77effff could not be reserved
> system 00:00: iomem range 0xfee00000-0xfee00fff has been reserved
> system 00:02: ioport range 0x4d0-0x4d1 has been reserved
> PCI: Bridge: 0000:00:01.0
>   IO window: disabled.
>   MEM window: 0xe4000000-0xe6ffffff
>   PREFETCH window: 0x0000000010000000-0x00000000100fffff
> NET: Registered protocol family 2
> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> TCP established hash table entries: 4096 (order: 3, 32768 bytes)
> TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
> TCP: Hash tables configured (established 4096 bind 4096)
> TCP reno registered
> NET: Registered protocol family 1
> checking if image is initramfs...it isn't (no cpio magic); looks like an 
> initrd
> Freeing initrd memory: 425k freed
> squashfs: version 3.4 (2008/08/26) Phillip Lougher
> Registering unionfs 2.5.1 (for 2.6.26.8)
> msgmni has been set to 230
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> PCI: VIA PCI bridge detected.Disabling DAC.
> pci 0000:00:07.0: Disabling VIA external APIC routing
> input: Power Button (FF) as /class/input/input0
> ACPI: Power Button (FF) [PWRF]
> input: Power Button (CM) as /class/input/input1
> ACPI: Power Button (CM) [PWRB]
> Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
> serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> 00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> floppy0: no floppy controllers found
> brd: module loaded
> loop: module loaded
> Uniform Multi-Platform E-IDE driver
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> VP_IDE: IDE controller (0x1106:0x0571 rev 0x06) at  PCI slot 0000:00:07.1
> VP_IDE: not 100% native mode: will probe irqs later
> VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1
>     ide0: BM-DMA at 0xc000-0xc007
>     ide1: BM-DMA at 0xc008-0xc00f
> hdc: SanDisk SDCFB-1024, CFA DISK drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> ide_generic: please use "probe_mask=0x3f" module parameter for probing
> all legacy ISA IDE ports
> ide_generic: I/O resource 0x1F0-0x1F7 not free.
> ide_generic: I/O resource 0x170-0x177 not free.
> hdc: max request size: 128KiB
> hdc: 2001888 sectors (1024 MB) w/1KiB Cache, CHS=1986/16/63
>  hdc: hdc1 hdc2
> Driver 'sd' needs updating - please use bus_type methods
> USB Universal Host Controller Interface driver v3.0
> ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 12
> ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKA] -> GSI 12 (level,
> low) -> IRQ 12
> uhci_hcd 0000:00:07.2: VIA VLink IRQ fixup, from 11 to 12
> uhci_hcd 0000:00:07.2: UHCI Host Controller
> uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
> uhci_hcd 0000:00:07.2: irq 12, io base 0x0000c400
> usb usb1: configuration #1 chosen from 1 choice
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 2 ports detected
> ACPI: PCI Interrupt 0000:00:07.3[D] -> Link [LNKA] -> GSI 12 (level,
> low) -> IRQ 12
> uhci_hcd 0000:00:07.3: VIA VLink IRQ fixup, from 11 to 12
> uhci_hcd 0000:00:07.3: UHCI Host Controller
> uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 2
> uhci_hcd 0000:00:07.3: irq 12, io base 0x0000c800
> usb usb2: configuration #1 chosen from 1 choice
> hub 2-0:1.0: USB hub found
> hub 2-0:1.0: 2 ports detected
> Initializing USB Mass Storage driver...
> usbcore: registered new interface driver usb-storage
> USB Mass Storage support registered.
> PNP: No PS/2 controller found. Probing ports directly.
> serio: i8042 KBD port at 0x60,0x64 irq 1
> mice: PS/2 mouse device common for all mice
> input: PC Speaker as /class/input/input2
> rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0
> rtc0: alarms up to one year, y3k
> cpuidle: using governor ladder
> usbcore: registered new interface driver hiddev
> usbcore: registered new interface driver usbhid
> usbhid: v2.6:USB HID core driver
> TCP cubic registered
> NET: Registered protocol family 17
> Using IPI Shortcut mode
> drivers/rtc/hctosys.c: unable to open rtc device (rtc)
> RAMDISK: Compressed image found at block 0
> VFS: Mounted root (ext2 filesystem).
> Freeing unused kernel memory: 192k freed
> Kernel panic - not syncing: Attempted to kill init!
>
>
> I've tried swapping out the initrd, taking it apart, etc.  No luck.
> Am I alone? ;)
>
>   

Alas, /etc/rc (or linuxrc) dying is a real pain to troubleshoot.

You basically have to stick a bunch of "echo got to line nnnn" 
statements into it, and figure out how far you got.

One thing we could do is add an option that would enable these "markers" 
(they would normally be disabled) and then we could have an alternate 
boot mode that enables this flag in syslinux.cfg...

It doesn't happen a lot, but it does happen frequently enough (and is 
enough of a pain) to warrant having a standard plan-of-attack when it does.

Even if we only have "coarse granularity"...

-Philip


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to