Linux kernel module autobuilding

2008-08-19 Thread Danny Milosavljevic
Hi,

I'm trying to get my Option HSO Modem driver to autobuild on Diablo 
builder for some time now. Thanks to everyone who helped me get so far :)

Unfortunately, it seems a few assumptions by me are not held and so the 
build fails:

The reason it fails now is that there's no Linux kernel source/workdir in 
the usual place:
 
make: *** /lib/modules/2.6.21-omap1/build: No such file or directory.  
Stop.

(complete log https://garage.maemo.org/builder/diablo/hso_1.2-0/
armel.build.log.FAILED.txt)

Also, is there an environment variable specifying the kernel version we 
are supposed to build for? I just hardcoded LINUX_VERSION=2.6.21-omap1 
for now...

cheers,
   Danny

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Linux kernel module autobuilding

2008-08-19 Thread Faheem Pervez
Hi,

Have you looked in the fuse source package that is on extras? That uses the
rules file to get the kernel and build the fuse module from it.

Regards,
Faheem

On Tue, Aug 19, 2008 at 8:00 AM, Danny Milosavljevic 
[EMAIL PROTECTED] wrote:

 Hi,

 I'm trying to get my Option HSO Modem driver to autobuild on Diablo
 builder for some time now. Thanks to everyone who helped me get so far :)

 Unfortunately, it seems a few assumptions by me are not held and so the
 build fails:

 The reason it fails now is that there's no Linux kernel source/workdir in
 the usual place:

 make: *** /lib/modules/2.6.21-omap1/build: No such file or directory.
 Stop.

 (complete log https://garage.maemo.org/builder/diablo/hso_1.2-0/
 armel.build.log.FAILED.txt)

 Also, is there an environment variable specifying the kernel version we
 are supposed to build for? I just hardcoded LINUX_VERSION=2.6.21-omap1
 for now...

 cheers,
   Danny

 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Accessing RTSP streaming server via Nokia-N800

2008-08-19 Thread priyank kumar chourasia
Hi,I am going to write anbsp;simplenbsp;c++ based application for streaming a 
data from remote server/Playing a file from local machine i.e. Nokia-N800, I'll 
place the exe in Nokia-N800 which will be connected to a ubuntu machine(Is in 
network) via USB network.- How can I stream a clip(from N800) which is located 
at the remote server(for example rtsp://abc.com/abc.3gp) ??- What settings are 
required to perform the above task ??Regards,Priyank___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Linux kernel module autobuilding

2008-08-19 Thread Jason Edgecombe
Faheem Pervez wrote:
 Hi,

 Have you looked in the fuse source package that is on extras? That
 uses the rules file to get the kernel and build the fuse module from it.

 Regards,
 Faheem

 On Tue, Aug 19, 2008 at 8:00 AM, Danny Milosavljevic
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

 Hi,

 I'm trying to get my Option HSO Modem driver to autobuild on Diablo
 builder for some time now. Thanks to everyone who helped me get so
 far :)

 Unfortunately, it seems a few assumptions by me are not held and
 so the
 build fails:

 The reason it fails now is that there's no Linux kernel
 source/workdir in
 the usual place:

 make: *** /lib/modules/2.6.21-omap1/build: No such file or directory.
 Stop.

 (complete log https://garage.maemo.org/builder/diablo/hso_1.2-0/
 armel.build.log.FAILED.txt)

 Also, is there an environment variable specifying the kernel
 version we
 are supposed to build for? I just hardcoded
 LINUX_VERSION=2.6.21-omap1
 for now...

Check out the openafs source package as well. I also build the kernel
module on the fly in the autobuilder.

Jason
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Memory card mmc changed status to Read only file system (30)

2008-08-19 Thread Darius Jack
Thanks again.
deleted swap connecting maemo to Windows, having no mmc2sd adapter.
It still warned of corrupted memory , not reading Kingston mmc card.
Baterry status bar disappeared.
Finally it works.
Created swap.
Can copy/move files forth and back , delete files from /media/mmc1 directory.

You are right:

You disconnect the USB cable from PC without safely remove

Exactly what I keep doing on a permanent basis.
Battery status bar is back.


Thanks.

Darius
http://www.tinyurl.com/dariusjack

--- On Wed, 13/8/08, Eero Tamminen [EMAIL PROTECTED] wrote:

 From: Eero Tamminen [EMAIL PROTECTED]
 Subject: Re: Memory card mmc changed status to Read only file system (30)
 To: [EMAIL PROTECTED]
 Cc: maemo-developers@maemo.org
 Date: Wednesday, 13 August, 2008, 8:57 AM
 Hi,
 
 ext Darius Jack wrote:
  OS2007HE worked fine, run shell scripts, applications.
  Recently run wget in recursive mode.
  Download to flash memory.
  Learned  how to recorsive download to media memory
 card (MMC).
  Copied downloaded html files from flash to memory card
 to make room on flash.
  
  And finally tried to remove wget downloaded files from
 media memory card
  and found out any, every, each file to be asterisked
 and can not be deleted.
  
  run mount from command line
  one entry for /media/mmc1
  
  /dev/mcblk0.. on /media/mmc1 type vfat (rw, noauto,
 nodev, noexec, nosuid, utf8, uid=2, shortname=mixed,
 dmask=000)
  
  chmod -x /media/mmc1
  chmod: /media/mmc1: Read-only file system
  
  I gvet used media card to save maps in maemo mapper,
  today nbo chance to run maemo-mapper.
  
  Please tell me how to have /media/mmc1 back read-write
 file system,
  as changed nothing exceptionally to change status of
 media file system.
 
 Only known reason for this is that the memory card file
 system has
 gotten corrupted.  When kernel notices this[1], it remounts
 the file
 system as read-only so that user cannot corrupt it more.
 
 The file system can get corrupted if:
 - You disconnect the USB cable from PC without safely
 remove
 - You take the memory card out when it's reported as
being in use (when you open the card cover)
 - You take the battery out
 - Device HW watchdog resets the device
 while the card is being written or it otherwise has data
 which
 hasn't been completely written to the card when above
 things are done.
 
 For example streaming flash/video, browser/package
 downloads, downloads
 to mail folder that's on memory card, map tile
 downloads configured to
 be saved on memory card etc can use memory card
 extensively.
 
  From XTerm you can run dosfsck -n
 /dev/mcblk0.. to check the file
 system.  Repair can be done in the device from the File
 manager[2]
 (or as root with dosfsck), or from PC either using a card
 reader or
 when the device USB cable is connected (at least with Linux
 it's
 better to unmount the card from PC side before repair
 though).
 
 
   - Eero
 
 [1] Kernel notices the corruption only when some
 information in
  the file system is clearly wrong. File system
 consistency is not
  checked when the card is mounted (neither in Linux nor
 Windows
  either for removable devices).
 [2] With large  full card consistency check / repair
 can take several
  minutes and fail because it requires more memory than
 is available
  on the device.

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: error when attempting to mount a jffs2 image on a ubuntu host

2008-08-19 Thread Alex Leung
Hi Faheem and David,



 Thanks. You are right. block device emulating a mtd works for me now.

 Alex Leung.

 2008/8/18 Faheem Pervez [EMAIL PROTECTED]

 Hi,

 mtdram requires 88mb of raw ram on a 2gb system to mount a ~2Mb initfs
 image, i don't think it will work well with a rootfs.
 Use the block device emulating  a mtd and mount the image read only.

 Tar it up and use mtd-tools to make a new rootfs.jffs2

 Regards,

 Faheem

 P.S Please excuse the messiness of this email, typing (badly) from a N800
 with low battery.

 On 8/18/08, Alex Leung [EMAIL PROTECTED] wrote:

  Hi all,

 I tried to follow the steps listed below:
 http://maemo.org/community/wiki/ModifyingRootImage/

 to mount a jffs2 file system using the kernel memory emulating a MTD via
 mtdram appraoch.

 but as soon as I executed the dd command, I will be hit by the below
 error:
 dd: writing to `/tmp/mtdblock0': No space left on device

 My ubuntu's version is 7.10. the rootfs image I am trying to load is the
 rootfs.jffs2 extracted from the OS2008 2.2007.51-3 image, using the flasher
 tool.

 Thanks for your gracious help in sharing your experience in this matter.

 Alex Leung.

 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers




___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Linux kernel module autobuilding

2008-08-19 Thread Andrew Zabolotny
From Tue, 19 Aug 2008 07:00:39 + (UTC)
Danny Milosavljevic [EMAIL PROTECTED] wrote:

 I'm trying to get my Option HSO Modem driver to autobuild on Diablo 
 builder for some time now. Thanks to everyone who helped me get so
 far :)
If you wait a little, I'll release a linux-headers package which will
make building packages easier. It works now, but I have a couple of
enhancements in mind I would like to do before first release. It will
install a /lib/modules/2.6.21/build directory with everything you need
to build a driver.

Also since kernel-diablo-modules package (which is included in
scratchbox environment by default because it's a dependency of
maemo-core-runtime) will install a /lib/modules/current link which will
point to current /lib/modules/`uname -r`, so you basically can do just
'make -C /lib/modules/current/build ...' and this will build your
driver both for diablo and future kernel versions (I hope). I'm not yet
sure about chinook, but it could work this way as well.

-- 
Andrew


signature.asc
Description: PGP signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers