Howdy, I have a board PPC405GP DHT-Walnut. It has # two pci slots, keyed for 5V only cards # Promise Technologies PDC20265 IDE After attaching an IDE driver to the slot, uboot recognizes it: IDE: Bus 0: OK Device 0: Model: SanDisk SDCFJ-2048 Firm: HDX 4.03 Ser#: 003405D2697E4543 Type: Removable Hard Disk Capacity: 1953.9 MB = 1.9 GB (4001760 x 512) Device 1: not available
Well. Then I load linux kernel 2.6.24 which compiled against the default configuration for Walnut board. From the boot log, it seems the kernel fails to recognize IDE drive. It tells nothing about IDE. Next, I recompile the kernel by selecting ATA, SATA... (all IDE related options) in "make xconfig". However, the new kernel still fails for IDE. And in the shell: # fdisk -l // displays nothing # fdisk /dev/hda // can't open /dev/hda. But the nodes in /dev // have been created properly by using // ELDK_MAKEDEV script. My question is how to let linux kernel recognize my IDE? I think it should be easy since uboot gets success, why not kernel? For your information, I list the boot log here: Linux version 2.6.24.2 ([EMAIL PROTECTED]) (gcc version 4.2.2) #3 Wed May 21 16:17:26 CST 2008 IBM Walnut port (C) 2000-2002 MontaVista Software, Inc. ([EMAIL PROTECTED]) Zone PFN ranges: DMA 0 -> 8192 Normal 8192 -> 8192 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0 -> 8192 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 Kernel command line: root=/dev/nfs rw nfsroot=192.168.1.102:/work/eldk/usr/src/rootfs ip=192.168.1.200:192.168.1.100:::walnut:eth0:off panic=1 console=ttyS0,115200 PID hash table entries: 128 (order: 7, 512 bytes) Warning: real time clock seems stuck! console [ttyS0] enabled Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory: 29872k available (1976k kernel code, 480k data, 132k init, 0k highmem) SLUB: Genslabs=11, HWalign=32, Order=0-1, MinObjects=4, CPUs=1, Nodes=1 Mount-cache hash table entries: 512 net_namespace: 64 bytes NET: Registered protocol family 16 PCI: Probing PCI hardware PCI: Cannot allocate resource region 4 of device 0000:00:04.0 SCSI subsystem initialized NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 1024 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP reno registered io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered Generic RTC Driver v1.07 Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled serial8250: ttyS0 at MMIO 0x0 (irq = 0) is a 16550A serial8250: ttyS1 at MMIO 0x0 (irq = 1) is a 16550A RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: module loaded PPC 4xx OCP EMAC driver, version 3.54 mal0: initialized, 1 TX channels, 1 RX channels eth0: emac0, MAC de:ad:be:ef:00:00 eth0: found Generic MII PHY (0x09) Found: AMD AM29LV040B PPC40x-flash: Found 1 x8 devices at 0x0 in 8-bit bank number of JEDEC chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. Creating 3 MTD partitions on "PPC40x-flash": 0x00000000-0x00020000 : "reserved" 0x00020000-0x00040000 : "env" 0x00040000-0x00080000 : "u-boot" TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 RPC: Registered udp transport module. RPC: Registered tcp transport module. eth0: link is down eth0: link is up, 100 FDX IP-Config: Guessing netmask 255.255.255.0 IP-Config: Complete: device=eth0, addr=192.168.1.200, mask=255.255.255.0, gw=255.255.255.255, host=walnut, domain=, nis-domain=(none), bootserver=192.168.1.100, rootserver=192.168.1.102, rootpath= Looking up port of RPC 100003/2 on 192.168.1.102 Looking up port of RPC 100005/1 on 192.168.1.102 VFS: Mounted root (nfs filesystem). Freeing unused kernel memory: 132k init init started: BusyBox v1.10.2 (2008-05-20 19:17:04 CST) # Thank you in advance! --- ShenLei ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users