Question

GSM modem on linux(Ubuntu server)

Asked by: Eggpatch

hi! guys!.. i am developing now a SMS System which can forward a announcement messages to my customer, as of now my system is stabled except for one modem i had and i decide to replace it in a new modem, now i have a Edge modem (Philips TalkTalk SNU5630NS/05 Wireless Adapter). The problem is when i plug it it detects only the storage of modem which is i don't need because storage contain driver which is function only on windows system, what i need is the location of modem device so that i can put it in to my sms configuration. thanks!..

this is the dmesg i have.

new full speed USB device using uhci_hcd and address 5
[21911.876266] usb 2-2: configuration #1 chosen from 2 choices
[21911.882085] scsi12 : SCSI emulation for USB Mass Storage devices
[21911.882292] usb-storage: device found at 5
[21911.882297] usb-storage: waiting for device to settle before scanning
[21916.881406] usb-storage: device scan complete
[21916.884399] scsi 12:0:0:0: CD-ROM            Philips  Dev. 0 LUN 0     1.0  PQ: 0 ANSI: 0
[21916.904378] sr2: scsi-1 drive
[21916.904590] sr 12:0:0:0: Attached scsi CD-ROM sr2
[21916.904843] sr 12:0:0:0: Attached scsi generic sg2 type 5

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-04-27 at 03:32:54ID24357725
Tags

Linux

Topic

Linux Programming

Participating Experts
1
Points
500
Comments
22

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. GSM Solution
    Please excuse my utter lack of idea, but i do pick things up very quickly.... I need to get logfiles sent from a number of fixed installations (with servers running either windows XP or 2000). The log files are all only 8k. The problem lies in the fact that more often tha...
  2. gsm
    will u plz send me the code for sending sms from pc to mobile using gsm modem in vc++?

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: duncan_roePosted on 2009-04-28 at 15:17:50ID: 24255710

It needs to detect USB Serial. Do you have the USB serial kernel module usbserial.ko? You may also need the right driver for your modems chipset - I have configured all of them as modules that I could find.

08:16:15$ ls -Fx /lib/modules/2.6.25.4_64/kernel/drivers/usb/serial
aircable.ko          airprime.ko    ark3116.ko          belkin_sa.ko    cp2101.ko
cyberjack.ko         cypress_m8.ko  digi_acceleport.ko  empeg.ko        ftdi_sio.ko
funsoft.ko           garmin_gps.ko  io_edgeport.ko      io_ti.ko        ipaq.ko
ipw.ko               ir-usb.ko      keyspan.ko          keyspan_pda.ko  kl5kusb105.ko
kobil_sct.ko         mct_u232.ko    mos7720.ko          mos7840.ko      navman.ko
omninet.ko           option.ko      pl2303.ko           safe_serial.ko  sierra.ko
ti_usb_3410_5052.ko  usb_debug.ko   usbserial.ko        visor.ko        whiteheat.ko
                                              
1:
2:
3:
4:
5:
6:
7:
8:

Select allOpen in new window

 

by: duncan_roePosted on 2009-04-28 at 15:28:20ID: 24255790

You probably want to get the very latest kernel for largest choice of drivers

 

by: EggpatchPosted on 2009-04-28 at 20:57:13ID: 24257250

Hi! duncan_roe thanks for your reply, i have already usb driver uhci_hcd. uhci_hcd driver is for modem usb driver may i right? Modem driver already modprobe but i cant see the Modem device location why is it that the Cdrom/storage only detect?. i have  Linux kernel 2.6.27-11-server (its ubuntu 8.10 server). I tried dmesg and this what i get.

 new full speed USB device using uhci_hcd and address 4
[ 3879.076270] usb 2-2: configuration #1 chosen from 2 choices
[ 3879.081804] scsi6 : SCSI emulation for USB Mass Storage devices
[ 3879.082634] usb-storage: device found at 4
[ 3879.082643] usb-storage: waiting for device to settle before scanning
[ 3884.081494] usb-storage: device scan complete
[ 3884.084466] scsi 6:0:0:0: CD-ROM            Philips  Dev. 0 LUN 0     1.0  PQ: 0 ANSI: 0
[ 3884.103464] sr0: scsi-1 drive
[ 3884.103669] sr 6:0:0:0: Attached scsi CD-ROM sr0
[ 3884.103895] sr 6:0:0:0: Attached scsi generic sg2 type 5
type=1503 audit(1240909191.241:7): operation="inode_permission" requested_mask="::r" denied_mask="::r" fsuid=103 name="/proc/4258/net/if_inet6" pid=4259 profile="/usr/sbin/named"

 

by: duncan_roePosted on 2009-04-29 at 02:06:41ID: 24258429

uhci_hcd & uhci_hcd are low-level drivers for all USB devices. For modem you need to have usbserial. Please post output from the 2 commands below:

lsmod

ls -Fx /lib/modules/$(uname -r)/kernel/drivers/usb/serial

 

by: EggpatchPosted on 2009-04-29 at 20:03:22ID: 24266655

here is the output i have of command  lsmod

Module                  Size  Used by
cdc_acm                23712  8
ipt_MASQUERADE         10752  1
iptable_nat            13448  1
nf_nat                 25368  2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4      21900  3 iptable_nat,nf_nat
nf_conntrack           72032  4 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
iptable_filter         10752  0
ip_tables              19600  2 iptable_nat,iptable_filter
x_tables               22916  3 ipt_MASQUERADE,iptable_nat,ip_tables
ac                     12292  0
lp                     17156  0
loop                   23180  0
sr_mod                 22212  0
cdrom                  43040  1 sr_mod
zd1211rw               53252  0
snd_hda_intel         383920  0
evdev                  17696  3
pcspkr                 10624  0
mac80211              216692  1 zd1211rw
snd_pcm                83332  1 snd_hda_intel
snd_timer              29832  1 snd_pcm
snd                    63268  3 snd_hda_intel,snd_pcm,snd_timer
soundcore              15328  1 snd
snd_page_alloc         16264  2 snd_hda_intel,snd_pcm
cfg80211               32392  1 mac80211
parport_pc             39460  1
parport                42604  2 lp,parport_pc
i2c_viapro             15892  0
button                 14224  0
i2c_core               31892  1 i2c_viapro
shpchp                 38164  0
pci_hotplug            34976  1 shpchp
via_agp                16256  1
agpgart                42184  1 via_agp
ipv6                  263460  28
ext3                  133000  2
jbd                    55828  1 ext3
mbcache                16004  1 ext3
sd_mod                 42392  5
crc_t10dif              9984  1 sd_mod
pata_acpi              12160  0
ata_generic            12804  0
sg                     39348  0
usb_storage            82496  0
libusual               30356  1 usb_storage
pata_via               15876  3
sata_via               15492  0
ehci_hcd               44428  0
via_rhine              30728  0
uhci_hcd               30992  0
mii                    13440  1 via_rhine
libata                176928  4 pata_acpi,ata_generic,pata_via,sata_via
usbcore               149872  7 cdc_acm,zd1211rw,usb_storage,libusual,ehci_hcd,uhci_hcd
scsi_mod              155212  5 sr_mod,sd_mod,sg,usb_storage,libata
dock                   16656  1 libata
thermal                23708  0
processor              42156  1 thermal
fan                    12420  0
fbcon                  47392  0
tileblit               10752  1 fbcon
font                   16512  1 fbcon
bitblit                13824  1 fbcon
softcursor              9984  1 bitblit
fuse                   60700  1


and ls -Fx /lib/modules/$(uname -r)/kernel/drivers/usb/serial

aircable.ko         ark3116.ko  belkin_sa.ko    ch341.ko       cp2101.ko       cyberjack.ko         cypress_m8.ko
digi_acceleport.ko  empeg.ko    ftdi_sio.ko     funsoft.ko     garmin_gps.ko   hp4x.ko              io_edgeport.ko
io_ti.ko            ipaq.ko     ipw.ko          keyspan.ko     keyspan_pda.ko  kl5kusb105.ko        kobil_sct.ko
mct_u232.ko         mos7720.ko  mos7840.ko      moto_modem.ko  navman.ko       omninet.ko           option.ko
oti6858.ko          pl2303.ko   safe_serial.ko  sierra.ko      spcp8x5.ko      ti_usb_3410_5052.ko  usb_debug.ko

thanks..

 

by: duncan_roePosted on 2009-04-30 at 02:47:42ID: 24268224

You are missing usbserial.ko in the output from ls -Fx command above. Without that, you are never going to detect USB serial devices, such as modems. If you tell me you have another USB modem working on that system then you prove me wrong - but I'm pretty sure you don't.
Do you have the source that your kernel was built from? If so, you should be able to build usbserial.ko quite easily. Have you configured a kernel before?

 

by: duncan_roePosted on 2009-04-30 at 03:20:32ID: 24268376

Just checked 2.6.29.1 source - the module is renamed usb_serial. It is possible that the module is built in to the kernel. However this is not recommended if using the Generic Serial Driver - from its Help in "make xconfig":

"Say Y here if you want to use the generic USB serial driver. Please
read <file:Documentation/usb/usb-serial.txt> for more information on
using this driver. It is recommended that the "USB Serial converter
support" be compiled as a module for this driver to be used
properly.

You might want to try the generic USB serial driver if your USB chip is otherwise unsupported. From file:Documentation/usb/usb-serial.txt:

"Generic Serial driver

  If your device is not one of the above listed devices, compatible with
  the above models, you can try out the "generic" interface. This
  interface does not provide any type of control messages sent to the
  device, and does not support any kind of device flow control. All that
  is required of your device is that it has at least one bulk in endpoint,
  or one bulk out endpoint.
 
  To enable the generic driver to recognize your device, build the driver
  as a module and load it by the following invocation:
        insmod usbserial vendor=0x#### product=0x####
  where the #### is replaced with the hex representation of your device's
  vendor id and product id.

  This driver has been successfully used to connect to the NetChip USB
  development board, providing a way to develop USB firmware without
  having to write a custom driver.

  For any questions or problems with this driver, please contact Greg
  Kroah-Hartman at greg@kroah.com

 

by: EggpatchPosted on 2009-04-30 at 06:06:48ID: 24269496

Many thanks duncan_roe you are so generous..  Yah i have another modem and it's running find, only my newer modem have problem.. and maybe you are right.. you said that i need to build a usb serial?.. but how? and i never tried configure linux kernel.. but i am willing to learn.

 

by: duncan_roePosted on 2009-04-30 at 14:29:55ID: 24274624

Sounds like you must have usb-serial built in then (when the source is usb-, the module is usually called usb_). The first thing you need to do is ensure you have the source from which your Linux kernel was built. Failing that, just get the latest one from ftp.kernel.org. You'll need to configure it in that case. You could fetch an older kernel (say the latest point rev of what you have now) - that has less potential problems to configure - potential increases the older your current kernel is - but a new kernel may have better drivers.

The best way to configure is to find the configuration file for your current kernel and use that as a starting point. In the source tree itself, it's called ".config" (a hidden file). With luck, you will have a copy of that somewhere - possibly actually in the source tree if you have it (use ls -A to see it). Failing that, there may be a file /proc/config.gz (it's a configuration option to create that). Red Hat has a configs directory in /usr/src/linux. Some distros put a copy of .config in /boot with a name like config_$(uname -r).

Have a look round your system and post back with what you find. Do you have your kernel's source? Have you found the config?

Also please post the output from:

uname -a

 

by: EggpatchPosted on 2009-04-30 at 21:09:05ID: 24276638

i cant find my .conf in my ubuntu...  and i think i have latest ubuntu kernel.. look at this..

uname -a
Linux filsat 2.6.27-11-server #1 SMP Wed Apr 1 21:53:55 UTC 2009 i686 GNU/Lin


 

by: duncan_roePosted on 2009-05-01 at 17:18:51ID: 24284316

That's quite new for a distribution. The latest kernel is 2.6.29.2 released 27th April. You might have some luck from "locate config" - that will bring up a huge list but the file you want might be in there.
I have just downloaded 2.6.29.2 and, compared with my current 2.6.25.4 kernel, there are a *lot* of new USB drivers.
If you are going to embark on configuring a kernel without a previous .config, I definitely recommend going for the newest one.
Meanwhile, try to get more information about you USB device:
- does lspci show any extra detail?
- is there more in /var/log/debug than there is in dmesg (unplug and replug the modem & check any files in /var/log that get updated)
- is there a sticker on or underneath the modem with any extra details?
To give you an idea of what to look for, here are some extracts from new help screens in "make xconfig":

USB Winchiphead CH341 Single Port Serial Driver (USB_SERIAL_CH341)
USB Infinity USB Unlimited Phoenix Driver (USB_SERIAL_IUU) Say Y here if you want to use a IUU in phoenix mode and get an extra ttyUSBx device. More information available on http://eczema.ecze.com/iuu_phoenix.html
USB Keyspan USA-xxx Serial Driver (USB_SERIAL_KEYSPAN) Say Y here if you want to use Keyspan USB to serial converter devices. This driver makes use of Keyspan's official firmware and was developed with their support. You must also include firmware to support your particular device(s). See <http://misc.nu/hugh/keyspan.html> for more information.
***NB lots of firmware alternatives follow, some of them mutually exclusive
USB Motorola Phone modem driver (USB_SERIAL_MOTOROLA)
USB Ours Technology Inc. OTi-6858 USB To RS232 Bridge Controller (USB_SERIAL_OTI6858)
USB SPCP8x5 USB To Serial Driver (USB_SERIAL_SPCP8X5)
USB HP4x Calculators support (USB_SERIAL_HP4X)

It's really bizarre that usb_serial is not built as a module - that is not an option at 2.6.29.2 (choice is module or nothing)

 

by: EggpatchPosted on 2009-05-01 at 21:36:47ID: 24284850

hi!..again duncan_roe thanks for your patients ahmmm.. i have now patch-2.6.29.2 kernel.. how do i install that? i tried apt-cache search kernel-image but i found older version.

for your question:

1. does lspci show any extra detail?

------ here is the output of lspci
00:00.0 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.5 PIC: VIA Technologies, Inc. P4M890 I/O APIC Interrupt Controller
00:00.6 Host bridge: VIA Technologies, Inc. P4M890 Security Device
00:00.7 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/VX700 PCI Bridge
00:02.0 PCI bridge: VIA Technologies, Inc. P4M890 PCI to PCI Bridge Controller
00:03.0 PCI bridge: VIA Technologies, Inc. P4M890 PCI to PCI Bridge Controller
00:0f.0 IDE interface: VIA Technologies, Inc. VT8237A SATA 2-Port Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237A PCI to ISA Bridge
00:11.7 Host bridge: VIA Technologies, Inc. VT8251 Ultra VLINK Controller
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 7c)
00:13.0 PCI bridge: VIA Technologies, Inc. VT8237A Host Bridge
00:13.1 PCI bridge: VIA Technologies, Inc. VT8237A PCI to PCI Bridge
01:00.0 VGA compatible controller: VIA Technologies, Inc. P4M890 [S3 UniChrome Pro] (rev 01)
04:01.0 Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) (rev 10)


2.  is there more in /var/log/debug than there is in dmesg (unplug and replug the modem & check any files in /var/log that get updated)?

---------- result of tail -f /var/log/debug

May  1 10:35:13 filsat kernel: [   11.996238] HDA Intel 0000:04:01.0: setting latency timer to 64
May  1 10:35:10 filsat kernel: [   27.150020] eth0: no IPv6 routers present
May  1 12:11:58 filsat kernel: [ 5835.220991] usb-storage: device found at 24
May  1 12:11:58 filsat kernel: [ 5835.221001] usb-storage: waiting for device to settle before scanning
May  1 12:12:03 filsat kernel: [ 5840.210543] usb-storage: device scan complete
May  1 12:12:03 filsat kernel: [ 5840.273773] sr 4:0:0:0: Attached scsi CD-ROM sr0
May  2 11:07:04 filsat kernel: [88341.656254] usb-storage: device found at 30
May  2 11:07:04 filsat kernel: [88341.656263] usb-storage: waiting for device to settle before scanning
May  2 11:07:09 filsat kernel: [88346.650494] usb-storage: device scan complete
May  2 11:07:09 filsat kernel: [88346.654634] sr 5:0:0:0: Attached scsi CD-ROM sr0

3.  is there a sticker on or underneath the modem with any extra details?

------ none i have only the specification and feature.


 

by: duncan_roePosted on 2009-05-01 at 23:56:05ID: 24285108

After building 2.6.29.2, fiund out the module is still called usbserial.ko, despite the name of the source file having changed

 

by: duncan_roePosted on 2009-05-02 at 16:34:29ID: 24288043

My bad re: "It's really bizarre that usb_serial is not built as a module - that is not an option at 2.6.29.2 (choice is module or nothing)". If you have configured "USB support (USB_SUPPORT)" to be built-in, then you can configure "USB Serial Converter support (USB_SERIAL)" to be built-in also. That looks like what Ubuntu has done - it would almost classify as a bug.
If you would like to have a shot at configuring your kernel, here's a way:
Do you have  patch-2.6.29.2.tar.bz2 or linux-2.6.29.2.tar.bz2? (or tar.gz). The patch file is against linux-2.6.29.tar.bz2. You can either fetch that, or forget about patching and fetch linux-2.6.29.2.tar.bz2.
Let's say you have only got the patch file and you are going to patch. That has the advantage that you can ypdate to future point revs of 2.6.29 by simply fetching the patch files:
- Fetch linux-2.6.29.tar.bz2
- (continued in code snippet)

"make defconfig" builds a large kernel with lots of stuff built in that you will never want. But it's practically guaranteed to be able to boot on your hardware without the need for an initial ram disk (initrd), which is an extra complication you simply don't want to worry about as a beginner.
When you type "make xconfig", you get a GUI screen. Scroll down until you see "USB support" in the left-hand panel. Click the empty square box next to "USB Serial Converter support". A black dot appears - this is what you want. If you click again, a tick appears - this means "build in to kernel" whereas the dot means "build as a module". So click twice more to get the dot back. (sometimes a tick means "feature selected" when there is no actual corresponding code, as is the case for "USB support").
While USB Serial Converter support is selected, a number of drivers appear in the top right-hand panel. Select all of these to be modules, except the Firmware drivers for USB Keyspan USA-xxx Serial Driver  (unless you know you have it and which one you want).

File / Save anfd file / Quit. Type "make", ror, to keep a record, "make 2>&1 | tee hee"

Sorry I have to go now - let me know how you get on

# Fetch linux-2.6.29.tar.bz2 (by whatever method you used for patch file), say to /usr/gz/linux-2.6.29.tar.bz2
# Unpack linux:
cd /usr/src
tar -xjf /usr/gz/linux-2.6.29.tar.bz2
cd linux-2.6.29
bzcat /usr/gz/patch-2.6.29.2.tar.bz2 | patch -p1
# You should see a list of lines like "Hunk xxx succeeeded at yyy" and no errors or warnings
# ename directory so you know what's happening
cd ..
mv linux-2.6.29 linux-2.6.29.2
cd linux-2.6.29.2
# The next line gets you a default .config to work on
make defconfig
# Tailor this as described in main panel
make xconfig

                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:

Select allOpen in new window

 

by: EggpatchPosted on 2009-05-03 at 19:32:26ID: 24292209

many thanks sir duncan_roe i have an idea now..  but i backup first my server... again many many thanks and i hope i can do it. i'll back later.

 

by: EggpatchPosted on 2009-05-04 at 21:21:41ID: 24301536

Hi!..  duncan_roe i have now kernel linux-2.6.29.2. During my compilation I encountered problem which is I cant use make depend command error said that:
 
scripts/kconfig/conf -s arch/x86/Kconfig
*** Warning: make depend is unnecessary now.

Command I used:
make defconfig
Make menuconfig (coz my system is text base so i did not used make xconfig)
Make oldconfig
Make depend (I stuck up here)

Here is my screen shot:

 

by: EggpatchPosted on 2009-05-04 at 22:06:22ID: 24301673

What is different between patch-2.6.29.2.bz2 and linux-2.6.29.2.tar.bz2?. i have now vmlinux and System.map other said that i need to copy that into my boot menu but under my boot menu i have vmlinuz-2.6.27-11-server and System.map-2.6.27-11-server is that okie if i replace it?..

 

by: duncan_roePosted on 2009-05-06 at 21:21:24ID: 24322186

Sorry for delay in replying - home system has croaked. You can safely ignore the warning about make depend - it is only a warning. You don't need to run make oldconfig after make menuconfig but it does no harm.

linux-2.6.29.2.tar.bz2 is the complete source tree as at linux-2.6.29.2. patch-2.6.29.2.bz2 is a patch file (i.e. "diff" command output) which can convert a complete source tree as at linux-2.6.29 to linux-2.6.29.2. You will observe the patch file is much smaller than the linux file therefore.

DO NOT replace existing entries in your boot config. Only add new ones. That way if the new one doesn't work you can go back to the old one.

Once you are happy with the config, run "make".
As root, you then need to run "make modules_install" from your build directory (where you ran make menuconfig).

Whenever building a new kernel (as distinct from compiling extra modules for the current one), I very much recommend you edit the Makefile after running "make menuconfig" and add something unique to the string defined in the EXTRAVERSION line (line 4). E.g. change "EXTRAVERSION  = .2" to "EXTRAVERSION  = .2-1". That will cause a whole new modules directory tree to be created thus preserving your old one. No need to do that for first build of a new rev though.

Looking at your PNG.4, you have USB Serial Converter support selected with a "*" (built-in), when you want it to be "M" (module). Having Module is much of the point of replacing the Ubuntu kernel. Type M instead of Y.

I can't help you much with a GRUB boot install because I always use LILO.

How I install:
(see code snippet. The modules directory is one if the "expected" places to find System.map, as is /boot with the kernel version appended).

Need to get back to work now. Hope to have a working home system again some time this weekend.

cd /usr/src/linux-2.6.29.2
cp arch/i386/boot/bzImage /boot/v2.6.29.2
make modules_install
cp System.map /lib/modules/2.6.29.2
 
# edit /etc/lilo.conf & run lilo

                                              
1:
2:
3:
4:
5:
6:

Select allOpen in new window

 

by: EggpatchPosted on 2009-05-06 at 22:00:19ID: 24322350

thanks a lot, but my only problem now is i can't bulid image like initrd.img-2.6.27-11becuase i want to build initrd.img-2.6.29-2. i tried comand yaird -o initrd.img-2.6.29.2  2.6.29.2 but error occurred:

yaird error: bad device link in /sys/block/sda (fatal)


 initrd.img-2.6.29.2 is need for my grub boot loader.. thanks again ^_^



 

by: EggpatchPosted on 2009-05-06 at 23:58:27ID: 24322957

hi!.. i complete now install my kernel but my modem still not working maybe.. i try again and find the best driver for this device.  thanks for your help. Goodluck and thank you so much...

 

by: EggpatchPosted on 2009-05-06 at 23:59:04ID: 31574866

thank you so much

 

by: EggpatchPosted on 2009-05-07 at 18:32:27ID: 24332375

completely rather

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...