Re: Request for information on using NVMe under linux

2024-07-03 Thread Richard
There are those ubuntu hwe kernels, those might help -- Richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: uboot and kernel entry point, load address for booting kernel from FIT image

2024-04-12 Thread Richard
"Mastering Embedded Linux Programming" (forgot author but it's from Packt) is a good book on such things -- Richard On 12/04/2024 15:53, Lev Olshvang wrote: Hi list, uboot requires that  kernel entry point and  load address be specified at FIT spec I thought this indo Should b

Re: from CoLinux to MoreLinux :D

2023-12-09 Thread Richard
iversities is not really the subject but teaching people the skills to actually acquire knowledge themselves and abstract thinking. -- Richard On Sat, Dec 9, 2023 at 8:01 PM Richard <mailto:richard_siegfr...@systemli.org>> wrote: I looked at this, L4 is a family of Micr

Re: from CoLinux to MoreLinux :D

2023-12-09 Thread Richard
. Actually all this is similar to Xen. Since you are interested in those things I would really recommend reading one of the textbooks. "Modern Operating Systems" by Tanenbaum even has a chapter on exactly this it's called "Are hypervisors microkernels done right?" -- Richard

Re: from CoLinux to MoreLinux :D

2023-12-08 Thread Richard
Easy Pieces" (https://techiefood4u.files.wordpress.com/2020/02/operating_systems_three_easy_pieces.pdf ) It's almost as good as the Tanenbaum Classic, but free. -- Richard On Fri, Dec 8, 2023 at 2:15 AM <mailto:jim.cro...@gmail.com>> wrote: On Mon, Dec 4, 2023 at 1:0

Re: from CoLinux to MoreLinux :D

2023-12-03 Thread Richard
ring curiosity maybe) but google, maybe there is something like this, you might also like Debian GNU k FreeBSD -- Richard -- Mario. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelne

Re: ktypes vs. devices classes (struct class)

2023-10-01 Thread Richard
e old device model. So in the end every driver developer has to learn both models :D When Pat and I created it, we were young and naive and thought "this should be simple!" Famous last words... :D thanks, greg k-h Thank you!, Richard __

Re: ktypes vs. devices classes (struct class)

2023-10-01 Thread Richard
d me, even if we had come to an agreement that this architecture was unelegent (which it isn't I see the point now), I don't think that would have been reason enough to change it. Change is good if it is needed, that's how code evolves, based on new

Re: ktypes vs. devices classes (struct class)

2023-09-30 Thread Richard
cally, to understand them but also the philosophy behind them. However changing something so fundamental just because of an (hypothetical) agreement on design elegance is not enough in my oppinion. Thanks, -- Richard ___ Kernelnewbies

ktypes vs. devices classes (struct class)

2023-09-29 Thread Richard
Hi all, Why do we have ktypes (struct kobj_type) AND device classes (struct class)? Don't they serve the same purpose (more or less) and it would be simpler, clearer and more KISS to only have one? Is this a historically grown thing or by design? Thanks, -- Richard

Re: Looking for ways to contribute

2023-08-06 Thread Richard
, as a prerequisite, I recommend you to read "Linux Kernel Development" by Robert Love. It's important to get the fundamental differences to user space. For example the whole thing that there is process context and interrupt context. And what softirqs are. -- Richard On 04.08.23 1

modules.builtin and /sys/modules

2023-07-12 Thread Richard
is that? I once read that every module in the system (builtin or not) is in /sys/module, is that wrong? Thanks, -- Richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Watching for new files/symlinks/devices in sysfs (possible? which syscall?)

2023-06-13 Thread Richard
. -- Richard On 13.06.23 23:31, Richard wrote: Hi, is there a possibility, in sysfs, to watch for new symlinks (i.e. devices) beeing added to /sys/bus/usb/devices (like with inotify for normal directories)? I know you can use select() (userspace) and sysfs_notify() (kernelspace) for attributes

Watching for new files/symlinks/devices in sysfs (possible? which syscall?)

2023-06-13 Thread Richard
devices (or symlinks)? Thanks, -- Richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: How is the size of init ram disk determined when initramfs is used?

2023-01-01 Thread Richard
generated ? Maybe I'm missing something here -- Richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Working with kernel cifs, NFS

2022-11-24 Thread Richard
there is a nfs-kernel-server package on debian. When all this is setup the kernelmodule gets loaded, that is maybe done by udev or by systemd, I don't know the details. It should be similar for cifs, in that you need to do some configuration in userspace first. Cheers, -- Richard

olddefconfig vs. menuconfig (just open, save file and close)

2022-10-15 Thread Richard
cases differ (when starting from the same base .config). In general menuconfig adds more options (lines) than olddefconfig. What is the difference between the two cases? When should I use olddefconfig, when should I use the menuconfig approach? Thanks, -- Richard

Mutex midpath question (mutex-design.rst , CONFIG_MUTEX_SPIN_ON_OWNER)

2022-10-15 Thread Richard
ust an optimisation. Or is optimistic spinning only accessible with CONFIG_MUTEX_SPIN_ON_OWNER. The mentioning of the first spinlock in the first sentence confuses me. Thanks, -- Richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org ht

Re: Extract patch from kernel mailing list

2022-10-06 Thread Richard
thing. Maybe some mail clients allow you to save the file directly -- Richard On 06/10/2022 10:21, neutrino network wrote: Hello, How to extract patches from the kernel mailing list? Best. ___ Kernelnewbies mailing list Kernelnewbies

Re: Can I debug busybox program running on a qemu virtual machine using gdb?

2022-07-08 Thread Richard
On 08/07/2022 10:36, Tom Mitchell wrote: On Thu, Jul 7, 2022 at 2:27 AM Chan Kim wrote: Hi all, I'm trying to track how tftp program runs when I run tftp provided by busybox on qemu virtual machine. I can debug the linux source but I cannot debug tftp (busybox) program. Can I debug

Re: Can I debug busybox program running on a qemu virtual machine using gdb?

2022-07-07 Thread Richard
as usually with your prefered tool (emacs recommended :) ). If it has to be in quemu, I see no reason against it, the normal rules for remote debugging apply. -- Richard Sailer On 07/07/2022 11:27, Chan Kim wrote: Hi all, I'm trying to track how tftp program runs when I run tftp provided

Re: What to do when your patch gets ignored

2022-06-10 Thread Richard
ine kernel. Hope this helps. I might or might not write something more concrete on the code if you include a link in your answer -- Richard On 09/06/2022 15:39, Andrea Tomassetti wrote: I'm writing here as a last resort in the hope that someone can, kindly, help me understand what I'm doing wro

Re: MTD: How to get actual image size from MTD partition

2021-07-29 Thread Richard Weinberger
I can't remember > now what was it, perhaps we should document the expectations? > (Is that for JFFS2 to mount?) a long time ago mount didn't accept character devices, so you had to pass mtdblockX to mount JFFS2. This limitation is gone. Thanks, //richard _

Re: MTD: How to get actual image size from MTD partition

2021-07-27 Thread Richard Weinberger
On Thu, Jul 22, 2021 at 1:11 PM Pintu Agarwal wrote: > > On Thu, 22 Jul 2021 at 02:24, Richard Weinberger wrote: > > > > - Ursprüngliche Mail - > > >> But let me advertise ubiblock a second time. > > > Sorry, I could not understand about the

Re: MTD: How to get actual image size from MTD partition

2021-07-21 Thread Richard Weinberger
ry about the integrity at all ? Static volumes have a crc32 checksum over the whole content. Of course this offers no cryptographic integrity. See: http://www.linux-mtd.infradead.org/doc/ubi.html#L_overview Thanks, //richard ___ Kernelnewbies mailing

Re: MTD: How to get actual image size from MTD partition

2021-07-20 Thread Richard Weinberger
Is it about cryptographic integrity of your storage or detecting errors after the flashing process? But let me advertise ubiblock a second time. If you place your squashfs on a UBI static volume, UBI knows the exact length and you can checksum it more easily. Thanks, //richard _

Re: MTD: How to get actual image size from MTD partition

2021-07-19 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "Pintu Agarwal" > An: "richard" > CC: "Greg KH" , "linux-kernel" > , "linux-mtd" > , "linux-fsdevel" > , "Phillip Lougher" > , "Sean Nyekjaer" , "Kern

Re: MTD: How to get actual image size from MTD partition

2021-07-16 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "Greg KH" > An: "Pintu Agarwal" > CC: "linux-kernel" , "linux-mtd" > , "linux-fsdevel" > , "Phillip Lougher" , > "Sean Nyekjaer" , > "Kernelnewbies" , &q

Re: MTD: How to get actual image size from MTD partition

2021-07-16 Thread Richard Weinberger
UBI and your flash program tool keeps track of what pages it wrote. Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Query: UBIFS: How to detect empty volumes

2021-06-27 Thread Richard Weinberger
e case. Is your image creation process so error prone that you can't be sure whether critical parts got included or not? -- Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Relationship between Rx/Tx ring and Skbuff.

2020-08-28 Thread Richard Sailer
Hi, Fortunately I wrote a seminar paper some years ago at university about exactly that topic. It might help and should still be up to date in all important regards. https://github.com/richi235/ftrace-paper I used ftrace to trace the way of a packet, the pdf is in Document/ Cheers, -- Richard

Re: What mailer to use with Gmail?

2020-08-28 Thread Richard Sailer
On 25/08/2020 21:18, Konstantin Ryabitsev wrote: > The best way to send out patches is using git-send-email directly. It's > pretty straightforward to configure git to use Gmail smtp for this > purpose. > > You can continue using Thunderbird when replying to conversations, or > you can take a

Re: Dubios pointer casting with put_user()

2020-07-19 Thread Richard Sailer
On 18/07/2020 00:46, Valdis Klētnieks wrote: > On Fri, 17 Jul 2020 02:13:34 +0200, Richard Sailer said: > >> unsigned long. Is this (correctness and security wise) sane? Because as >> I understand it put_user() determines the amount it copies from the >> pointer typ

Re: Dubios pointer casting with put_user()

2020-07-16 Thread Richard Sailer
Link to full source: https://elixir.bootlin.com/linux/latest/source/net/dccp/proto.c#L390 signature.asc Description: OpenPGP digital signature ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Dubios pointer casting with put_user()

2020-07-16 Thread Richard Sailer
alisticly in most cases < 9000 (and in all cases I can imagine < int_max (with 16 bit)). I would like to declare amount as int outside of the switch case statement (because I need it in another case statement as signed int) would it be safe to do so? Thanks, -- Richard signature.asc Descr

Re: Are kernel trees the same as a branch in terms of git?

2020-07-12 Thread Richard Sailer
uot; or "alsa" with own maintainers and own mailing list. Think of them like different subdivisions in a company (also sometimes called "branch"). In most cases these "branches" are own repos, not "git branches". I know it's a bit con

Re: Understanding memory fragmentation in Linux kernel

2019-01-13 Thread Richard Siegfried
Operating Systems, one being Linux. There it covers its Memory managment in nice detail. Thanks, -- Richard signature.asc Description: OpenPGP digital signature ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbie

Re: Proxy filesystems

2018-08-12 Thread Richard Weinberger
Am Sonntag, 12. August 2018, 04:31:17 CEST schrieb Demi Obenour: > How difficult would it be in the kernel? Depends on you want to do. I suggest digging into overlayfs. Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.

Re: Proxy filesystems

2018-08-11 Thread Richard Weinberger
On Fri, Aug 10, 2018 at 5:07 AM Demi Obenour wrote: > > How difficult would it be to create a proxy filesystem — that is, a > filesystem that is a view of the filesystem? Using FUSE this is easy. -- Thanks, //richard ___ Kernelnewbies mai

Re: Need Suggestions

2018-07-17 Thread Richard Siegfried
On 18/07/18 02:35, Richard Siegfried wrote: > or even "make oldconfig". (If you don't know these two start with "make ^ should be olddefconfig Both copy the .config file of your current running kernel and use that as a basis signature.asc Descriptio

Re: Need Suggestions

2018-07-17 Thread Richard Siegfried
ce. Start with "make oldconfig" or even "make oldconfig". (If you don't know these two start with "make help"). You can always read about new kernel options and features inside the "make menuconfig" application with pressing "?" Thanks, -- Rich

Re: Question regarding RT patches for ARM

2017-05-15 Thread Richard Weinberger
ge fault - exceptions'. > > Just want to confirm that "are RT patches for ARM are stable OR they > are still experimental?" As I heard from my other colleagues that RT > patches are not stable for ARM and should be avoided. -- Thanks, //richard ___

Re: Dead link on the wiki

2015-11-13 Thread Richard Weinberger
Just fix the page, it is a wiki. :-) If you need write permission, tell me your nick name. -- Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: [RFC] Implementing an additional TCP congestion control algorithm (TCP-PR)

2015-08-16 Thread Richard Sailer
Hi, If reordering causes TCP to believe packets are lost, there will probably be other issues as well, like sending of useless retransmits. I would rather try to detect this kind of reordering and ignore dupacks and rely only on timeouts to detect loss. Well this is exactly how TCP-PR works

[RFC] Implementing an additional TCP congestion control algorithm (TCP-PR) - communication and organisation.

2015-08-11 Thread Richard Sailer
Hello, I'm Richard Sailer and I've started implementing an alternative congestion control algorithm for linux, capable of maintaining high throughput during persistent packet reordering (TCP-PR). Before continuing my learning and work I want to send a coordinative mail to the netdev list

Re: Query on workqueue

2015-01-13 Thread Richard Maciel Costa
to run as fast as possible, why don't you create a tasklet? Remember that you can't sleep in this case. - Richard 2015-01-13 11:51 GMT-02:00 Victor Ascroft victorascr...@gmail.com: Hello, Is it ok to use wait_for_completion in a workqueue? static void my_work(struct work_struct *work

Re: New Kernel-newbies site

2014-07-26 Thread Richard Weinberger
are hard to find. So, older newbies add information for new newbies. And the most relevant questions made here, go to the wiki. http://kernelnewbies.org/ is already a wiki, feel free to update it. -- Thanks, //richard ___ Kernelnewbies mailing list

Re: Eudyptula Challenge Query

2014-06-30 Thread Richard Weinberger
. :) -- Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Newbie task: Fix a build regression

2014-06-02 Thread Richard Weinberger
--- Fixing this should be easy, so I offer this as a newbie task. 1. Find out which commit broke the build (i.e. using git bisect) 2. Fix the build 3. Send me a patch -- Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: Newbie task: Fix a build regression

2014-06-02 Thread Richard Weinberger
Am 02.06.2014 21:06, schrieb valdis.kletni...@vt.edu: On Mon, 02 Jun 2014 20:56:35 +0200, Richard Weinberger said: 1. Find out which commit broke the build (i.e. using git bisect) Any hint on a starting value for 'git bisect good v3.mumble'? :) I don't really now. I don't do out-of-tree

Re: Handling interrupts in spidev

2014-01-28 Thread Richard Weinberger
Am 28.01.2014 15:12, schrieb Amit Mahadik: Thanks Richard. One more question. If I register an SPI irq struct spi_board_info spi_board_info[] structure in machine board.c file; then the request irq api and irq handler should be written in board.c file or in the spidev driver. Never do any

Re: Handling interrupts in spidev

2014-01-27 Thread Richard Weinberger
Am 27.01.2014 10:21, schrieb Amit Mahadik: Thanks for your input. But I dont want to block the read call. Also I dont want to miss the interrupts. Look how other drivers/programs deal with that... Thanks, //richard Regards, Amit. On Monday, 27 January 2014 12:22 PM, Richard Weinberger

Re: Handling interrupts in spidev

2014-01-26 Thread Richard Weinberger
, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Handling interrupts in spidev

2014-01-26 Thread Richard Weinberger
Am 27.01.2014 06:37, schrieb Amit Mahadik: Thanks for the reply Richard. The interrupt is not a GPIO pin. I have read something about UIO (userspace I/O). Also, I want the operation to be asynchronous. Any pointer to such mechanism will be very helpful. Using UIO you can also

Re: make kernel driver closed

2014-01-25 Thread Richard Weinberger
On Sat, Jan 25, 2014 at 8:12 AM, phani kumar yakkaladevi.ph...@gmail.com wrote: Hi all, Is there any way to make kernel driver closed(not open source)? Description: I have driver, I want make it non-open source. how can I do it? No. -- Thanks, //richard

Re: make kernel driver closed

2014-01-25 Thread Richard Weinberger
Am 25.01.2014 14:43, schrieb Alexandru Juncu: On 25 January 2014 12:58, Richard Weinberger richard.weinber...@gmail.com wrote: On Sat, Jan 25, 2014 at 8:12 AM, phani kumar yakkaladevi.ph...@gmail.com wrote: Hi all, Is there any way to make kernel driver closed(not open source

Re: Regarding enumerating Block devices registered in kernel mode

2013-11-12 Thread Richard Weinberger
of reading the contents of /sys/block from kernel mode looks messy to me. Looking for guidance on performing this enumeration. Why do you need this within the kernel? Sounds much like a userspace job done in kernel land... -- Thanks, //richard

Re: Regarding enumerating Block devices registered in kernel mode

2013-11-12 Thread Richard Weinberger
Am 12.11.2013 09:47, schrieb vaibhav: Thanks for replying Richard, I need to access the blockdevice structure associated with each block device so that I can patch its block_device_operations to receive ioctls calls in my code. In my code I check for ioctls that I handle and pass

Re: User Space Network Drivers

2013-10-05 Thread Richard Weinberger
On Thu, Oct 3, 2013 at 5:32 PM, james jones james.voip+ker...@gmail.com wrote: Greetings, Is there any work being done on a kernel module for generic packet processing in user space? Using VFIO you can do a pure userspace NIC driver. -- Thanks, //richard

usubscribe

2013-09-09 Thread Richard Goodwin
___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: c library wrapper function

2013-05-28 Thread richard -rw- weinberger
. BTW: Such questions are off-topic here. This list is on kernel development. -- Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: user space device drivers

2013-05-14 Thread richard -rw- weinberger
of serious users. One prominent VFIO user is qemu/kvm. -- Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: user space device drivers

2013-05-14 Thread richard -rw- weinberger
interrupts. Is there one that affects the scheduler? ??? -- Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: user space device drivers

2013-05-14 Thread richard -rw- weinberger
the kernel source. -- Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: current tty

2013-05-08 Thread richard -rw- weinberger
member. If your custom/old/whatever kernel has, use grep to find out... Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: hello and wiki edit

2013-05-01 Thread richard -rw- weinberger
, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Writing device drivers in Linux: A brief tutorial

2013-04-23 Thread richard -rw- weinberger
, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: YAFFS2 not part of Linux Kernel

2013-04-20 Thread richard -rw- weinberger
makes yaffs2 obsolte anyway... -- Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: how to trace tcp protocol stack ?

2013-03-03 Thread richard -rw- weinberger
On Sun, Mar 3, 2013 at 5:13 AM, ishare june.tune@gmail.com wrote: hi:) Is there mothod to look up the call stack of tcp protocol solution? You can use ftrace. -- Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies

Re: atomic operations

2013-02-24 Thread richard -rw- weinberger
and atomicity of the operation. Not all CPUs support unaligned memory access, such an access may cause a fault which needs to be fixed by the kernel... -- Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http

Re: How to solve module collision

2013-02-16 Thread richard -rw- weinberger
, what can be done to avoid this. Just use /sys/bus/usb/drivers/*/bind and unbind. You can unbind the mouse and bind it to your driver... -- Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org

Re: Linux Kernel Map

2013-01-09 Thread richard -rw- weinberger
On Wed, Jan 9, 2013 at 2:25 PM, Peter Teoh htmldevelo...@gmail.com wrote: http://www.makelinux.net/kernel_map/ This map is horrible outdated. I see lock_kernel() for example... -- Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies

Re: how to flush stdin buffer in linux

2013-01-08 Thread richard -rw- weinberger
doesn't support lseek operation). Thanx in advance. fflush(stdin) is undefined. -- Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Detect list corruption at early stage to avoid BUG hitting?

2013-01-07 Thread richard -rw- weinberger
... -- Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: what is SYSCALL in arch/i386/kernel/Makefile

2013-01-06 Thread richard -rw- weinberger
-- Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: what is SYSCALL in arch/i386/kernel/Makefile

2013-01-06 Thread richard -rw- weinberger
function, but I do not know how to fix it The fix is to use a supported and not horrible outdated Linux version. Otherwise you are on your own. -- Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http

Re: compile linux kernel 2.6.0 failed

2013-01-03 Thread richard -rw- weinberger
, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: where are the bug ?

2012-10-20 Thread richard -rw- weinberger
a current kernel source and run: $ make defconfig ARCH=um $ make linux ARCH=um it will produce an ELF binary called linux, run it. It's your kernel. E.g. ./linux rootfstype=hostfs init=/bin/sh See: http://uml.devloop.org.uk/howto.html HTH -- Thanks, //richard

Re: Mapping socket to task

2012-10-12 Thread richard -rw- weinberger
On Fri, Oct 12, 2012 at 6:48 AM, Lal learner.ker...@gmail.com wrote: How to get task_struct of a socket owner process? i.e. how to get task_struct* from sock* Sockets can be shared. E.g. after fork(). So, there is no owner... -- Thanks, //richard

Re: What is purpose of /init

2012-08-02 Thread richard -rw- weinberger
On Thu, Aug 2, 2012 at 8:35 AM, Rahul Bedarkar rpal...@gmail.com wrote: Sorry! and what is meant by exec 0/dev/console exec 1/dev/console See bash basics: http://tldp.org/LDP/abs/html/x17837.html -- Thanks, //richard ___ Kernelnewbies mailing

Re: What is purpose of /init

2012-08-01 Thread richard -rw- weinberger
/init $* Can someone explain what is meant for ? It's a hack to get devtmpfs mounted before init starts... Looks like your distro does not know CONFIG_DEVTMPFS_MOUNT. :-) -- Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: Finding the interrupt vector of a given IRQ

2012-05-28 Thread richard -rw- weinberger
the interrupt. What a stupid assignment! Assignments like this make only sense if you have real hardware... Anyway, create a timer (e.g struct timer_list) which calls your ISR. That's how people test their ISRs. -- Thanks, //richard ___ Kernelnewbies

Re: Finding the interrupt vector of a given IRQ

2012-05-27 Thread richard -rw- weinberger
manually? This sounds really odd... -- Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: creation, context switch time of process and thread

2012-05-25 Thread richard -rw- weinberger
swich  time ? kernel thread creation time ? kernel thread context swich  time ? What is the best way to measure these values? You can use events like sched_switch. See: /sys/kernel/debug/tracing/events/sched/ -- Thanks, //richard ___ Kernelnewbies

Re: interface for a hardware trigger driver

2012-05-12 Thread richard -rw- weinberger
. -- Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Porting my BSP to higher Kernel Versions

2012-05-08 Thread richard -rw- weinberger
it merged, everything else is a waste of time! Is there any documentation/steps available to do so? Find out what has changed between 2.6.10 and your target kernel and fix your drivers/modifications. -- Thanks, //richard ___ Kernelnewbies mailing list

Re: Inlined functions in network code

2012-03-10 Thread richard -rw- weinberger
On Sat, Mar 10, 2012 at 11:50 AM, Łukasz Czyż perlowy.d...@gmail.com wrote: No. I am not sure if it good enough to be merged, I would like to get some opinions before I ask to add it to mainline. Submit a patch to netdev/netfilter-devel and you'll get a review. -- Thanks, //richard

Re: TCP MD5 Verification - 2.6.35.14

2012-01-10 Thread richard -rw- weinberger
On Tue, Jan 10, 2012 at 5:05 AM, Nitin Sharma nitin...@gmail.com wrote: Is there an equivalent of (freeBSD) sysctl net.inet.tcp.signature_verify_input=0 in linux? 2.6.35.14-x How is the MD5 verification of incoming TCP packets done? See CONFIG_TCP_MD5SIG. -- Thanks, //richard

Re: TCP MD5 Verification - 2.6.35.14

2012-01-10 Thread richard -rw- weinberger
or something alike, without recompiling? Hmm, AFAIK there is a tcp sockopt to do this. -- Thanks, //richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

RE: what is trace_sched_kthread_stop_ret used for?

2011-12-28 Thread Townsend, Richard
TP_fast_assign( 46 __entry-ret= ret; 47 ), 48 49 TP_printk(ret=%d, __entry-ret) 50 ); -- Richard Townsend -Original Message- From: kernelnewbies-boun...@kernelnewbies.org [mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of loody Sent: 28

Re: How to hook the system call?

2011-11-27 Thread richard -rw- weinberger
is in read only page, how can I set modify the sys_call_table ? Or if there any method that I can use to hook a system call in module without modify the kernel source? Please keep in mind that hooking a system call is very bad and error prone. -- Thanks, //richard