You are not logged in.

#26 2006-08-15 02:17:30

McQueen
Member
From: Arizona
Registered: 2006-03-20
Posts: 387

Re: Kernel 2.6.18 and mkinitcpio coming soon

If you're using the kernel26.img on your initrd line then you've enabled mkinitcpio.


/path/to/Truth

Offline

#27 2006-08-15 02:44:08

straydog
Member
From: middle of Ohio, USA
Registered: 2006-03-11
Posts: 64

Re: Kernel 2.6.18 and mkinitcpio coming soon

Correct me if I'm wrong, but don't you have to install grub after making the change on the initrd line? Without that step, you haven't actually changed grub. The automatic partitioning on this box put grub in the mbr, but since Arch doesn't have a grub update feature (that I'm aware of), I had to guess about the location of grub. Hence, I don't know for sure if I've actually installed grub into the right spot and am actually using mkinitcpio. I could still be running the old grub using the initrd image if I wrote the updated grub elsewhere.

Is there any other way to tell? Am I completely out in left field, here?

Bill

Offline

#28 2006-08-15 02:55:43

McQueen
Member
From: Arizona
Registered: 2006-03-20
Posts: 387

Re: Kernel 2.6.18 and mkinitcpio coming soon

The kernel26.install is fairly explicit (says nothing about reinstalling grub):

>>> MKINITCPIO SETUP
>>> ----------------
>>> To switch to mkinitcpio ramdisk setup please change your bootloader config:
>>> - initrd26.img to kernel26.img
>>> - initrd26-full.img to kernel26-fallback.img


/path/to/Truth

Offline

#29 2006-08-15 03:13:56

straydog
Member
From: middle of Ohio, USA
Registered: 2006-03-11
Posts: 64

Re: Kernel 2.6.18 and mkinitcpio coming soon

Thanks, McQueen. Of course, you are right, there is no mention of installing/updating grub in the Wiki, either. I just wanted to make sure I wasn't missing anything. I've been bit before.

Bill

Offline

#30 2006-08-15 06:44:41

stavrosg
Member
From: Rhodes, Greece
Registered: 2005-05-01
Posts: 330
Website

Re: Kernel 2.6.18 and mkinitcpio coming soon

Grub does not need to be reinstalled evey time you make a configuration change. It reads your configuration during boot.

Offline

#31 2006-08-15 14:42:19

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Kernel 2.6.18 and mkinitcpio coming soon

straydog wrote:

Correct me if I'm wrong, but don't you have to install grub after making the change on the initrd line? Without that step, you haven't actually changed grub.

grub should never need to be reinstalled.  lilo, OTOH, does.  that's part of what makes grub awesome.

Offline

#32 2006-08-15 23:57:28

straydog
Member
From: middle of Ohio, USA
Registered: 2006-03-11
Posts: 64

Re: Kernel 2.6.18 and mkinitcpio coming soon

Thanks for the input, folks. I guess I thought it would be the same as Ubuntu, although Ubuntu uses Debian Automagic kernel detection. With that you have to run update-grub to, well, update grub. It's not bad, just different.

Woohoo! This is post 50. Look at me go!

Bill

Offline

#33 2006-08-16 18:29:25

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Kernel 2.6.18 and mkinitcpio coming soon

Hi everyone,

I tried to install Arch on a new laptop and after a flawless FTP install and using mkinitcpio generated images, I am unable to boot my system (I had no luck to boot with initrd but no real point to fight with that if it will not be used any longer).

Using kernel26.img, I'll end up with a busy box and using kernel26-fallback.img with a kernel panic :

kinit: Cannot open root device dev (0,0)
kinit: init not found!

I've created some few images with another Arch machine, "playing" with hooks (ide,scsi,sata) and loading some modules (piix ata_piix) but same result. I can't boot Archie or Gentoo live CD... The only thing I can run on that lappy is ubuntu 6.06... If it can help giving clearer informations, hereunder fstab, dmesg and lsmod of a successful ubuntu install...

eb@eb-ubuntu:~$ dmesg
[4294667.296000] Linux version 2.6.15-23-386 (buildd@rothera) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 PREEMPT Tue May 23 13:49:40 UTC 2006
[4294667.296000] BIOS-provided physical RAM map:
[4294667.296000]  BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[4294667.296000]  BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[4294667.296000]  BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
[4294667.296000]  BIOS-e820: 0000000000100000 - 000000001f690000 (usable)
[4294667.296000]  BIOS-e820: 000000001f690000 - 000000001f700000 (ACPI NVS)
[4294667.296000]  BIOS-e820: 000000001f700000 - 0000000020000000 (reserved)
[4294667.296000]  BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
[4294667.296000]  BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
[4294667.296000]  BIOS-e820: 00000000fed00000 - 00000000fed00400 (reserved)
[4294667.296000]  BIOS-e820: 00000000fed14000 - 00000000fed1a000 (reserved)
[4294667.296000]  BIOS-e820: 00000000fed1c000 - 00000000fed90000 (reserved)
[4294667.296000]  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[4294667.296000]  BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved)
[4294667.296000] 0MB HIGHMEM available.
[4294667.296000] 502MB LOWMEM available.
[4294667.296000] found SMP MP-table at 000f5bd0
[4294667.296000] On node 0 totalpages: 128656
[4294667.296000]   DMA zone: 4096 pages, LIFO batch:0
[4294667.296000]   DMA32 zone: 0 pages, LIFO batch:0
[4294667.296000]   Normal zone: 124560 pages, LIFO batch:31
[4294667.296000]   HighMem zone: 0 pages, LIFO batch:0
[4294667.296000] DMI present.
[4294667.296000] ACPI: RSDP (v000 PTLTD                                 ) @ 0x000f5a30
[4294667.296000] ACPI: RSDT (v001 PTLTD    RSDT   0x06040000  LTP 0x00000000) @ 0x1f695446
[4294667.296000] ACPI: FADT (v001 INTEL  CALISTGA 0x06040000 LOHR 0x0000005a) @ 0x1f69ddee
[4294667.296000] ACPI: MADT (v001 INTEL  CALISTGA 0x06040000 LOHR 0x0000005a) @ 0x1f69de62
[4294667.296000] ACPI: HPET (v001 INTEL  CALISTGA 0x06040000 LOHR 0x0000005a) @ 0x1f69deca
[4294667.296000] ACPI: MCFG (v001 INTEL  CALISTGA 0x06040000 LOHR 0x0000005a) @ 0x1f69df02
[4294667.296000] ACPI: TCPA (v001 PTLTD  CALISTGA 0x06040000  PTL 0x00000001) @ 0x1f69df3e
[4294667.296000] ACPI: MADT (v001 PTLTD          APIC   0x06040000  LTP 0x00000000) @ 0x1f69df70
[4294667.296000] ACPI: BOOT (v001 PTLTD  $SBFTBL$ 0x06040000  LTP 0x00000001) @ 0x1f69dfd8
[4294667.296000] ACPI: SSDT (v001 SataRe  SataPri 0x00001000 INTL 0x20050624) @ 0x1f696526
[4294667.296000] ACPI: SSDT (v001 SataRe  SataSec 0x00001000 INTL 0x20050624) @ 0x1f695e94
[4294667.296000] ACPI: SSDT (v001  PmRef    CpuPm 0x00003000 INTL 0x20050624) @ 0x1f695492
[4294667.296000] ACPI: DSDT (v001 INTEL  CALISTGA 0x06040000 MSFT 0x0100000e) @ 0x00000000
[4294667.296000] ACPI: PM-Timer IO Port: 0x1008
[4294667.296000] ACPI: Local APIC address 0xfee00000
[4294667.296000] ACPI: 2 duplicate APIC table ignored.
[4294667.296000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[4294667.296000] Processor #0 6:14 APIC version 20
[4294667.296000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[4294667.296000] Processor #1 6:14 APIC version 20
[4294667.296000] WARNING: NR_CPUS limit of 1 reached.  Processor ignored.
[4294667.296000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[4294667.296000] IOAPIC[0]: apic_id 1 already used, trying 2
[4294667.296000] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
[4294667.296000] ACPI: IOAPIC (id[0x02] address[0xfec28000] gsi_base[24])
[4294667.296000] IOAPIC[1]: apic_id 2 already used, trying 3
[4294667.296000] IOAPIC[1]: Unable to change apic_id!
[4294667.296000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[4294667.296000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[4294667.296000] ACPI: IRQ0 used by override.
[4294667.296000] ACPI: IRQ2 used by override.
[4294667.296000] ACPI: IRQ9 used by override.
[4294667.296000] Enabling APIC mode:  Flat.  Using 1 I/O APICs
[4294667.296000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[4294667.296000] Using ACPI (MADT) for SMP configuration information
[4294667.296000] Allocating PCI resources starting at 30000000 (gap: 20000000:c0000000)
[4294667.296000] Built 1 zonelists
[4294667.296000] Kernel command line: root=/dev/sda6 ro quiet splash
[4294667.296000] mapped APIC to ffffd000 (fee00000)
[4294667.296000] mapped IOAPIC to ffffc000 (fec00000)
[4294667.296000] Initializing CPU#0
[4294667.296000] PID hash table entries: 2048 (order: 11, 32768 bytes)
[4294667.296000] Console: colour VGA+ 80x25
[4294667.296000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[4294667.296000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[4294667.296000] Memory: 499508k/514624k available (1976k kernel code, 14556k reserved, 606k data, 288k init, 0k highmem)
[4294667.296000] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[4294667.296000] hpet0: at MMIO 0xfed00000 (virtual 0xe0000000), IRQs 2, 8, 0
[4294667.296000] hpet0: 3 64-bit timers, 14318180 Hz
[4294667.296000] Using HPET for base-timer
[4294667.296000] Using HPET for gettimeofday
[4294667.296000] Detected 1729.340 MHz processor.
[4294667.296000] Using hpet for high-res timesource
[4294667.357000] Calibrating delay using timer specific routine.. 3476.99 BogoMIPS (lpj=1738497)
[4294667.357000] Security Framework v1.0.0 initialized
[4294667.357000] SELinux:  Disabled at boot.
[4294667.357000] Mount-cache hash table entries: 512
[4294667.357000] CPU: After generic identify, caps: bfe9fbff 00100000 00000000 00000000 0000c189 00000000 00000000
[4294667.357000] CPU: After vendor identify, caps: bfe9fbff 00100000 00000000 00000000 0000c189 00000000 00000000
[4294667.357000] monitor/mwait feature present.
[4294667.357000] using mwait in idle threads.
[4294667.357000] CPU: L1 I cache: 32K, L1 D cache: 32K
[4294667.357000] CPU: L2 cache: 2048K
[4294667.357000] CPU: After all inits, caps: bfe9fbff 00100000 00000000 00000040 0000c189 00000000 00000000
[4294667.357000] mtrr: v2.0 (20020519)
[4294667.357000] CPU: Intel Genuine Intel(R) CPU           T2250  @ 1.73GHz stepping 08
[4294667.357000] Enabling fast FPU save and restore... done.
[4294667.357000] Enabling unmasked SIMD FPU exception support... done.
[4294667.357000] Checking 'hlt' instruction... OK.
[4294667.361000] checking if image is initramfs... it is
[4294668.724000] Freeing initrd memory: 6830k freed
[4294668.729000] ACPI: Looking for DSDT ... not found!
[4294668.784000] ENABLING IO-APIC IRQs
[4294668.784000] ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
[4294668.896000] NET: Registered protocol family 16
[4294668.896000] EISA bus registered
[4294668.896000] ACPI: bus type pci registered
[4294668.896000] PCI: PCI BIOS revision 2.10 entry at 0xfd5b3, last bus=10
[4294668.896000] PCI: Using MMCONFIG
[4294668.897000] ACPI: Subsystem revision 20051216
[4294668.902000] ACPI: Interpreter enabled
[4294668.902000] ACPI: Using IOAPIC for interrupt routing
[4294668.903000] ACPI: PCI Root Bridge [PCI0] (0000:00)
[4294668.903000] PCI: Probing PCI hardware (bus 00)
[4294668.906000] Boot video device is 0000:00:02.0
[4294668.907000] PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.2
[4294668.908000] PCI: Transparent bridge - 0000:00:1e.0
[4294668.909000] ACPI: PCI Interrupt Routing Table [_SB_.PCI0._PRT]
[4294668.928000] ACPI: PCI Interrupt Routing Table [_SB_.PCI0.RP01._PRT]
[4294668.929000] ACPI: PCI Interrupt Routing Table [_SB_.PCI0.RP02._PRT]
[4294668.929000] ACPI: PCI Interrupt Routing Table [_SB_.PCI0.RP03._PRT]
[4294668.932000] ACPI: PCI Interrupt Routing Table [_SB_.PCI0.PCIB._PRT]
[4294668.933000] ACPI: PCI Interrupt Link [LNKA] (IRQs 10 *11)
[4294668.933000] ACPI: PCI Interrupt Link [LNKB] (IRQs 10 *11)
[4294668.934000] ACPI: PCI Interrupt Link [LNKC] (IRQs *10 11)
[4294668.935000] ACPI: PCI Interrupt Link [LNKD] (IRQs *10 11)
[4294668.935000] ACPI: PCI Interrupt Link [LNKE] (IRQs 10 11) *0, disabled.
[4294668.936000] ACPI: PCI Interrupt Link [LNKF] (IRQs *10 11)
[4294668.936000] ACPI: PCI Interrupt Link [LNKG] (IRQs *10 11)
[4294668.937000] ACPI: PCI Interrupt Link [LNKH] (IRQs 10 *11)
[4294668.937000] ACPI: Embedded Controller [EC0] (gpe 23) interrupt mode.
[4294668.943000] Linux Plug and Play Support v0.97 (c) Adam Belay
[4294668.943000] pnp: PnP ACPI init
[4294668.947000] pnp: PnP ACPI: found 10 devices
[4294668.947000] PnPBIOS: Disabled by ACPI PNP
[4294668.947000] PCI: Using ACPI for IRQ routing
[4294668.947000] PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
[4294668.993000] pnp: 00:06: ioport range 0x6a0-0x6af has been reserved
[4294668.993000] pnp: 00:06: ioport range 0x6b0-0x6ff has been reserved
[4294668.993000] PCI: Ignore bogus resource 6 [0:0] of 0000:00:02.0
[4294668.993000] PCI: Bridge: 0000:00:1c.0
[4294668.993000]   IO window: disabled.
[4294668.993000]   MEM window: disabled.
[4294668.993000]   PREFETCH window: disabled.
[4294668.993000] PCI: Bridge: 0000:00:1c.1
[4294668.993000]   IO window: 2000-2fff
[4294668.993000]   MEM window: d8000000-d9ffffff
[4294668.993000]   PREFETCH window: d2000000-d3ffffff
[4294668.993000] PCI: Bridge: 0000:00:1c.2
[4294668.993000]   IO window: 3000-3fff
[4294668.993000]   MEM window: da000000-dbffffff
[4294668.993000]   PREFETCH window: d4000000-d5ffffff
[4294668.993000] PCI: Bus 11, cardbus bridge: 0000:0a:09.0
[4294668.994000]   IO window: 00004400-000044ff
[4294668.994000]   IO window: 00004800-000048ff
[4294668.994000]   PREFETCH window: 30000000-31ffffff
[4294668.994000]   MEM window: 32000000-33ffffff
[4294668.994000] PCI: Bridge: 0000:00:1e.0
[4294668.994000]   IO window: 4000-4fff
[4294668.994000]   MEM window: dc000000-dc0fffff
[4294668.994000]   PREFETCH window: 30000000-31ffffff
[4294668.994000] ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 17 (level, low) -> IRQ 169
[4294668.994000] PCI: Setting latency timer of device 0000:00:1c.0 to 64
[4294668.994000] ACPI: PCI Interrupt 0000:00:1c.1[b] -> GSI 16 (level, low) -> IRQ 177
[4294668.994000] PCI: Setting latency timer of device 0000:00:1c.1 to 64
[4294668.994000] ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI 18 (level, low) -> IRQ 185
[4294668.994000] PCI: Setting latency timer of device 0000:00:1c.2 to 64
[4294668.994000] PCI: Enabling device 0000:00:1e.0 (0104 -> 0107)
[4294668.994000] PCI: Setting latency timer of device 0000:00:1e.0 to 64
[4294668.994000] ACPI: PCI Interrupt 0000:0a:09.0[A] -> GSI 22 (level, low) -> IRQ 193
[4294668.994000] Simple Boot Flag at 0x36 set to 0x1
[4294668.995000] audit: initializing netlink socket (disabled)
[4294668.995000] audit(1155593260.994:1): initialized
[4294668.995000] VFS: Disk quotas dquot_6.5.1
[4294668.995000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[4294668.995000] Initializing Cryptographic API
[4294668.995000] io scheduler noop registered
[4294668.995000] io scheduler anticipatory registered
[4294668.995000] io scheduler deadline registered
[4294668.995000] io scheduler cfq registered
[4294668.995000] ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 17 (level, low) -> IRQ 169
[4294668.995000] PCI: Setting latency timer of device 0000:00:1c.0 to 64
[4294668.995000] assign_interrupt_mode Found MSI capability
[4294668.995000] Allocate Port Service[pcie00]
[4294668.995000] Allocate Port Service[pcie02]
[4294668.995000] Allocate Port Service[pcie03]
[4294668.995000] ACPI: PCI Interrupt 0000:00:1c.1[b] -> GSI 16 (level, low) -> IRQ 177
[4294668.995000] PCI: Setting latency timer of device 0000:00:1c.1 to 64
[4294668.995000] assign_interrupt_mode Found MSI capability
[4294668.995000] Allocate Port Service[pcie00]
[4294668.995000] Allocate Port Service[pcie02]
[4294668.996000] Allocate Port Service[pcie03]
[4294668.996000] ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI 18 (level, low) -> IRQ 185
[4294668.996000] PCI: Setting latency timer of device 0000:00:1c.2 to 64
[4294668.996000] assign_interrupt_mode Found MSI capability
[4294668.996000] Allocate Port Service[pcie00]
[4294668.996000] Allocate Port Service[pcie02]
[4294668.996000] Allocate Port Service[pcie03]
[4294668.996000] isapnp: Scanning for PnP cards...
[4294669.358000] isapnp: No Plug & Play device found
[4294669.382000] PNP: PS/2 Controller [PNP0303:KBD0,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[4294669.389000] i8042.c: Detected active multiplexing controller, rev 1.1.
[4294669.393000] serio: i8042 AUX0 port at 0x60,0x64 irq 12
[4294669.394000] serio: i8042 AUX1 port at 0x60,0x64 irq 12
[4294669.394000] serio: i8042 AUX2 port at 0x60,0x64 irq 12
[4294669.395000] serio: i8042 AUX3 port at 0x60,0x64 irq 12
[4294669.395000] serio: i8042 KBD port at 0x60,0x64 irq 1
[4294669.395000] Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled
[4294669.399000] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[4294669.399000] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[4294669.399000] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[4294669.399000] mice: PS/2 mouse device common for all mice
[4294669.401000] EISA: Probing bus 0 at eisa.0
[4294669.401000] Cannot allocate resource for EISA slot 1
[4294669.401000] Cannot allocate resource for EISA slot 2
[4294669.401000] Cannot allocate resource for EISA slot 3
[4294669.401000] Cannot allocate resource for EISA slot 4
[4294669.401000] EISA: Detected 0 cards.
[4294669.401000] NET: Registered protocol family 2
[4294669.411000] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[4294669.411000] TCP established hash table entries: 16384 (order: 4, 65536 bytes)
[4294669.411000] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[4294669.411000] TCP: Hash tables configured (established 16384 bind 16384)
[4294669.411000] TCP reno registered
[4294669.411000] TCP bic registered
[4294669.411000] NET: Registered protocol family 1
[4294669.411000] NET: Registered protocol family 8
[4294669.411000] NET: Registered protocol family 20
[4294669.411000] Using IPI Shortcut mode
[4294669.411000] ACPI wakeup devices:
[4294669.411000] LID0 SLPB HDEF LANE PXS2 PXS3 PXS4 PXS5 PXS6 USB1 USB2 USB3 USB4 USB7 LANC MODM
[4294669.411000] ACPI: (supports S0 S3 S4 S5)
[4294669.411000] Freeing unused kernel memory: 288k freed
[4294669.502000] vga16fb: initializing
[4294669.502000] vga16fb: mapped to 0xc00a0000
[4294669.550000] input: AT Translated Set 2 keyboard as /class/input/input0
[4294669.634000] Console: switching to colour frame buffer device 80x25
[4294669.634000] fb0: VGA16 VGA frame buffer device
[4294670.750000] Capability LSM initialized
[4294670.805000] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
[4294670.810000] ACPI: Thermal Zone [TZS0] (48 C)
[4294670.812000] ACPI: Thermal Zone [TZS1] (55 C)
[4294671.485000] SCSI subsystem initialized
[4294671.487000] ACPI: bus type scsi registered
[4294671.487000] libata version 1.20 loaded.
[4294671.490000] ata_piix 0000:00:1f.2: version 1.05
[4294671.490000] ata_pci_init_one: pci_dev class+intf: 0x10180
[4294671.490000] ata_pci_init_one: NO_LEGACY == 0
[4294671.490000] ACPI: PCI Interrupt 0000:00:1f.2[b] -> GSI 19 (level, low) -> IRQ 233
[4294671.490000] PCI: Setting latency timer of device 0000:00:1f.2 to 64
[4294671.490000] ata1: PATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0x18B0 irq 14
[4294671.644000] ata1: dev 0 cfg 00:045a 49:0f00 82:746b 83:7fe9 84:4023 85:f469 86:3d49 87:4023 88:203f 93:403b
[4294671.644000] ata1: dev 0 ATA-6, max UDMA/100, 156301488 sectors: LBA48
[4294671.644000] ata1(0): applying bridge limits
[4294671.644000] ata_acpi_push_id: skipping for PATA mode
[4294671.801000] ata1: dev 1 cfg 00:85c0 49:0f00 82:0000 83:0000 84:0000 85:0000 86:0000 87:0000 88:0407 93:6000
[4294671.801000] ata1: dev 1 ATAPI, max UDMA/33
[4294671.801000] ata1(0): applying bridge limits
[4294671.801000] ata_acpi_push_id: skipping for PATA mode
[4294671.801000] ata1: dev 0 configured for UDMA/33
[4294671.802000] ata1: dev 1 configured for UDMA/33
[4294671.802000] pata_get_dev_handle: ENTER: dev->bus_id='0000:00:1f.2'
[4294671.802000] pata_get_dev_handle: dev_handle: 0xdf673b60, parent_handle: 0xdf67a320
[4294671.802000] pata_get_dev_handle: for dev=0x1f.2, addr=0x1f0002, parent=0xdf5ff600, *handle=0xdf673b60
[4294671.802000] do_drive_get_GTF:   drive w/ adr=0: v: 0xdf671460
[4294671.803000] pata_get_dev_handle: ENTER: dev->bus_id='0000:00:1f.2'
[4294671.803000] pata_get_dev_handle: dev_handle: 0xdf673b60, parent_handle: 0xdf67a320
[4294671.803000] pata_get_dev_handle: for dev=0x1f.2, addr=0x1f0002, parent=0xdf5ff600, *handle=0xdf673b60
[4294671.803000] do_drive_get_GTF:   drive w/ adr=1: v: 0xdf671400
[4294671.804000] scsi0 : ata_piix
[4294671.805000]   Vendor: ATA       Model: HTS541080G9AT00   Rev: MB4O
[4294671.805000]   Type:   Direct-Access                      ANSI SCSI revision: 05
[4294671.807000]   Vendor: MATSHITA  Model: DVD-RAM UJ-850S   Rev: 1.50
[4294671.807000]   Type:   CD-ROM                             ANSI SCSI revision: 05
[4294671.807000] pata_get_dev_handle: ENTER: dev->bus_id='0000:00:1f.2'
[4294671.807000] pata_get_dev_handle: dev_handle: 0xdf673b60, parent_handle: 0xdf67a320
[4294671.807000] pata_get_dev_handle: for dev=0x1f.2, addr=0x1f0002, parent=0xdf5ff600, *handle=0xdf673b60
[4294671.809000] ata2: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x18B8 irq 15
[4294673.219000] ata2: disabling port
[4294673.219000] scsi1 : ata_piix
[4294673.219000] pata_get_dev_handle: ENTER: dev->bus_id='0000:00:1f.2'
[4294673.219000] pata_get_dev_handle: dev_handle: 0xdf673b60, parent_handle: 0xdf67a320
[4294673.219000] pata_get_dev_handle: for dev=0x1f.2, addr=0x1f0002, parent=0xdf5ff600, *handle=0xdf673b60
[4294673.231000] Driver 'sd' needs updating - please use bus_type methods
[4294673.242000] SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
[4294673.242000] SCSI device sda: drive cache: write back
[4294673.247000] SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
[4294673.247000] SCSI device sda: drive cache: write back
[4294673.247000]  sda: sda1 sda2 sda3 <sda5>
[4294673.301000] sd 0:0:0:0: Attached scsi disk sda
[4294673.379000] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[4294673.379000] Uniform CD-ROM driver Revision: 3.20
[4294673.380000] sr 0:0:1:0: Attached scsi CD-ROM sr0
[4294673.805000] usbcore: registered new driver usbfs
[4294673.805000] usbcore: registered new driver hub
[4294673.809000] ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 50
[4294673.809000] PCI: Setting latency timer of device 0000:00:1d.7 to 64
[4294673.809000] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[4294673.809000] ehci_hcd 0000:00:1d.7: debug port 1
[4294673.809000] PCI: cache line size of 32 is not supported by device 0000:00:1d.7
[4294673.810000] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
[4294673.810000] ehci_hcd 0000:00:1d.7: irq 50, io mem 0xdc444000
[4294673.814000] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[4294673.816000] hub 1-0:1.0: USB hub found
[4294673.816000] hub 1-0:1.0: 8 ports detected
[4294673.921000] USB Universal Host Controller Interface driver v2.3
[4294673.922000] ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 50
[4294673.922000] PCI: Setting latency timer of device 0000:00:1d.0 to 64
[4294673.922000] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[4294673.922000] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
[4294673.922000] uhci_hcd 0000:00:1d.0: irq 50, io base 0x00001820
[4294673.922000] hub 2-0:1.0: USB hub found
[4294673.922000] hub 2-0:1.0: 2 ports detected
[4294674.023000] ACPI: PCI Interrupt 0000:00:1d.1[b] -> GSI 19 (level, low) -> IRQ 233
[4294674.023000] PCI: Setting latency timer of device 0000:00:1d.1 to 64
[4294674.023000] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[4294674.023000] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
[4294674.023000] uhci_hcd 0000:00:1d.1: irq 233, io base 0x00001840
[4294674.024000] hub 3-0:1.0: USB hub found
[4294674.024000] hub 3-0:1.0: 2 ports detected
[4294674.123000] usb 1-6: new high speed USB device using ehci_hcd and address 2
[4294674.125000] ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 185
[4294674.125000] PCI: Setting latency timer of device 0000:00:1d.2 to 64
[4294674.125000] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[4294674.125000] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
[4294674.125000] uhci_hcd 0000:00:1d.2: irq 185, io base 0x00001860
[4294674.126000] hub 4-0:1.0: USB hub found
[4294674.126000] hub 4-0:1.0: 2 ports detected
[4294674.227000] ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 177
[4294674.227000] PCI: Setting latency timer of device 0000:00:1d.3 to 64
[4294674.227000] uhci_hcd 0000:00:1d.3: UHCI Host Controller
[4294674.227000] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
[4294674.227000] uhci_hcd 0000:00:1d.3: irq 177, io base 0x00001880
[4294674.228000] hub 5-0:1.0: USB hub found
[4294674.228000] hub 5-0:1.0: 2 ports detected
[4294674.430000] ide0: I/O resource 0x1F0-0x1F7 not free.
[4294674.430000] ide0: ports already in use, skipping probe
[4294674.430000] ide1: I/O resource 0x170-0x177 not free.
[4294674.430000] ide1: ports already in use, skipping probe
[4294674.464000] Attempting manual resume
[4294674.473000] JFS: nTxBlock = 3959, nTxLock = 31675
[4294681.789000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[4294681.789000] sr 0:0:1:0: Attached scsi generic sg1 type 5
[4294684.085000] Linux agpgart interface v0.101 (c) Dave Jones
[4294684.089000] agpgart: Detected an Intel 945GM Chipset.
[4294684.091000] agpgart: Detected 7932K stolen memory.
[4294684.110000] agpgart: AGP aperture is 256M @ 0xc0000000
[4294684.364000] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[4294684.367000] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[4294684.628000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 193
[4294684.628000] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[4294684.724000] hda_codec: Unknown model for ALC882, trying auto-probe from BIOS...
[4294685.156000] hw_random: RNG not detected
[4294685.217000] ieee80211_crypt: registered algorithm 'NULL'
[4294685.227000] ieee80211: 802.11 data/management/control stack, git-1.1.7
[4294685.227000] ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno>
[4294685.322000] ipw3945: Intel(R) PRO/Wireless 3945 Network Connection driver for Linux, 1.0.3m
[4294685.322000] ipw3945: Copyright(c) 2003-2006 Intel Corporation
[4294685.322000] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IRQ 169
[4294685.322000] PCI: Setting latency timer of device 0000:03:00.0 to 64
[4294685.322000] ipw3945: Detected Intel PRO/Wireless 3945BG Network Connection
[4294686.169000] Synaptics Touchpad, model: 1, fw: 6.2, id: 0x1a0b1, caps: 0xa04713/0x204000
[4294686.206000] input: SynPS/2 Synaptics TouchPad as /class/input/input1
[4294686.359000] sdhci: Secure Digital Host Controller Interface driver, 0.10
[4294686.359000] sdhci: Copyright(c) Pierre Ossman
[4294686.886000] ts: Compaq touchscreen protocol output
[4294687.093000] Real Time Clock Driver v1.12
[4294687.208000] 8139too Fast Ethernet driver 0.9.27
[4294687.294000] ACPI: PCI Interrupt 0000:0a:01.0[b] -> GSI 21 (level, low) -> IRQ 58
[4294687.345000] sdhci: ============== REGISTER DUMP ==============
[4294687.345000] sdhci: Sys addr: 0x00000000 | Version:  0x00000200
[4294687.345000] sdhci: Blk size: 0x00000000 | Blk cnt:  0x00000000
[4294687.345000] sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
[4294687.345000] sdhci: Present:  0x01fa0000 | Host ctl: 0x00000000
[4294687.345000] sdhci: Power:    0x00000000 | Blk gap:  0x00000000
[4294687.345000] sdhci: Walk up:  0x00000000 | Clock:    0x00000000
[4294687.345000] sdhci: Timeout:  0x0000000e | Int stat: 0x00000000
[4294687.345000] sdhci: Int enab: 0xe1ff00cf | Sig enab: 0xe1ff00cf
[4294687.345000] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[4294687.345000] sdhci: Caps:     0x018021a1 | Max curr: 0x00000040
[4294687.345000] sdhci: ===========================================
[4294687.397000] mmc0: SDHCI at 0xdc000800 irq 58 DMA
[4294687.397000] ACPI: PCI Interrupt 0000:0a:07.0[A] -> GSI 23 (level, low) -> IRQ 50
[4294687.398000] eth0: RealTek RTL8139 at 0xe015a800, 00:16:d3:44:10:a3, IRQ 50
[4294687.398000] eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
[4294687.407000] ACPI: PCI Interrupt 0000:0a:09.0[A] -> GSI 22 (level, low) -> IRQ 193
[4294687.407000] Yenta: CardBus bridge found at 0000:0a:09.0 [1025:0080]
[4294687.407000] Yenta: Using CSCINT to route CSC interrupts to PCI
[4294687.407000] Yenta: Routing CardBus interrupts to PCI
[4294687.407000] Yenta TI: socket 0000:0a:09.0, mfunc 0x01aa1b22, devctl 0x44
[4294687.479000] 8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
[4294687.630000] Yenta: ISA IRQ mask 0x0cf8, PCI irq 193
[4294687.630000] Socket status: 30000006
[4294687.630000] Yenta: Raising subordinate bus# of parent bus (#0a) from #0a to #0e
[4294687.630000] pcmcia: parent PCI bridge I/O window: 0x4000 - 0x4fff
[4294687.630000] cs: IO port probe 0x4000-0x4fff: clean.
[4294687.631000] pcmcia: parent PCI bridge Memory window: 0xdc000000 - 0xdc0fffff
[4294687.631000] pcmcia: parent PCI bridge Memory window: 0x30000000 - 0x31ffffff
[4294688.170000] ipw3945: Detected geography xBG (13 802.11bg channels, 0 802.11a channels)
[4294688.335000] cs: IO port probe 0x100-0x3af: excluding 0x370-0x377
[4294688.338000] cs: IO port probe 0x3e0-0x4ff: excluding 0x3f0-0x3f7 0x4d0-0x4d7
[4294688.340000] cs: IO port probe 0x820-0x8ff: clean.
[4294688.341000] cs: IO port probe 0xc00-0xcf7: clean.
[4294688.343000] cs: IO port probe 0xa00-0xaff: clean.
[4294688.376000] eth0: link down
[4294689.446000] NET: Registered protocol family 17
[4294692.472000] lp: driver loaded but no devices found
[4294692.555000] Adding 1461904k swap on /dev/sda2.  Priority:-1 extents:1 across:1461904k
[4294693.342000] md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
[4294693.342000] md: bitmap version 4.39
[4294694.530000] device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
[4294695.057000] cdrom: open failed.
[4294696.977000] ReiserFS: sda5: found reiserfs format "3.6" with standard journal
[4294697.185000] ReiserFS: sda5: using ordered data mode
[4294697.193000] ReiserFS: sda5: journal params: device sda5, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
[4294697.193000] ReiserFS: sda5: checking transaction log (sda5)
[4294697.228000] ReiserFS: sda5: Using r5 hash to sort names
[4294702.723000] ACPI: AC Adapter [ADP1] (on-line)
[4294702.781000] ACPI: Battery Slot [BAT0] (battery absent)
[4294702.878000] ACPI: Power Button (FF) [PWRF]
[4294702.878000] ACPI: Lid Switch [LID0]
[4294702.878000] ACPI: Sleep Button (CM) [SLPB]
[4294703.043000] ibm_acpi: ec object not found
[4294703.079000] pcc_acpi: loading...
[4294703.227000] ACPI: Video Device [VGA] (multi-head: yes  rom: no  post: no)
[4294703.227000] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[4294707.653000] [drm] Initialized drm 1.0.1 20051102
[4294707.655000] ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 177
[4294707.655000] [drm] Initialized i915 1.4.0 20060119 on minor 0
[4294708.600000] ppdev: user-space parallel port driver
[4294708.991000] apm: BIOS not found.
[4294711.452000] Bluetooth: Core ver 2.8
[4294711.452000] NET: Registered protocol family 31
[4294711.452000] Bluetooth: HCI device and connection manager initialized
[4294711.452000] Bluetooth: HCI socket layer initialized
[4294711.597000] Bluetooth: L2CAP ver 2.8
[4294711.597000] Bluetooth: L2CAP socket layer initialized
[4294711.599000] Bluetooth: RFCOMM socket layer initialized
[4294711.599000] Bluetooth: RFCOMM TTY layer initialized
[4294711.599000] Bluetooth: RFCOMM ver 1.7
[4294723.984000] NET: Registered protocol family 10
[4294723.984000] lo: Disabled Privacy Extensions
[4294723.984000] ADDRCONF(NETDEV_UP): eth0: link is not ready
[4294723.984000] ADDRCONF(NETDEV_UP): eth1: link is not ready
[4294723.984000] IPv6 over IPv4 tunneling driver
eb@eb-ubuntu:~$ lsmod
Module                  Size  Used by
ipv6                  265600  6
rfcomm                 40216  0
l2cap                  26244  5 rfcomm
bluetooth              49892  4 rfcomm,l2cap
ppdev                   9220  0
i915                   20608  1
drm                    73236  2 i915
speedstep_centrino      8400  1
cpufreq_userspace       4696  1
cpufreq_stats           5636  0
freq_table              4740  2 speedstep_centrino,cpufreq_stats
cpufreq_powersave       1920  0
cpufreq_ondemand        6428  0
cpufreq_conservative     7332  0
video                  16260  0
tc1100_wmi              6916  0
sony_acpi               5644  0
pcc_acpi               12416  0
hotkey                 11556  0
dev_acpi               11140  0
container               4608  0
button                  6672  0
acpi_sbs               19980  0
battery                 9988  1 acpi_sbs
i2c_acpi_ec             5120  1 acpi_sbs
i2c_core               21904  1 i2c_acpi_ec
ac                      5252  1 acpi_sbs
reiserfs              268016  1
ext2                   68360  1
dm_mod                 58936  1
md_mod                 72532  0
parport_pc             35780  0
lp                     11844  0
parport                36296  3 ppdev,parport_pc,lp
af_packet              22920  4
pcmcia                 40508  0
8139cp                 22528  0
8139too                26880  0
joydev                 10048  0
mii                     5888  2 8139cp,8139too
rtc                    13492  0
yenta_socket           28428  1
rsrc_nonstatic         13440  1 yenta_socket
pcmcia_core            42640  3 pcmcia,yenta_socket,rsrc_nonstatic
tsdev                   8000  0
sdhci                  14848  0
mmc_core               30104  1 sdhci
psmouse                36228  0
serio_raw               7300  0
ipw3945               126492  1
ieee80211              37064  1 ipw3945
ieee80211_crypt         6272  1 ieee80211
snd_hda_intel          18964  1
snd_hda_codec         142640  1 snd_hda_intel
snd_pcm_oss            53664  0
snd_mixer_oss          18688  1 snd_pcm_oss
snd_pcm                89864  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer              25220  1 snd_pcm
snd                    55268  8 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              10208  1 snd
snd_page_alloc         10632  2 snd_hda_intel,snd_pcm
shpchp                 45632  0
pci_hotplug            29236  1 shpchp
intel_agp              22940  1
agpgart                34888  3 drm,intel_agp
sg                     37920  0
evdev                   9856  2
jfs                   195780  1
ide_generic             1536  0
uhci_hcd               33680  0
ehci_hcd               32008  0
usbcore               129668  3 uhci_hcd,ehci_hcd
sr_mod                 16932  0
cdrom                  38560  1 sr_mod
sd_mod                 19984  5
ata_piix               11012  8
libata                 78992  1 ata_piix
scsi_mod              139496  4 sg,sr_mod,sd_mod,libata
generic                 5124  0
thermal                13576  0
processor              23360  2 speedstep_centrino,thermal
fan                     4868  0
capability              5000  0
commoncap               7296  1 capability
vga16fb                13704  1
vgastate               10368  1 vga16fb
fbcon                  42784  72
tileblit                2816  1 fbcon
font                    8320  1 fbcon
bitblit                 6272  1 fbcon
softcursor              2304  1 bitblit
# /etc/fstab: static file system information.
#
# <file> <mount>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda6       /               jfs     defaults,errors=remount-ro 0       1
/dev/sda1       /boot           ext2    defaults        0       2
/dev/sda5       /var            reiserfs defaults        0       2
/dev/sda2       none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0

I have to say that I have just very basic knowledge of Linux systems so I am a bit lost on that case... I had few Arch machines before, all of them working great... If someone has any idea, you'll be bless for at least 1,000 years.

Thanks in advance.

Offline

#34 2006-08-17 08:02:26

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,322

Re: Kernel 2.6.18 and mkinitcpio coming soon

are you sure you entered correct root= on boot prompt?

try break=y boot option and load the modules you think you need by hand, including your root filesystem module and then exit

Offline

#35 2006-08-17 14:37:19

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Kernel 2.6.18 and mkinitcpio coming soon

Try adding rootfstype=jfs and verify that jfs is in the image (mkinitcpio -M should list the modules included in kernel26.img)

Offline

#36 2006-08-18 12:31:22

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,322

Re: Kernel 2.6.18 and mkinitcpio coming soon

hey phrak please take a look at lvm and encrypt hook, both use split binary that is not available anymore.
somehow i missed that.

Offline

#37 2006-08-18 14:37:47

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Kernel 2.6.18 and mkinitcpio coming soon

tpowa wrote:

hey phrak please take a look at lvm and encrypt hook, both use split binary that is not available anymore.
somehow i missed that.

phrakture wrote:

last I checked, the hooks for lvm2 and cryptsetup still needed to be updated and put into testing - was this done already?

He he.  That's what I meant.  I thought you took care of them.  I'll do it when I get a chance (tonight, possibly).

Offline

#38 2006-08-18 16:49:16

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,322

Re: Kernel 2.6.18 and mkinitcpio coming soon

ok just released a new 0.5.2 with the '.' fix and fixed the crypt and lvm hook in testing.
phrakture just take a look at it if everything is fine.

still the stdin:0 bug needs to be tracked down or not?

Offline

#39 2006-08-18 17:04:50

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Kernel 2.6.18 and mkinitcpio coming soon

tpowa wrote:

still the stdin:0 bug needs to be tracked down or not?

Yeah, I'm pretty sure I know where it is, just need to add some error conditions into the script.

Offline

#40 2006-08-18 17:46:42

baze
Member
Registered: 2005-10-30
Posts: 393

Re: Kernel 2.6.18 and mkinitcpio coming soon

tpowa wrote:

still the stdin:0 bug needs to be tracked down or not?

i just updated to 0.5.2 and i still get the "error".

Offline

#41 2006-08-19 07:01:18

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,322

Re: Kernel 2.6.18 and mkinitcpio coming soon

yes phrakture will try to hunt this down soon.

Offline

#42 2006-08-19 09:45:17

sweiss
Member
Registered: 2004-02-16
Posts: 635

Re: Kernel 2.6.18 and mkinitcpio coming soon

Hmm, this thread made me wonder, is mkinitcpio Arch-specific?

Offline

#43 2006-08-20 09:08:44

badger
Member
From: Melb
Registered: 2004-07-21
Posts: 76

Re: Kernel 2.6.18 and mkinitcpio coming soon

Hey all,
I'm unable to get my legacy/non-LUKS dm-crypt setup to boot with  mkinitcpio (0.5.2-1), kernel26 (2.6.17.8-1) and cryptsetup (1.0.3-4) (most recent from testing/current).

Output from boot up:

:: Running Hook [encrypt]
device-mapper: 4.6.0-iotcl (2006-02-17) initialised: dm-devel@redhet.com
mknod: No such file or directory - /dev/mapper/control
Non-LUKS encrypted device found...

A password is required to access the root filesystem:   (*no input permitted*)
Usage: cryptsetup......(*prints the crypysetup usage info*)
...
...
   : invalid numeric value
ERROR: Non-LUKS device decryption failed. verify format:
ERROR:        crypto=hash:cipher:keysize:offset:skip
Kernel panic - not syncing: Attempted to kill init!

Crypto was setup pretty much like : http://wiki.archlinux.org/index.php/Enc … Filesystem (so cryptsetup defaults were used). I've attempted to follow the wiki page http://wiki.archlinux.org/index.php/Mkinitcpio , the legacy cryptsetup section is marked currently being broken, is this still the case? Also, I understand order in the HOOKS line matters, but should the encrypt hook be listed before the filesystems one? (I have problems either way)

mkinitcpio.conf contents:

MODULES="" BINARIES="" FILES=""
HOOKS="base udev autodetect ide sata usbinput encrypt filesystems"

grub entry:

title  2.6.17-ARCH kernel26.img
root   (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 crypto=:::: ro
initrd /kernel26.img

My existing initrd setup works fine, I couldn't get mkinitramfs  to work (see my posts in this thread: http://bbs.archlinux.org/viewtopic.php?t=20367

Thanks in advance for your advice. cheers

Offline

#44 2006-08-20 11:35:40

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: Kernel 2.6.18 and mkinitcpio coming soon

badger wrote:

Crypto was setup pretty much like : http://wiki.archlinux.org/index.php/Enc … Filesystem (so cryptsetup defaults were used). I've attempted to follow the wiki page http://wiki.archlinux.org/index.php/Mkinitcpio , the legacy cryptsetup section is marked currently being broken, is this still the case?

It was supposed to be fixed, but something VERY strange is happening here. It is all a technical problem passing the crypto= options to cryptsetup properly. This results in a command line like

/bin/cryptsetup create root /dev/sda3 --hash """" --cipher """" --key-size """" --offset """" --skip """"

Also, I understand order in the HOOKS line matters, but should the encrypt hook be listed before the filesystems one? (I have problems either way)

Before filesystems.

Offline

#45 2006-08-20 11:56:25

badger
Member
From: Melb
Registered: 2004-07-21
Posts: 76

Re: Kernel 2.6.18 and mkinitcpio coming soon

brain0 wrote:

It was supposed to be fixed, but something VERY strange is happening here. It is all a technical problem passing the crypto= options to cryptsetup properly. This results in a command line like

/bin/cryptsetup create root /dev/sda3 --hash """" --cipher """" --key-size """" --offset """" --skip """"

...
(encrypt) Before filesystems.

Thanks Brain, I just hope to sort this out before mkinitcpio becomes more mainstream. I'm no expert and I don't know what to make of the mknod error message; that seems to indicate a problem right near the start of the encrypt mkinitcpio hook.
I don't even know the default hash and skip values.

Thanks.

Offline

#46 2006-08-20 12:58:38

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: Kernel 2.6.18 and mkinitcpio coming soon

badger wrote:

Thanks Brain, I just hope to sort this out before mkinitcpio becomes more mainstream.

I found the solution already (without knowing exactly what is wrong), I just have to get in touch with phrakture or tpowa.

I'm no expert and I don't know what to make of the mknod error message; that seems to indicate a problem right near the start of the encrypt mkinitcpio hook.

No. The /dev/mapper/control device is created. If you use udev, it already exists, which results in that error.

I don't even know the default hash and skip values.

The point is that you don't have to know them. Although the default settings are weak, they are kept consistent across cryptsetup versions.

Offline

#47 2006-08-20 13:11:26

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: Kernel 2.6.18 and mkinitcpio coming soon

@badger: Please replace the file /lib/initcpio/hooks/encrypt with this file. Then regenerate your image and try again.

Offline

#48 2006-08-20 13:40:00

badger
Member
From: Melb
Registered: 2004-07-21
Posts: 76

Re: Kernel 2.6.18 and mkinitcpio coming soon

Brain, thanks a lot for your effort. With your encrypt hook I still get a kernel panic, but it does get further along:

:: Running Hook [encrypt]
device-mapper: 4.6.0-iotcl (2006-02-17) initialised: dm-devel@redhet.com
mknod: No such file or directory - /dev/mapper/control
Non-LUKS encrypted device found...

A password is required to access the root filesystem
Enter passhrase:
:: Running Hook [filesystems]
:: Loading root filesystem ... ext3
:: Initramfs Completed - control passing to kinit
Kinit: Cannot open root device dm-0(254,0)
Kinit: init not found!
Kernel panic - not syncing: Attempted to kill init!

edit: Could this just be the result of a missing module(s) in the img? I'm getting that stdin: error 0 when generating the img and when doing mkinitcpio -M.

Again, thanks for your help.

Offline

#49 2006-08-20 14:01:24

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: Kernel 2.6.18 and mkinitcpio coming soon

We're getting closer, at least the cryptsetup initialization seems fine now. It even detects the filesystem properly. There seems to be another problem.

EDIT: Can you try booting with "break=y" and then mount the filesystem manually?

# mkdir /foo
# mount -t ext3 -o ro /dev/mapper/root /foo

You won't be able to boot this way, but this will bring us closer to the problem. Is the mount successful and if not, are there any errors?

EDIT2: When you boot with "break=y", can you check whether the directory /dev/mapper and the file /dev/mapper/control exist? (Do that with echo /dev/* and echo /dev/mapper/*, as there is no ls in early userspace)

Offline

#50 2006-08-20 14:10:44

badger
Member
From: Melb
Registered: 2004-07-21
Posts: 76

Re: Kernel 2.6.18 and mkinitcpio coming soon

Hey Brain, I'm back from another round of fiddling and reboots and it is now somewhat solved. Using a regenerated fallback img (along with your smartly modified encrypt hook) boots fine. The img using the autodetect hook (and associated stdin: error 0) does not seem to work for my situation.

Thanks a bunch for your help. Is it worthwhile for me to try your above suggestions or does the working status of the regenerated fallback img give a good idea of the bigger picture issue?

Offline

Board footer

Powered by FluxBB