2.4.2-ac13 es1370.o module and verbose bug reporting

2001-03-07 Thread thunder7
make -C arch/i386/lib modules_install make[1]: Entering directory `/usr/src/linux-2.4.2-ac13/arch/i386/lib' make[1]: Nothing to be done for `modules_install'. make[1]: Leaving directory `/usr/src/linux-2.4.2-ac13/arch/i386/lib' cd /lib/modules/2.4.2-ac13; \ mkdir -p pcmcia; \ find kernel -path

64-bit capable block device layer

2001-03-07 Thread Rik van Riel
Hi Linus, how would you feel about having the block device layer 64-bit capable, so Linux can have block devices of more than 2GB in size ? I know that 64-bit arithmetic is expensive on 32-bit platforms, but I have the idea there is a way around that for people who don't want 64-bit capable

static scheduling - SCHED_IDLE?

2001-03-07 Thread Oswald Buddenhagen
hi there, i found, that linux is missing a static low-priority scheduling class (or did i miss something? in this case feel free to stomp me into the ground :). it would be ideal for typical number-crunchers running in the background like the different distributed.net-like clients. within this

Re: tts/0: 1 input overrun(s)

2001-03-07 Thread Pozsar Balazs
On Tue, 6 Mar 2001, James Stevenson wrote: with the serial port it has a buffer when it recives data the serial port buffer will fill up if data is not read quickly enough the buffer will overflow hence the 1 input overrun to fix it your could try to reduce the data rate to the serial port

Re: nvidia fb 0.9.0

2001-03-07 Thread James Simmons
Is this a known problem? Are there work-arounds? Yes. The problem is caused by the fbdev driver using 8 bit width for its RAMDAC and the X server uses 6 bits. Try teh UseFBDev option for the X server. MS: (n) 1. A debilitating and surprisingly widespread affliction that renders the sufferer

Re: 64-bit capable block device layer

2001-03-07 Thread Jens Axboe
On Wed, Mar 07 2001, Rik van Riel wrote: Hi Linus, how would you feel about having the block device layer 64-bit capable, so Linux can have block devices of more than 2GB in size ? I know that 64-bit arithmetic is expensive on 32-bit platforms, but I have the idea there is a way around

Re: Ramdisk (and other) problems with 2.4.2

2001-03-07 Thread Mike Galbraith
On Wed, 7 Mar 2001, Richard B. Johnson wrote: On Wed, 7 Mar 2001, Mike Galbraith wrote: I'd sweat bullets over system integrity if _I_ got this reply ;-) Something is seriously amiss. Well now the denial phase sets in. This system has run fine for two years. It ran until I tried to use

Re: Ramdisk (and other) problems with 2.4.2

2001-03-07 Thread matthew . copeland
Question. How come you show a lost+found directory in the ramdisk?? mke2fs version 1.19 doesn't create one on a ram disk. Script started on Wed Mar 7 12:22:20 2001 # mke2fs -Fq /dev/ram0 1440 mke2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09 # mount /dev/ram0 /mnt # ls -la /mnt

Re: Ramdisk (and other) problems with 2.4.2

2001-03-07 Thread Richard B. Johnson
On Wed, 7 Mar 2001, Mike Galbraith wrote: On Wed, 7 Mar 2001, Richard B. Johnson wrote: On Wed, 7 Mar 2001, Mike Galbraith wrote: I'd sweat bullets over system integrity if _I_ got this reply ;-) Something is seriously amiss. Well now the denial phase sets in. This system has

Re: static scheduling - SCHED_IDLE?

2001-03-07 Thread Rik van Riel
On Wed, 7 Mar 2001, Oswald Buddenhagen wrote: i found, that linux is missing a static low-priority scheduling class (or did i miss something? in this case feel free to stomp me into the ground :). it would be ideal for typical number-crunchers running in the background like the different

Re: [NFS] Re: :Redhat [Bug 30944] - Kernel 2.4.0 and Kernel 2.2.18:with some programs

2001-03-07 Thread David Rees
On Wed, 7 Mar 2001, Alan Cox wrote: Unfortunately the missing files in directory listings from SGI Irix 6.5.9f NFS servers still persists with the 2.4 kernel - we used the kernel 2.4.0 kernel that came with the Redhat 7.1beta uname -a tells Linux test-ah1 2.4.0-0.99.11 #1 Wed Jan 24

Re: Ramdisk (and other) problems with 2.4.2

2001-03-07 Thread Richard B. Johnson
On Wed, 7 Mar 2001 [EMAIL PROTECTED] wrote: Question. How come you show a lost+found directory in the ramdisk?? mke2fs version 1.19 doesn't create one on a ram disk. Script started on Wed Mar 7 12:22:20 2001 # mke2fs -Fq /dev/ram0 1440 mke2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b,

[PATCH] 2.4.3-pre3 -- KMALLOC_MAXSIZE 3c509/3c515 compile fix

2001-03-07 Thread Mohammad A. Haque
-- = Mohammad A. Haque http://www.haque.net/ [EMAIL PROTECTED] "Alcohol and calculus don't mix. Project Lead Don't drink and

Re: Kernel 2.4.2 command execution hangs and then succeded after 2 minutes....!? END!

2001-03-07 Thread Andrea Barisani
On Wed, 7 Mar 2001, Andrea Barisani wrote: On Wed, 7 Mar 2001, Manfred Spraul wrote: Could you use strace and check what the apps are doing during these 2 minutes? Perhaps it's a variation of the nis hang: 2.4 doesn't forword udp error messages to the user space app, and thus a

Re: 64-bit capable block device layer

2001-03-07 Thread Rik van Riel
On Wed, 7 Mar 2001, Jens Axboe wrote: On Wed, Mar 07 2001, Rik van Riel wrote: how would you feel about having the block device layer 64-bit capable, so Linux can have block devices of more than 2GB in size ? I already did this here, or something similar at least. Using a sector_t type

process with connection in CLOSE_WAIT won't die in 2.4.2

2001-03-07 Thread Remco B. Brink
Hi, after Emacs+Gnus went unusable (blank unresponsive Emacs client) I noticed that there's no way to kill the Emacs process. According to ps output, the process is in Uninterruptable sleep (usually IO). One NNTP connection is left open in CLOSE_WAIT and lsof shows that a unix socket and a

pthreads related issues

2001-03-07 Thread Ying Chen
Hi, I think I forgot to include the subject on the email I sent last time. Not sure how many people saw it. I'm trying to send this message again... I have two questions on Linux pthread related issues. Would anyone be able to help? 1. Does any one have some suggestions (pointers) on good

RE: System slowdown on 2.4.2-ac5 (recurring from 2.4.1-ac20 and2.4.0)

2001-03-07 Thread Vibol Hou
But the failing of Vibol's server remains a mystery. I suggest an upgrade to 2.4.2-ac13 would be worthwhile - at least we'll get a full task table dump. I'll get it up and running and report back with the trace next time something goes awry. -Vibol - To unsubscribe from this list: send the

Re: scsi vs ide performance on fsync's

2001-03-07 Thread Jeremy Hansen
So in the meantime as this gets worked out on a lower level, we've decided to take the fsync() out of berkeley db for mysql transaction logs and mount the filesystem -o sync. Can anyone perhaps tell me why this may be a bad idea? Thanks -jeremy On Tue, 6 Mar 2001, Jeremy Hansen wrote:

2.4.2-ac

2001-03-07 Thread Sourav Sen
Hi, I have patched 2.4.2 with patch-2.4.2-ac9. At make xconfig turned all kernel hacking options on. Then make dep and make bzImage went on ok. But when I put the image path in lilo.conf and ran /sbin/lilo it said kernel /abc/pqr//vmlinux is too big. Whats going wrong. My

Re: 2.4.2-ac

2001-03-07 Thread Anton Altaparmakov
The image path should go to /wherever/bzImage not /wherever/vmlinux![1] I assume this is what is wrong. Regards, Anton [1] FYI: it is found in /usr/src/linux/arch/i386/boot/bzImage on ia32 architecture assuming your kernel is in /usr/src/linux. At 18:26 07/03/2001, Sourav Sen wrote: Hi,

Re: 2.4.2-ac13 es1370.o module and verbose bug reporting

2001-03-07 Thread Petr Konecny
thunder7 depmod: *** Unresolved symbols in /lib/modules/2.4.2-ac13/kernel/drivers/sound/es1370.o thunder7 depmod: do_BUG Same here. It happens with many more modules. ac12 was OK. ./misc/cipcb.o (not part of kernel) ./kernel/drivers/block/loop.o ./kernel/drivers/net/ppp_generic.o

Re: scsi vs ide performance on fsync's

2001-03-07 Thread Stephen C. Tweedie
Hi, On Wed, Mar 07, 2001 at 03:12:41PM +0100, Jens Axboe wrote: Yep, it's much harder than it seems. Especially because for the barrier to be really useful, having inter-request dependencies becomes a requirement. So you can say something like 'flush X and Y, but don't flush Y before X is

Re: Kernel 2.4.3 and new aic7xxx

2001-03-07 Thread Rafael E. Herrera
Aaron Tiensivu wrote: I suspect it's easier to just make the PCI layer call the probe function in that order, instead of working around it in your driver. Jeff? Would 'pci=reverse' do the trick already? Get a unknown option warning message when using that. -- Rafael - To

Re: Ramdisk (and other) problems with 2.4.2

2001-03-07 Thread Mike Galbraith
On Wed, 7 Mar 2001, Richard B. Johnson wrote: Would you please check your /dev/ram0 and verify that it is: block special (1/0) Why zzzt zzt are we now zzt troubleshooting _my_ t system :-) tilt -Mike - To unsubscribe from this list: send the line "unsubscribe

Re: yacc dependency of aic7xxx driver

2001-03-07 Thread Justin T. Gibbs
I presume the aicasm (or whatever) can do its meager DB needs by simpler ubiquitous things like GDBM. SleepyCat DBx is good, but in this case as serious overkill as e.g. using Oracle ;) (No, I didn't read the source of the aicasm.) People keep saying stuff like

Re: 64-bit capable block device layer

2001-03-07 Thread Jens Axboe
On Wed, Mar 07 2001, Rik van Riel wrote: how would you feel about having the block device layer 64-bit capable, so Linux can have block devices of more than 2GB in size ? I already did this here, or something similar at least. Using a sector_t type that is 64-bit, regardless of

Re: Linux 2.4.2ac12 (vt82c686 info)

2001-03-07 Thread Vojtech Pavlik
On Tue, Mar 06, 2001 at 05:05:46AM -0800, George Garvey wrote: No, just the vt82c686. vt82c686a and vt82c686b are OK. So can the vt82c686 be replaced with one of these other chips? What action is available to owners of MBs with chips that don't work w/Linux? It can be replaced if you can

Re: scsi vs ide performance on fsync's

2001-03-07 Thread Stephen C. Tweedie
Hi, On Wed, Mar 07, 2001 at 07:51:52PM +0100, Jens Axboe wrote: On Wed, Mar 07 2001, Stephen C. Tweedie wrote: My bigger concern is when the journalled fs has a log on a different queue. For most fs'es, that's not an issue. The fs won't start writeback on the primary disk at all until the

Re: static scheduling - SCHED_IDLE?

2001-03-07 Thread Oswald Buddenhagen
The problem with these things it that sometimes such a task may hold a lock, which can prevent higher-priority tasks from running. true ... three ideas: - a sort of temporary priority elevation (the opposite of SCHED_YIELD) as long as the process holds some lock - automatically schedule the

Re: IDE bug in 2.4.2-ac12?

2001-03-07 Thread Vojtech Pavlik
On Tue, Mar 06, 2001 at 09:32:46PM +, Paul Bristow wrote: On Tuesday 06 March 2001 19:13, Konrad Stopsack wrote: Hello guys, I hope you've read my posting "DMA problem with ZIP drive and VIA VT82C598MVP / VT82C586B chip" (why does anybody answer?). I now tried the 2.4.2-ac12 kernel

NFS in 2.4 AND Connectathon

2001-03-07 Thread Krishna Kumar
Hi all, I am a new person in this area and have just started going through documentation on NFS support in linux. I am trying to find if connectathon tests have passed on NFS on linux 2.4. Can anyone give me any information on that, or links to the information if any ? Thanks for all the help,

2.4.2-ac13, aic7xxx without any device and oops

2001-03-07 Thread Petr Vandrovec
Hi Justin, your new driver complains loudly here, because of ahc_match_scb is invoked with NULL scb, and it does not like that. Call trace was: 0xc01c9073: ahc_match_scb + 23/191 0xc01c945d: ahc_search_qinfifo+ 333/1719 (it is first of two calls to ahc_match...) 0xc01c9ede:

Re: 2.4.2-ac13, aic7xxx without any device and oops

2001-03-07 Thread Justin T. Gibbs
Hi Justin, your new driver complains loudly here, because of ahc_match_scb is invoked with NULL scb, and it does not like that. Call trace was: 0xc01c9073: ahc_match_scb + 23/191 0xc01c945d: ahc_search_qinfifo+ 333/1719 (it is first of two calls to ahc_m atch...) 0xc01c9ede:

setfsuid

2001-03-07 Thread LA Walsh
Why doesn't setfsuid return -EPERM when it can't perform the operation? file: kernel/sys.c, 'sys_setfsuid' around line 779 depending on your source version. There is a check if capable(CAP_SETUID), that if it fails, doesn't return an error. This seems inconsistent. In fact the manpage I have

Re: Forcible removal of modules

2001-03-07 Thread John Fremlin
Thomas Hood [EMAIL PROTECTED] writes: Sometimes modules need to be reloaded in order to cause some sort of reinitialization (of the driver or of the hardware) to occur. Why not set up the device driver to handle PM events itself. See Documentation/pm.txt under Driver Interface. I have a

Re: Q: explicit alignment control for the slab allocator

2001-03-07 Thread Jes Sorensen
"Manfred" == Manfred Spraul [EMAIL PROTECTED] writes: Manfred Mark Hemment wrote: As no one uses the feature it could well be broken, but is that a reason to change its meaning? Manfred Some hardware drivers use HW_CACHEALIGN and assume certain Manfred byte alignments, and arm needs 1024

Re: Incoming TCP TOS: A simple question, I would have thought...

2001-03-07 Thread kuznet
Hello! I've scrolled through various code in net/ipv4, and I can't see how to query the TOS of an incoming TCP stream (or at the least, the TOS of the SYN which initiated the connection). No way. Formally it is IP_RECVTOS, followed by IP_PKTOPTIONS. But getting TOS via IP_PKTOPTIONS is not

can't read DVD (under 2.4.[12] 2.2.17)

2001-03-07 Thread Pozsar Balazs
hi all, Whatever I tried, I couldn't get my DVDs read. I get: sr0: CDROM (ioctl) reports ILLEGAL REQUEST. or, I don't use ide-scsi, i get the ATAPI equivalent. I have udf support compiled in, i have successfully authenticated the disk(s), but lo luck. The drive is: Vendor: PIONEER Model:

Re: can't read DVD (under 2.4.[12] 2.2.17)

2001-03-07 Thread Jens Axboe
On Wed, Mar 07 2001, Pozsar Balazs wrote: hi all, Whatever I tried, I couldn't get my DVDs read. I get: sr0: CDROM (ioctl) reports ILLEGAL REQUEST. or, I don't use ide-scsi, i get the ATAPI equivalent. I have udf support compiled in, i have successfully authenticated the disk(s), but

Re: ac13 and lp related problem

2001-03-07 Thread f5ibh
Hi Tim, Mar 7 11:55:55 debian-f5ibh lpd[567]: lp: filter 'f' terminated (termsig=13) Which filter? Dunno what means 'f', I use magicfilter and the /etc/printcap generated by magifilterconfig contains : lp|escp500|Stylus Color 500:\ :lp=/dev/lp0:sd=/var/spool/lpd/escp500:\

OOPS: kernel BUG at slabc:1095! [was: 2.4.x total system crash -nooops (SCSI problems?)]

2001-03-07 Thread Peter Mottram
On Mon, 5 Mar 2001, Jeff Garzik wrote: Is it possible to get addition information, using the vmdump patch? http://oss.sgi.com/projects/lkcd/ vmdump patch added but system locked up before managing to crash dump. I have managed to get an OOPS though. :-) trying a simple: # scanimage

Re: Forcible removal of modules

2001-03-07 Thread Jeff Garzik
John Fremlin wrote: Why not set up the device driver to handle PM events itself. See Documentation/pm.txt under Driver Interface. For PCI drivers, you implement the ::suspend and ::remove hooks. I have a race free version of pm_send_all if you want it. Is this the same thing that is in

Re: scsi vs ide performance on fsync's

2001-03-07 Thread Jens Axboe
On Wed, Mar 07 2001, Stephen C. Tweedie wrote: On Wed, Mar 07, 2001 at 07:51:52PM +0100, Jens Axboe wrote: On Wed, Mar 07 2001, Stephen C. Tweedie wrote: My bigger concern is when the journalled fs has a log on a different queue. For most fs'es, that's not an issue. The fs won't

Re: Interesting fs corruption story

2001-03-07 Thread Tim Wright
On Tue, Mar 06, 2001 at 08:10:10PM -0500, Ettore Perazzoli wrote: On 06 Mar 2001 17:01:02 -0800, Tim Wright wrote: [...] The fix for me was to rebuild the kernel and make sure CONFIG_APM_ALLOW_INTS was enabled. So, do you ever use power management and is this similar, or do you have a

Re: Microsoft ZERO Sector Virus, Result of Taskfile WAR

2001-03-07 Thread Andre Hedrick
Harvey, That is not the case Joanne is pointing out. The SCSI low-level format glue performed by the HOST gets destroyed If you write to LBA Zero. ATA only suffers the lose of the partition table and that can be recovered, but SCSI needs that information to know where everything else is on the

Re: can't read DVD (under 2.4.[12] 2.2.17)

2001-03-07 Thread Pozsar Balazs
Details: (dmesg) Linux version 2.4.2-3mdk ([EMAIL PROTECTED]) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Tue Feb 27 02:14:17 CET 2001 ... Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE:

Q. about oops backtrace

2001-03-07 Thread Pete Zaitcev
Hello: I was investigating an oops and the trace looked like this: EIP; c01c54a9 lvm_do_remove_proc_entry_of_vg+9/c0 = Trace; c01c3654 lvm_do_vg_rename+84/250 Trace; c01c0f0f lvm_chr_ioctl+30f/6d0 Trace; c015e7e2 ext2_getblk+72/e0 Trace; c01155a6 do_page_fault+166/440 Trace; c01272a9

Re: can't read DVD (under 2.4.[12] 2.2.17)

2001-03-07 Thread Jens Axboe
On Wed, Mar 07 2001, Pozsar Balazs wrote: Details: (dmesg) Linux version 2.4.2-3mdk ([EMAIL PROTECTED]) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Tue Feb 27 02:14:17 CET 2001 ... Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus

Re: Q: explicit alignment control for the slab allocator

2001-03-07 Thread Manfred Spraul
From: "Jes Sorensen" [EMAIL PROTECTED] "Manfred" == Manfred Spraul [EMAIL PROTECTED] writes: Manfred Mark Hemment wrote: As no one uses the feature it could well be broken, but is that a reason to change its meaning? Manfred Some hardware drivers use HW_CACHEALIGN and assume certain

Re: scsi vs ide performance on fsync's

2001-03-07 Thread Stephen C. Tweedie
Hi, On Wed, Mar 07, 2001 at 09:15:36PM +0100, Jens Axboe wrote: On Wed, Mar 07 2001, Stephen C. Tweedie wrote: For most fs'es, that's not an issue. The fs won't start writeback on the primary disk at all until the journal commit has been acknowledged as firm on disk. But do you

Re: scsi vs ide performance on fsync's

2001-03-07 Thread Jens Axboe
On Wed, Mar 07 2001, Stephen C. Tweedie wrote: On Wed, Mar 07, 2001 at 09:15:36PM +0100, Jens Axboe wrote: On Wed, Mar 07 2001, Stephen C. Tweedie wrote: For most fs'es, that's not an issue. The fs won't start writeback on the primary disk at all until the journal commit has been

Re: Microsoft ZERO Sector Virus, Result of Taskfile WAR

2001-03-07 Thread Craig Ruff
On Wed, Mar 07, 2001 at 12:32:08PM -0800, Andre Hedrick wrote: The SCSI low-level format glue performed by the HOST gets destroyed If you write to LBA Zero. This is simply not true. I write to SCSI disk's block 0 all of the time and never loose data. Obviously, you can lose the partition

PROBLEM: crash with linux 2.4.2

2001-03-07 Thread pierre . doritch
Hello, I ran 2.4.2 under heavy load since 2 days. I try to decrypt my /etc/passwd files with the program John the Ripper on a Pentium133. This process is very long ;-) I don't understand the error. Hope it will be useful. Pierre you can see the load average and the uptime after crash:

Re: Mapping a piece of one process' addrspace to another?

2001-03-07 Thread Jeremy Elson
Alexander Viro writes: Erm. If ioctls are device-specific - the program is already bound to specific driver. If they are for class of devices (and if I guessed right that's the case you are interested in - sound, isn't it?) we could let the stub driver in kernel open two pipes and redirect

Re: Microsoft ZERO Sector Virus, Result of Taskfile WAR

2001-03-07 Thread Andre Hedrick
Then run this and see if you live. On Wed, 7 Mar 2001, Craig Ruff wrote: On Wed, Mar 07, 2001 at 12:32:08PM -0800, Andre Hedrick wrote: The SCSI low-level format glue performed by the HOST gets destroyed If you write to LBA Zero. This is simply not true. I write to SCSI disk's block 0

Racing power management

2001-03-07 Thread John Fremlin
Jeff Garzik [EMAIL PROTECTED] writes: John Fremlin wrote: Why not set up the device driver to handle PM events itself. See Documentation/pm.txt under Driver Interface. For PCI drivers, you implement the ::suspend and ::remove hooks. I have a race free version of pm_send_all if you

Re: Microsoft ZERO Sector Virus, Result of Taskfile WAR

2001-03-07 Thread Richard B. Johnson
On Wed, 7 Mar 2001, Andre Hedrick wrote: Harvey, That is not the case Joanne is pointing out. The SCSI low-level format glue performed by the HOST gets destroyed If you write to LBA Zero. ATA only suffers the lose of the partition table and that can be recovered, but SCSI needs that

Re: can't read DVD (under 2.4.[12] 2.2.17)

2001-03-07 Thread Jens Axboe
On Wed, Mar 07 2001, Derek Fawcus wrote: hdd: packet command error: status=0x51 { DriveReady SeekComplete Error } hdd: packet command error: error=0x50 ATAPI device hdd: Error: Illegal request -- (Sense key=0x05) Invalid field in command packet -- (asc=0x24, ascq=0x00) The

[PATCH] ncpfs: d_add + ncp_d_validate fixes

2001-03-07 Thread Petr Vandrovec
Hi Linus, hi Alan, could you apply following patch into 2.4.2-ac14 and 2.4.3-pre4? It does: last three hunks: do not d_add() already hashed dentry. It is fix for problem discovered by Urban in his smbfs. Probably it is more utilized

Re: can't read DVD (under 2.4.[12] 2.2.17)

2001-03-07 Thread Jens Axboe
On Wed, Mar 07 2001, Jens Axboe wrote: Really good question, I sent this patch in the private thread between me and Pozsar just in case the length is what the drive complains about. Agrh, that's not all. I will fix this properly, sorry about the noise. -- Jens Axboe - To unsubscribe from

Re: Kernel crash during resync of raid5 on SMP

2001-03-07 Thread Neil Brown
On Wednesday March 7, [EMAIL PROTECTED] wrote: I run a Dual prozessor SMP system on 2.4.2-ac12 for a while in degraded mode. Today I put in a new disk to switch to full raid5 mode. Shortly after the command raidhotadd the system crashed with the message lost interrupt on cpu1. Was there an

Re: Q. about oops backtrace

2001-03-07 Thread Urban Widmark
On Wed, 7 Mar 2001, Pete Zaitcev wrote: Trace; c0127414 handle_mm_fault+114/1a0 Trace; c0136a2d kunmap_high+7d/90 Trace; c012722e do_anonymous_page+de/110 Trace; c0127290 do_no_page+30/a0 Trace; c0127414 handle_mm_fault+114/1a0 Trace; c014cdec dput+1c/170 Trace; c0143f80

[PATCH] ncpfs and CONFIG_DEBUG_SLAB

2001-03-07 Thread Petr Vandrovec
Hi Alan, if you are going to apply patch I saw today morning on linux-kernel to disable redzoning on SLAB_HWCACHE aligned areas, drop this one into wastebasket. If not, please apply this. When CONFIG_DEBUG_SLAB is enbled, dentries do not live on 16bytes boundary, but on x*8 + 4 :-( So I can

Re: Kernel 2.4.3 and new aic7xxx

2001-03-07 Thread Jeff Garzik
Linus Torvalds wrote: I suspect it's easier to just make the PCI layer call the probe function in that order, instead of working around it in your driver. That seems like a really good idea, especially in light of the fact that some drivers are doing (have to do?) -reverse- order PCI scanning.

Re: [PATCH] ncpfs: d_add + ncp_d_validate fixes

2001-03-07 Thread Alexander Viro
On Wed, 7 Mar 2001, Petr Vandrovec wrote: Hi Linus, hi Alan, could you apply following patch into 2.4.2-ac14 and 2.4.3-pre4? It does: last three hunks: do not d_add() already hashed dentry. It is fix for problem discovered by Urban in his

Re: Microsoft ZERO Sector Virus, Result of Taskfile WAR

2001-03-07 Thread Craig Ruff
On Wed, Mar 07, 2001 at 01:15:46PM -0800, Andre Hedrick wrote: Then run this and see if you live. Well, I ran it, the disk lives. The typescript is appended below. Interestingly, scsikiller didn't cream the partition table like I expected. However the dd if=/dev/zero of=/dev/sdc certainly

Re: kernel lock contention and scalability

2001-03-07 Thread Tim Wright
On Tue, Mar 06, 2001 at 10:12:17PM -0500, Jeff Dike wrote: [EMAIL PROTECTED] said: If you're a UP system, it never makes sense to spin in userland, since you'll just burn up a timeslice and prevent the lock holder from running. I haven't looked, but assume that their code only uses

Re: [PATCH] RFC: fix ethernet device initialization

2001-03-07 Thread Jeff Garzik
Jeff Garzik wrote: Our API already supports a solution -- setup the device, then call register_netdev. The patch below adds a helper, alloc_etherdev, to eliminate duplicate code in drivers. Ethernet device initialization, after the patch, should now look like dev =

[PATCH] documentation for mm.h

2001-03-07 Thread Rik van Riel
Hi, I've taken today to write some documentation for include/linux/mm.h, as used in 2.4.x Tonight and tomorrow I'll work on the documentation of other files. Corrections, improvements and additions to this patch are requested, lets try to get our stuff documented... regards, Rik -- Linux MM

Re: Microsoft ZERO Sector Virus, Result of Taskfile WAR

2001-03-07 Thread Andre Hedrick
So basically you are pointing out that there is now a sequencer reject in linux? Because this used to effect and wipe drives, but you are showing that Linux now does scsi commands check for execution on the /dev/sdxx? On Wed, 7 Mar 2001, Craig Ruff wrote: On Wed, Mar 07, 2001 at 01:15:46PM

Re: Kernel 2.4.3 and new aic7xxx

2001-03-07 Thread Justin T. Gibbs
I would prefer to sort the list at probe not boot time. That makes it easy to reverse the order on the fly, depending on what the driver requests at runtime. It's SMP-friendly, because I can grab a private copy of the PCI device list, sort it, and scan it. You don't have to re-sort at every

Re: Microsoft ZERO Sector Virus, Result of Taskfile WAR

2001-03-07 Thread Craig Ruff
On Wed, Mar 07, 2001 at 02:35:56PM -0800, Andre Hedrick wrote: So basically you are pointing out that there is now a sequencer reject in linux? Because this used to effect and wipe drives, but you are showing that Linux now does scsi commands check for execution on the /dev/sdxx? Nope, there

Re: Forcible removal of modules

2001-03-07 Thread Alan Cox
For PCI drivers, you implement the ::suspend and ::remove hooks. I have a race free version of pm_send_all if you want it. Is this the same thing that is in 2.4.3-pre3? Mine is race free for the basics, his is a far far more elegant solution to the whole problem space. It might be 2.5 stuff

Re: 2.2.18 IDE tape problem, with ide-scsi

2001-03-07 Thread Camm Maguire
Thank you again for your help. While I do seem to get more errors with the ide-tape driver, I am also seeing some problems on further examination which are common to both ide-tape and st over ide-scsi, so perhaps I have a bad drive or tape. When trying to mt eom, for example, I get

Re: Kernel 2.4.3 and new aic7xxx

2001-03-07 Thread Jeff Garzik
"Justin T. Gibbs" wrote: How often is the list manipulated? My guess is not very often. Modified very infrequently... at boot, and for each hotplug insertion or removal. It's not even read very often. You can allow people to read the list without taking a spinlock and only acquire the

Re: can't read DVD (under 2.4.[12] 2.2.17)

2001-03-07 Thread Pozsar Balazs
Adding the cgc.buflen = 20; line into drivers/cdrom/cdrom.c: dvd_read_physical(...) solves my problem. I don't know the difference, but first you mentioned cgc.buflen = 16; so i tried that also, and it worked the same. I'll write again if i'm having problems. :) Thanks for the fast patch. I

Kernel upgrading problems, please help...

2001-03-07 Thread Jie Zhou
I did an upgrade from kernel-2.2.16 to the latest version-2.4.2. During the "make bzImage"step, I got bunch of this warning: "pasting would not give a valid preprocessing token". then I just ignored it and after all done rebooted the linux and got into the new kernel successfully. However, when

Linux 2.4.2ac14

2001-03-07 Thread Alan Cox
ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/ 2.4.2-ac14 o Fix the non build problem with do_BUG (Andrew Morton) o Fix interface autocreation bug in ipx (Arnaldo Carvalho Also fix pprop routing bugs, tctrl handling de Melo)

Question...

2001-03-07 Thread Alberio Bathory-Frota
I was wondering what the difference between wake_up_process and wake_up_process_synchronous is? Thanks for your input, Alberio. - 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: Mapping a piece of one process' addrspace to another?

2001-03-07 Thread James H. Cloos Jr.
"AV" == Alexander Viro [EMAIL PROTECTED] writes: AV Double ugh. Why bother with ioctl() when you can just have a AV second channel and do read()/write() on it? Because you cannot rewrite -- or even re-compile -- every app this should support. OSS emulation by ALSA is a great example, given

Re: can't read DVD (under 2.4.[12] 2.2.17)

2001-03-07 Thread Jens Axboe
On Wed, Mar 07 2001, Pozsar Balazs wrote: Adding the cgc.buflen = 20; line into drivers/cdrom/cdrom.c: dvd_read_physical(...) solves my problem. I don't know the difference, but first you mentioned cgc.buflen = 16; so i tried that also, and it worked the same. I'll write again if

Re: Kernel 2.4.3 and new aic7xxx

2001-03-07 Thread Justin T. Gibbs
hmmm.. Is there a reason why this would be -needed-? It wouldn't be hard to implement, but I would rather not have drivers dealing with a list whose normal state is defined as "mostly sorted"... That's the wrong definition. The list is "sorted by probe order". -- Justin - To unsubscribe from

Linux 2.4.2ac12 and ac13 breaks usb-visor

2001-03-07 Thread Erik DeBill
I went to install some new software on my Visor yesterday and got a rude surpise, as my system froze hard (unpingable, no response to keyboard or mouse, no oops). A bit of experimenting shows: It works fine with usb-uhci in all versions I tested. Plain 2.4.2 works fine with either usb-uhci or

Re: Linux 2.4.2ac12 and ac13 breaks usb-visor

2001-03-07 Thread Alan Cox
On ac12 and 13 if the visor driver is compiled into the kernel it wil= l work poorly for a time (very slow sync, jpilot/pilot-link complains o= Does 2.4.2ac11 work - I ask this as ac12 has some visro changes - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: Process vs. Threads

2001-03-07 Thread Hank Leininger
On 2001-03-07, "Albert D. Cahalan" [EMAIL PROTECTED] wrote: Then for proper ps and top output, you need a reasonably efficient way to grab all threads as a group. This could be as simple as ensuring that /proc directory reads return related tasks together. This works too:

Re: static scheduling - SCHED_IDLE?

2001-03-07 Thread ludovic
Oswald Buddenhagen wrote: The problem with these things it that sometimes such a task may hold a lock, which can prevent higher-priority tasks from running. true ... three ideas: - a sort of temporary priority elevation (the opposite of SCHED_YIELD) as long as the process holds some

Re: Linux 2.4.2ac14

2001-03-07 Thread Greg KH
On Wed, Mar 07, 2001 at 11:13:37PM +, Alan Cox wrote: o Fix the non build problem with do_BUG (Andrew Morton) gcc -D__KERNEL__ -I/home/greg/linux/linux-2.4.2-ac14/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -march=i686

Re: Can't compile 2.4.2-ac14

2001-03-07 Thread Alan Cox
Hello, I receive the following error with make bzImage: i386_ksyms.c:170: `do_BUG' undeclared here (not in a function) i386_ksyms.c:170: initializer element is not constant i386_ksyms.c:170: (near initialization for `__ksymtab_do_BUG.value') make[1]: *** [i386_ksyms.o] Error 1 make[1]:

[PATCH] Re: Linux 2.4.2ac14

2001-03-07 Thread Tachino Nobuhiro
Hello, 2.4.2ac14 compilation fails when CONFIG_DEBUG_BUGVERBOSE is not enabled. Here is my small patch. diff -r -u linux-2.4.2-ac14.org/include/asm-i386/page.h linux-2.4.2-ac14/include/asm-i386/page.h --- linux-2.4.2-ac14.org/include/asm-i386/page.hThu Mar 8 09:31:45 2001 +++

Re: aic7xxx funcs without return values

2001-03-07 Thread Justin T. Gibbs
Hi, Just a note to make gcc 2.96 (and future) happy. The aic7xxx driver is full of inline funcs that should return a value and do not do that: They don't return a value because doing so is meaningless. You aren't going to get past the panic. The compiler should know that assuming panic is

Re: Linux 2.4.2ac14

2001-03-07 Thread Greg KH
On Wed, Mar 07, 2001 at 04:40:52PM -0800, Greg KH wrote: On Wed, Mar 07, 2001 at 11:13:37PM +, Alan Cox wrote: o Fix the non build problem with do_BUG (Andrew Morton) gcc -D__KERNEL__ -I/home/greg/linux/linux-2.4.2-ac14/include -Wall -Wstrict-prototypes -O2

[PATCH] Re: Can't compile 2.4.2-ac14

2001-03-07 Thread J . A . Magallon
On 03.08 MATSUSHIMA Akihiro wrote: Hello, I receive the following error with make bzImage: i386_ksyms.c:170: `do_BUG' undeclared here (not in a function) i386_ksyms.c:170: initializer element is not constant i386_ksyms.c:170: (near initialization for `__ksymtab_do_BUG.value') make[1]:

Re: [PATCH] Re: Can't compile 2.4.2-ac14

2001-03-07 Thread Andrew Morton
"J . A . Magallon" wrote: Try this: This is the better fix. I apologise for this stuff-up. - - 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

Re: PATCH 2.4.0 parisc PCI support

2001-03-07 Thread Grant Grundler
Ivan Kokshaysky wrote: ... Well, it seems that I finally see what is wrong with your code, and why it worked in your case. You assume that "window" resources of the bridge are already known when we call pbus_assign_resources_sorted(). This is incorrect. Oh...do we know the "sizes" of all

Misspelled spinlock_prefetch for MK7 (was: Linux 2.4.2ac14)

2001-03-07 Thread junio
You need this to compile for Athron/Durons. --- 2.4.2-ac14/include/asm-i386/processor.h Wed Mar 7 16:59:48 2001 +++ 2.4.2-ac14/include/asm-i386/processor.h Wed Mar 7 17:25:17 2001 @@ -499,7 +499,7 @@ { __asm__ __volatile__ ("prefetch (%0)" : : "r"(x)); } -#define

Questions about Enterprise Storage with Linux

2001-03-07 Thread Tom Sightler
Hi All, I'm seeking information in regards to a large Linux implementation we are planning. We have been evaluating many storage options and I've come up with some questions that I have been unable to answer as far as Linux capabilities in regards to storage. We are looking at storage systems

Re: Linux 2.4.2ac12 and ac13 breaks usb-visor

2001-03-07 Thread Greg KH
On Wed, Mar 07, 2001 at 05:20:56PM -0600, Erik DeBill wrote: I went to install some new software on my Visor yesterday and got a rude surpise, as my system froze hard (unpingable, no response to keyboard or mouse, no oops). A bit of experimenting shows: It works fine with usb-uhci in all

Re: Misspelled spinlock_prefetch for MK7 (was: Linux 2.4.2ac14)

2001-03-07 Thread junio
Sorry, I have wasted your time by speaking too early. Here is a corrected version of my fix; the old one replaced one typo with another X-. You need this to link for Athron/Durons. --- 2.4.2-ac14/include/asm-i386/processor.h Wed Mar 7 16:59:48 2001 +++

2.4.3-pre2 aic7xxx crash on alpha

2001-03-07 Thread Wakko Warner
I can trigger this every time. I'm using 2 2gb DEC drives (seagate) wide-scsi. I have an adaptec aha-2940uw card installed on the primary pci bus. I'm using reiserfs and LVM (striped), but I can reproduce this w/o these. All I have to do is: for dev in /dev/sd[bcd];do cp /dev/zero $dev ; done

<    1   2   3   4   5   >