[#4029] smb fails to mount for fork failure
Submitted By: Mingquan Pan
Open Date
2008-04-14 03:45:56 Close Date
2008-04-15 02:14:45
Priority:
Medium Assignee:
Mike Frysinger
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
N/A Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
08r1-rc8
App binary format:
N/A
Summary: smb fails to mount for fork failure
Details:
smb fails to mount for fork failure from about April 10th.
bfin> bootelf
Loading .text @ 0x00001000 (1080976 bytes)
Loading .exit.text.refok @ 0x00108e90 (296 bytes)
Loading .rodata @ 0x00108fc0 (259856 bytes)
Loading __ksymtab @ 0x001486d0 (14960 bytes)
Loading __ksymtab_gpl @ 0x0014c140 (4168 bytes)
Loading __ksymtab_strings @ 0x0014d188 (45988 bytes)
Loading __param @ 0x0015852c (300 bytes)
Clearing .bss @ 0x00158660 (59748 bytes)
Loading .data @ 0x00166fc4 (77884 bytes)
Loading .init.text @ 0x0017a000 (98040 bytes)
Loading .init.data @ 0x00191ef8 (13180 bytes)
Loading .init.setup @ 0x00195274 (612 bytes)
Loading .initcall.init @ 0x001954d8 (452 bytes)
Loading .con_initcall.init @ 0x0019569c (4 bytes)
Loading .init.ramfs @ 0x001956a0 (3968420 bytes)
Loading .text_l1 @ 0xffa00000 (6984 bytes)
sh_addr: FFA00000, p_paddr: 0055E444
Loading from: 02551000 to 0055E444, size: 6984
Loading .data_l1 @ 0xff800000 (192 bytes)
sh_addr: FF800000, p_paddr: 0055FF8C
Loading from: 02553000 to 0055FF8C, size: 192
## Starting application at 0x0017a000 ...
Linux version 2.6.24.4-ADI-2008R2-pre-svn4591 (test@uclinux51-ad9960-ad1836) (gcc version 4.1.2 (ADI svn)) #49 Sat Apr 12 13:22:28 CST 2008
console [early_BFuart0] enabled
early printk enabled on early_BFuart0
Warning: limiting memory to 56MB due to hardware anomaly 05000263
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x00108e90
rodata = 0x00108fc0-0x00158658
bss = 0x00158660-0x00166fc4
data = 0x00166fc4-0x0017a000
stack = 0x00178000-0x0017a000
init = 0x0017a000-0x00561000
available = 0x00561000-0x037ff000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Reset caused by Software reset
Blackfin support (C) 2004-2008 Analog Devices, Inc.
Compiled for ADSP-BF537 Rev 0.2
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 500 MHz core clock and 100 MHz System Clock
NOMPU: setting up cplb tables for global access
Instruction Cache Enabled
Data Cache Enabled (write-through)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 14224
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
console handover: boot [early_BFuart0] -> real [ttyBF0]
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 51252k/65536k RAM, (3996k init code, 1055k kernel code, 453k data, 1024k dma, 7756k reserved)
Blackfin Scratchpad data SRAM: 4 KB
Blackfin Data A SRAM: 16 KB (15 KB free)
Blackfin Data B SRAM: 16 KB (16 KB free)
Blackfin Instruction SRAM: 48 KB (41 KB free)
Security Framework initialized
Mount-cache hash table entries: 512
net_namespace: 64 bytes
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
stamp_init(): registering device resources
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
bfin_mac_mdio: probed
bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=19)@sclk=100MHz)
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1
bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 1970-01-01 03:46:05 UTC (13565)
Freeing unused kernel memory: 3996k freed
dma_alloc_init: dma_page @ 0x0055e000 - 256 pages at 0x03f00000
_____________________________________
a8888b. / Welcome to the uClinux distribution \
d888888b. / _ _ \
8P"YP"Y88 / | | |_| __ __ (TM) |
8|o||o|88 _____/ | | _ ____ _ _ \ \/ / |
8' .88 \ | | | | _ \| | | | \ / |
8`._.' Y8. \ | |__ | | | | | |_| | / \ |
d/ `8b. \ \____||_|_| |_|\____|/_/\_\ |
dP . Y8b. \ For embedded processors including |
d8:' " `::88b \ the Analog Devices Blackfin /
d8" 'Y88b \___________________________________/
:8P ' :888
8a. : _a88P For further information, check out:
._/"Yaa_: .| 88P| - blackfin.uclinux.org/
\ YP" `| 8P `. - docs.blackfin.uclinux.org/
/ \.___.d| .' - www.uclinux.org/
`--..__)8888P`._.' jgs/a:f - www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.10.0 (2008-04-12 12:14:50 CST) built-in shell (msh)
Enter 'help' for a list of built-in commands.
root:/>
************** STEP 3: Start tetsting.
ifconfig eth0 10.100.4.50
root:/> PHY: 0:01 - Link is Up - 100/Full
ifconfig
eth0 Link encap:Ethernet HWaddr F2:B2:84:D7:34:26
inet addr:10.100.4.50 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 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:1000
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
root:/> smbmount //10.100.4.174/users /mnt rw -o username=test,password=test
params.c:OpenConfFile() - Unable to open configuration file "/etc/config/smb.conf":
No such file or directory
Can't load /etc/config/smb.conf - run testparm to debug it
could not fork
waitpid failed: Error was No child processesroot:/> cp /bin/version /mnt/test
root:/>
Follow-ups
--- Mike Frysinger 2008-04-14 05:10:53
i'll take this
--- Mike Frysinger 2008-04-14 05:22:46
there was a typo in configure.in where it wouldnt save CPPFLAGS at the right
place and then later restore an unset var thus clobbering the CPPFLAGS value
--- Mingquan Pan 2008-04-15 00:22:11
Yes,the smb can fork now.
Unfortunately, the can't open file issue still remaining.
Now, the running log is:
root:/> smbmount //10.100.4.174/users /mnt rw -o
username=test,password=test
params.c:OpenConfFile() - Unable to open configuration file
"/etc/config/smb.conf":
No such file or directory
Can't load /etc/config/smb.conf - run testparm to debug it
root:/> cp /bin/version /mnt/test
root:/>
Since it is shown in the above bug report, I would prefer continue with it
rather than file a new bug,unless you protest...:)
--- Mike Frysinger 2008-04-15 00:35:06
that's a warning, not an error ... are you saying the mount doesnt work for you
?
--- Mingquan Pan 2008-04-15 02:14:45
It can mount,and it can also find the config file now after your change in
Makefile.Close,
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found