Other Parts Discussed in Thread: DA8XX
This one doesn't make much sense but see if anyone has any ideas. Am running Ubuntu under VmWare Windows. Have an environment which was working fine for buiding kernels, then integrated DSPLink and GDB 6.8. Things were fine until I went back and decided to build the kernel again and now can't mount root from USB pen drive anymore. Even if use default TI configuration with USB/SCSI enabled. To confirm I went to a backup Ubuntu VMWare image, and built, tested, fine, thus took that .config file to the problem installation figuring I was just missing something in xconfig. Did a distclean, copied good .config file in, built, USB booting still won't work, see's the pen drive information and partition size.
Thought possibly USB pen drive roached so used the uImage from backup Ubuntu (prior to gdb and DSPLink) and same .config, boots fine. Thus pen drive is fine.
Get's worse, figure something in kernel code is roached so extracted baseline linux-2.6.18_pro500 and used working .config, rebuilt... USB same problem... Saved off /opt/montavista and re-installed (removed any extra exports in .bashrc), rebuilt... USB still not mounting root. I can go back to backup Ubuntu and do the gdb and DSPLink again but may end up where am at now so would rather understand... enabled debug messages for USB as well and didn't see anything. Below is booting information if someone can see anything that knows area better than I. Tried both low latency and PREEMPT builds (which is what I was using), but same issue.
What is weird is it can see the 16G pen drive enough to get below info and partition size? Was wondering if with the additions of gdb/DSPLink caused a timing problem but I backed them out and still issue, almost like something is being picked up in the build that shouldn't be:
Vendor: Kingston Model: DataTraveler G2 Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 31367168 512-byte hdwr sectors (16060 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
SCSI device sda: 31367168 512-byte hdwr sectors (16060 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
sda: sda1 sda2
sd 0:0:0:0: Attached scsi removable disk sda <----------- hangs here for a while then tries NFS due to failure
Good uImage that was also a new build (same .config) is below:
Switched to high resolution mode on CPU 0
Sending DHCP requests ..<5> Vendor: Kingston Model: DataTraveler G2 Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 31367168 512-byte hdwr sectors (16060 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
SCSI device sda: 31367168 512-byte hdwr sectors (16060 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
sda: sda1 sda2
sd 0:0:0:0: Attached scsi removable disk sda
., OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 12.40.53.62
IP-Config: Complete:
device=eth0, addr=12.40.53.62, mask=255.255.255.0, gw=12.40.53.46,
host=12.40.53.62, domain=ctc-control.com, nis-domain=(none),
bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 180K
INIT: version 2.86 booting
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
Activating swap...done.
Remounting root filesystem...done.
Bad uImage more boot information below:
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 256 (order: -2, 1024 bytes)
TCP established hash table entries: 1024 (order: 3, 32768 bytes)
TCP bind hash table entries: 512 (order: 1, 14336 bytes)
TCP: Hash tables configured (established 1024 bind 512)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 3.1 (2006/08/19) Phillip Lougher
JFFS version 1.0, (C) 1999, 2000 Axis Communications AB
JFFS2 version 2.2. (NAND) (SUMMARY) (C) 2001-2006 Red Hat, Inc.
yaffs Jun 25 2009 10:58:36 Installing.
SGI XFS with no debug enabled
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
LTT : ltt-facilities init
LTT : ltt-facility-core init in kernel
DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec
Serial: 8250/16550 driver $Revision: 1.90 $ 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO map 0x1c42000 mem 0xfec42000 (irq = 25) is a 16550A
serial8250.0: ttyS1 at MMIO map 0x1c20400 mem 0xfed0c000 (irq = 53) is a 16550A
serial8250.0: ttyS2 at MMIO map 0x1d0d000 mem 0xfed0d000 (irq = 61) is a 16550A
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
Davinci EMAC MII Bus: probed
MAC address is 00:0e:99:02:f2:a8
TI DaVinci EMAC Linux version updated 4.0
i2c /dev entries driver
Creating 3 MTD partitions on "Windbond spi nand flash":
0x00000000-0x00040000 : "U-Boot"
0x00040000-0x00044000 : "U-Boot Environment"
0x00044000-0x00400000 : "Linux"
dm_spi.0: davinci SPI Controller driver at 0xc285c000 (irq = 20) use_dma=1
dm_spi.1: davinci SPI Controller driver at 0xc285e000 (irq = 56) use_dma=1
ohci ohci.0: DA8xx OHCI
ohci ohci.0: new USB bus registered, assigned bus number 1
Waiting for USB PHY clock good...
ohci ohci.0: irq 59, io mem 0x01e25000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usb 1-1: new full speed USB device using ohci and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver libusual
musb_hdrc: version 6.0, cppi4.1-dma, host, debug=0
Waiting for USB PHY clock good...
musb_hdrc: USB Host mode controller at c2860000 using DMA, IRQ 58
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
mice: PS/2 mouse device common for all mice
rtc-da8xx rtc-da8xx.0: rtc intf: proc
rtc-da8xx rtc-da8xx.0: rtc intf: dev (254:0)
rtc-da8xx rtc-da8xx.0: rtc core: registered rtc-da8xx as rtc0
rtc-da8xx rtc-da8xx.0: TI DA8xx Real Time Clock driver.
davinci-mmc davinci-mmc.0: Supporting 8-bit mode
davinci-mmc davinci-mmc.0: Supporting 4-bit mode
davinci-mmc davinci-mmc.0: Using DMA mode
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
ASoC version 0.13.1
AIC3X Audio Codec 0.2
asoc: aic3x <-> davinci-i2s mapping ok
ALSA device list:
#0: DA8XX EVM (aic3x)
IPv4 over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
rtc-da8xx rtc-da8xx.0: setting the system clock to 2000-02-26 01:23:08 (951528188)
Time: timer0_1 clocksource has been installed.
Clock event device timer0_0 configured with caps set: 08
Switched to high resolution mode on CPU 0
Sending DHCP requests .., OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 12.40.53.62
IP-Config: Complete:
device=eth0, addr=12.40.53.62, mask=255.255.255.0, gw=12.40.53.46,
host=12.40.53.62, domain=ctc-control.com, nis-domain=(none),
bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=
Looking up port of RPC 100003/2 on 0.0.0.0
Vendor: Kingston Model: DataTraveler G2 Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 31367168 512-byte hdwr sectors (16060 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
SCSI device sda: 31367168 512-byte hdwr sectors (16060 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
sda: sda1 sda2
sd 0:0:0:0: Attached scsi removable disk sda <----------------------------------------hangs here for a while, until timeout
portmap: server 0.0.0.0 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 0.0.0.0
portmap: server 0.0.0.0 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
mount: server 0.0.0.0 not responding, timed out
Root-NFS: Server returned error -5 while mounting /tftpboot/12.40.53.62
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "sda2" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)