Thank you for helping with this issue. I am attaching the init script:
mount -a modprobe g_ether sleep 1 ifconfig usb0 10.0.1.83 netmask 255.255.255.0 /usr/sbin/inetd -f& sleep 1 /usr/sbin/udhcpd the dmesg output after boot, and the configuration of busybox. I am working with a device made by another people, so I have not compiled the kernel. I have requested them the kernel .config file, so as soon as I receive it, I will be able to email it. I am really lost with this problem, I have no idea on what may be happening.... 2009/10/14 Gilles Espinasse <[email protected]> > Selon Ruben Lagar <[email protected]>: > > > I have commented out that line, to test the behaviour of the server > without > > the bindtodevice option. > > > > Now, when I run it, I have: > > > > ./busybox udhcpd -f > > > > udhcpd (v1.14.1) started > > > > and that's it, the daemon stops and nothing else happens. Is it possible > to > > check some log, or set some debug parameter? > > > > Thanks! > > > > > For what reason did you not run with bb v1.14.4? > > You should attach busybox and kernel .config. > The problem could be there. > > > Gilles >
<5>Linux version 2.6.27 (epasc...@linux-data) (gcc version 4.2.0 20070413 (prerelease) (CodeSourcery Sourcery G++ Lite 2007q1-10)) #108 Wed Jun 24 13:20:09 CEST 2009 <4>CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 <4>Machine: Atmel AT91SAM9260-EK <4>Memory policy: ECC disabled, Data cache writeback <7>On node 0 totalpages: 16384 <7>free_area_init_node: node 0, pgdat c02e71e0, node_mem_map c0305000 <7> DMA zone: 16256 pages, LIFO batch:3 <4>Clocks: CPU 198 MHz, master 49 MHz, main 18.432 MHz <4>CPU0: D VIVT write-back cache <4>CPU0: I cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets <4>CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets <4>Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 <5>Kernel command line: mem=64M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2 <6>AT91: 96 gpio irqs in 3 banks <4>PID hash table entries: 256 (order: 8, 1024 bytes) <4>Console: colour dummy device 80x30 <6>console [ttyS0] enabled <6>Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) <6>Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) <6>Memory: 64MB = 64MB total <5>Memory: 61804KB available (2712K code, 222K data, 120K init) <6>Calibrating delay loop... 99.12 BogoMIPS (lpj=495616) <4>Mount-cache hash table entries: 512 <6>CPU: Testing write buffer coherency: ok <6>net_namespace: 288 bytes <6>NET: Registered protocol family 16 <6>AT91: Power Management <6>AT91: Starting after general reset <5>SCSI subsystem initialized <6>usbcore: registered new interface driver usbfs <6>usbcore: registered new interface driver hub <6>usbcore: registered new device driver usb <6>NET: Registered protocol family 2 <6>IP route cache hash table entries: 1024 (order: 0, 4096 bytes) <6>TCP established hash table entries: 2048 (order: 2, 16384 bytes) <6>TCP bind hash table entries: 2048 (order: 1, 8192 bytes) <6>TCP: Hash tables configured (established 2048 bind 2048) <6>TCP reno registered <6>NET: Registered protocol family 1 <4>NetWinder Floating Point Emulator V0.97 (double precision) <6>JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. <6>msgmni has been set to 120 <6>io scheduler noop registered <6>io scheduler anticipatory registered (default) <6>atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL <6>atmel_usart.1: ttyS1 at MMIO 0xfffb0000 (irq = 6) is a ATMEL_SERIAL <6>atmel_usart.3: ttyS3 at MMIO 0xfffd0000 (irq = 23) is a ATMEL_SERIAL <6>atmel_usart.4: ttyS4 at MMIO 0xfffb4000 (irq = 7) is a ATMEL_SERIAL <6>brd: module loaded <6>loop: module loaded <4>Driver 'sd' needs updating - please use bus_type methods <6>NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit) <6>AT91 NAND: 8-bit, Software ECC <6>Scanning device for bad blocks <4>Bad eraseblock 426 at 0x03540000 <5>Creating 3 MTD partitions on "atmel_nand": <5>0x00000000-0x00400000 : "Bootstrap" <5>0x00400000-0x04000000 : "Partition 1" <5>0x04000000-0x10000000 : "Partition 2" <5>usbmon: debugfs is not available <7>ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver <6>at91_ohci at91_ohci: AT91 OHCI <6>at91_ohci at91_ohci: new USB bus registered, assigned bus number 1 <6>at91_ohci at91_ohci: irq 20, io mem 0x00500000 <6>usb usb1: configuration #1 chosen from 1 choice <6>hub 1-0:1.0: USB hub found <6>hub 1-0:1.0: 2 ports detected <6>Initializing USB Mass Storage driver... <6>usbcore: registered new interface driver usb-storage <6>USB Mass Storage support registered. <6>udc: at91_udc version 3 May 2006 <6>mice: PS/2 mouse device common for all mice <6>input: gpio-keys as /class/input/input0 <6>rtc-at91sam9 at91_rtt.0: rtc core: registered at91_rtt as rtc0 <4>rtc-at91sam9 at91_rtt.0: rtc0: SET TIME! <6>i2c /dev entries driver <6>i2c-gpio i2c-gpio: using pins 55 (SDA) and 56 (SCL) <6>Registered led device: ds5 <6>Registered led device: ds1 <6>usbcore: registered new interface driver usbhid <6>usbhid: v2.6:USB HID core driver <6>Advanced Linux Sound Architecture Driver Version 1.0.17. <6>ALSA device list: <6> No soundcards found. <6>TCP cubic registered <6>NET: Registered protocol family 17 <6>RPC: Registered udp transport module. <6>RPC: Registered tcp transport module. <3>rtc-at91sam9 at91_rtt.0: hctosys: unable to read the hardware clock <5>jffs2_scan_inode_node(): CRC failed on node at 0x0012afd8: Read 0xffffffff, calculated 0x0f13cb56 <4>Empty flash at 0x0012b330 ends at 0x0012b800 <4>VFS: Mounted root (jffs2 filesystem). <6>Freeing init memory: 120K <4>g_ether gadget: using random self ethernet address <4>g_ether gadget: using random host ethernet address <6>usb0: MAC 16:54:30:8a:1a:86 <6>usb0: HOST MAC 76:c0:86:11:74:db <6>g_ether gadget: Ethernet Gadget, version: Memorial Day 2008 <6>g_ether gadget: g_ether ready <6>g_ether gadget: full speed config #2: RNDIS <5>JFFS2 notice: (320) check_node_data: wrong data CRC in data node at 0x030d509c: read 0x84c7a43d, calculated 0xee267d42.
busybox.config
Description: Binary data
_______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
