You are not logged in.

#1 2009-07-30 17:10:30

mastergara
Member
Registered: 2007-10-05
Posts: 12

Failed boot after moving hard drive (IDE not SATA)

Greetings all.

I am attempting to setup a headless box, and in doing so I am installing Arch on one system (Sapphire Axion A3-M275 Motherboard), then moving the hard drive to the new system (SGS1660, a VIA CLE266/VT8235 based headless rack-solution). After moving the drive into the SGS1660, the system fails to boot. Attached output from the Serial Console:

  Booting 'Arch Linux'

root   (hd0,0)
 Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz26 root=/dev/disk/by-uuid/93df0562-c6e6-4583-9a79-51cd2091247b r
o console=ttyS0,115200
   [Linux-bzImage, setup=0x3600, size=0x1ad6d0]
initrd /kernel26.img
   [Linux-initrd @ 0x2ff21000, 0x9e7a5 bytes]

Linux version 2.6.30-ARCH (root@T-POWA-LX) (gcc version 4.4.0 20090630 (prerelease) (GCC) ) #1 SMP PREEMPT Mon Jul 20 11:20:32 UTC 2009
KERNEL supported cpus:
  Intel GenuineIntel
  AMD AuthenticAMD
  NSC Geode by NSC
  Cyrix CyrixInstead
  Centaur CentaurHauls
  Transmeta GenuineTMx86
  Transmeta TransmetaCPU
  UMC UMC UMC UMC
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000002ffd0000 (usable)
 BIOS-e820: 000000002ffd0000 - 000000002ffde000 (ACPI data)
 BIOS-e820: 000000002ffde000 - 0000000030000000 (ACPI NVS)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000ff780000 - 0000000100000000 (reserved)
DMI 2.3 present.
AMI BIOS detected: BIOS may corrupt low RAM, working around it.
last_pfn = 0x2ffd0 max_arch_pfn = 0x100000
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
Scanning 0 areas for low memory corruption
modified physical RAM map:
 modified: 0000000000000000 - 0000000000010000 (reserved)
 modified: 0000000000010000 - 000000000009fc00 (usable)
 modified: 000000000009fc00 - 00000000000a0000 (reserved)
 modified: 00000000000e0000 - 0000000000100000 (reserved)
 modified: 0000000000100000 - 000000002ffd0000 (usable)
 modified: 000000002ffd0000 - 000000002ffde000 (ACPI data)
 modified: 000000002ffde000 - 0000000030000000 (ACPI NVS)
 modified: 00000000fec00000 - 00000000fec01000 (reserved)
 modified: 00000000ff780000 - 0000000100000000 (reserved)
init_memory_mapping: 0000000000000000-000000002ffd0000
RAMDISK: 2ff21000 - 2ffbf7a5
ACPI: RSDP 000f6ad0 00014 (v00 ACPIAM)
ACPI: RSDT 2ffd0000 0002C (v01 A M I  OEMRSDT  09000521 MSFT 00000097)
ACPI: FACP 2ffd0200 00084 (v02 A M I  OEMFACP  09000521 MSFT 00000097)
ACPI: DSDT 2ffd0390 03270 (v01  MiniV MiniV080 00000080 INTL 02002026)
ACPI: FACS 2ffde000 00040
ACPI: OEMB 2ffde040 00046 (v01 A M I  AMI_OEM  09000521 MSFT 00000097)
0MB HIGHMEM available.
767MB LOWMEM available.
  mapped low ram: 0 - 2ffd0000
  low ram: 0 - 2ffd0000
  node 0 low ram: 00000000 - 2ffd0000
  node 0 bootmap 00011000 - 00016ffc
(9 early reservations) ==> bootmem [0000000000 - 002ffd0000]
  #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
  #1 [0000001000 - 0000002000]    EX TRAMPOLINE ==> [0000001000 - 0000002000]
  #2 [0000006000 - 0000007000]       TRAMPOLINE ==> [0000006000 - 0000007000]
  #3 [0000100000 - 0000626e44]    TEXT DATA BSS ==> [0000100000 - 0000626e44]
  #4 [002ff21000 - 002ffbf7a5]          RAMDISK ==> [002ff21000 - 002ffbf7a5]
  #5 [0000099c00 - 0000100000]    BIOS reserved ==> [0000099c00 - 0000100000]
  #6 [0000627000 - 0000629230]              BRK ==> [0000627000 - 0000629230]
  #7 [0000010000 - 0000011000]          PGTABLE ==> [0000010000 - 0000011000]
  #8 [0000011000 - 0000017000]          BOOTMAP ==> [0000011000 - 0000017000]
Zone PFN ranges:
  DMA      0x00000010 -> 0x00001000
  Normal   0x00001000 -> 0x0002ffd0
  HighMem  0x0002ffd0 -> 0x0002ffd0
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
    0: 0x00000010 -> 0x0000009f
    0: 0x00000100 -> 0x0002ffd0
Using APIC driver default
ACPI: PM-Timer IO Port: 0x808
SMP: Allowing 1 CPUs, 0 hotplug CPUs
No local APIC present or hardware disabled
PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
Allocating PCI resources starting at 40000000 (gap: 30000000:cec00000)
NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1
PERCPU: Embedded 11 pages at c1606000, static data 24444 bytes
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 194911
Kernel command line: root=/dev/disk/by-uuid/93df0562-c6e6-4583-9a79-51cd2091247b ro console=ttyS0,115200
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
NR_IRQS:512
PID hash table entries: 4096 (order: 12, 16384 bytes)
Fast TSC calibration using PIT
Detected 1326.894 MHz processor.
Console: colour dummy device 80x25
console [ttyS0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Initializing HighMem for node 0 (00000000:00000000)
Memory: 772708k/786240k available (2905k kernel code, 12976k reserved, 1052k data, 392k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xfff4e000 - 0xfffff000   ( 708 kB)
    pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
    vmalloc : 0xf07d0000 - 0xff7fe000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xeffd0000   ( 767 MB)
      .init : 0xc04e3000 - 0xc0545000   ( 392 kB)
      .data : 0xc03d647f - 0xc04dd6a8   (1052 kB)
      .text : 0xc0100000 - 0xc03d647f   (2905 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop (skipped), value calculated using timer frequency.. 2654.36 BogoMIPS (lpj=4422980)
Security Framework initialized
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)
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 10k freed
ACPI: Core revision 20090320
ACPI: setting ELCR to 0200 (from 8c20)
weird, boot CPU (#0) not listed by the BIOS.
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
SMP disabled
Brought up 1 CPUs
Total of 1 processors activated (2654.36 BogoMIPS).
net_namespace: 1056 bytes
Booting paravirtualized kernel on bare hardware
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=1
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S3 S4 S5)
ACPI: Using PIC for interrupt routing
ACPI: Power Resource [URP1] (off)
ACPI: Power Resource [URP2] (off)
ACPI: Power Resource [FDDP] (off)
ACPI: Power Resource [LPTP] (off)
ACPI: No dock devices found.
ACPI: PCI Root Bridge [PCI0] (0000:00)
pci 0000:00:07.0: PME# supported from D0 D3hot D3cold
pci 0000:00:07.0: PME# disabled
pci 0000:00:10.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:10.0: PME# disabled
pci 0000:00:10.1: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:10.1: PME# disabled
pci 0000:00:10.2: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:10.2: PME# disabled
HPET not enabled in BIOS. You might try hpet=force boot option
pci 0000:00:11.0: quirk: region 0800-087f claimed by vt8235 PM
pci 0000:00:11.0: quirk: region 0400-040f claimed by vt8235 SMB
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 11 12 14 *15)
PCI: Using ACPI for IRQ routing
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 10 devices
ACPI: ACPI bus type pnp unregistered
system 00:05: ioport range 0xe900-0xe90f has been reserved
system 00:05: ioport range 0xea00-0xea0f has been reserved
system 00:05: ioport range 0xeb00-0xeb2f has been reserved
system 00:05: ioport range 0xec00-0xec7f has been reserved
system 00:05: ioport range 0xe800-0xe83f has been reserved
system 00:07: ioport range 0x3e0-0x3e7 has been reserved
system 00:07: ioport range 0x4d0-0x4d1 has been reserved
system 00:07: ioport range 0x800-0x87f has been reserved
system 00:07: ioport range 0x400-0x41f could not be reserved
system 00:09: iomem range 0x0-0x9ffff could not be reserved
system 00:09: iomem range 0xe0000-0xfffff could not be reserved
system 00:09: iomem range 0x100000-0x2fffffff could not be reserved
pci 0000:00:01.0: PCI bridge, secondary bus 0000:01
pci 0000:00:01.0:   IO window: disabled
pci 0000:00:01.0:   MEM window: 0xddd00000-0xdfdfffff
pci 0000:00:01.0:   PREFETCH window: 0x000000d5c00000-0x000000ddbfffff
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
NET: Registered protocol family 1
Unpacking initramfs...
Freeing initrd memory: 633k freed
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
Scanning for low memory corruption every 60 seconds
audit: initializing netlink socket (disabled)
type=2000 audit(1248948860.509:1): initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
msgmni has been set to 1510
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci 0000:00:01.0: disabling DAC on VIA PCI bridge
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
input: Macintosh mouse button emulation as /devices/virtual/input/input0
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
cpuidle: using governor ladder
cpuidle: using governor menu
TCP cubic registered
NET: Registered protocol family 17
Using IPI No-Shortcut mode
registered taskstats version 1
Initalizing network drop monitor service
Freeing unused kernel memory: 392k freed
:: Loading Initramfs
:: Running Hook [udev]
:: Loading udev...SCSI subsystem initialized
pata_acpi 0000:00:11.1: can't derive routing for PCI INT A
pata_acpi 0000:00:11.1: can't derive routing for PCI INT A
done.
Waiting 10 seconds for device /dev/disk/by-uuid/93df0562-c6e6-4583-9a79-51cd2091247b ...

Root device '/dev/disk/by-uuid/93df0562-c6e6-4583-9a79-51cd2091247b' doesn't exist, attempting to create it
ERROR: Failed to parse block device ids for '/dev/disk/by-uuid/93df0562-c6e6-4583-9a79-51cd2091247b'
ERROR: Unable to detect or create root device '/dev/disk/by-uuid/93df0562-c6e6-4583-9a79-51cd2091247b'
You are being dropped to a recovery shell
    Type 'reboot' to reboot
    Type 'exit' to try and continue booting
NOTE: klibc contains no 'ls' binary, use 'echo *' instead

If the device '/dev/disk/by-uuid/93df0562-c6e6-4583-9a79-51cd2091247b' gets created while you are here,
try adding 'rootdelay=10' or higher to the kernel command-line
ramfs$

I think what is happening is that the kernel does not have the drivers for the IDE controller on the board for the CLE266/VT8235. Does this seem accurrate? And if so, how can I verify the current kernel config, then compile a kernel with everything else Arch needs to boot properly? I am familiar with the old means of setting up a kernel using the 'make menuconfig; make; make modules_install' etc method.

Thanks for the help in advance!


There - At that location; Their - Belonging to them; They're - An abbreviation of "They are"
Your - Belonging to you; You're - An abbreviation of "You are"; Ur -An ancient Mesopotamian city

Offline

#2 2009-07-30 17:30:54

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: Failed boot after moving hard drive (IDE not SATA)

Hello
Try this:
When you will be in Grub edit your arch kernel line and change /dev/dsik/by/uiid/stuff to /dev/device where you have installed arch or your boot partition wink


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#3 2009-07-30 18:24:45

mastergara
Member
Registered: 2007-10-05
Posts: 12

Re: Failed boot after moving hard drive (IDE not SATA)

SpeedVin:

Thank you for the advice. I should have mentioned that is something I did try:) Both hda and sda, with no success sad

My concern is that I am a leetle bit clueless in regards to the driver loading and the lack of what I would expect to see it identifying the IDE controllers. I think I would see the controller showing like VP-IDE, then showing the partitions as well. Thanks again for information. big_smile


There - At that location; Their - Belonging to them; They're - An abbreviation of "They are"
Your - Belonging to you; You're - An abbreviation of "You are"; Ur -An ancient Mesopotamian city

Offline

#4 2009-07-30 21:05:30

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Failed boot after moving hard drive (IDE not SATA)

Hello Mastergara!

What kind of driver loading ? Your kernel is okay, i think, if you use official one smile

Offline

#5 2009-08-22 15:58:21

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Re: Failed boot after moving hard drive (IDE not SATA)

Hey guys, I built a custom kernel yesterday and I got the same as mastergara, it doesn't go through to kinit. Is there anyway to compare the config options that are in use of another kernel? Because I have built other kernels before, hell the one I'm using was built this way.
I'm going to try to review it, as mastergara said maybe we disabled some option. Check back later.

edit: Well I got it to work - somehow I forgot to add sata support for nforce4, late hours at the computer, it has happened before - just make sure you have at least the generic drivers for sata and ide and all that.
Oh yeah, almost forgot, I have latest mkinitcpio, used pkgbuild from abs, so I don't think it's mkinitcpio's fault. And in menu.lst I have partitions by uid's, no problems there.
edit2: I found this, maybe useful sometime http://kernel.xc.net/

cheers

Last edited by s3kt0r (2009-08-23 00:16:04)


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

#6 2009-10-17 21:16:36

kchris
Member
Registered: 2009-10-17
Posts: 1

Re: Failed boot after moving hard drive (IDE not SATA)

Hi, not sure if this is still causing you an issue, but I just ran into the same problem.

For me, I have a Sharp PC=MM1110 which has no cd drive and doesn't like to boot from USB. To get Arch installed on it, I had to attach it to another PC (via it's docking cradle, which lets it show up as a USB hard drive), then boot the other PC from an Arch install cd and select the USB hdd for all of the partitioning etc.

When I rebooted after the installation, the Sharp wouldn't boot.

First, I had to edit the grub menu entry to point to (hd0,0), at which point I got the error listed in the first post... Failed to parse block device id's.

If i booted into fallback mode, it booted without a problem.

For me, the solution to finally get it working was to boot into fallback mode, remount the filesystem as r/w, and run mkinitcpio -g filename to rebuild the kernel. Once completed all I had to do was point grub to the new kernel image and it booted ok.

Hope this is useful to someone smile

Offline

Board footer

Powered by FluxBB