[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Initramfs image triggers a segmentation fault at startup



I too had some problems with initram.
Background: I couldn't get etch to install so I installed sarge
then installed a new kernel, 2.6.12 (having learned the hard way
that you can't upgrade to etch if the kernel is less than 2.6.12)
I then upgraded to etch. I then built kernel 2.6.15-1 (from kernel.org,
not debian) Having read the email you refer to, I was careful
to use the newer initram tools but I couldn't get it to boot.
After some digging, i found I had to go back to makeinitrd
(which uses cramfs) I don't think the kernel is ready for initramfs yet.
But my syptoms were not the same as yours (per your log file)

Richard Harke

On Mon March 13 2006 07:21, Emeric Maschino wrote:
> Hi,
>
> I'm wondering if this issue may be related to the remark Dann Frazier
> made on December 9th:
>
> "klibc is buggy on ia64, so avoid initramfs-tools for now. Use yaird
> instead."
>
> (cf. http://lists.debian.org/debian-ia64/2005/12/msg00011.html)
>
> Is klibc still buggy on ia64? Should we use initrd images built with
> yaird at present time? I'm asking this because Debian Installer still
> creates initramfs images and a fresh install of Debian Etch is thus
> unbootable.
>
> 	Émeric
>
> Le lundi 06 mars 2006 à 20:30 +0100, Émeric Maschino a écrit :
> > Hi,
> >
> > Is there currently a problem with initramfs image? The generated
> > initramfs image (by the debian-installer or during kernel image update)
> > triggers a segmentation fault on my hp workstation zx6000 at startup and
> > I'm left in a BusyBox environment (complete trace recorded on a serial
> > console at the end of this post). This is with up-to-date Debian Etch. As
> > a workaround, I must create an initrd image either using mkinitrd from
> > the initrd-tools package or using mkinitrd.yaird from the yaird package.
> >
> > Cheers,
> >
> >     Émeric
> >
> > ELILO boot: Linux
> > Uncompressing Linux... done
> > Loading file \EFI\debian\initrd.img...done
> > Linux version 2.6.15-1-mckinley-smp (Debian 2.6.15-7) (waldi@debian.org)
> > (gcc ve rsion 4.0.3 20060212 (prerelease) (Debian 4.0.2-9)) #2 SMP Wed
> > Feb 22 16:20:54 C ST 2006
> > EFI v1.10 by HP: SALsystab=0x3fb38000 ACPI 2.0=0x3fb2e000
> > SMBIOS=0x3fb3a000 HCDP =0x3fb2c000
> > booting generic kernel on platform hpzx1
> > PCDP: v0 at 0x3fb2c000
> > Explicit "console="; ignoring PCDP
> > Initial ramdisk at: 0xe0000040fe72c000 (8819836 bytes)
> > SAL 3.1: HP version 2.31
> > SAL Platform features: None
> > SAL: AP wakeup using external interrupt vector 0xff
> > No logical to physical processor mapping available
> > ACPI: Local APIC address c0000000fee00000
> > GSI 36 (level, low) -> CPU 0 (0x0000) vector 48
> > 2 CPUs available, 2 CPUs total
> > MCA related initialization done
> > Virtual mem_map starts at 0xa0007fffc7200000
> > Built 1 zonelists
> > Kernel command line: BOOT_IMAGE=scsi0:/EFI/debian/vmlinuz root=/dev/sda2
> > ro cons ole=ttyS0,9600n8
> > PID hash table entries: 4096 (order: 12, 131072 bytes)
> > Console: colour VGA+ 80x25
> > Memory: 6217472k/6248192k available (4579k code, 46464k reserved, 1943k
> > data, 33 6k init)
> > McKinley Errata 9 workaround not needed; disabling it
> > Security Framework v1.0.0 initialized
> > SELinux:  Disabled at boot.
> > Capability LSM initialized
> > Dentry cache hash table entries: 1048576 (order: 9, 8388608 bytes)
> > Inode-cache hash table entries: 524288 (order: 8, 4194304 bytes)
> > Mount-cache hash table entries: 1024
> > Boot processor id 0x0/0x0
> > CPU 1: synchronized ITC with CPU 0 (last diff -20 cycles, maxerr 580
> > cycles) Brought up 2 CPUs
> > Total of 2 processors activated (3891.20 BogoMIPS).
> > checking if image is initramfs... it is
> > Freeing initrd memory: 8608kB freed
> > NET: Registered protocol family 16
> > ACPI: bus type pci registered
> > ACPI: Subsystem revision 20050902
> > ACPI: Interpreter enabled
> > ACPI: Using IOSAPIC for interrupt routing
> > ACPI: PCI Root Bridge [PCI0] (0000:00)
> > ACPI: PCI Root Bridge [PCI1] (0000:20)
> > ACPI: PCI Root Bridge [PCI2] (0000:40)
> > ACPI: PCI Root Bridge [PCI3] (0000:60)
> > ACPI: PCI Root Bridge [PCI4] (0000:80)
> > ACPI: PCI Root Bridge [PCI6] (0000:c0)
> > IOC: reserving 512Mb of IOVA space at 0x60000000 for agpgart
> > IOC: zx1 2.3 HPA 0xfed01000 IOVA space 1024Mb at 0x40000000
> > perfmon: version 2.0 IRQ 238
> > perfmon: Itanium 2 PMU detected, 16 PMCs, 18 PMDs, 4 counters (47 bits)
> > PAL Information Facility v0.5
> > perfmon: added sampling format default_format
> > perfmon_default_smpl: default_format v2.0 registered
> > audit: initializing netlink socket (disabled)
> > audit(1141673603.032:1): initialized
> > VFS: Disk quotas dquot_6.5.1
> > Dquot-cache hash table entries: 2048 (order 0, 16384 bytes)
> > Initializing Cryptographic API
> > io scheduler noop registered
> > io scheduler anticipatory registered
> > io scheduler deadline registered
> > io scheduler cfq registered
> > EFI Time Services Driver v0.4
> > i8042.c: No controller found.
> > Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
> > GSI 34 (edge, high) -> CPU 0 (0x0000) vector 49
> > serial8250: ttyS0 at MMIO 0xff5e0000 (irq = 49) is a 16550A
> > GSI 35 (edge, high) -> CPU 1 (0x0100) vector 50
> > serial8250: ttyS1 at MMIO 0xff5e2000 (irq = 50) is a 16550A
> > RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize
> > mice: PS/2 mouse device common for all mice
> > NET: Registered protocol family 2
> > IP route cache hash table entries: 262144 (order: 7, 2097152 bytes)
> > TCP established hash table entries: 1048576 (order: 10, 16777216 bytes)
> > TCP bind hash table entries: 65536 (order: 6, 1048576 bytes)
> > TCP: Hash tables configured (established 1048576 bind 65536)
> > TCP reno registered
> > TCP bic registered
> > NET: Registered protocol family 1
> > NET: Registered protocol family 17
> > Freeing unused kernel memory: 336kB freed
> > Loading, please wait...
> > Begin: Loading essential drivers... ...
> > Done.
> > Begin: Running /ACPI: Thermal Zone [THM0] (27 C)
> > scripts/init-premount ...
> > eval: 1: array_udev-helper=udev: not found
> > eval: 1: array_udev-helper=: not found
> > usbcore: registered new driver usbfs
> > usbcore: registered new driver hub
> > tg3.c:v3.47 (Dec 28, 2005)
> > GSI 29 (level, low) -> CPU 0 (0x0000) vector 51
> > ACPI: PCI Interrupt 0000:20:02.0[A] -> GSI 29 (level, low) -> IRQ 51
> > eth0: Tigon3 [partno(BCM95700A6) rev 0105 PHY(5701)] (PCI:66MHz:64-bit)
> > 10/100/1 000BaseT Ethernet 00:30:6e:4a:d2:bd
> > eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1]
> > TSOcap[0] eth0: dma_rwctrl[76ff2d0f]
> > SCSI subsystem initialized
> > GSI 16 (level, low) -> CPU 1 (0x0100) vector 52
> > ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI 16 (level, low) -> IRQ 52
> > ohci_hcd 0000:00:01.0: OHCI Host Controller
> > ohci_hcd 0000:00:01.0: new USB bus registered, assigned bus number 1
> > ohci_hcd 0000:00:01.0: irq 52, io mem 0x80023000
> > Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> > ide: Assuming 33MHz system bus speed for PIO modes; override with
> > idebus=xx hub 1-0:1.0: USB hub found
> > hub 1-0:1.0: 3 ports detected
> > Fusion MPT base driver 3.03.04
> > Copyright (c) 1999-2005 LSI Logic Corporation
> > e100: Intel(R) PRO/100 Network Driver, 3.4.14-k4-NAPI
> > e100: Copyright(c) 1999-2005 Intel Corporation
> > Fusion MPT SPI Host driver 3.03.04
> > GSI 17 (level, low) -> CPU 0 (0x0000) vector 53
> > ACPI: PCI Interrupt 0000:00:01.1[B] -> GSI 17 (level, low) -> IRQ 53
> > ohci_hcd 0000:00:01.1: OHCI Host Controller
> > ohci_hcd 0000:00:01.1: new USB bus registered, assigned bus number 2
> > ohci_hcd 0000:00:01.1: irq 53, io mem 0x80022000
> > usb 1-1: new low speed USB device using ohci_hcd and address 2
> > hub 2-0:1.0: USB hub found
> > hub 2-0:1.0: 2 ports detected
> > GSI 18 (level, low) -> CPU 1 (0x0100) vector 54
> > ACPI: PCI Interrupt 0000:00:01.2[C] -> GSI 18 (level, low) -> IRQ 54
> > ehci_hcd 0000:00:01.2: EHCI Host Controller
> > ehci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 3
> > ehci_hcd 0000:00:01.2: irq 54, io mem 0x80021000
> > ehci_hcd 0000:00:01.2: USB 2.0 started, EHCI 0.95, driver 10 Dec 2004
> > usbcore: registered new driver hiddev
> > hub 3-0:1.0: USB hub found
> > hub 3-0:1.0: 5 ports detected
> > GSI 20 (level, low) -> CPU 0 (0x0000) vector 55
> > ACPI: PCI Interrupt 0000:00:03.0[A] -> <6>CMD649: IDE controller at PCI
> > slot 000 0:00:02.0
> > GSI 21 (level, low) -> CPU 1 (0x0100) vector 56
> > ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 21 (level, low) -> IRQ 56
> > CMD649: chipset revision 2
> > CMD649: 100% native mode on irq 56
> >     ide0: BM-DMA at 0x0d40-0x0d47, BIOS settings: hda:pio, hdb:pio
> >     ide1: BM-DMA at 0x0d48-0x0d4f, BIOS settings: hdc:pio, hdd:pio
> > hda: DV-28E-B, ATAPI CD/DVD-ROM drive
> > GSI 20 (level, low) -> IRQ 55
> > usbcore: registered new driver usbhid
> > drivers/usb/input/hid-core.c: v2.6:USB HID core driver
> > e100: eth1: e100_probe: addr 0x80020000, irq 55, MAC addr
> > 00:30:6E:4A:D3:AB usb 1-1: USB disconnect, address 2
> > ide0 at 0xd58-0xd5f,0xd66 on irq 56
> > usb 1-1: new low speed USB device using ohci_hcd and address 3
> > GSI 27 (level, low) -> CPU 0 (0x0000) vector 57
> > ACPI: PCI Interrupt 0000:20:01.0[A] -> GSI 27 (level, low) -> IRQ 57
> > mptbase: Initiating ioc0 bringup
> > input: Microsoft Microsoft Wheel Mouse Optical® as /class/input/input0
> > input: USB HID v1.00 Mouse [Microsoft Microsoft Wheel Mouse Optical®] on
> > usb-000 0:00:01.0-1
> > ioc0: 53C1030: Capabilities={Initiator,Target}
> > usb 2-1: new low speed USB device using ohci_hcd and address 3
> > input: CHICONY HP Basic USB Keyboard as /class/input/input1
> > input: USB HID v1.10 Keyboard [CHICONY HP Basic USB Keyboard] on
> > usb-0000:00:01. 1-1
> > usb 2-2: new full speed USB device using ohci_hcd and address 4
> > scsi0 : ioc0: LSI53C1030, FwRev=01032300h, Ports=1, MaxQ=255, IRQ=57
> >   Vendor: HP 73.4G  Model: ST373453LC        Rev: HPC7
> >   Type:   Direct-Access                      ANSI SCSI revision: 03
> >   Vendor: HP 73.4G  Model: ST3<6>hub 2-2:1.0: USB hub found
> > 7<6>hub 2-2:1.0: 3 ports detected
> > 3453LC        Rev: HPC7
> >   Type:   Direct-Access                      ANSI SCSI revision: 03
> > GSI 28 (level, low) -> CPU 1 (0x0100) vector 58
> > ACPI: PCI Interrupt 0000:20:01.1[B] -> GSI 28 (level, low) -> IRQ 58
> > mptbase: Initiating ioc1 bringup
> > ioc1: 53C1030: Capabilities={Initiator,Target}
> > scsi1 : ioc1: LSI53C1030, FwRev=01032300h, Ports=1, MaxQ=255, IRQ=58
> > SCSI device sda: 143374738 512-byte hdwr sectors (73408 MB)
> > SCSI device sda: drive cache: write through
> > SCSI device sda: 143374738 512-byte hdwr sectors (73408 MB)
> > SCSI device sda: drive cache: write through
> >  sda: sda1 sda2 sda3
> > sd 0:0:0:0: Attached scsi disk sda
> > SCSI device sdb: 143374738 512-byte hdwr sectors (73408 MB)
> > SCSI device sdb: drive cache: write through
> > SCSI device sdb: 143374738 512-byte hdwr sectors (73408 MB)
> > SCSI device sdb: drive cache: write through
> >  sdb: sdb1 sdb2
> > sd 0:0:1:0: Attached scsi disk sdb
> > hda: ATAPI 24X DVD-ROM drive, 256kB Cache, UDMA(33)
> > Uniform CD-ROM driver Revision: 3.20
> > Done.
> > Begin: Mounting root file system... ...
> > Begin: Running /scripts/local-top ...
> > Done.
> > Segmentation fault
> > Begin: Running /scripts/local-premount ...
> > Done.
> > Usage: modprobe [-v] [-V] [-C config-file] [-n] [-i] [-q] [-b] [-o
> > <modname>] <m odname> [parameters...]
> > modprobe -r [-n] [-i] [-v] <modulename> ...
> > modprobe -l -t <dirname> [ -a <modulename> ...]
> > mount:
> > Cannot read /etc/fstab: No such file or directory
> > Begin: Running /scripts/log-bottom ...
> > Done.
> > Done.
> > Begin: Running /scripts/init-bottom ...
> > mount: Mounting /root/dev on /dev/.static/dev failed: No such file or
> > directory Done.
> > mount: Mounting /sys on /root/sys failed: No such file or directory
> > mount: Mounting /proc on /root/proc failed: No such file or directory
> > Target filesystem doesn't have /sbin/init
> >
> >
> > BusyBox v1.01 (Debian 1:1.01-4) Built-in shell (ash)
> > Enter 'help' for a list of built-in commands.
> >
> > /bin/sh: can't access tty; job control turned off
> > / #



Reply to: