"Young, Joseph" <x0111...@ti.com> writes:

> Hello again,
>  
> I am having problems mounting the attached hard drive (partition hda1) on the
> DM644 DVEVM board.
> When booting, I get this output regarding the IDE driver:
>  
> Uniform Multi-Platform E-IDE driver
> ide-gd driver 1.18
>     ide0: MMIO-DMA
> Probing IDE interface ide0...
> ide0 at 0xfec661f0-0xfec661f7,0xfec663f6 on irq 22
> Driver 'sd' needs updating - please use bus_type methods
>  
> However, it does not list the partitions hda, hda1, and hda2. When I boot with
> the included montavista uImage, I am able to connect to the hda1 partition
> fine. Its boot output is:
>  
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
> hda: TOSHIBA MK4032GAX, ATA DISK drive
> elevator: using anticipatory as default io scheduler
> ide0 at 0xe10661f0-0xe10661f7,0xe10663f6 on irq 22
> hda: max request size: 1024KiB
> hda: 78140160 sectors (40007 MB), CHS=16383/255/63
>  hda: hda1 hda2
>     ide0: BM-DMA at 0xe1066000-0xe1066007, BIOS settings: hda:pio, hdb:pio
>  
> In my ramdisk, the hda, hda1, and hda2 nodes didn't exist, so I used mknod to
> create them:
>  
> mknod /dev/hda b 3 0
> mknod /dev/hda1 b 3 1
> mknod /dev/hda2 b 3 2
>  
> However, mounting returns this error:
> # mount -t ext3 /dev/hda1 /mnt/hdfs/
> mount: /dev/hda1 is not a valid block device
>  
> 'fdisk -l' also does not display any devices.
>  
> As one can see by the logs below, linux sees the IDE device (ide0), but not 
> the
> partitions, and will not let me connect to them. Has anyone had this problem,
> or knows what I am doing wrong? 

I have seen this problem as well, but have not tracked it down.

Kevin

> I believe that I have enabled all of the
> necessary ide, ata, and scsi kernel configs, but is there perhaps one I am
> missing?
>  
> Thanks and regards,
> Joe
>  
>  
>  
>  
>  
>  
> Linux version: 2.6.29-davinci1
>  
> # ls -la /dev/hda*
> brw-r--r--    1 root     root       3,   0 Jan  1 00:56 /dev/hda
> brw-r--r--    1 root     root       3,   1 Jan  1 00:56 /dev/hda1
> brw-r--r--    1 root     root       3,   2 Jan  1 00:56 /dev/hda2
>  
> /proc/devices:
> --------------
> Block devices:
>   1 ramdisk
>   3 ide0
> 259 blkext
>   8 sd
>  65 sd
>  66 sd
>  67 sd
>  68 sd
>  69 sd
>  70 sd
>  71 sd
> 128 sd
> 129 sd
> 130 sd
> 131 sd
> 132 sd
> 133 sd
> 134 sd
> 135 sd
>  
> /proc/interrupts:
> ---------------
>            CPU0
>   8:          0       AINTC  davincifb
>  13:        149       AINTC  eth0
>  16:          0       AINTC  edma
>  17:          0       AINTC  edma_error
>  22:          1       AINTC  ide0
>  32:     103709       AINTC  clockevent
>  33:         88       AINTC  free-run counter
>  39:          0       AINTC  i2c_davinci
>  40:      14994       AINTC  serial
>  
> fstab:
> -------------------
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point>   <type>  <options>                       
> <dump> 
> <pass>
> /dev/root       /               auto    defaults,errors=remount-ro      0 0
> none            /proc           proc    noauto                  0 0
> none            /sys            sysfs   noauto                  0 0
> none            /dev/pts        devpts  noauto,gid=5,mode=620           0 0
> none            /dev/shm        tmpfs   noauto                  0 0
> none            /var/run        tmpfs   defaults                        0 0
> none            /tmp    tmpfs   defaults                        0 0
>  
> #added by me
> /dev/hda1       /mnt/hdfs       ext3    noauto,user,ro          1 2
> bootargs:
> ------------------------------------
> bootdelay=3
> baudrate=115200
> bootcmd=tftpboot 0x85000000 ramdisk2.gz; nboot 0x80700000 0 0x2060000; bootm
> 0x80700000
> bootfile=uImage_ide
> filesize=14580c
> fileaddr=80700000
> ipaddr=137.167.205.100
> serverip=137.167.205.122
> stdin=serial
> stdout=serial
> stderr=serial
> ethaddr=00:0e:99:02:58:d3
> videostd=ntsc
> bootargs=mem=120M console=ttyS0,115200n8 ip=dhcp root=/dev/ram0 rw initrd=
> 0x85000000,8M init=/sbin/init
> Environment size: 582/16380 bytes
> _______________________________________________
> Davinci-linux-open-source mailing list
> Davinci-linux-open-source@linux.davincidsp.com
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to