Re: keyboard hook?

2001-06-04 Thread Michael Rothwell
Input API looks nice. For now, I'll write a patch against pc_keyb.c to add a hook for my qoder stuff, and a loadable module for the meat of the driver. Then I'll port up to the input API. The Qoder is strictly ps/2 keyboard, as far as its interface goes, so I cannot use the input API for now. I

Re: [patch] for irda/irlan

2001-06-04 Thread Alan Cox
> this patch addresses a few issues. one is unreversed effects in the > function upon an error condition. second is a large struct on the stack. > this code could be called multiple times i believe, making it fairly > dangerous. it's fairly inconvenient to move it off the stack, with the > numb

PROBLEM: Can't mount cdrom, connected on Adaptec 1542CF with Kernel2.4.(3-5)

2001-06-04 Thread Juergen Boehm
1. Can't mount cdrom, connected on Adaptec 1542CF with Kernel 2.4.(3-5) 2. Description On Kernel 2.2.(3-5) with aha1542 as second SCSI-Controller mount -t iso9660 -o ro /dev/scd1 /cdrom gives the following Message: mount: wrong fs type, bad option, bad superblock on /dev/sdc1

Re: lowlatency 2.2.19

2001-06-04 Thread Andrea Arcangeli
On Sun, Jun 03, 2001 at 10:38:34AM -0400, William Montgomery wrote: > Anyone have any ideas? Which options did you enabled? In theory the ikd patch could only make the latency worse ;), there are no performance improvements in it but only runtime debugging stuff. Andrea - To unsubscribe from t

IDE corruption, 2.2, VIA chipset in PIO mode

2001-06-04 Thread Neil Conway
Summary: we got IDE trashage in PIO mode with a VIA 686A IDE chipset, using 2.2.12-20smp (RH6.1 stock). Disk is an IBM 75GXP 75GB, mobo is Gigabyte GA-6VXDC7 (IIRC). Story: had the system hooked up with SCSI disk, needed more disk space, had IBM EIDE handy, stuck it in, no UDMA cable handy so u

Re: SCSI-CD-Writer don't show up

2001-06-04 Thread Gérard Roudier
On Sat, 2 Jun 2001, Matthias Schniedermeyer wrote: > #Include > > > > I have 3 SCSI-CD-Writers. "Strange" is that the boot-process only finds > the first one (1 0 5 0), the other two i have to add with > > echo "scsi add-single-device 2 0 4 0" > /proc/scsi/scsi > echo "scsi add-single-devi

Re: keyboard hook?

2001-06-04 Thread James Simmons
> Thanks, I'm loking through your driver now. Does the input api > already/currently support ps2 keyboards? With the current tree no. The work around is to make input api keyboards behave as PS/2 keyboards. In 2.5.X ps2 keyboards will be input api based. As you can see we already have PS/2 inp

Re: [PATCH] sym53c8xx timer and smp fixes

2001-06-04 Thread Gérard Roudier
On Thu, 31 May 2001, Tim Hockin wrote: > All, > > Attached is a patch for sym53c8xx.c to handle the error timer better, and > be more proper for SMP. The changes are very simple, and have been beaten > on by us. Please let me know if there are any problems accepting this > patch for general

IO-APIC, beaten with stick, routes USB

2001-06-04 Thread Rico Tudor
I'm another victim of the IOAPIC routing USB IRQs to the nearest black hole. Running 2.4.4, dual CPU, ServerWorks HE chipset. IRQ 16 was wrongly assumed for the OHCI controller. This generated the usual sign of interrupt servicing gone AWOL: usb_control/bulk_msg: timeout usb-oh

Tulip driver advertising bug.

2001-06-04 Thread Jean-Paul CHAPUT
Hello Mr Kernel, I've found a bug in the tulip driver in the advertising step. As you can see at the end of this kernel message log, the driver switch to advertise 0001 (which is buggy) instead of 01e1 (the correct value for my card). 0001 means that the MII transceiver

CONFIG_X86_UP_APIC undocumented

2001-06-04 Thread Pavel Roskin
Hello, Eric! For some reason CONFIG_X86_UP_APIC doesn't appear in your list of undocumented symbols. You may need to adjust your checker. It is used in 2.4.5-ac7 kernel in arch/i386/config.in: bool 'APIC support on uniprocessors' CONFIG_X86_UP_APIC The entry for CONFIG_X86_UP_IOAPIC seems to ta

Re: How to know HZ from userspace?

2001-06-04 Thread Erik Tews
On Wed, May 30, 2001 at 08:37:25PM -0300, Harald Welte wrote: > Hi! > > Is there any way to read out the compile-time HZ value of the kernel? > > I had a brief look at /proc/* and didn't find anything. > > The background, why it is needed: > > There are certain settings, for example the icmp r

ide retry on 2.4.5-ac7

2001-06-04 Thread PROFETA Mickael
Hi Since my first try on 2.4 kernel, I had trouble with DMA when I select activate on boot time because it selects udma4, whereas my HD is only able to do udma2. I correct that with hdparm, but I was quite happy of the patch in ac4 whixh detect ide lost interrupt a

Re: Linux 2.4.5-ac7

2001-06-04 Thread lists
FYI: 2 small issues: o make xconfig fails (works ok in ac6) : cat header.tk >> ./kconfig.tk ./tkparse < ../arch/i386/config.in >> kconfig.tk drivers/net/wireless/Config.in: 5: can't handle dep_bool/dep_mbool/dep_tristate condition make[1]: *** [kconfig.tk] Erro

How to redirect a task's o/p to different xterms ???

2001-06-04 Thread Chandrashekar Nagaraj
hi, We r working on a ISP( Internet service provider ). We have a board for the client side running on Vxworks and for the server we r using a simulator running on Linux. The simulator has a menu based interface, and supports operations such as ftp,telnet,logging and so on. We hav

[PATCH] Remove nr_async_pages limit

2001-06-04 Thread Zlatko Calusic
This patch removes the limit on the number of async pages in the flight. That artificial limit hurts both swap out and swap in path as it introduces synchronization points (and/or weakens swapin readahead), which I think are not necessary. I also took an opportunity to clean up code a little bit

Re: Swap problems persisting?

2001-06-04 Thread Nitebirdz
On Wed, 30 May 2001, Peter Rasmussen wrote: > > By "sudden shutdown" I meant that the machine freezes hard and when running X > using the Magic SysRq key combinations don't seem to work so power cycling was > the only option. It seems that it wasn't just the keyboard that had frozen > because a w

Re: Linux 2.4.5-ac6

2001-06-04 Thread Maciej W. Rozycki
On Fri, 1 Jun 2001, Tom Vier wrote: > > o Fix mmap cornercase (Maciej Rozycki) > > when i try running osf/1 netscape on alpha, mmap of libXmu fails. works fine > on -ac5. Can you get a strace of your failing netscape? -- + Maciej W. Rozycki, Technical Universit

Re: keyboard hook?

2001-06-04 Thread Michael Rothwell
Thanks, I'm loking through your driver now. Does the input api already/currently support ps2 keyboards? -M On Sat, Jun 02, 2001 at 08:40:04PM -0700, James Simmons wrote: > > Hi! > >Your best bet for a kernel driver is to use the linux input api like > the usb keyboard do. The drivers are

[PATCH 2.4.5] New driver for Sony Programmable I/O Control Device

2001-06-04 Thread Stelian Pop
Hi, You'll find attached a driver for the Sony Programmable I/O Control Device, which can be found on many (all ?) Sony Vaio laptops. This driver enables a user mode application to receive (through a misc character device node) the events generated by: - the jogdial (the small wheel)

UMSDOS symlink bug

2001-06-04 Thread Anders Larsen
Hi, last week I got bitten by the UMSDOS symlink bug (symlinks are created with the last character missing). After having found and fixed the problem, I located your address to report it and found that the problem (and the fix!) has been known for at least half a year. Although your patches for

Re: Dual AMD Palomino from Australia

2001-06-04 Thread Alan Cox
> do you have an dual AMD 760MP based mobo, too? I dont - 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.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: Linux 2.4.5-ac7

2001-06-04 Thread Pete Zaitcev
> AC> 2.4.5-ac7 > AC> o Make USB require PCI(me) > How about people from StrongArm sa11x0 port, who have USB host controller > (in sa companion chip) but do not have PCI? > Probably there are more such embedded architectures with USB controllers, > but not PC

unresolved symbol on tcp_proxy_sendmsg()

2001-06-04 Thread Alon Ronen
Hi all! I wrote a function under 2.4.4 which simply mimics the behaviour of tcp_sendmsg() but with zerocopy (uses do_tcp_send_pages()). I also added the function to the netsyms.c file & then compiled the kernel & booted from it. when I try to insmod a module which simply makes a call to my functi

Re: Intellimouse in 2.4.5-ac7

2001-06-04 Thread mythos
I am sorry for my last messages.I had made a silly mistake. I thought I had UHCI Alternate Driver (JE) support compiled in the kernel but I had compiled it as a module.Now everything works just fine for me. Too bad for my IntelliEye Mouse because I would like to buy the new Cordless Optical MouseM

linux-2.4.[45] 8139too nfs performance

2001-06-04 Thread Eduard Hasenleithner
Hi, Starting with kernel 2.4.4 the nfs performance with the 8139too driver is very bad. It seems there are interrupts missing, but the 8139 interrupt is not stuck. Look at this tcpdump: Server side .. 19:12:42.840489 192.168.1.1.2049 > 192.168.1.2.3717744806: reply ok 1472 (frag 29651:1480@0+

[OOPS] in locks_remove_posix

2001-06-04 Thread Steven Walter
Just got this oops in 2.4.5-ac2. Can't reproduce it as of yet; if I find a way, I'll give notice. -- -Steven In a time of universal deceit, telling the truth is a revolutionary act. -- George Orwell ksymoops 2.3.4 on i586 2.4.5-ac2. Options used -V (default) -

tulip works in 2.4.5 on Compaq Presario 1800T (was broken)

2001-06-04 Thread Michael D. Crawford
With a number of previous kernel versions, the tulip driver would not work with the digital DS21143 ethernet controller that comes bundled with the Compaq Presario 1800T laptop. Fortunately, the de4x5 driver would work with it, however the situation was confusing because the config doc supplied f

Pset patches

2001-06-04 Thread Val Henson
Are you the same Tim Hockin that wrote the pset patches for Linux 2.2.12? I noticed your pset web page is gone and I'd like to mirror it if it hasn't been already. -VAL - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More ma

Re: symlink_prefix

2001-06-04 Thread Alexander Viro
On Sun, 3 Jun 2001 [EMAIL PROTECTED] wrote: > [My version: keep interface constant, reorganize kernel source > to do certain things in one place instead of in several places. > Advantage: treatment becomes uniform and some options that make sense > for all filesystem types but are available tod

Salvaging resource manager state

2001-06-04 Thread David Gordon (LMC)
Hi, Could you please CC to [EMAIL PROTECTED] ? Thank you. I built a script to startup an IPv6 web server (Jigsaw) automatically at boot. Jigsaw requires a java-like interpreter (jipsy) to start the web class. However, I get the following error message: "Salvaging resource manager state resource

Re: symlink_prefix

2001-06-04 Thread Alexander Viro
On Sun, 3 Jun 2001 [EMAIL PROTECTED] wrote: > > Current interface had grown an impressive collection of warts. > > Worse yet, you _can't_ put parsing into generic code. > > There are filesystems that have a binary object as 'data'. > > Yes, that was a very unfortunate decision, back in the goo

Reg mkdir syscall

2001-06-04 Thread SATHISH.J
Hi, Sorry to disturb you. Actually I had written a small file system(on 2.2.14 kernel) similar to RAMFS on 2.4 kernel. I am able to mount it but when I try to create directory under it, it gives EEXIST error saying" file already exists" but when I check the directory again that file gets created

Re: [PATCH] balance inactive_dirty list

2001-06-04 Thread Mark Hahn
> while observing lots of different workloads (all I/O bound). Finally, well, not all loads are IO-bound in the sense you're looking at. in particular, the test I usually run (make -j2 with mem=48m) is actually hurt by this patch. but you're right, this change does improve streaming IO. > We'r

the value of PROC_CHANGE_PENALTY

2001-06-04 Thread Tsafrir Dan
as I understand, for i386 in Linux-2.2.x the default length of a quantum was 200ms, and in 2.4.x it had changed to 50ms ( according to the following 2.4.5 sched.c code: #if HZ < 200 #define TICK_SCALE(x) ((x) >> 2) ... #define NICE_TO_TICKS(nice) (TICK_SCALE(20-(nice))+1)

Dual AMD Palomino from Australia

2001-06-04 Thread Dieter Nützel
Hello Alan, do you have an dual AMD 760MP based mobo, too? It should be more interesting to see some multi processing workloads. Here are the links: http://www.overclockers.com.au/techstuff/a_tyan_thunder/ http://www.overclockers.com.au/techstuff/a_tyan_thunder/page2.shtml http://www.overclocke

Re: SCSI-CD-Writer don't show up

2001-06-04 Thread Matthias Schniedermeyer
On Sun, Jun 03, 2001 at 06:38:27PM +0200, Gérard Roudier wrote: > > On Sat, 2 Jun 2001, Matthias Schniedermeyer wrote: > > > I have 3 SCSI-CD-Writers. "Strange" is that the boot-process only finds > > the first one (1 0 5 0), the other two i have to add with > > > > echo "scsi add-single-device

2.2 TTY race condition (do_tty_hangup and tty_release)

2001-06-04 Thread Ariel Linux Kernel Development
I am running linux 2.2.14 with a 96-modem board and have been getting kernel oops'es. These generally only occur when I am running the system under constant swapping conditions. After much diagnosis, I have found the following sequence of events causes the oops: - do_tty_hangup called f

Re: VIA's Southbridge bug: Latest (pseudo-)patch

2001-06-04 Thread Adrian Cox
Marc Lehmann wrote: > Aren't PCI delayed transaction supposed to be handled by the pci master > (e.g. my northbridge), not by the (software) driver for my pdc(?) I would > also be surprised if my pdc actually used that feature, not to speak of > the fact that the promise + harddisk worked fine i

2.4.5-ac5 BUG in slab.c

2001-06-04 Thread Matt Bernstein
I was playing with (a romfs) initrd and modularising everything, including ext2 and ide-*. (gcc version 2.96 2731 (Red Hat Linux 7.1 2.96-81)) More info on request. ksymoops 2.4.0 on i686 2.4.5-ac5-4. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (defaul

Is Via 8633/8233 supported?

2001-06-04 Thread Julian Anastasov
Hello, Recently (on May 16, locked 3c905B with 2.4.5pre2) I asked about a problem with APIC. I see that some recent changes fix problems with Via 82C686* chipsets. What about Via 8633/8233 chipset. Is it really supported, someone successfully running SMP box? Is "... Using IRQ router def

Re: USB mouse wheel breakage was Re: Linux 2.4.5-ac5

2001-06-04 Thread Vojtech Pavlik
On Fri, Jun 01, 2001 at 05:32:26PM -0400, Robert M. Love wrote: > USB mouse wheel has been broke since 2.4.5-ac4 (when new USB HID, > hid-core.c, was integrated). The mouse in general seems jerky, and > specifically the input device does not receive events for consecutive > wheel movements -- jus

semaphores and noatomic flag

2001-06-04 Thread Mihai Moise
I write this to discuss the reasons why the semop system call should have an IPC_NOATOMIC flag. Suppose we have two processes, called client and server, which communicate through a shared memory segment and two semaphores, and need to synchonize their activities so that they don't operate simulta

Re: query

2001-06-04 Thread Andreas Dilger
Chanchal Chawla writes: > i'm writing a file system code, i've a query regarding that, i want you > to help me out if possible, > > is it possible to get the absolute mount point of a device at run time > in that code ? if it is possible then how we can get it ? It was possible in 2.2

Re: symlink_prefix

2001-06-04 Thread Andries . Brouwer
> We can kludge around anything. The question being, what for? > It still leaves ncp with its ioctls ugliness. I show how to simplify the kernel source without changing the interface. That is good, and there are some free benefits. You want to design a new interface. Maybe that is good as well,

multicast hash incorrect on big endian archs

2001-06-04 Thread Manfred Spraul
I noticed that the multicast hash calculations assumed little endian byte ordering in the winbond-840 driver, and it seems that several other drivers are also affected: 8139too, epic100, fealnx, pci-skeleton, sis900, starfile, sundance, via-rhine, yellowfin perhaps drivers/net/pcmcia/xircom_tulip

Linux networking and disk IO issues

2001-06-04 Thread Mark Hayden
I recently released a clusted storage system for Linux (the software in binary form and manual can be downloaded from www.northforknet.com). This software, you can create a highly available storage cluster out of standard PC hardware. During this work, we encountered a number of problems with th

Linux-2.4.5 BUG

2001-06-04 Thread Sasa Ostrouska
Hi to all of you ! I have this problem with the linux-2.4.5. When I want to shutdown the system I get this error message: // journal_begin called without kernel lock held kernel BUG at journal.c:423! invalid operand: CPU:1 EIP:0010:[] EFLAGS: 00010286 eax: 001d ebx: c12b3f

Re: [CHECKER] security rules? (and 2.4.5-ac4 security bug)

2001-06-04 Thread Hank Leininger
On 2001-06-03, Dawson Engler <[EMAIL PROTECTED]> wrote: > Additionally, do people have suggestions for good security rules? > We're looking to expand our security checkers. Right now we just have > checkers that warn when: Do you already have checks for signed/unsigned issues? Those often resu

Re: symlink_prefix

2001-06-04 Thread Alexander Viro
On Sun, 3 Jun 2001 [EMAIL PROTECTED] wrote: > What I did was: add a field `char *mnt_symlink_prefix;' to the > struct vfsmount, fill it in super.c:add_vfsmnt(), use it in > namei.c:vfs_follow_link(). Pick the value up by recognizing > in super.c:do_mount() the option "symlink_prefix=" before

Re: Benchmarks for Linux kernel

2001-06-04 Thread Nathan Straz
On Fri, Jun 01, 2001 at 09:12:14PM -0700, Jaswinder Singh wrote: > Can please point me some nice benchmarks for linux kernel . Linux Benchmark Suite http://lbs.sf.net/ -- Nate Straz [EMAIL PROTECTED] sgi, inc

Re: Linux 2.4.5-ac7

2001-06-04 Thread Nicolas Pitre
On Sun, 3 Jun 2001, Oleg Drokin wrote: > Hello! > > In article <[EMAIL PROTECTED]> you wrote: > > AC> 2.4.5-ac7 > AC> o Make USB require PCI(me) > Huh?! > How about people from StrongArm sa11x0 port, who have USB host controller (in > sa companion chip) but

Looking for device to write device driver for

2001-06-04 Thread Kip Macy
This may well be a question whose appropriate response is RTFM. However, I did look first. I am taking a class on writing device drivers for Linux. I am currently looking for a device to write a driver for. I first tried to get the engineering specification for my soundcard, but after much frus

Re: USB mouse wheel breakage was Re: Linux 2.4.5-ac5

2001-06-04 Thread Vojtech Pavlik
On Fri, Jun 01, 2001 at 10:57:17AM +0100, Michael wrote: > On Wed, May 30, 2001 at 09:30:39PM +0100, Alan Cox wrote: > > 2.4.5-ac4 > > o Update USB hid drivers (Vojtech Pavlik) > > I think these changes have broken my USB wheel mouse. > > Events seems to be getting lo

Re: Linux 2.4.5-ac7

2001-06-04 Thread Wayne . Brown
2.4.5-ac7 fixes the cs46xx problems I had with my ThinkPad 600X in 2.4.5-ac[456]. It works great now. Many thanks to Frank Davis and Alan Cox! Wayne - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: symlink_prefix

2001-06-04 Thread Andries . Brouwer
From [EMAIL PROTECTED] Sun Jun 3 13:25:31 2001 > [One could start a subdiscussion about that part. > The mount(2) system call needs to transport vfs information > and per-fs information. So far, the vfs information used > flag bits only, but sooner or later we'll want to have

Re: rtl8139too in 2.4.5

2001-06-04 Thread Rogier Wolff
[EMAIL PROTECTED] wrote: > My RTL8139 (Identified 8139 chip type 'RTL-8139A') > was fine in 2.4.3 and doesnt work in 2.4.5. > Copying the 2.4.3 version of 8139too.c makes things work again. > > Since lots of people complained about this, I have not tried to > debug - maybe a fixed version already

2.4.5-ac7 usb-uhci appears twice in /proc/interrupts

2001-06-04 Thread Pavel Roskin
Hello! I don't know, maybe it's Ok, but it looks confusing - usb-uhci is listed twice on the same IRQ 9. # cat /proc/interrupts CPU0 0: 82287 XT-PIC timer 1: 2624 XT-PIC keyboard 2: 0 XT-PIC cascade 8: 1 XT-PI

Re: here comes the summer...

2001-06-04 Thread J . A . Magallon
On 06.02 Pavel Machek wrote: > Hi! > > > ...again (I think I asked just the same last summer) > > and lm_sensors is still out of the kernel (we have got 40ºC in Spain > > this week, and I would like to know how my PIIs suffer...) > > Send some summer over here. It is 15C outside... > > You sho

USB-storage and 2.4.2

2001-06-04 Thread Jerry Frana
Hi, i've been having a problem with my usb zip drive (older 100mb model) it's 100% repeateble: copy a large file to anywhere, and within a minute or so: copy stops dead. and the following appears in the syslog: Jun 3 21:10:56 int-21h kernel: uhci: host controller process error. something bad

I810 Sound broke between 2.4.2 and 2.4.3

2001-06-04 Thread Ben Castricum
I use amp to play my mp3s and it seem to stop functioning since 2.4.3. I captured the kernel messages from the module : --- 2.4.2 --- Intel 810 + AC97 Audio, version 0.01, 14:04:06 Jun 4 2001 PCI: Found IRQ 10 for device 00:1f.5 PCI: The same IRQ used for device 00:1f.3 PCI: The same IRQ used f

Tulip and eepro100 problems

2001-06-04 Thread Jasper Jans
Hi all, First of all.. please include [EMAIL PROTECTED] in your replies since my regular mail account in which I get the list mails is not functional at the moment. I've just installed a fresh linux system. Default Mandrake 8.0 kernel (2.4.3-20mdksmp) and the plain vanilla 2.4.5 kernel both give

Cache size calculation on Athlon/Duron

2001-06-04 Thread James Slater
Hi, Reading through arch/i386/kernel/setup.c in 2.4.5, I noticed that the code which sets x86_cache_size sets it to the size of the chip's L2 cache if present. Which is fine for everything except the Athlon/Duron, which have exclusive L1/L2 caches, so surely they should be added together in this

iptables port remapping problem (was: [newbie] NFS client:port-unreachable)

2001-06-04 Thread Roland Kuhn
On Sun, 3 Jun 2001, Trond Myklebust wrote: > Are /home and /compass on the same mount point on the client though? > If not, then they won't share the same port. > > IOW: they will only share the same port if you have '/' as the NFS > mountpoint. When I mount via nfs each mount gets its own local

Re: symlink_prefix

2001-06-04 Thread Remi Turk
On Sun, Jun 03, 2001 at 07:25:25AM -0400, Alexander Viro wrote: > BTW, bind and friends are also easy - it's > what = open(old, 0); > where = open(mountpoint, 0); > new_mount(where, MNT_BIND, what); > > Comments? What if `what' and or `where' aren't directories but e.g. sockets

Re: XMM: monitor Linux MM inactive/active lists graphically

2001-06-04 Thread Mark Hahn
> XMM is heavily modified XMEM utility that shows graphically size of > different Linux page lists: active, inactive_dirty, inactive_clean, > code, free and swap usage. It is better suited for the monitoring of > Linux 2.4 MM implementation than original (XMEM) utility. > > Find it here: http://

Re: symlink_prefix

2001-06-04 Thread Andries . Brouwer
> Current interface had grown an impressive collection of warts. > Worse yet, you _can't_ put parsing into generic code. > There are filesystems that have a binary object as 'data'. Yes, that was a very unfortunate decision, back in the good old times when nfs was implemented. And smb, ncp, coda

Re: symlink_prefix

2001-06-04 Thread Hank Leininger
On 2001-06-03, [EMAIL PROTECTED] wrote: > Suppose I have devices /dev/a, /dev/b, /dev/c that contain the > /, /usr and /usr/spool filesystems for FOO OS. Now > mount /dev/a /mnt -o symlink_prefix=/mnt > mount /dev/b /mnt/usr -o symlink_prefix=/mnt > mount /dev/c /mnt/usr/s

Re: USB-storage and 2.4.2

2001-06-04 Thread Matthew Dharm
Try 2.4.5, which has some assorted fixes that should solve this problem. Matt On Sun, Jun 03, 2001 at 08:08:25PM -0500, Jerry Frana wrote: > Hi, i've been having a problem with my usb zip drive (older 100mb model) > > it's 100% repeateble: > > copy a large file to anywhere, and within a minut

2.4.5(-ac*] still broken NFS/Reiserfs

2001-06-04 Thread Kevin P. Fleming
I've got two machines here running 2.4.5-ac6 with Chris Mason's posted 2.4.5 Reiserfs/knfsd patch, plus the small 2.4.5 NFS client patch posted last week as well. Even with all of this, I still have NFS weirdness. >From the client, I can mount and read pretty much anything I like from the server.

Re: keyboard hook?

2001-06-04 Thread James Simmons
> Input API looks nice. For now, I'll write a patch against pc_keyb.c to add a > hook for my qoder stuff, and a loadable module for the meat of the > driver. Okay. > Then I'll port up to the input API. Just send me the code and I will place it into CVS. >I have a Sparc here; does it have

I/O tracing

2001-06-04 Thread YU,SAMMY (HP-Roseville,ex1)
Hi, Please CC me as I'm not subscribed on the list, thanks. Not sure if this is appropriate forum, is there an existing tool/module for capturing all the I/O requests such as: Unique Identifier Start Time End Time Device Identifier Operation Type (Read Or Write) Offset Length (Number Of

Re: [PATCH] fs/devfs/base.c

2001-06-04 Thread Bill Pringlemeir
> "Richard" == Richard Gooch <[EMAIL PROTECTED]> writes: [snip] > I guess we should ask the question as to what's an > acceptable usage. Theoretically, any amount could pose a > problem, but that's hardly a useful position to work There was a discussion on comp.arch.embedded about bounded

Re: 2.4.5-ac7 usb-uhci appears twice in /proc/interrupts

2001-06-04 Thread Meelis Roos
PR> I don't know, maybe it's Ok, but it looks confusing - usb-uhci is listed PR> twice on the same IRQ 9. [...] PR> 9: 0 XT-PIC usb-uhci, usb-uhci [...] PR> 00:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 10) PR> 00:07.3 USB Controller: VIA Technologies, Inc. UHCI

Kernel Stack usage [was: [PATCH] fs/devfs/base.c]

2001-06-04 Thread Bill Pringlemeir
> Bill Pringlemeir <[EMAIL PROTECTED]> writes: > There was a discussion on comp.arch.embedded about bounded stack > use. It is fairly easy to calculate the stack usage for call > trees, but much more difficult for `DAGs'. Ie, a recursive > functions etc. I don't know about the poli

Error Compiling Driver code:

2001-06-04 Thread jalaja devi
Hi , I am trying to compile a driver code in Red Hat 6.2 which is already a working code, but I get the following errors when i compile. /usr/src/linux/include/asm/smp.h:206: arguments given to macro `hard_smp_processor_id' Any clue or hint will be helpful. Thanks jalaja

RE: Error Compiling Driver code:

2001-06-04 Thread Khachaturov, Vassilii
1) Check the FAQ - http://www.tux.org/lkml/#s8 2) RH6.2 as it is doesn't come with all the newest tools versions needed for the 2.4.x kernels. See Documentation/versions. HTH, Vassilii > -Original Message- > Hi , > I am trying to compile a driver code in Red Hat 6.2 > which is alr

Re: ide retry on 2.4.5-ac7

2001-06-04 Thread Jens Axboe
On Mon, Jun 04 2001, PROFETA Mickael wrote: > Hi > > Since my first try on 2.4 kernel, I had trouble with DMA when I > select activate on boot time because it selects udma4, whereas > my HD is only able to do udma2. I correct that with hdparm, but > I was quite happy of th

Re: 2.4.5-ac7 SMP crash (hotplug race?)

2001-06-04 Thread Pete Zaitcev
>I told device to go to sleep, it reported (over serial console that I >looked at with minicom), that it turned off internal devices >(including USB client), reported it is going to sleep, and turned >serial and itself off. What does it mean "I told device to go to sleep"? What de

kernel oops when burning CDs

2001-06-04 Thread Rudo Thomas
Hello everybody! I get an ooops and immediate kernel panic when I break (CTRL-C) cdrecord. I can reproduce it anytime. I use 2.4.5-ac series. Obviously, Linus' 2.4.5 is fine. I know, I know. I was supposed to make a serios oops report, BUT I wasn't able to get the serial console running. (I'v

Re: lowlatency 2.2.19

2001-06-04 Thread William Montgomery
On Mon, 4 Jun 2001, Andrea Arcangeli wrote: > On Sun, Jun 03, 2001 at 10:38:34AM -0400, William Montgomery wrote: > > Anyone have any ideas? > > Which options did you enabled? In theory the ikd patch could only make > the latency worse ;), there are no performance improvements in it but > onl

disk-based fds in select/poll

2001-06-04 Thread Pierre Phaneuf
Pardon me if some parts of this seem clueless. While I'm no newbie in userland, kernelspace I don't play in very often... It's fairly widely-known that select/poll returns immediately when testing a filesystem-based file descriptor for writability or readability. On top of this, even when in no

Re: ide retry on 2.4.5-ac7

2001-06-04 Thread PROFETA Mickael
On Mon, Jun 04, 2001 at 10:14:04PM +0200, Jens Axboe wrote: > > It worked sucessfully for you in 2.4.5-ac4 but not in -ac7? I can't see > any changes to the patch, so more details on the nature of the problem > would be helpful. Ok, this is the results of a hdparm -tT on my second hard disk: hd

Re: ide retry on 2.4.5-ac7

2001-06-04 Thread Jens Axboe
On Mon, Jun 04 2001, PROFETA Mickael wrote: > On Mon, Jun 04, 2001 at 10:14:04PM +0200, Jens Axboe wrote: > > > > It worked sucessfully for you in 2.4.5-ac4 but not in -ac7? I can't see > > any changes to the patch, so more details on the nature of the problem > > would be helpful. > > Ok, this

Re: ide retry on 2.4.5-ac7

2001-06-04 Thread PROFETA Mickael
On Mon, Jun 04, 2001 at 11:09:33PM +0200, Jens Axboe wrote: > > This is not the case that is attempted solve. The above could be a cable > error (it looks like it). These are usually genuine and indicate a real > hw problem. I know about that, but I tried with other cable and the trouble leaves

Oops while unmounting a reiserfs partition

2001-06-04 Thread Mathieu Chouquet-Stringer
Hello! I just mkreiserfsed a new partition (a 50g hardware raid0 array, I know this is just a testing machine), mounted it, and then unmounted it, and OOPS! My kernel version is plain 2.4.5... If you need more information, let me know. Jun 4 17:25:03 nynetops03 kernel: reiserfs: checkin

Re: I/O tracing

2001-06-04 Thread richardj_moore
You can use either dprobes to set up a tracepoint dynamically anywhere you please see: http://oss.software.ibm.com/developerworks/opensource/linux/projects/dprobes Or, you can use gkhi to define a hook anywhere in the kernel you please. You can write a hook exit as a kmod to do whatever you fan

Linux 2.4.5-ac8

2001-06-04 Thread Alan Cox
ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/ Intermediate diffs are available from http://www.bzimage.org In terms of going through the code audit almost all the sound drivers still need fixing to lock against format changes during a r

Re: symlink_prefix

2001-06-04 Thread Albert D. Cahalan
Alexander Viro writes: > leaves ncp with its ioctls ugliness. Authentication will be ugly. Joe mounts a filesystem, and does not bother to authenticate. He gets world-accessible files. Then Kevin authenticates as himself, and later as db_adm too. Along comes Sue, who can authenticate the whole b

Re: IO-APIC, beaten with stick, routes USB

2001-06-04 Thread Rico Tudor
> Any chance you can try Alan Cox's patch against 2.4.5? It has a number > of IO-APIC fixes. > patch-2.4.5-ac7.bz2 behaves the same as 2.4.4. Whatever is happening in IO-APIC setup, USB interrupts actually arrive on IRQ 12. I can include the usual pile of config info and boot messages, but th

Question on Partial Checksum in TCP/IP

2001-06-04 Thread Bharath Madhavan
Hello all, I am trying to understand a little bit about the TCP path in the Linux kernel. I saw that while we were even copying the user data into kernel space, we were doing the partial checksum of the data portion alone (as the TCP header is not yet filled up) and storing it in skb->csu

2.2 <-> 2.4.5-ac5 tcp too slow

2001-06-04 Thread Tom Vier
i seem to remember this being mentioned before, but couldn't find any reference in the list archives. i have an x86 laptop running 2.2.17 (2.2.19 has the same effect) and an alpha pws 500 running 2.4.5-ac5. tcp starts slow and get slower. it's not a 10/100 or duplex issue. icmp goes at full speed.

vmstat help

2001-06-04 Thread Radhakrishnan Manga
Hi, I am using the vmstat that came along with the SuSE 7.0 distribution. I have problem interpretting the data reported by vmstat. The vmstat document reads that the block information reported is always in terms of 1K blocks. Just to findout the validity of the data reported by vmstat, I carri

Re: disk-based fds in select/poll

2001-06-04 Thread Pierre Phaneuf
Alan Cox wrote: > > I am thinking that a read() (or sendfile()) that would block because the > > pages aren't in core should instead post a request for the pages to be > > loaded (some kind of readahead mecanism?) and return immediately (maybe > > having given some data that *was* in core). A sub

reschedule_idle changes in ac kernels

2001-06-04 Thread Mike Kravetz
I just noticed the changes to reschedule_idle() in the 2.4.5-ac kernel. I suspect these are the changes made for: o Fix off by one on real time pre-emption in scheduler I'm curious if anyone has ran any benchmarks before and after applying this fix. The reason I ask is that during the de

Missing cache flush.

2001-06-04 Thread David Woodhouse
The flash mapping driver arch/cris/drivers/axisflashmap.c uses a cached mapping of the flash chips for bulk reads, but obviously an uncached mapping for sending commands and reading status when we're actually writing to or erasing parts of the chip. However, it fails to flush the dcache for the r

Re: Missing cache flush.

2001-06-04 Thread Jeff Garzik
David Woodhouse wrote: > I was pointed at Documentation/DMA-mapping.txt but that doesn't seem very > helpful - it's very PCI-specific, and a quick perusal of pci_dma_sync() on > i386 shows that it doesn't do what's required anyway. What should it do on i386? mb()? -- Jeff Garzik | Echelon

Re: Missing cache flush.

2001-06-04 Thread David Woodhouse
[EMAIL PROTECTED] said: > > I was pointed at Documentation/DMA-mapping.txt but that doesn't seem > > very helpful - it's very PCI-specific, and a quick perusal of > > pci_dma_sync() on i386 shows that it doesn't do what's required anyway. > What should it do on i386? mb()? For it to have any

Re: 2.2 <-> 2.4.5-ac5 tcp too slow

2001-06-04 Thread Tom Vier
i tracked it down to the 8139 driver in 2.4. On Mon, Jun 04, 2001 at 06:28:34PM -0400, Tom Vier wrote: > has the same effect) and an alpha pws 500 running 2.4.5-ac5. tcp starts slow > and get slower. it's not a 10/100 or duplex issue. icmp goes at full speed. -- Tom Vier <[EMAIL PROTECTED]> DSA

Oh Bother

2001-06-04 Thread David Flynn
Morning Guys, (or whatever time you call this ungodly hour) A couple of things to bring up: 1) I was just rebuilding gcc (for an i586 on my faster PII) everything was going fine and suddenly silence, all my ssh sessions have locked up, the serial console is dead, the system is not respond

  1   2   >