Am 13.05.2010 20:54, schrieb Hauke Mehrtens: > Am 13.05.2010 18:52, schrieb Bernhard Loos: >> Hello >> Around line 583 in drivers/sbb/scan.c, there should be an if >> (bus->chip_rev >=4). >> Could you remove the if and always execute the code which assigns >> bus->nr_devices? >> This shouldn't be a problem, because the bits for the device number >> should be zero on cores which don't support it. >> I can also provide a new patch, if you like it better. >> >> Bernhard > Hi Bernhard, > > I have changed the code to do the same things it did before your changes > at that position. My patch is attached. > > With this patch all ssb Cores are found, but I get a oops in b43 driver > now. "Reserved instruction in kernel code" > > I have not activated symbols will do now. Here is the log for now: > http://hauke-m.de/fileadmin/openwrt/brcm47xx-log/boot-not-working2.log > > Could you please split 952-ai-scan.patch into two patches. One just > reorganizing the existing code without changing any functionality and > one adding the ai scan. > > Hauke Hi Bernhard,
I get the following kernel oops with your patches: Reserved instruction in kernel code[#1]: ... Call Trace: [<80cc4908>] b43info+0x560/0x2754 [b43] [<8018a27c>] ssb_device_probe+0x44/0x80 [<80167d24>] driver_probe_device+0x13c/0x28c [<800e78ec>] sysfs_create_dir+0x44/0x68 [<8012b83c>] kobject_get+0x1c/0x30 [<80167e74>] __driver_attach+0x0/0xa4 [<80167ee0>] __driver_attach+0x6c/0xa4 [<8012bf2c>] kobject_add_varg+0x28/0x78 [<801673dc>] bus_for_each_dev+0x64/0xb4 [<8012bfbc>] kobject_init_and_add+0x40/0x58 [<80166b2c>] bus_add_driver+0xd0/0x274 [<80056d20>] load_module+0x1980/0x1b4c [<80168290>] driver_register+0xe0/0x19c [<80ce8000>] init_module+0x0/0x70 [b43] [<80ce8020>] init_module+0x20/0x70 [b43] [<8000d650>] do_one_initcall+0x70/0x1f4 [<800437f0>] blocking_notifier_call_chain+0x14/0x20 [<80057408>] sys_init_module+0xe0/0x224 [<80092924>] sys_close+0x9c/0xe4 [<80003230>] stack_done+0x20/0x3c Full log: http://hauke-m.de/fileadmin/openwrt/brcm47xx-log/boot-not-working3.log Hauke _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel