hi Jason,
This is our "ifconfig" and our "dmesg" screen shot after the boot:('tgtap'
is never mentionned in the "dmesg" messages??)
regards,
------- here is: ifconfig : ----------------------
(none):~# ifconfig
eth0 Link encap:Ethernet HWaddr 02:00:00:03:01:43
inet addr:192.168.3.3 Bcast:192.168.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:983 (983.0 b) TX bytes:444 (444.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
(none):~#
======================'dmesg' ====================================
Hit any key to stop autoboot: 0
=> run usbboot
WARNING: adjusting available memory to 30000000
## Booting kernel from Legacy Image at fc000000 ...
Image Name: Linux-2.6.25-svn2382-dirty3
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1399105 Bytes = 1.3 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
id mach(): done
MMU:enter
MMU:hw init
MMU:mapin
MMU:setio
MMU:exit
setup_arch: enter
setup_arch: bootmem
ocp: exit
arch: exit
Linux version 2.6.25-svn2382-dirty3 (m...@seif) (gcc version 4.0.0 (DENX
ELDK 4.0 4.0.0)) #23 Tue Nov 10 15:30:48 SAST 209
AMCC PowerPC 440EPx Roach Platform
Zone PFN ranges:
DMA 0 -> 262143
Normal 262143 -> 262143
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0 -> 262143
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096
Kernel command line: console=ttyS0,115200
mtdparts=physmap-flash.0:1792k(linux),2...@0x1c0000(fdt),81...@0x200000
(root),51
PID hash table entries: 4096 (order: 12, 16384 bytes)
console [ttyS0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1036416k available (2092k kernel code, 728k data, 132k init, 0k
highmem)
Mount-cache hash table entries: 512
BORPH version CVS-$Revision: 1.10 $ Initialized
net_namespace: 152 bytes
NET: Registered protocol family 16
PCI: Probing PCI hardware
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
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: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
hwrtype_roach version CVS-$Revision: 1.1 $ registered
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
io scheduler noop registered (default)
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
serial8250: ttyS2 at MMIO 0x0 (irq = 35) is a 16550A
serial8250: ttyS3 at MMIO 0x0 (irq = 36) is a 16550A
brd: module loaded
PPC 4xx OCP EMAC driver, version 3.54
mal0: initialized, 2 TX channels, 2 RX channels
rgmii0: input 0 in RGMII mode
eth0: emac0, MAC 02:00:00:03:01:43
eth0: found Generic MII PHY (0x1e)
rgmii0: input 1 in RGMII mode
emac1: can't find PHY!
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
Driver 'sd' needs updating - please use bus_type methods
physmap platform flash device: 04000000 at fc000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
physmap-flash.0: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
mtd: bad character after partition (f)
6 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 6 MTD partitions on "physmap-flash.0":
0x00000000-0x001c0000 : "linux"
0x001c0000-0x00200000 : "fdt"
0x00200000-0x00a00000 : "root"
0x00a00000-0x03f60000 : "usr"
0x03f60000-0x03fa0000 : "env"
0x03fa0000-0x04000000 : "uboot"
ppc-soc-ehci ppc-soc-ehci.0: PPC-SOC EHCI
ppc-soc-ehci ppc-soc-ehci.0: new USB bus registered, assigned bus number 1
ppc-soc-ehci ppc-soc-ehci.0: irq 26, io mem 0xe0000300
ppc-soc-ehci ppc-soc-ehci.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: PPC-SOC EHCI
usb usb1: Manufacturer: Linux 2.6.25-svn2382-dirty3 ehci_hcd
usb usb1: SerialNumber: PPC-SOC EHCI
Initializing USB Mass Storage driver...
usb 1-1: new high speed USB device using ppc-soc-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
usb 1-1: New USB device found, idVendor=1b1c, idProduct=1ab1
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: Flash Voyager
usb 1-1: Manufacturer: Corsair
usb 1-1: SerialNumber: AA04012700008442
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
i2c /dev entries driver
IBM IIC driver v2.1
ibm-iic0: using standard (100 kHz) mode
ibm-iic1: using standard (100 kHz) mode
rmon: found Roach Monitor - Rev 8.3.1698
rmon_sensors: initialized 23 sensors
rmon 0-000f: rtc core: registered rmon as rtc0
roach_mmc: Roach MMC/SD driver
rmmc: initialized mmc
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rmon 0-000f: setting system clock to 2089-03-03 03:10:50 UTC (3760657850)
Waiting 8sec before mounting root device...
scsi 0:0:0:0: Direct-Access Corsair Flash Voyager 1100 PQ: 0 ANSI: 0
CCS
sd 0:0:0:0: [sda] 15532032 512-byte hardware sectors (7952 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 15532032 512-byte hardware sectors (7952 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 132k init
INIT: version 2.86 booting
warning: can't open /etc/mtab: No such file or directory
hostname: No such file or directory
INIT: Entering runlevel: 2
Starting OpenBSD Secure Shell server: sshd.
Error : Temporary failure in name resolution
25 Jan 20:42:43 ntpdate[213]: can't find host paper1
25 Jan 20:42:43 ntpdate[213]: no servers can be used, exiting
tcpborphserver: starting
setup: unable to register hardware sensors
tcpborphserver: unable to set up poco logic
eth0: interrupt coalescing (RX:count=8 time=1000, TX:count=8 time=1000)
eth0: link is up, 1000 FDX, pause enabled
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
25 Jan 20:42:43 ntpdate[228]: step time server 193.55.144.156 offset
1820052862.157292 sec
Debian GNU/Linux 4.0 (none) ttyS0
(none) login: root
(none):~# ls
(none):~# dmesg
Linux version 2.6.25-svn2382-dirty3 (m...@seif) (gcc version 4.0.0 (DENX
ELDK 4.0 4.0.0)) #23 Tue Nov 10 15:30:48 SAST 209
AMCC PowerPC 440EPx Roach Platform
Entering add_active_range(0, 0, 262143) 0 entries of 256 used
Zone PFN ranges:
DMA 0 -> 262143
Normal 262143 -> 262143
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0 -> 262143
On node 0 totalpages: 262143
DMA zone: 2047 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 260096 pages, LIFO batch:31
Normal zone: 0 pages used for memmap
Movable zone: 0 pages used for memmap
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096
Kernel command line: console=ttyS0,115200
mtdparts=physmap-flash.0:1792k(linux),2...@0x1c0000(fdt),81...@0x200000
(root),51
PID hash table entries: 4096 (order: 12, 16384 bytes)
console [ttyS0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1036416k available (2092k kernel code, 728k data, 132k init, 0k
highmem)
Calibrating delay loop... 747.52 BogoMIPS (lpj=1495040)
Mount-cache hash table entries: 512
BORPH version CVS-$Revision: 1.10 $ Initialized
net_namespace: 152 bytes
binfmt_bof: binfmt_bof v4 loaded
NET: Registered protocol family 16
PCI: Probing PCI hardware
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
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: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
hwrtype_roach version CVS-$Revision: 1.1 $ registered
hwrtype_roach: roach: cpld iomem at 0x1c0000000:0x1c0001000 mapped to
0xe1000000
hwrtype_roach: roach: smap iomem at 0x1c0100000:0x1c0200000 mapped to
0xe1080000
hwrtype_roach: roach: ebc iomem at 0x1d0000000:0x1d8000000 mapped to
0xe1200000
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
io scheduler noop registered (default)
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
serial8250: ttyS2 at MMIO 0x0 (irq = 35) is a 16550A
serial8250: ttyS3 at MMIO 0x0 (irq = 36) is a 16550A
brd: module loaded
PPC 4xx OCP EMAC driver, version 3.54
mal0: initialized, 2 TX channels, 2 RX channels
rgmii0: input 0 in RGMII mode
eth0: emac0, MAC 02:00:00:03:01:43
eth0: found Generic MII PHY (0x1e)
rgmii0: input 1 in RGMII mode
emac1: can't find PHY!
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
Driver 'sd' needs updating - please use bus_type methods
physmap platform flash device: 04000000 at fc000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
physmap-flash.0: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
mtd: bad character after partition (f)
6 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 6 MTD partitions on "physmap-flash.0":
0x00000000-0x001c0000 : "linux"
0x001c0000-0x00200000 : "fdt"
0x00200000-0x00a00000 : "root"
0x00a00000-0x03f60000 : "usr"
0x03f60000-0x03fa0000 : "env"
0x03fa0000-0x04000000 : "uboot"
ppc-soc-ehci ppc-soc-ehci.0: PPC-SOC EHCI
ppc-soc-ehci ppc-soc-ehci.0: new USB bus registered, assigned bus number 1
ppc-soc-ehci ppc-soc-ehci.0: irq 26, io mem 0xe0000300
ppc-soc-ehci ppc-soc-ehci.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: PPC-SOC EHCI
usb usb1: Manufacturer: Linux 2.6.25-svn2382-dirty3 ehci_hcd
usb usb1: SerialNumber: PPC-SOC EHCI
Initializing USB Mass Storage driver...
usb 1-1: new high speed USB device using ppc-soc-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
usb 1-1: New USB device found, idVendor=1b1c, idProduct=1ab1
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: Flash Voyager
usb 1-1: Manufacturer: Corsair
usb 1-1: SerialNumber: AA04012700008442
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
i2c /dev entries driver
IBM IIC driver v2.1
ibm-iic0: using standard (100 kHz) mode
ibm-iic1: using standard (100 kHz) mode
rmon: found Roach Monitor - Rev 8.3.1698
rmon_sensors: initialized 23 sensors
rmon 0-000f: rtc core: registered rmon as rtc0
roach_mmc: Roach MMC/SD driver
rmmc: initialized mmc
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rmon 0-000f: setting system clock to 2089-03-03 03:10:50 UTC (3760657850)
Waiting 8sec before mounting root device...
scsi 0:0:0:0: Direct-Access Corsair Flash Voyager 1100 PQ: 0 ANSI: 0
CCS
sd 0:0:0:0: [sda] 15532032 512-byte hardware sectors (7952 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 15532032 512-byte hardware sectors (7952 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
usb-storage: device scan complete
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 132k init
eth0: interrupt coalescing (RX:count=8 time=1000, TX:count=8 time=1000)
eth0: link is up, 1000 FDX, pause enabled
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
(none):~#
==========================================================
On Tue, Sep 28, 2010 at 3:19 PM, Jason Manley <[email protected]> wrote:
> ok, so your problem is that tgtap isn't starting. dmesg might provide some
> clue. Also check ifconfig that there's no existing nic device with that same
> name. You can also try'n run tgtap manually from the command line during
> debugging and see what errors it gives.
>
> If all else fails, try rebooting your ROACH board so that you start from a
> known state. This really shouldn't be necessary though.
>
> Jason
>
>