Linux kernel

Discussion about the Linux kernel.

Kernel syncing problem unable to mount jffs2

Submitted by nrabara
on July 16, 2009 - 10:42pm

I have been using Linux kernel 2.6.28 with at91sam9263 processor and arm-none-eabi-gcc toolchain
I am able to start kernel execution from the RAM.

I am passing command line partition argument [bootargs=console=ttyS0;115200 root=mtd5 mtdparts=physmap-flash.0:128K(bootstrap)ro,256k(uboot),128k(env1),128(env2),2M(Linux),-(root); rw rootfstype=jffs2]

unable to get nfsd port number from server

Submitted by parag_opensrc
on July 10, 2009 - 9:45pm
Linux

i am trying to flash rootfs (root.jffs2) on pyhtec iMX27 board with ARM on it .
i've properly configured the switch on the board for NAND boot .
the same root.jffs2 image works fine with NOR setting but not with NAND .
NFS port have been configured properly since it works fine with NOR .

PCIe dma-able memory location in physical memory for Intel Nehalem / Tylersburg architecture

Submitted by robvoo
on July 8, 2009 - 7:10am
Linux

Hello,

We have the following question regarding the (re-)allocation of dma-able memory for a PCIe device. We want to know on which CPU / Memory controller the dma-able memory will be allocated. In addition we would like to know how we can control this allocation process, or how to reroute it to another CPU / Memory controller.

slab allocator

Submitted by Anonymous
on July 8, 2009 - 12:43am
Linux

slab allocator only allocates memory from low memory region(896MB). Even with more than 16GB physical memory, the size of LowMem is same.So, any case will it lead to out of memory by performing operations,like filesystem, network, process..? Thanks.

spi uart interface

Submitted by Anonymous
on July 1, 2009 - 11:23pm
Linux

Hello Sir/Madam

I m using the chip xr20m1172 with s3c2451 development board.But i am not getting any sample linux driver regarding this or like same.
I am using spi interface for making 2 uarts with the help of xr20m1172 chip.Can you please help me regarding this.

With Regards

Nitin

ethernet got wierd after 2.6.29

Submitted by Anonymous
on June 19, 2009 - 11:42am
Linux

Hello,

Sorry, I'm not a low-level programmer so I'm kinda lost on what's happening...

I updated the kernel of a linux router to 2.6.29 today and I got this dump a few minutes after the server boot.

Jun 19 14:20:34 firewall64 ------------[ cut here ]------------
Jun 19 14:20:34 firewall64 WARNING: at net/sched/sch_generic.c:226 dev_watchdog+0x122/0x1ca()

DMA to userspace and flush

Submitted by debrupam
on June 19, 2009 - 5:48am
Linux

I am writing a user space MAC driver in Linux 2.6.23 hosted on a Arm11 mpcore. A contiguous block of physical memory is allocated and mmap'd to userspace.

/dev/mem with O_SYNC flag is used to mmap so that the user virtual memory is uncached (with no much benefit).

Kernel
------
kptr = kmalloc(sz, GFP_DMA|GFP_KERNEL);
pptr = __pa(kptr);

User
----

kernel BUG in page_add_anon_rmap at mm/rmap.c

Submitted by Anonymous
on June 18, 2009 - 6:55am
Linux

Hi everyone, I have been facing following problem in my Linux kernel after load the CPU at max. and network as well
So what could be the reason of this page fault? How to reproduce the same?

Mar 4 19:15:55 kernel: kernel BUG in page_add_anon_rmap at mm/rmap.c:438!
Mar 4 19:15:55 kernel: Oops: Exception in kernel mode, sig: 5 [#1]
Mar 4 19:15:55 kernel: PREEMPT

Mobidata EDGE modem issue with Linux Kernel (cp2101.c)

Submitted by omarshehab
on June 16, 2009 - 2:28am
Linux

I was trying to plug in a Mobidata EDGE modem (100EU) to my Linux (Ubuntu 8.04.2, kernel 2.6.24). It was not working. The lsusb command shows a device id 10CE:EA6A. In the line of 100 of cp2101.c, it says the device id should be 10C5:EA61. I think that's the source of problem everyone is facing with Mobidata EDGE modem.

How would someone compile a 2.2.x kernel on a relatively modern system?

Submitted by dav7
on June 15, 2009 - 9:44pm
Linux

The subject's the question, really.

I have GCC 2.95.3 but I probably need to go back in time and ask someone to make me a statically compiled version of GCC like 1.90 or something, right? :P

Or do I need to completely cross the insanity barrier and locate and compile myself a copy of EGCS?

Thanks in advance!

-dav7

ATA error messages and pata_sch module

Submitted by Anonymous
on June 15, 2009 - 6:40pm
Linux

Hi,

I am using Debian 5.0 with 2.6.30 kernel. I see the following messages during kernel boot. Here is the relevant dmesg output:

[ 4.368333] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[ 4.368424] ata1.00: BMDMA stat 0x24
[ 4.368511] ata1.00: cmd c8/00:80:59:0d:4c/00:00:00:00:00/e2 tag 0 dma 65536 in

Which is the difference between Netfilter and XFRM framework?

Submitted by Anonymous
on June 15, 2009 - 4:47am
Linux

Hi all,
I'm working on linux networking kernel because i need to create a ip/udp/ip encapsulation on packets that matches defined features.
I know that this type of packet modifications can be done using Netfiler (with iptables interface) or using xfrm policy.
Please can someone explain me the difference between Netfilter and XFRM framework or give me a link where find some documentation?

help-getting all loadable kernal module information while linux booting

Submitted by dileepkantamneni
on June 14, 2009 - 9:37pm
Linux

Hi all,
Iam trying to debug kernel .So I want to know how kernel get the information about the kernel loadable modules information while booting..
If kernel uses any data structure to store this information ,tell me how can i acess thta data structure.

Thanks in advance

SATA ports not recognised in 2.6.30 on MA790FX motherboard

Submitted by amsonia
on June 12, 2009 - 1:54pm
Linux

I'm trying to use the 2.6.30 kernel, but one of my two machines has a Gigabyte MA790FX-DS5 mother board. Neither the hard drives plugged into two external eSATA ports nor those plugged into the two GSATA ports at the bottom of the motherboard are being recognised. It will recognise hard drives in four other SATA ports.

Port linux for arm LH79525

Submitted by Anonymous
on June 11, 2009 - 7:08pm
Linux

Dir my friends,

I'm an application engineer. I'm in project ARM lh79525. I searched on internet about embedded Linux for arm lh79525 and I see a little document about arm linux for it.I have some trouble with embedded Linux on Lh79525. I hope that everybody will help me.
First, i illustrator my project. I use u boot is bootloader. My board boot is ok.