about the fuse code question,maybe a bug

2020-06-16 Thread 陈安庆
Dear Miklos Hi ,I read the fuse code in linux kernel,and I have some question about the code blow: static int fuse_read_interrupt(struct fuse_iqueue *fiq, struct fuse_copy_state *cs, size_t nbytes, struct fuse_req *req) __releases

Re: Maybe a bug in kernel/irq/chip.c unmask_irq(), device IRQ masked unexpectedly. (re-formated the mail body, sorry)

2019-10-14 Thread Yi Zheng
Hi, Thomas I canceled that patch. In my testing, that will not fix the problem. Why the IRQ is unexpectedly masked, that is not an easy bug for me. More time need to hacking the driver/kernel code. Thanks for your reply. Thomas Gleixner 于2019年10月14日周一 下午8:34写道: > > On Tue, 8 Oct 2019, Yi Zheng

Re: Maybe a bug in kernel/irq/chip.c unmask_irq(), device IRQ masked unexpectedly. (re-formated the mail body, sorry)

2019-10-14 Thread Thomas Gleixner
On Tue, 8 Oct 2019, Yi Zheng wrote: > There is some defects on IRQ processing: > > (1) At the beginning of handle_level_irq(), the IRQ-28 is masked, and ACK > action is executed: On my machine, it runs the 'else' branch: > > static inline void mask_ack_irq(struct ir

Re: Maybe a bug in kernel/irq/chip.c unmask_irq(), device IRQ masked unexpectedly. (re-formated the mail body, sorry)

2019-10-10 Thread Tony Lindgren
* Yi Zheng [191010 06:22]: > Hi > >My patch is canceled. I have tested that simple adjustment, the > device IRQ masked unexpectedly. It seems that it is more easily to > occur with that patch. > > So, the root cause is not found yet. OK. Based on your description, it could be a missing flus

Re: Maybe a bug in kernel/irq/chip.c unmask_irq(), device IRQ masked unexpectedly. (re-formated the mail body, sorry)

2019-10-09 Thread Yi Zheng
Hi My patch is canceled. I have tested that simple adjustment, the device IRQ masked unexpectedly. It seems that it is more easily to occur with that patch. So, the root cause is not found yet.

Re: Maybe a bug in kernel/irq/chip.c unmask_irq(), device IRQ masked unexpectedly. (re-formated the mail body, sorry)

2019-10-09 Thread Tony Lindgren
Hi, * Yi Zheng [191008 13:06]: > NOTE: (1) My SoC is a single core ARM chip: TI-AM3352, so the raw > spin-lock irq_desc->lock will be optimized to > nothing. handle_level_irq() has no spin-lock protection, right? Well not always, With CONFIG_SMP we modify only some of the

Maybe a bug in kernel/irq/chip.c unmask_irq(), device IRQ masked unexpectedly. (re-formated the mail body, sorry)

2019-10-08 Thread Yi Zheng
Hi, I found something wrong on my AM3352 SoC machine, the GPIO triggered IRQ is masked unexpectedly. That bug cause the devices using that GPIO-IRQ can not work. Even the latest kernel version (v5.4-rc2-20-geda57a0e4299)! After a long time hacking, I guess the bug is in kerne

Maybe a bug in kernel/irq/chip.c unmask_irq(), device irq is masked unexpectedly.

2019-10-08 Thread Yi Zheng
Hi, I found something wrong on my AM3352 SoC machine, the GPIO triggered IRQ is masked unexpectedly. That bug cause the devices using that GPIO-IRQ can not work. Even the latest kernel version (v5.4-rc2-20-geda57a0e4299)! After a long time hacking, I guess the bug is in kerne

Re: maybe a bug in SELinux: security_context_to_sid_core

2018-03-08 Thread Zhang, Ning A
Hi, Bill For below SELinux behavior, do you know why. BR. Ning. 在 2018-02-28三的 14:47 +0800,Zhang Ning写道: > Hi, > > Before SELinux is initialized, get scontext by secid by using: > > security_secctx_to_secid() may return wrong numbe > > eg: > security_secctx_to_secid("devnull", strlen("devnul

maybe a bug in SELinux: security_context_to_sid_core

2018-02-27 Thread Zhang, Ning A
Hi, Before SELinux is initialized, get scontext by secid by using: security_secctx_to_secid() may return wrong numbe eg: security_secctx_to_secid("devnull", strlen("devnull"), &sid); sid here will be 1 because: in security_context_to_sid_core: ... if (!ss_initialized) {

re: netfilter: nf_conntrack: there maybe a bug in __nf_conntrack_confirm, when it race against get_next_corpse

2014-11-06 Thread Bill Bonaparte
On Tue, 6 Nov 2014 21:01:00 "Jesper" wrote: >There is several issues with your submission. I'll take care of resubmitting a patch in your name (so you will get credit in the git log). > >If you care to know, issues are: >1. you are not sending to the appropriate mailing lists, 2. patch is as a

Re: netfilter: nf_conntrack: there maybe a bug in __nf_conntrack_confirm, when it race against get_next_corpse

2014-11-06 Thread Jesper Dangaard Brouer
On Tue, 4 Nov 2014 09:48:32 +0800 "billbonaparte" wrote: > (sorry to send this e-mail again, last mail is rejected by server due to > non-acceptable content) There is several issues with your submission. I'll take care of resubmitting a patch in your name (so you will get credit in the git log)

Re: netfilter: nf_conntrack: there maybe a bug in __nf_conntrack_confirm, when it race against get_next_corpse

2014-11-03 Thread billbonaparte
(sorry to send this e-mail again, last mail is rejected by server due to non-acceptable content) Florian Westphal [mailto:f...@strlen.de] wrote: >Correct. This is broken since the central spin lock removal, since >nf_conntrack_lock no longer protects both get_next_corpse and >conntrack_confirm.

Re: netfilter: nf_conntrack: there maybe a bug in __nf_conntrack_confirm, when it race against get_next_corpse

2014-10-28 Thread Jesper Dangaard Brouer
On Tue, 28 Oct 2014 11:37:31 +0800 "billbonaparte" wrote: > Hi, all: > sorry for sending this mail again, the last mail doesn't show text > clearly. This one also mangles the text, so I cannot follow the race you are describing. I'll try to reconstruct... > In function __nf_conntrack_confirm

Re: netfilter: nf_conntrack: there maybe a bug in __nf_conntrack_confirm, when it race against get_next_corpse

2014-10-28 Thread Florian Westphal
billbonaparte wrote: > In function __nf_conntrack_confirm, we check the conntrack if it was > alreay dead, before insert it into hash-table. > we do this because if we insert an already 'dead' hash, it will > block further use of that particular connection. > but we don't do th

netfilter: nf_conntrack: there maybe a bug in __nf_conntrack_confirm, when it race against get_next_corpse

2014-10-27 Thread billbonaparte
Hi, all: sorry for sending this mail again, the last mail doesn't show text clearly. In function __nf_conntrack_confirm, we check the conntrack if it was alreay dead, before insert it into hash-table. we do this because if we insert an already 'dead' hash, it will block fu

netfilter: nf_conntrack: there maybe a bug in __nf_conntrack_confirm, when it race against get_next_corpse

2014-10-27 Thread billbonaparte
Hi, all: In function __nf_conntrack_confirm, we check the conntrack if it was alreay dead, before insert it into hash-table. we do this because if we insert an already 'dead' hash, it will block further use of that particular connection. but we don't do that right. let

Re: Linux 2.6.19.2: maybe a bug inside the r8169 network driver (was Re: Linux 2.6.19.2: Freeze with CIFS mount)

2007-03-09 Thread Eric Lacombe
Just to alert potential readers, that the bug is now discussed there : http://bugzilla.kernel.org/show_bug.cgi?id=8143 Eric Lacombe - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.ke

Re: Linux 2.6.19.2: maybe a bug inside the r8169 network driver (was Re: Linux 2.6.19.2: Freeze with CIFS mount)

2007-03-06 Thread Eric Lacombe
Hello, I've just triggered the bug again but _now_ without the nvidia proprietary module. Unfortunately, I hadn't enable the DEBUG options yet. Nevertheless, It seems that the bug was triggered when the NAS was going to awake and that 2 user applications wanted to access it during his awakening

Re: Linux 2.6.19.2: maybe a bug inside the r8169 network driver (was Re: Linux 2.6.19.2: Freeze with CIFS mount)

2007-03-05 Thread Francois Romieu
Eric Lacombe <[EMAIL PROTECTED]> : [...] > Also, if you have some new ideas about the problem or what I could try to > trigger it more frequently (I already wake up the NAS as more as I can, but > maybe I could write a script to do that), I would be thankful. You can add more DEBUG options for s

Re: Linux 2.6.19.2: maybe a bug inside the r8169 network driver (was Re: Linux 2.6.19.2: Freeze with CIFS mount)

2007-03-05 Thread Eric Lacombe
Hello, Sorry for the long time without giving new information about the problem/bug, but I wasn't able to trigger it since now. Well, this time, my system freeze on a 2.6.20.1. I try to use the magic sysrq (which works fine when my system is running), but nothing happen (unraw, reboot, etc.).

Re: Linux 2.6.19.2: maybe a bug inside the r8169 network driver (was Re: Linux 2.6.19.2: Freeze with CIFS mount)

2007-02-14 Thread Eric Lacombe
On Tuesday 13 February 2007 21:30:47 Francois Romieu wrote: > Eric Lacombe <[EMAIL PROTECTED]> : > [...] > > > That problem also remind me that when I compiled this driver without > > the "CONFIG_NET_ETHERNET" (in the section "Ethernet (10 or 100Mbit)"), I > > have really poor performance with the

Re: Linux 2.6.19.2: maybe a bug inside the r8169 network driver (was Re: Linux 2.6.19.2: Freeze with CIFS mount)

2007-02-13 Thread Francois Romieu
Eric Lacombe <[EMAIL PROTECTED]> : [...] > That problem also remind me that when I compiled this driver without > the "CONFIG_NET_ETHERNET" (in the section "Ethernet (10 or 100Mbit)"), I have > really poor performance with the net device. Maybe it is related, or not ;) > > If it gives you more i

Re: Maybe a bug

2001-02-24 Thread Matthias . Kleine
Maciej W. Rozycki wrote: > Hmm, you state the watchdog works from time to time and the log you > provided confirms the statement -- it reports: > > ..TIMER: vector=49 pin1=2 pin2=0 > > activating NMI Watchdog ... done. Yes, but I reach this message only once of 10 trials to boot. The other nin

Re: Maybe a bug

2001-02-21 Thread Maciej W. Rozycki
On Mon, 19 Feb 2001, Matthias Kleine wrote: > The problem appears on a machine using the pretty new ASUS CUVX-D Dual Socket > 370 Motherboard, so there may be a chance for an unknown bug ;-). With NMI > watchdog activated, a 2.4.x Kernel is not willing to boot on this machine, it > just stops

Re: Maybe a bug (unexpected IO-APIC)

2001-02-19 Thread Pozsar Balazs
> > Feb 19 19:37:17 delphin kernel: testing the IO APIC... > Feb 19 19:37:17 delphin kernel: > Feb 19 19:37:17 delphin kernel: WARNING: unexpected IO-APIC, please mail > Feb 19 19:37:17 delphin kernel: to [EMAIL PROTECTED] > Feb 19 19:37:17 delphin kernel: ..

Maybe a bug

2001-02-19 Thread Matthias Kleine
Dear kernel-developers, I do not have any experience in kernel programming, but I do have a message in my /var/log/messages file which advices me to post to this list. This is the first time for me to visit this list, so don't be too hard too me if this posting doesn't fit into the common list