Re: [PATCH] introduce config option to disable DMA zone on i386

2006-12-28 Thread Robert Hancock
or 28bit or .. non-32bit dma as well) That sounds like a bug if this can happen. Drivers should be failing to initialize if they can't set the proper DMA mask, and the DMA API calls should be failing if the requested DMA mask can't be provided. -- Robert Hancock Saskatoon, SK,

Re: Kernel 2.6.17.13: eth2: TX underrun, threshold adjusted.

2006-12-25 Thread Robert Hancock
. Try disabling eepro100 and see if e100 works. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a me

Re: Binary Drivers

2006-12-22 Thread Robert Hancock
" If you need high-performance 3D they might as well be, as realistically ATI and NVIDIA are the only providers of high-performance video for the consumer market. Nobody else makes anything that competes, not even onboard video chipsets like Intel, SiS, etc. -- Robert Hancock Saska

Re: [PATCH] Unbreak MSI on ATI devices

2006-12-21 Thread Robert Hancock
hange went in is that some devices don't automatically disable INTX when MSI is turned on (somewhat contrary to the PCI spec apparently). This whole issue might need to be reopened though.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECT

Re: newbie questions about while (1) in kernel mode and spinlocks

2006-12-21 Thread Robert Hancock
andlers are not preemptible by anything other than other interrupt handlers (and then only in some cases) so it will sit spinning on that lock forever. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.co

Re: Compiling and Loading Kernel Modules in FC5

2006-12-20 Thread Robert Hancock
le'. I am running Fedora Core 5. Any Ideas.. My make file is named MakeFile Call it Makefile, not MakeFile. Or do make -f MakeFile, but I'm not sure if that works. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http:

Re: [PATCH 3/4] Add driver for OHCI firewire host controllers.

2006-12-19 Thread Robert Hancock
ots of laptops have OHCI 1394 and full suspend/resume support is something that the current ohci1394 driver lacks. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this lis

Re: Linux 2.6.20-rc1

2006-12-19 Thread Robert Hancock
t. So the problem was never the SG_IO changes, the fact that somebody noticed the same thing in bugzilla for a 2.6.19-rc6-mm kernel backs that up. From what I've seen it appears that smartctl has the same problem, it was also reporting the device didn't support SMART.. -- Robert Hancoc

Re: schedule_timeout: wrong timeout value

2006-12-18 Thread Robert Hancock
yms or the System.map file and figure out what function that is.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in t

Re: Linux 2.6.20-rc1

2006-12-14 Thread Robert Hancock
Christie <[EMAIL PROTECTED]> Signed-off-by: Jens Axboe <[EMAIL PROTECTED]> -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linu

Re: Support 2.4 modules features in 2.6

2006-12-12 Thread Robert Hancock
this was never recommended. Current distributions no longer include any kernel-internal headers in /usr/include anymore. You do need at least a partial kernel source tree to build modules against. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL

[PATCH] sata_nv: add suspend/resume support v3

2006-12-12 Thread Robert Hancock
freed while it could potentially still be used. Signed-off-by: Robert Hancock <[EMAIL PROTECTED]> --- linux-2.6.19-rc6-mm2/drivers/ata/sata_nv.c 2006-12-12 17:49:02.0 -0600 +++ linux-2.6.19-rc6-mm2admafix/drivers/ata/sata_nv.c 2006-12-11 22:15:58.0 -0600 @@ -49,7 +

2.6.19-rc6-mm2 oops and udev misbehavior

2006-12-12 Thread Robert Hancock
Bus:vcs7 PM: Adding info for No Bus:vcsa7 PM: Removing info for No Bus:vcs7 PM: Removing info for No Bus:vcsa7 PM: Adding info for No Bus:vcs7 PM: Adding info for No Bus:vcsa7 eth0: no IPv6 routers present -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam"

[PATCH -mm] sata_nv: fix kfree ordering in remove

2006-12-11 Thread Robert Hancock
end/resume change for sata_nv introduced a potential bug where the hpriv structure could be used after it was freed in nv_remove_one. Fix that. Signed-off-by: Robert Hancock <[EMAIL PROTECTED]> --- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL

Re: NULL pointer and EIP errors

2006-12-11 Thread Robert Hancock
this is the second time these services have died on the box!! Does the box need patching or do certain services need updates? That's an ancient kernel, you should update. Also, you'd better reboot as the box is probably in a hosed state now that the kernel has oopsed.. -- Robe

Re: single bit errors on files stored on USB-HDDs via USB2/usb_storage

2006-12-07 Thread Robert Hancock
will unconnect the short cable and use the long cable exclusivly and see if it gets better(tm). That long cable could be part of the problem - I don't think the USB specification allows for cables that long (something like a 6 foot max as I recall). -- Robert Hancock Saskatoon, SK,

Re: single bit errors on files stored on USB-HDDs via USB2/usb_storage

2006-12-06 Thread Robert Hancock
ke that. The fact that the corruption seems data dependent would seem to me to point to some kind of hardware problem. I would tend to suspect the USB-to-IDE converters in the enclosures as being faulty or something like that.. -- Robert Hancock Saskatoon, SK, Canada To email, remove &q

Re: Why SCSI module needed for PCI-IDE ATA only disks ?

2006-12-05 Thread Robert Hancock
can't build libata without low-level SCSI drivers. CONFIG_ATA automatically selects CONFIG_SCSI. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "

Re: Why SCSI module needed for PCI-IDE ATA only disks ?

2006-12-05 Thread Robert Hancock
be no need to build the other module. This isn't a major problem for most standard configurations as those drivers are needed to handle things like USB and FireWire flash drives, external HDs/optical drives, etc. anyway. -- Robert Hancock Saskatoon, SK, Canada To email, remove "

Re: libata update?

2006-12-03 Thread Robert Hancock
ntel controller with that combined/legacy/AHCI selection braindamage. Did you select the right driver options in the kernel configuration? You'll either have to compile the driver(s) into the kernel or potentially do some distro-specific magic to ensure the modules get loaded in the initrd

Re: libata update?

2006-12-03 Thread Robert Hancock
ata. Could someone point me into the right direction to achieve this? Thanks in advance Erik. All of the PATA stuff was merged in 2.6.19, if you want the very latest and greatest you can try the -mm tree.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" fro

Re: nforce chipset + dualcore x86-64: Oops, NMI, Null pointer deref, etc

2006-12-02 Thread Robert Hancock
ppen in any case but that code is not the greatest). Myself, I would try disabling CONFIG_IDE entirely and enabling the corresponding new libata PATA driver for this chipset's PATA ports (for nForce4 it will be pata_amd). Even if it still doesn't work it may allow the real problem to be

Re: [RFC PATCH] nForce4 ADMA with NCQ: It's aliiiive..

2006-11-30 Thread Robert Hancock
issed them.. It would be nice to get this support in, those are the last NVIDIA chipsets which have NCQ support (apparently) that don't support it under Linux. Even just the hardware docs would be useful.. --- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" fr

Re: mass-storage problems with Archos AV500

2006-11-29 Thread Robert Hancock
.19-7-generic 2.6.19-7.10 from Ubuntu edgy. I get similar results with a home-brew 2.6.18-rc4. Any mass storage quirk needed that might be missing? That all seems normal, other than the unknown partition table, but the device might be all one unpartitioned disk.. at what point is it failing? -- R

[PATCH -mm] sata_nv: add suspend/resume support

2006-11-29 Thread Robert Hancock
needed for proper resume handling, this also removes the inline helper functions for getting ADMA register locations by storing the pointers so we don't have to keep calculating them all the time. Signed-off-by: Robert Hancock <[EMAIL PROTECTED]> --- Robert Hancock Saskat

Re: Reserving a fixed physical address page of RAM.

2006-11-27 Thread Robert Hancock
Jon Ringle wrote: Robert Hancock wrote: Jon Ringle wrote: Hi, I need to reserve a page of memory at a specific area of RAM that will be used as a "shared memory" with another processor over PCI. How can I ensure that the this area of RAM gets reseved so that the Linux's me

Re: Reserving a fixed physical address page of RAM.

2006-11-27 Thread Robert Hancock
lloc_coherent is what you want.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECT

udev going crazy in 2.6.19-rc6-mm1

2006-11-26 Thread Robert Hancock
EVENT[1164592627.593629] add@/block/md0 UEVENT[1164592627.593773] remove@/block/md0 UDEV [1164592627.594800] add@/block/md0 UDEV [1164592627.608021] remove@/block/md0 UEVENT[1164592627.621574] add@/block/md0 -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTE

Re: [patch] PM: suspend/resume debugging should depend on SOFTWARE_SUSPEND

2006-11-26 Thread Robert Hancock
ave on some aborted suspend-to-disk attempts. (It looks like STD doesn't work either, it complains there is no swap available even though there is.. maybe because there's 2GB of RAM and 2GB of swap? It should still fit though, I would think, as not all RAM is in use..) In any ca

[PATCH -mm] sata_nv: fix ATAPI in ADMA mode

2006-11-26 Thread Robert Hancock
: Robert Hancock <[EMAIL PROTECTED]> -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ --- linux-2.6.19-rc6-mm1/drivers/ata/sata_nv.c 2006-11-25 10:04:14.0 -0600 +++ linux-2.6.19-rc6-mm1-adm

Re: [patch] x86: unify/rewrite SMP TSC sync code

2006-11-25 Thread Robert Hancock
M Timer or (at last resort) the PIT, in increasing degrees of slowness. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel&quo

Re: [patch] PM: suspend/resume debugging should depend on SOFTWARE_SUSPEND

2006-11-25 Thread Robert Hancock
makes things a bit more complicated. In any case, it should be better than what we have right now for suspend/resume support in sata_nv, namely the "do nothing, won't work (at least not for CK804 and later)" implementation.. -- Robert Hancock Saskatoon, SK, Canada To email

Re: ata2: EH in ADMA mode, notifier 0x0 notifier_error 0x0 gen_ctl

2006-11-19 Thread ROBERT HANCOCK
Christian wrote: > > FYI: > My system config is one 400GB disk at sda, and two 250GB disks on a dmraid > nvidia-fakeraid set of sdb and sdc. > > My kernel message buffer gets quickly overrun by a flood of these error > messages: > > Nov 17 22:48:12 ubuntu kernel: [ 119.566540] attempt to acce

Re: ata2: EH in ADMA mode, notifier 0x0 notifier_error 0x0 gen_ctl

2006-11-18 Thread ROBERT HANCOCK
Christian wrote: > During my I/O load test, after about half an hour of heavy I/O on three > SATAII > disks the system suddenly hung for about 3 seconds. After that I checked > dmesg and found the following error output: > > [ 4574.193809] ata2: EH in ADMA mode, notifier 0x0 notifier_error 0x0

Re: RFC: i386: kill !4KSTACKS

2005-09-04 Thread Robert Hancock
nk is going on inside the Windows driver seems rather inherently fragile.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-ke

Re: kernel panic

2005-08-29 Thread Robert Hancock
e way you're using the wait queue (they're not normally instantiated as local variables on the stack, for one thing). It looks like you're just using it to create a delay, in that case use schedule_timeout, msleep, etc. -- Robert Hancock Saskatoon, SK, Canada To email, remove

Re: [patch] IBM HDAPS accelerometer driver.

2005-08-28 Thread Robert Hancock
daemon should be able to run whenever it needs to. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: Surround via SPDIF with ALSA/emu10k1?

2005-08-22 Thread Robert Hancock
Dolby Digital or DTS.) The sound card is not capable of doing this, so if the content is not Dolby Digital already, this would have to be handled by some software. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.robert

Re: sched_yield() makes OpenLDAP slow

2005-08-22 Thread Robert Hancock
f the line for runnable processes, it doesn't magically cause you to go to sleep somehow. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "un

Re: sched_yield() makes OpenLDAP slow

2005-08-20 Thread Robert Hancock
etter solution than using yield and having correct operation depend on undefined parts of thread scheduling behavior.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this lis

Re: sched_yield() makes OpenLDAP slow

2005-08-19 Thread Robert Hancock
for a process to indicate that "what I'm doing doesn't matter much, let other stuff run". Any other use of it generally constitutes some kind of hack. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.r

Re: Is it possible to control C.O.P

2005-08-11 Thread Robert Hancock
ed by hardware, so I don't know that there's much the kernel can do about it. Is there a threshold temperature setting in the BIOS? -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To u

Re: how do I read CPU temperature in ACPI? (w/ P5WD2 motherboard)

2005-08-10 Thread Robert Hancock
PI thermal zone. This isn't required.. Likely your best bet is lm_sensors if your board has a sensor chip that it supports.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe

Re: Weird USB errors on HD

2005-07-26 Thread Robert Hancock
pretty much a matter of the controller saying it can supply so much power, the drive says it uses so much power, but one of them is lying and the drive ends up tripping the overcurrent. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EM

Re: PATCH: Assume PM Timer to be reliable on broken board/BIOS

2005-07-26 Thread Robert Hancock
it to behave properly.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTE

Re: problem while executing insmod

2005-07-26 Thread Robert Hancock
d modules against vanilla 2.4.20 kernel sources and load them into the Red Hat 9 version. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "un

Re: Kernel cached memory

2005-07-25 Thread Robert Hancock
a you are loading, which definitely will speed things up.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: kernel page size explanation

2005-07-21 Thread Robert Hancock
page sizes. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More maj

Re: Volatile vs Non-Volatile Spin Locks on SMP.

2005-07-16 Thread Robert Hancock
oaded from memory. If the value is cached in a register it will not update when another CPU changes it. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line &qu

Re: Thread_Id

2005-07-14 Thread Robert Hancock
RVK wrote: Ian Campbell wrote: On Thu, 2005-07-14 at 15:36 +0530, RVK wrote: bits/pthreadtypes.h:150:typedef unsigned long int pthread_t; That's an implementation detail which you cannot determine any information from. What Arjan is saying is that pthread_t is a cookie -- this means

Re: Thread_Id

2005-07-05 Thread Robert Hancock
RVK wrote: Can anyone suggest me how to get the threadId using 2.6.x kernels. pthread_self() does not work and returns some -ve integer. What do you mean, negative integer? It's not an integer, it's a pthread_t, you're not even supposed to look at it.. -- Robert Hancock

Re: question on 2.4 scheduler, threads, and priority inversion

2005-04-19 Thread Robert Hancock
ter (there is no manager thread). -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: formatting CD-RW locks the system

2005-04-10 Thread Robert Hancock
least - that's just the way IDE works. That shouldn' have an effect on other IDE channels though.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line

Re: easy softball jiffies quest(ion)

2005-04-10 Thread Robert Hancock
ing to work, jiffies is an internal kernel value, you can't access it from userspace. What do you need jiffies for to do this? -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscrib

Re: very high temperatures in Asus notebook

2005-04-10 Thread Robert Hancock
other parameter values are.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Mor

Re: Hyperthreading and Kernel 2.4

2005-04-05 Thread Robert Hancock
rnels ever had good HT support, but the patched 2.4.20 kernel in Red Hat 9, for example, seems to handle it reasonably well.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this

Re: AMD64 Machine hardlocks when using memset

2005-04-05 Thread Robert Hancock
Alan Cox wrote: On Sad, 2005-04-02 at 05:50, Robert Hancock wrote: I'm wondering if one does a ton of these cache-bypassing stores whether something gets hosed because of that. Not sure what that could be though. I don't imagine the chipset is involved with any of that on the Athlon 6

Re: AMD64 Machine hardlocks when using memset

2005-04-01 Thread Robert Hancock
on of these cache-bypassing stores whether something gets hosed because of that. Not sure what that could be though. I don't imagine the chipset is involved with any of that on the Athlon 64 - either the CPU or RAM seems the most likely suspect to me -- Robert Hancock Saskatoon, SK, Canad

Re: AMD64 Machine hardlocks when using memset

2005-04-01 Thread Robert Hancock
Ray Lee wrote: On Thu, 2005-03-31 at 22:37 -0600, Robert Hancock wrote: This is getting pretty ridiculous.. I've tried memory timings down to the slowest possible, ran Memtest86 for 4 passes with no errors, and it's been stable in Windows for a few months now. Still something is blo

Re: AMD64 Machine hardlocks when using memset

2005-03-31 Thread Robert Hancock
Linux with this test though.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: AMD64 Machine hardlocks when using memset

2005-03-31 Thread Robert Hancock
e kernel: Mar 31 18:55:43 Newcastle kernel: Mar 31 18:55:43 Newcastle kernel: Code: f3 48 ab c3 66 66 66 90 66 66 66 90 66 66 66 90 66 66 66 90 Mar 31 18:55:43 Newcastle kernel: RIP {clear_page+7} RSP Mar 31 18:55:43 Newcastle kernel: CR2: ffff8100588f5000 -- Robert Hancock Saskatoon, SK, Canada

Re: AMD64 Machine hardlocks when using memset

2005-03-30 Thread Robert Hancock
type ntfs), uses genfs_contexts Adding 1052216k swap on /dev/sdb5. Priority:-1 extents:1 SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthanc

Re: AMD64 Machine hardlocks when using memset

2005-03-30 Thread Robert Hancock
d not) lock the machine anyway. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTE

Re: Big GCC bug!!! [Was: Re: Do not misuse Coverity please]

2005-03-30 Thread Robert Hancock
e this optimization for programs which depend on that behavior. " -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: Aligning file system data

2005-03-29 Thread Robert Hancock
side your application.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED

Re: How's the nforce4 support in Linux?

2005-03-24 Thread Robert Hancock
y or is based on the ADMA architecture (the Windows driver is called "NVIDIA nForce4 ADMA Controller", so using it with the ADMA driver might be doable at some point, though I haven't heard of any hardware specs being released.. -- Robert Hancock Saskatoon, SK, Canada To email, remove &

Re: Some questions about VM flags

2005-03-23 Thread Robert Hancock
me know your opinion. Likewise, many CPUs cannot enforce execution restrictions separate from read restrictions (x86 CPUs are like this, except for the latest ones with NX support, or if you're using a kernel patch like exec-shield that tries to emulate this support). -- Robert Hancock

Re: Invalidating dentries

2005-03-22 Thread Robert Hancock
he file system again.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More m

Re: lseek on /proc/kmsg

2005-03-22 Thread Robert Hancock
his is language (spoken-wise) neutral :p 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???!! I'm not sure that seek makes any sense on that, since it is more like a pipe than a normal file.. -- Robert Hancock

Re: PROBLEM: Buffer I/O error on device hdg1, system freeze.

2005-03-18 Thread Robert Hancock
when attempting to read data from the media. It is quite unlikely that the controller or driver is responsible for this sort of error, as can occasionally be the case for DMA timeout errors. Almost certainly the hard drive is failing. -- Robert Hancock Saskatoon, SK, Canada To email, r

Re: linux: detect application crash

2005-03-17 Thread Robert Hancock
in a messed-up state. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROT

Re: Bogus buffer length check in linux-2.6.11 read()

2005-03-16 Thread Robert Hancock
age to determine if it is accessible or not like verify_area did (and copy_to/from_user does). -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "u

Re: Taking strlen of buffers copied from userspace

2005-03-15 Thread Robert Hancock
looked at the surrounding code). Rather an odd way of doing it, but shouldn't have that problem. Could still be subject to problems if buf contains a null at the first character, unless they're somehow preventing that too.. -- Robert Hancock Saskatoon, SK, Canada To email, remo

Re: Bogus buffer length check in linux-2.6.11 read()

2005-03-15 Thread Robert Hancock
valid until it actually does the write. What was wrong with copy_to_user()? Why is there the additional bogus check? What additional check? -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubsc

Re: Taking strlen of buffers copied from userspace

2005-03-15 Thread Robert Hancock
T; 109 ptr = line + strlen(line) - 1; 110 if (*ptr == '\n') 111 *ptr = '\0'; This one is also unsafe if somebody writes some data which is not null-terminated (assuming that that's possible), since strlen will run off the e

Re: Awful long timeouts for flash-file-system

2005-03-14 Thread Robert Hancock
apter you're using doesn't do DMA, I believe that if you use options like hdb=nodma or ide1=nodma, etc. that will get the kernel to not try and use it. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthan

Re: Linux 2.6 : physical memory address and pid

2005-03-12 Thread Robert Hancock
Allison wrote: Thanks for the answer! Another related question : I need to gather all application pages by reading the page tables. The hard part is, I need to do this from a PCI device using DMA. As I understand it, when a DMA is being performed, the pages are pinned in memory . Since the PCI

Re: 2.6.11: USB broken on nforce4, ipv6 still broken, centrino speedstep even more broken than in 2.6.10

2005-03-11 Thread Robert Hancock
Felix von Leitner wrote: My new nForce 4 mainboard has 10 or so USB 2.0 outlets. In Windows, they all work. In Linux, two of them work. Putting my USB stick or anything else in one of the others produces nothing in Linux. Apparently no IRQ getting through or something? Likely similar to the prob

Re: Can I get 200M contiguous physical memory?

2005-03-10 Thread Robert Hancock
Chris Wedgwood wrote: it's driver in windows can do it. windows can get 200MB of memory on a running system relaibly? does it swap like mad when you do this? I'm guessing that driver isn't too likely to pass WHQL testing on Windows either, whatever it's doing.. -- Robert Ha

Re: select(2), usbserial, tty's and disconnect

2005-03-08 Thread Robert Hancock
out to do this. I thought this had been merged, but I could be wrong. I should think that if that works, then your select should be working as well.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock

Re: kernel mmap() and friends.

2005-03-08 Thread Robert Hancock
imilar driver/code in the kernel as an example if possible.. -- Robert Hancock Saskatoon, SK, Canada Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at ht

Re: [CHECKER] crash after fsync causing serious FS corruptions (ext2, 2.6.11)

2005-03-07 Thread Robert Hancock
not get a chance to actually commit the write to platter. Is this really the behavior in the current kernel? If so this seems quite wrong to me - if the application did an fsync, I think the kernel should be sending cache flush commands to the drive before the call completes.. -- Robert Hancock

Re: NMI watchdog question

2005-03-06 Thread Robert Hancock
Pallai Roland wrote: Hi, I'm playing with the NMI watchdog (nmi_watchdog=1) on a reproductable hard lockup (no keyboard, etc) but seems like it doesn't works and I can't understand why, please explain to me the possible causes.. I belive it should work in this situation.. environment: P4C800 moth

Re: swapper: page allocation failure. order:1, mode:0x20

2005-02-28 Thread Robert Hancock
Nigel Cunningham wrote: Hi. On Tue, 2005-03-01 at 12:10, Robert Hancock wrote: Bernd Schubert wrote: Essentially the tg3 Ethernet driver is trying to allocate memory to store a received packet, and is unable to do so. Since this is done inside interrupt context, this allocation has to be

Re: Complicated networking problem

2005-02-28 Thread Robert Hancock
it's not going to be seamless (as in, preserving open connections), since the IP addresses are different.. -- Robert Hancock Saskatoon, SK, Canada Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: swapper: page allocation failure. order:1, mode:0x20

2005-02-28 Thread Robert Hancock
tain cases, like if the system has little physical RAM free at a certain point and then a flood of network packets arrive. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this

Re: Fw: 2.6.11-rc4 doubles CPU temperature

2005-02-28 Thread Robert Hancock
Ben Castricum wrote: For some weird reason, 2.6.11-rc4 up to the current BK tree about doubles my CPU temperature from 20 degrees Celcius to 40 while everything else is unchanged (load/processes/config). The system does seem a bit more sluggish, but that may just be a feeling. A cat /proc/cpu giv

Re: Invalid module format in Fedora core2

2005-02-26 Thread Robert Hancock
linux-os wrote: I attached a typical makefile so you can see how complicated this new crap is. In the meantime, you can just take this and link it with your "module.o" to make a "module.ko". What is all this stuff for? Unless you are doing some pretty bizarre things in your module this is far more

Re: Help enabling PCI interrupts on Dell/SMP and Sun/SMP systems.

2005-02-23 Thread Robert Hancock
en the routing is the same as the BIOS assumed. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: msgsnd in module

2005-02-23 Thread Robert Hancock
Vijayalakshmi Hadimani wrote: Hi, I am inserting a module(device driver) using insmod. I want to send a message from this module to an user process. For this I used msgsnd with buffer in the call as a local variable. I am getting an error "EFAULT" for this call. However this did not happen w

Re: Help enabling PCI interrupts on Dell/SMP and Sun/SMP systems.

2005-02-23 Thread Robert Hancock
Alan Kilian wrote: kernel: SSE: Found a DeCypher card. kernel: ACPI: PCI interrupt :13:03.0[A] -> GSI 36 (level, low) -> IRQ 217 The first message is in my driver after pci_find_device() The second is from when I do pci_enable_device(dev); Can you decode the mys

Re: accept() fails with EINTER

2005-02-23 Thread Robert Hancock
linux-os 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. Anybody know how to mask that SIGIO (or whatev

<    3   4   5   6   7   8