On Mon, 14 Mar 2005, Evgeniy wrote:
Here is a simple program.
#include
#include
main(){
int err;
err=read(0,NULL,6);
printf("%d %d\n",err,errno);
}
I think that it should be an error : Null pointer assignment, like in windows.
But in practise it is not so.
It is an error. It will wait until y
On Mon, 14 Mar 2005, Jakob Eriksson wrote:
Andi Kleen wrote:
Stas Sergeev <[EMAIL PROTECTED]> writes:
Another way of saying the same thing: I absolutely hate seeing
patches that fix some theoretical issue that no Linux apps will ever
care about.
No, it is not theoretical, but it is mainly
about a D
Hello IDE experts.
I am trying to use a SanDisk SDCFB-256, CFA DISK drive. This
is supposed to emulate an IDE drive and does (sort of). However,
upon boot, the boot-code keeps trying and trying and trying to
do SOMETHING that aparently isn't even necessary because the
virtual disk is accessible and
The attached file shows that the kernel thinks it's doing
something helpful by checking the length of the input
buffer for a read(). It will return "Bad Address" until
the length is 1632 bytes. Apparently the kernel thinks
1632 is a good length!
Did anybody consider the overhead necessary to do th
On Tue, 15 Mar 2005, Robert Hancock wrote:
linux-os wrote:
The attached file shows that the kernel thinks it's doing
something helpful by checking the length of the input
buffer for a read(). It will return "Bad Address" until
the length is 1632 bytes. Apparently the kernel thinks
On Tue, 15 Mar 2005, Tom Felker wrote:
On Tuesday 15 March 2005 11:59 am, linux-os wrote:
The attached file shows that the kernel thinks it's doing
something helpful by checking the length of the input
buffer for a read(). It will return "Bad Address" until
the length is 1632 byt
On Wed, 16 Mar 2005, Ian Campbell wrote:
On Wed, 2005-03-16 at 07:29 -0500, linux-os wrote:
This means that the read() is no longer perfectly happy
to corrupt all of the user's memory which is the defacto
correct response for a bad buffer as shown. Instead, some
added "check in software&
Brilliant! And it even works!
Now if the kernel hadn't screwed up in the first place, then
your expertise wouldn't have been needed.
Thanks.
On Wed, 16 Mar 2005, Eric Dumazet wrote:
linux-os wrote:
I don't know how much more precise I could have been. I show the
code that will cau
Thought experiment:
Suppose you had a kernel-thread whos duty it was to handle the
shutdown and restarting of devices on such busses. Since it
is the only thing that would touch such code, wouldn't things
be a lot simpler and not subject to deadlocks?
Code calls something that puts the stuff the ke
On Thu, 17 Mar 2005, Peter W. Morreale wrote:
(I did not see this addressed in the FAQs...)
How much physical memory can the 2.4.26 kernel address in kernel context on
x86?
All of it.
What about DMA memory?
All of it, too. The old DMA controller(s) could only address 16 MB
because that's all the
On Fri, 18 Mar 2005, Coywolf Qi Hunt wrote:
linux-os wrote:
On Thu, 17 Mar 2005, Peter W. Morreale wrote:
(I did not see this addressed in the FAQs...)
How much physical memory can the 2.4.26 kernel address in kernel context
on x86?
All of it.
What about DMA memory?
All of it, too. The old DMA
On Fri, 18 Mar 2005 [EMAIL PROTECTED] wrote:
On Fri, Mar 18, 2005 at 08:41:52PM +0530, Hong Kong Phoey wrote:
Sacrificing readibility a little bit, you could do something useful.
Instead of those ugly switch statements you could define function
pointer arrays and call appropriate function
switch(fo
On Fri, 18 Mar 2005, Le Wen wrote:
Hi, there,
I have problem to grab video from my ati all-in-wonder card. The card is in a
PII Celeron machine with an on board video card (ATI Technologies Inc 3D Rage
IIC AGP). there is no monitor connected with the on board video card. I only
hook my AIW card
On Fri, 18 Mar 2005, Le Wen wrote:
On Fri, 18 Mar 2005, Le Wen wrote:
Hi, there,
I have problem to grab video from my ati all-in-wonder card. The card is in
a PII Celeron machine with an on board video card (ATI Technologies Inc 3D
Rage IIC AGP). there is no monitor connected with the on board vi
On Mon, 21 Mar 2005, Jan Engelhardt wrote:
Hello list,
how can I invalidate all buffered/cached dentries so that ls -l /somefolder
will definitely go read the harddisk?
fsync() on the file(s) in the directory then fsync() on the directory
itself. For this, one can open the directory as though it wa
Anybody know what is __supposed__ to happen with lseek()
on /proc/kmsg. Right now, it does nothing, always returns
0. Given that, how am I supposed to clear the kmsg buffer
since it's not a terminal??
Cheers,
Dick Johnson
Penguin : Linux version 2.6.11 on an i686 machine (5537.79 BogoMips).
Notic
On Tue, 22 Mar 2005, Jan Engelhardt wrote:
Hi,
how am I supposed to clear the kmsg buffer since it's not a terminal??
fd = open("/proc/kmsg", O_RDONLY | O_NONBLOCK);
while(read(fd, buf, sizeof(buf)) > 0);
if(errno == EAGAIN) { printf("Clear!\n"); }
This is language (spoken-wise) neutral :p
Gawd, yo
On Tue, 22 Mar 2005, Jan Engelhardt wrote:
Gawd, you are a hacker. I already have to suck on pipes
because I can't seek them. Now, I can't even seek a
file-system???!!
Here goodie goodie...
diff -pdru linux-2.6.11.4/fs/proc/kmsg.c linux-2.6.11-AS9/fs/proc/kmsg.c
--- linux-2.6.11.4/fs/proc/kmsg.c
On Wed, 23 Mar 2005, Jan Engelhardt wrote:
1> Sure, read() needs to be modified to respect the file-position
1> set by kmsg_seek(). I don't think you can get away with the
1> call back into do_syslog.
2>I'm not sure that seek makes any sense on that, since it is more like a
2>pipe than a normal fil
On Wed, 23 Mar 2005, linux lover wrote:
Hello all,
I have one linked list data structure added to
a file in kernel source code which has some kernel
info. I want to acess that linked list structure from
user space. Is that possible??
Also how to add own system call usable at user
leve
kill_proc(pid, SIGNAL, x) is used inside the kernel to
send signals to kernel threads. It is not necessarily
the way to kill user-mode tasks. They should be
sent a fatal signal from user-mode.
On Wed, 23 Mar 2005, Jan Engelhardt wrote:
dear sir,
I am unable to use the system call kill(pid,sig).I
ha
On Wed, 23 Mar 2005, linux lover wrote:
Hello linux-os,
--- linux-os <[EMAIL PROTECTED]> wrote:
On Wed, 23 Mar 2005, linux lover wrote:
Hello all,
I have one linked list data structure added
to
a file in kernel source code which has some kernel
info. I want to acess that linke
On Wed, 23 Mar 2005, sounak chakraborty wrote:
dear sir
i want to call my own function inside the kernel
after a fixed interval(i.e some kind of timer)
how to do that which function i have to use to
repeat the function
anather way is that making my own system call
which calls my function and
this s
On Wed, 23 Mar 2005, Arjan van de Ven wrote:
This kernel code should do just fine.
struct INFO {
struct timer_list timer;// For test timer
atomic_t running; // Timer is running
};
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The correct place to encrypt or decrypt ANYTHING is
just before access to the "outside" world, i.e., in the
case of a file-system, the reads and writes to the
storage device (disk drive). You are in a world of
hurt if you intend to encrypt 'data' and directories
separately.
If you need to use an ex
On Mon, 7 Feb 2005, Justin Piszcz wrote:
I have a DVD where I have three files on it, (1.7gb,1.7gb,900mb).
On W2K, when I try to copy the second file, I get a BadCRC error message.
Under Linux, I copy up to about 860MB (watched via pipebench) and then it
freezes the machine, I cannot ping or get t
On Mon, 7 Feb 2005, Xavier Bestel wrote:
Le lundi 07 fÿÿvrier 2005 ÿÿ 08:05 -0500, linux-os a ÿÿcrit :
Main Question >> Why does Linux 'freeze up' when W2K gives a BadCRC error msg
(never freezes)?
Of course it should not. However, there were many incomplete changes
made in 2.6
On Mon, 7 Feb 2005, Chris Friesen wrote:
Lee Revell wrote:
On Wed, 2005-02-02 at 21:50 -0500, Kyle Moffett wrote:
It's not like somebody will have
some innate commercial advantage over you because they have your
driver source code.
For a hardware vendor that's not a very compelling argument. Espe
On Mon, 7 Feb 2005, Randy.Dunlap wrote:
Charles-Edouard Ruault wrote:
Hi All,
i wrote a driver for the watchdog timer provided by a small form factor
board from IEI ( the PCISA-C800EV :
http://www.iei.com.tw/en/product_IPC.asp?model=PCISA-C800 ).
This board has a Via Apollo PLE133 ( VT8601A and V
On Mon, 7 Feb 2005, jerome lacoste wrote:
On Mon, 7 Feb 2005 11:55:31 -0500 (EST), linux-os <[EMAIL PROTECTED]> wrote:
On Mon, 7 Feb 2005, Chris Friesen wrote:
Lee Revell wrote:
On Wed, 2005-02-02 at 21:50 -0500, Kyle Moffett wrote:
It's not like somebody will have
some innate commercia
I thought somebody promised to add a pci_route_irq(dev) or some
such so that the device didn't have to be enabled before
the IRQ was correct.
I first reported this bad IRQ problem back in December of 2004.
Has the new function been added?
On Mon, 7 Feb 2005, Bjorn Helgaas wrote:
Claim Topic TP560 d
On Mon, 7 Feb 2005, Bjorn Helgaas wrote:
On Mon, 2005-02-07 at 15:12 -0500, linux-os wrote:
I thought somebody promised to add a pci_route_irq(dev) or some
such so that the device didn't have to be enabled before
the IRQ was correct.
I first reported this bad IRQ problem back in December of
On Wed, 9 Feb 2005, Deepti Patel wrote:
Hi all,
I am new to Linux. I am tring to load a module in kernel of 'Fedora core2'.
I wrote a simple Hello world program and tring to compile it with Makefile. I
tried 3 differnt types of make file but still it is giving me error. I will
really appritiate a
On Mon, 14 Feb 2005 [EMAIL PROTECTED] wrote:
On Mon, Feb 14, 2005 at 10:08:20AM -0500, Jeff Sipek wrote:
On Mon, Feb 14, 2005 at 01:08:58PM +0100, Bartlomiej Zolnierkiewicz wrote:
On Sun, 13 Feb 2005 18:08:02 -0800, Larry McVoy <[EMAIL PROTECTED]> wrote:
is to clarify the non-compete stuff. We've
On Tue, 15 Feb 2005, krishna wrote:
Hi all,
Can any one tell me the purpose GPIO pin serves.
How are GPIO pins better than dedicated pins, considering hardware design
view and for programming view.
Do you mean General Purpose I/O bits on a chip?
^ ^ ^ ^
If so, it is in
On Tue, 15 Feb 2005, kernel wrote:
On Mon, 2005-02-14 at 13:56, Larry McVoy wrote:
All we are trying to do is
1. Provide the open source community with a useful tool.
2. Prevent that from turning into the open source community
creating a clone of our tool.
lol
I agree that this s
On Wed, 16 Feb 2005, Martin Bogomolni wrote:
[SNIPPED...]
after the 'find' command is run. malloc( ) fails to allocate
afterwards. so the kernel does not free any of the missing RAM for
malloc( ).
Whatever program is using malloc() is either corrupting
its buffers or has a memory leak.
Malloc() w
On Thu, 17 Feb 2005, govind raj wrote:
Hi all,
We are trying to build a customized kernel image from the stable 2.6.10
kernel release (in kernel.org). We have not applied any kernel patches on
this released version. We are trying to boot this custom image onto a compact
flash (from Toshiba) in a
On Thu, 17 Feb 2005, Davide Rossetti wrote:
maybe RTFM...
a module:
- char device driver for..
- a PCI device
any clue as to how to protect from module unloading while there is still some
process opening it??? have I to sleep in the remove_one() pci driver function
till last process closes its fi
Hello,
Tell me. When all those kernel functions are made static
how does one use a kernel debugger? How does the OOPS
get decoded if nothing is in /proc/kallsyms or System.map???
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is no
On Fri, 18 Feb 2005, Paulo Marques wrote:
Franck Bui-Huu wrote:
Looking at TTY code, I noticed a weird test done in "opost_bock"
located in n_tty.c file. I don't understand why the following test is
done at the start of the function:
if (nr > sizeof(buf))
nr = sizeof(buf);
Actually it limits
On Fri, 18 Feb 2005, Paul Fulghum wrote:
Paulo Marques wrote:
Paul Fulghum wrote:
No, it limits the size to 80 bytes,
which is the size of buf.
sizeof returns the size of the char array buf[80]
(standard C)
Looking at the code, I think Franck is right. buf is a "const unsigned char
*" for which si
On Tue, 25 Jan 2005 [EMAIL PROTECTED] wrote:
Hi,
I work for 3M Touch Systems (former MicroTouch) as software engineer and
our main product is touchscreen as input device.
Recently, we have released hid compliant devices (they work perfectly under
Windows OS), but Linux hid driver does not support
On Wed, 26 Jan 2005, Rik van Riel wrote:
With some programs the 2.6 kernel can end up allocating memory
at address zero, for a non-MAP_FIXED mmap call! This causes
problems with some programs and is generally rude to do. This
simple patch fixes the problem in my tests.
Does this mean that we can't
On Wed, 26 Jan 2005, Dmitry Torokhov wrote:
On Wed, 26 Jan 2005 16:43:07 +0100, Vojtech Pavlik <[EMAIL PROTECTED]> wrote:
On Tue, Jan 25, 2005 at 02:41:14AM -0500, Dmitry Torokhov wrote:
@@ -213,7 +217,10 @@
if (!retval)
for (i = 0; i < ((command >> 8) & 0xf); i++) {
On Wed, 26 Jan 2005, Olivier Galibert wrote:
On Wed, Jan 26, 2005 at 11:38:15AM -0500, linux-os wrote:
On Wed, 26 Jan 2005, Rik van Riel wrote:
With some programs the 2.6 kernel can end up allocating memory
at address zero, for a non-MAP_FIXED mmap call! This causes
problems with some programs
On Wed, 26 Jan 2005, Olivier Galibert wrote:
On Wed, Jan 26, 2005 at 01:20:53PM -0500, linux-os wrote:
On Wed, 26 Jan 2005, Olivier Galibert wrote:
Given that the man page itself says that unless you're using MAP_FIXED
start is only a hint and you should use 0 if you don't care things ca
On Wed, 26 Jan 2005, Rik van Riel wrote:
On Wed, 26 Jan 2005, linux-os wrote:
Wrong! A returned value of 0 is perfectly correct for mmap()
when mapping a fixed address. The attached code shows it working
The code that is patched is only run in case of a non-MAP_FIXED
On Wed, 26 Jan 2005, Bryn Reeves wrote:
On Wed, 2005-01-26 at 17:34, Chris Friesen wrote:
linux-os wrote:
Does this mean that we can't mmap the screen regen buffer at
0x000b8000 anymore?
How do I look at the real-mode interrupt table starting at
offset 0? You know that the return value of mm
On Thu, 27 Jan 2005, Rahul Karnik wrote:
Hello,
I was just wondering if it is possible to flash the BIOS of a PCI IDE
card from within Linux. I have an OEM IT8212 card with a really old
BIOS which the vendor does not support with a BIOS flashing tool. ITE
Tech's flashing tool appears to work, but i
On Thu, 27 Jan 2005, Viktor Horvath wrote:
Hello everybody,
today I patched myself up from 2.6.7 vanilla to 2.6.10 vanilla, but
after all patches succeeded, "make menuconfig" shows "v2.6.8.1
Configuration". Even worse, a compiled kernel calls in his bootlog
himself "2.6.8.1". When installing the wh
Gentlemen,
Isn't the return address on the stack an offset in the
code (.text) segment?
How would a random stack-pointer value help? I think you would
need to start a program at a random offset, not the stack!
No stack-smasher that worked would care about the value of
the stack-pointer.
Cheers,
Dic
On Thu, 27 Jan 2005, Arjan van de Ven wrote:
On Thu, 2005-01-27 at 14:19 -0500, linux-os wrote:
Gentlemen,
Isn't the return address on the stack an offset in the
code (.text) segment?
How would a random stack-pointer value help? I think you would
need to start a program at a random offset, no
On Thu, 27 Jan 2005, William Lee Irwin III wrote:
On Thu, 27 Jan 2005, William Lee Irwin III wrote:
(b) sys_mremap() isn't covered.
On Thu, Jan 27, 2005 at 03:58:12PM -0500, Rik van Riel wrote:
AFAICS it is covered.
--- mm1-2.6.11-rc2.orig/mm/mremap.c 2005-01-26 00:26:43.0 -0800
+++ mm1
Pollard wrote:
On Tuesday 25 January 2005 15:05, linux-os wrote:
This isn't relavent [Stuff about the navy][...]
The Navy [...]
[...]Physical network topology[...]
[...]sneakernet[...]
[...]path[...]
[...]internet[...]
[...]hahaha[...]
[...]NSA[...]
[...]security clearance[...]
I'll ask aga
On Fri, 28 Jan 2005 [EMAIL PROTECTED] wrote:
I want to develop a device driver that would allow access to board
registers and memory that is addressable
on the system bus. The reason for this is to allow hardware developers to
access board registers while the system
is running to determine what is
On ix86 machines, it is appropriate to read the RTC clock
several times in a row until nothing changes. This protects
against getting bad readings when some values wrap (like
seconds). You can't stop the clock when you read it
or you will lose time. I don't see anything like
this in your code. Als
On Mon, 31 Jan 2005, Tim Schmielau wrote:
The ppid of a process is not really helpful if I want to reconstruct the
real history of processes on a machine, since it may become 1 when the
parent dies and the process is reparented to init.
I am not aware of concepts in Linux or other unices that apply
On Tue, 1 Feb 2005, Andreas Gruenbacher wrote:
On Mon, 2005-01-31 at 18:30, Paulo Marques wrote:
Andreas Gruenbacher wrote:
[...]
static inline void swap(void *a, void *b, int size)
{
if (size % sizeof(long)) {
char t;
do {
t = *(char
On Tue, 1 Feb 2005, linux-os wrote:
On Tue, 1 Feb 2005, Andreas Gruenbacher wrote:
On Mon, 2005-01-31 at 18:30, Paulo Marques wrote:
Andreas Gruenbacher wrote:
[...]
static inline void swap(void *a, void *b, int size)
{
if (size % sizeof(long)) {
char t;
do
On Tue, 1 Feb 2005, Scott Feldman wrote:
On Tue, 2005-02-01 at 04:48, Meelis Roos wrote:
See if eepro100 works on your 82556 cards. I would be surprised if it
does. If it does, maybe it's not that much trouble to add support to
e100. Let us know.
I did add the PCI ID to e100 to to try it with bo
On Wed, 2 Feb 2005, Haakon Riiser wrote:
How can I use a frame buffer driver's optimized copyarea, fillrect,
blit, etc. from userspace? The only way I've ever seen anyone use
the frame buffer device is by mmap()ing it and doing everything
manually in the mapped memory. I assume there must be ioct
When I compile and run the following program:
#include
int main(int x, char **y)
{
pause();
}
... as:
./xxx `yes`
... the following occurs after about 30 seconds (your mileage
may vary):
Additional sense: Peripheral device write fault
end_request: I/O error, dev sdb, sector 34605780
SCSI error
ded to use `mkswap` again.
On Wed, 2 Feb 2005, linux-os wrote:
When I compile and run the following program:
#include
int main(int x, char **y)
{
pause();
}
... as:
./xxx `yes`
... the following occurs after about 30 seconds (your mileage
may vary):
Additional sense: Peripheral device write fault
e
On Thu, 3 Feb 2005, Andries Brouwer wrote:
On Wed, Feb 02, 2005 at 01:23:43PM -0500, linux-os wrote:
When I compile and run the following program:
#include
int main(int x, char **y)
{
pause();
}
... as:
./xxx `yes`
... the following occurs after about 30 seconds (your mileage
may vary
On Wed, 2 Feb 2005, Greg KH wrote:
On Wed, Feb 02, 2005 at 07:07:21PM -0500, Pavel Roskin wrote:
On Wed, 2 Feb 2005, Greg KH wrote:
On Wed, Feb 02, 2005 at 03:23:30PM -0800, Patrick Mochel wrote:
What is wrong with creating a (GPL'd) abstraction layer that exports
symbols to the proprietary modules
On Thu, 3 Feb 2005, Andries Brouwer wrote:
On Thu, Feb 03, 2005 at 07:28:50AM -0500, linux-os wrote:
I ran badblocks (all night). There were none. It's a SCSI disk
and it requires chunks of DMA RAM for each write. The machine
just croaks when it gets low on RAM and tries to write to
SCSI
There is more and more policy being put into the kernel
and utilities. Now I can't remove a module because whoever
made the new module-init-tools decided that they didn't like
its name even though it was installed and running.
In the following I explicitly tell `rmmod` to remove a module
with the n
On Fri, 4 Feb 2005, Rahul Jain wrote:
Hi All,
I am trying to add 2 new files (a .h and a .c) in the kernel. I copied my
.h file in /include/linux and .c in /net/core. I then made the
following change to the Makefile in /net/core.
obj-y := sock.o skbuff.o iovec.o datagram.o scm.o split_helper.o
wher
On Thu, 3 Feb 2005, Pankaj Agarwal wrote:
Hi,
In my system there's a strange behaviour its not allowing me to create
any file in /usr/bin even as root. Its chmod is set to 755. Its even not
allowing me to change the chmod value of /usr/bin. The strangest part which i
felt is ...its shows the
On Thu, 3 Feb 2005, Tim Schmielau wrote:
On Thu, 3 Feb 2005, Pankaj Agarwal wrote:
In my system there's a strange behaviour its not allowing me to create
any file in /usr/bin even as root. Its chmod is set to 755. Its even not
allowing me to change the chmod value of /usr/bin. The strangest par
On Thu, 3 Feb 2005, Pankaj Agarwal wrote:
its not even allowing me to copy it ...then surely it wont allow me mv as
well... what else can i try...
You didn't even bother to follow my carefully-written instructions!
**PLONK**
Since you seem to know everything, go to pound sand.
Cheers,
Dick Johnso
On Tue, 22 Feb 2005, Anthony DiSante wrote:
Helge Hafting wrote:
The infrastructure for that does not exist, so instead, the "killed"
process remains. Not all of it, but at least the memory pinned down by the
io request. This overhead is typically small, and the overehad of adding
forced io abo
On Tue, 22 Feb 2005, Chris Friesen wrote:
Horst von Brand wrote:
Anthony DiSante <[EMAIL PROTECTED]> said:
That's one of the things I asked a few messages ago. Some people on the
list were saying that it'd be "really hard" and would "require a lot of
bookkeeping" to "fix" permanently-D-stated p
On Tue, 22 Feb 2005, Chris Friesen wrote:
linux-os wrote:
Now, somebody needs a resource. It executes down(&semaphore);
once it gets control again, it has that resource. It attempts
to use that resource through a driver. The driver waits forever.
The resource is now permanently dorked --for
On Wed, 23 Feb 2005, Bodo Eggert wrote:
linux-os <[EMAIL PROTECTED]> wrote:
You don't seem to understand. A process that's stuck in 'D' state
shows a SEVERE error, usually with a hardware driver.
Or a network filesystem mount to a no longer existing server or share.
Bu
Trying to run an old server with a new kernel. A connection
fails with "interrupted system call" as soon as a client
attempts to connect. A trap in the code to continue
works, but subsequent send() and recv() calls fail in
the same way.
Anybody know how to mask that SIGIO (or whatever signal)?
Sett
On Wed, 23 Feb 2005, Alan Kilian wrote:
callpci_enable_device(dev)
... before you use the IRQ in dev->irq.
The reported IRQ is bogus until you make that
call. It's a reported BUG, probably won't
ever get fixed because it's considered a
feature.
On Wed, 23 Feb 2005, Mickey Stein wrote:
From: Mickey Stein
Versions: linux-2.6.11-rc4-bk11, gcc4 (GCC) 4.0.0 20050217 (latest fc
rawhide from 19Feb DL)
gcc 4.0.x cvs seems to dislike "include/linux/i2c.h file" and others due to a
current gcc 4.0.x change having to do with
array declarations.
Where are you getting IRQ5 from? You can't "hard-code" interrupts on
PCI.
kernel: ACPI: PCI interrupt :13:03.0[A] -> GSI 36 (level, low) ->
IRQ 217
^___ This is your IRQ
It should be in dev->irq AFTER it's enabled.
[SNIPPED...]
Cheers,
Dick Johnson
Penguin : Linux versio
On Thu, 24 Feb 2005, Jordi Brinquez wrote:
Hi,
I think I found a possible bug on file signal.h.
The problem comes when you define a struct sigaction on a user program
and then you use the function sigaction to remap a signal handler (in
my case a page_fault) for my own function, this system call is
On Thu, 24 Feb 2005 [EMAIL PROTECTED] wrote:
Trying to run an old server with a new kernel. A connection
fails with "interrupted system call" as soon as a client
attempts to connect. A trap in the code to continue
works, but subsequent send() and recv() calls fail in
the same way.
Weren't you suppo
I put Linux-2.6.10 on a COMPAQ presario 1800 (bad choice).
After a few minutes without any keyboard activity, it enters
"sleep mode" and dies. I need to remove the battery and
external power to be able to re-boot. Even after that,
it needs to be rebooted twice because it will get to
"Uncompressing
On Fri, 25 Feb 2005, Payasam Manohar wrote:
Hai all,
I tried to insert a sample module into Fedora core 2 , But it is giving an
error message that " no module in the object"
The same module was inserted successfully into Redhat linux 9.
Is there any changes from RH 9 to Fedora Core 2 with respec
Sorry officer. I had to reboot!
Microsoft collaborates with Samsung, ScanSoft, Siemens, SiRF, Xilinx
and auto component player Magneti Marelli to develop a telematics
system to be integrated into an Italian line of cars.
http://email.electronicnews.com/cgi-bin2/DM/y/ek4S0GGtJE0DbD0CQa30E3
Cheers,
D
On Sat, 26 Feb 2005, Payasam Manohar wrote:
hai all,
Is it possible to call call_usermodehelper from interrupt context.
Of course not! I've seen this message before. Either it's a joke
or you have no clue about what interrupts are.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 m
On Sat, 26 Feb 2005, Josef E. Galea wrote:
Hi,
I am implemeting a new system call for a project I'm working on. I added the
system call to the file arch/i386/kernel/process.c and added the relevant
entries in the files arch/i386/entry.S and include/asm-i386/unistd.h. My
system call is made up of
On Mon, 28 Feb 2005 [EMAIL PROTECTED] wrote:
We could change an affectation into an incrementation by this patch, and,
so far I know, incrementing is quicker than or as quick as setting
a variable (depends on the architecture).
Please _don't_ apply this, but tell me what you think about it.
Note th
On Mon, 28 Feb 2005, Payasam Manohar wrote:
hai all,
I am a newbie to kernel, I want to work on linux kernel modules.
My task is to call a user program from keyboard driver under certain
conditions. I know that we can call user program using call_usermodehelper(),
but we can not call it direcly
Conditions:
Intel NIC e100 device driver. Two identical machines.
Private network, no other devices. Connected using a Netgear switch.
Test data is the same thing sent from memory on one machine
to a discard server on another, using TCP/IP SOCK_STREAM.
If I set both machines to auto-negotiation OFF
On Tue, 1 Mar 2005, Ben Greear wrote:
linux-os wrote:
Conditions:
Intel NIC e100 device driver. Two identical machines.
Private network, no other devices. Connected using a Netgear switch.
Test data is the same thing sent from memory on one machine
to a discard server on another, using TCP/IP
On Tue, 1 Mar 2005, Lee Revell wrote:
On Tue, 2005-03-01 at 12:20 -0800, Ben Greear wrote:
What happens if you just don't muck with the NIC and let it auto-negotiate
on it's own?
This can be asking for trouble too (auto negotiation is often buggy).
What if you hard set them both to 100/full?
Lee
As
The attached patch was sent for 2.6.10 but the kernel was
never updated. The kernel used to be compiled with -Wshadow
and would catch these problems. It no longer is (and it
should be).
I attached it so the M$ mail-sender doesn't dork with
white-space.
Signed Off By: [EMAIL PROTECTED]
Cheers,
Dick
On Wed, 2 Mar 2005, Muthian Sivathanu wrote:
Hi,
I have a question on ext3 journal commit code. When a
transaction is committed in the ordered mode, ext3
first issues the data writes, waits for them to
finish, then issues the journal writes, waits for them
to finish, and then writes out the commit
On Wed, 2 Mar 2005, Horst von Brand wrote:
Lee Revell <[EMAIL PROTECTED]> said:
On Tue, 2005-03-01 at 12:20 -0800, Ben Greear wrote:
[...]
What happens if you just don't muck with the NIC and let it auto-negotiate
on it's own?
This can be asking for trouble too (auto negotiation is often buggy).
I
On Wed, 2 Mar 2005, Linas Vepstas wrote:
On Wed, Mar 02, 2005 at 11:28:01AM +0900, Hidetoshi Seto was heard to remark:
Note that here is a difficulty: the MCA handler on some arch would run on
special context - MCA environment. In other words, since some MCA handler
[SNIPPED...]
/**
* queue up a pc
I think there are entirely too many module-wanabees on yahoo!
On Thu, 3 Mar 2005, sounak chakraborty wrote:
there is one my_own module
which i will insert whenever i like through
insmod.
thus when the module is loaded it will create a proc
file
Can you tell us or me what it is that you are trying t
On Thu, 3 Mar 2005, V P wrote:
Hi,
I have a question on how disk errors get propagated to
the file systems.
From looking at the SCSI/IDE drivers, it looks like there
could be many reasons for an I/O to fail. It could be
bus timeout, media errors, and so on.
Does all these errors get reported to the
On Tue, 8 Mar 2005, Joerg Pommnitz wrote:
Hello all,
currently it seems that select keeps blocking when the USB device behind
ttyUSBx gets unplugged. My understanding is, that select should return
when the next call to one of the operations (read/write) will not block.
This is certainly true for fa
On Tue, 8 Mar 2005, Imanpreet Arora wrote:
On Tue, 08 Mar 2005 12:13:20 -0500, Robert Love <[EMAIL PROTECTED]> wrote:
On Tue, 2005-03-08 at 22:34 +0530, Imanpreet Arora wrote:
I am wondering if someone could provide information as to how
thread_struct is kept in memory. Robert Love mentions t
1 - 100 of 346 matches
Mail list logo