HELP: reboot problem

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


hi, all
when i compile 2.6.14 kernel without IDE support for my arm board,  
busybox reboot works  fine. when i
compile with IDE support and attach a IDE disk, boot ok , and i can 
mount the ide disk, read and write. but
reboot hang.  i have tried this patch:

diff --git a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c
index 234f5de..71bead5 100644
--- a/drivers/ide/ide-disk.c
+++ b/drivers/ide/ide-disk.c
@@ -498,6 +498,8 @@ static inline void idedisk_check_hpa(ide
              capacity, sectors_to_MB(capacity),
              set_max, sectors_to_MB(set_max));
 
+    return;
+
     if (lba48)
         set_max = idedisk_set_max_address_ext(drive, set_max);
     else

---

reboot still hang.

could anyone give me some ideas.
Thanks  in advance
jpu

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Linux ARM]     [Linux ARM MSM]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

Add to Google Follow linuxarm on Twitter