Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
My system is having 32MB RAM.I am using kernel 2.6.30. I want to support usb dongle, for that I am using udev 167 and usb_modeswitch. But sometimes randomly usb-serial driver fails to insert.Debug showing that there is some memory related issue.But not having any idea how to get rid of this problem.Tiny USB serial driver is just a driver which insert usb serial driver with productId/VendorId of the respective Dongle.
Debug is as follows:
[ 210.390000] usb 1-1.2: new full speed USB device using at91_ohci and address 15
[ 210.520000] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=1436
[ 210.520000] usb 1-1.2: New USB device strings: Mfr=4, Product=3, SerialNumber=0
[ 210.540000] usb 1-1.2: Product: HUAWEI Mobile
[ 210.540000] usb 1-1.2: Manufacturer: HUAWEI Technology
[ 210.640000] usb 1-1.2: configuration #1 chosen from 1 choice
[ 210.660000] Tiny USB serial 1-1.2:1.0: Tiny USB serial converter detected
[ 210.700000] usb 1-1.2: Tiny USB serial converter now attached to ttyUSB20
[ 210.900000] Tiny USB serial 1-1.2:1.1: Tiny USB serial converter detected
[ 210.970000] usb 1-1.2: Tiny USB serial converter now attached to ttyUSB21
[ 211.060000] Tiny USB serial 1-1.2:1.2: Tiny USB serial converter detected
[ 211.130000] usb 1-1.2: Tiny USB serial converter now attached to ttyUSB22
[ 211.220000] Tiny USB serial 1-1.2:1.3: Tiny USB serial converter detected
[ 211.440000] khubd: page allocation failure. order:4, mode:0xd0
[ 211.440000] Backtrace:
[ 211.440000] [<c002d6fc>] (dump_backtrace+0x0/0x10c) from [<c02c44e0>] (dump_stack+0x18/0x1c)
[ 211.460000] r7:c03a8e18 r6:00000042 r5:000000d0 r4:00000000
[ 211.470000] [<c02c44c8>] (dump_stack+0x0/0x1c) from [<c006f0f8>] (__alloc_pages_internal+0x3b4/0x3d4)
[ 211.480000] [<c006ed44>] (__alloc_pages_internal+0x0/0x3d4) from [<c00874f8>] (cache_alloc_refill+0x270/0x524)
[ 211.490000] [<c0087288>] (cache_alloc_refill+0x0/0x524) from [<c00878bc>] (kmem_cache_alloc+0x50/0x80)
[ 211.500000] [<c008786c>] (kmem_cache_alloc+0x0/0x80) from [<bf000fe4>] (usb_serial_probe+0x524/0xd44 [usbserial])
[ 211.510000] r7:c12c3ae0 r6:c12c3ae0 r5:00000000 r4:c118dc00
[ 211.510000] [<bf000ac0>] (usb_serial_probe+0x0/0xd44 [usbserial]) from [<c0196e7c>] (usb_probe_interface+0x158/0x1c0)
[ 211.520000] [<c0196d24>] (usb_probe_interface+0x0/0x1c0) from [<c01603ac>] (driver_probe_device+0xb0/0x180)
[ 211.530000] [<c01602fc>] (driver_probe_device+0x0/0x180) from [<c0160548>] (__device_attach+0x48/0x4c)
[ 211.540000] r7:c1ca9d04 r6:c19a5cbc r5:c19a5cbc r4:bf00e3a4
[ 211.550000] [<c0160500>] (__device_attach+0x0/0x4c) from [<c015f950>] (bus_for_each_drv+0x5c/0x9c)
[ 211.560000] r5:c0160500 r4:00000000
[ 211.560000] [<c015f8f4>] (bus_for_each_drv+0x0/0x9c) from [<c01605cc>] (device_attach+0x58/0x70)
[ 211.570000] r7:00000003 r6:c0ae9c00 r5:c19a5cf0 r4:c19a5cbc
[ 211.570000] [<c0160574>] (device_attach+0x0/0x70) from [<c015f744>] (bus_attach_device+0x30/0x68)
[ 211.580000] r5:c19a5cbc r4:c039977c
[ 211.580000] [<c015f714>] (bus_attach_device+0x0/0x68) from [<c015e3c0>] (device_add+0x45c/0x5a4)
[ 211.590000] r5:c19a5cbc r4:c19a5ca0
[ 211.590000] [<c015df64>] (device_add+0x0/0x5a4) from [<c0196320>] (usb_set_configuration+0x4dc/0x57c)
[ 211.610000] [<c0195e44>] (usb_set_configuration+0x0/0x57c) from [<c019cd00>] (generic_probe+0x54/0x94)
[ 211.620000] [<c019ccac>] (generic_probe+0x0/0x94) from [<c01969c0>] (usb_probe_device+0x5c/0x6c)
[ 211.630000] r6:c0ae9c5c r5:c0399d64 r4:c0ae9c5c
[ 211.630000] [<c0196964>] (usb_probe_device+0x0/0x6c) from [<c01603ac>] (driver_probe_device+0xb0/0x180)
[ 211.640000] r5:c0ae9c5c r4:c0399d64
[ 211.640000] [<c01602fc>] (driver_probe_device+0x0/0x180) from [<c0160548>] (__device_attach+0x48/0x4c)
[ 211.660000] r7:c1ca9e70 r6:c0ae9c5c r5:c0ae9c5c r4:c0399d64
[ 211.660000] [<c0160500>] (__device_attach+0x0/0x4c) from [<c015f950>] (bus_for_each_drv+0x5c/0x9c)
[ 211.670000] r5:c0160500 r4:00000000
[ 211.670000] [<c015f8f4>] (bus_for_each_drv+0x0/0x9c) from [<c01605cc>] (device_attach+0x58/0x70)
[ 211.680000] r7:c1cca000 r6:c1c02be0 r5:c0ae9c90 r4:c0ae9c5c
[ 211.680000] [<c0160574>] (device_attach+0x0/0x70) from [<c015f744>] (bus_attach_device+0x30/0x68)
[ 211.700000] r5:c0ae9c5c r4:c039977c
[ 211.700000] [<c015f714>] (bus_attach_device+0x0/0x68) from [<c015e3c0>] (device_add+0x45c/0x5a4)
[ 211.710000] r5:c0ae9c5c r4:c1ca9ed1
[ 211.710000] [<c015df64>] (device_add+0x0/0x5a4) from [<c018fc94>] (usb_new_device+0xdc/0x14c)
[ 211.720000] [<c018fbb8>] (usb_new_device+0x0/0x14c) from [<c01914b8>] (hub_thread+0xb04/0x103c)
[ 211.730000] r6:00000002 r5:c0ae9c00 r4:00000000
[ 211.740000] [<c01909b4>] (hub_thread+0x0/0x103c) from [<c0053bf4>] (kthread+0x64/0x98)
[ 211.740000] [<c0053b90>] (kthread+0x0/0x98) from [<c0043274>] (do_exit+0x0/0x56c)
[ 211.750000] r6:00000000 r5:00000000 r4:00000000
[ 211.760000] Mem-info:
[ 211.760000] Normal per-cpu:
[ 211.760000] CPU 0: hi: 0, btch: 1 usd: 0
[ 211.770000] Active_anon:1062 active_file:692 inactive_anon:1066
[ 211.770000] inactive_file:1666 unevictable:0 dirty:0 writeback:0 unstable:0
[ 211.770000] free:582 slab:1633 mapped:958 pagetables:94 bounce:0
[ 211.780000] Normal free:2328kB min:720kB low:900kB high:1080kB active_anon:4248kB inactive_anon:4264kB active_file:2768kB inactive_file:6664kB unevictable:0kB present:32512kB pages_scanned:0 all_unreclaimable? no
[ 211.800000] lowmem_reserve: 0 0
[ 211.810000] Normal: 176*4kB 77*8kB 47*16kB 6*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 2328kB
[ 211.820000] 2366 total pagecache pages
[ 211.820000] 8192 pages of RAM
[ 211.830000] 718 free pages
[ 211.830000] 1014 reserved pages
[ 211.830000] 1633 slab pages
[ 211.840000] 4316 pages shared
[ 211.840000] 0 pages swap cached
[ 211.840000] Tiny USB serial 1-1.2:1.3: Couldn't allocate bulk_in_buffer
[ 211.850000] Tiny USB serial: probe of 1-1.2:1.3 failed with error -5