* oops! need help! @ 2000-06-01 21:36 Jonathan DuBois 2000-06-01 19:41 ` Jeff Sturm 2000-06-04 0:45 ` oops! need help! Craig P Prescott 0 siblings, 2 replies; 40+ messages in thread From: Jonathan DuBois @ 2000-06-01 21:36 UTC (permalink / raw) To: axp-list I did something foolish. I have/had an lx164 running redhat 5.1 with kernel 2.2.10 and glibc 2.0.6. I have been wanting to upgrade to glibc 2.1.3 for some time now but I hoped to be able to do it without doing a full upgrade to redhat 6.2. After some botched attempts at compiling it (glibc) myself I decided to try to upgrade just glibc with the RPM from redhat. rpm -U glibc-2.1.3-16.alpha failed dependancies so I did rpm -U --nodeps glibc-2.1.3-16.alpha // oops! it copied the new libc files to /lib/ and created all the symlinks and stuff but died at some point. After that things stopped working.. duh.. I decided to reboot. //oops at this point I couldnt log in in multiuser mode so I rebooted into single user mode. things seemed pretty ok. I tried to install the old version of glibc I was using before: rpm -U --oldversion glibc-2.0.7-29.alpha "failed.. glibc-2.0.7-29 already installed" it seemed like the rpm package database was messed up so I tried to rebuild the database. This failed with an error about running out of disk space. Unfortunately, at this point stuff like commands like ls stopped working. I rebooted once more and got a kernel panic: //oops! "cant find init.. try specifying init=..." So, I decided to hunt down a 6.2 cdrom and try the upgrade after all. I managed to get hold of one and everything went fine using the GUI form until I selected upgrade. then the installation program tries to rebuild the package database and that fails with a 'possibly out of disk space error' and the installer freezes up. I tried again with the expert and text flags but I got the same error and didnt see what I could do next. basically I dont know how or if I can even look to see if there really is a drive space problem. I seriously doubt there is but I dont know what else to do at this point. Please help with any advice -- I really need it! thanks, Jonathan __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: oops! need help! 2000-06-01 21:36 oops! need help! Jonathan DuBois @ 2000-06-01 19:41 ` Jeff Sturm 2000-06-02 1:42 ` floppyless install? Jeff DeMaagd 2000-06-04 0:45 ` oops! need help! Craig P Prescott 1 sibling, 1 reply; 40+ messages in thread From: Jeff Sturm @ 2000-06-01 19:41 UTC (permalink / raw) To: axp-list Jonathan DuBois wrote: > basically I dont know how or if I can even look to see > if there really is a drive space problem. I seriously > doubt there is but I dont know what else to do at this > point. I believe /sbin/init is dynamically linked (don't have access at the moment) so the panic could certainly be a glibc problem. I don't see an alternative but to boot a rescue disk, mount root and look around for the problem. That's not really for the faint of heart... you have a very limited toolset on the rescue disk. If you have a free partition, another approach is to install Red Hat to an empty partition, boot and mount your original root to find the problem. When testing a new glibc, I never overwrite those in /lib until I am confident they will work. Also, keep a rescue disk handy and learn how to mount root. That might save you some pain later on. -- Jeff Sturm jeff.sturm@appnet.com ^ permalink raw reply [flat|nested] 40+ messages in thread
* floppyless install? 2000-06-01 19:41 ` Jeff Sturm @ 2000-06-02 1:42 ` Jeff DeMaagd 2000-06-02 3:08 ` Way to go, Greg! Larry Snyder 2000-06-02 21:47 ` floppyless install? tibor 0 siblings, 2 replies; 40+ messages in thread From: Jeff DeMaagd @ 2000-06-02 1:42 UTC (permalink / raw) To: axp-list After a long hiatus from linux, I am trying to reinstall Red Hat 6.1 onto my MIATA type system, I have had several variations of Red Hat 4.x, 5.x and 6.x on it at one time or another. I am having a devil of a time trying to get the root floppy to work, I get this message: kernel panic: VFS: Unable to mount root fd on 2:00 I checked metalab and found no updated ramdisk.img, and I tried many different floppies and used rawrite at least twice per disc, but nothing changes this. I also never get this line to work the first time after a reboot: boot fd0:vmlinux.gz root=/dev/fd0 this doesn't work the first time either: boot fd0:vmlinux.gz root=/dev/fd0 load_ramdisk=1 The error I get is a "bad magic" error, I didn't write down the exact numbers, but they were the same every time. So, in conclusion, am I doing something obviously wrong, and is there a way to install Red Hat AXP Linux on this beast without the floppy? I have always had floppy difficulties when installing Linux in the past. Thanks! Jeff DeMaagd ^ permalink raw reply [flat|nested] 40+ messages in thread
* Way to go, Greg! 2000-06-02 1:42 ` floppyless install? Jeff DeMaagd @ 2000-06-02 3:08 ` Larry Snyder 2000-06-02 5:02 ` Greg Lindahl 2000-06-12 21:32 ` 2.2.16 Alpha: "Fix SMP rescheduling with lock held" Greg Lindahl 2000-06-02 21:47 ` floppyless install? tibor 1 sibling, 2 replies; 40+ messages in thread From: Larry Snyder @ 2000-06-02 3:08 UTC (permalink / raw) To: axp-list Check out: http://slashdot.org/article.pl?sid=00/06/01/133232&mode=thread ^ permalink raw reply [flat|nested] 40+ messages in thread
* RE: Way to go, Greg! 2000-06-02 3:08 ` Way to go, Greg! Larry Snyder @ 2000-06-02 5:02 ` Greg Lindahl 2000-06-12 21:32 ` 2.2.16 Alpha: "Fix SMP rescheduling with lock held" Greg Lindahl 1 sibling, 0 replies; 40+ messages in thread From: Greg Lindahl @ 2000-06-02 5:02 UTC (permalink / raw) To: axp-list > Check out: > http://slashdot.org/article.pl?sid=00/06/01/133232&mode=thread The jpg of me in funny clothes has 3,700 hits already. Talk about yer slashdot effect... -- g ^ permalink raw reply [flat|nested] 40+ messages in thread
* 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-02 3:08 ` Way to go, Greg! Larry Snyder 2000-06-02 5:02 ` Greg Lindahl @ 2000-06-12 21:32 ` Greg Lindahl 2000-06-12 21:58 ` Peter Rival 1 sibling, 1 reply; 40+ messages in thread From: Greg Lindahl @ 2000-06-12 21:32 UTC (permalink / raw) To: axp-list I have a bunch of DS20Es running 2.2.14-6.0smp (the kernel compiled by RedHat for RH 6.2), and they have several spinlock stuck messages while booting, and more systematically happen when doing certain things (loading a particular module). What's more annoying is that the machines occasionally freeze under heavy load, and when they do, they're periodically printing a spinlock message on their console. Does this 2.2.16 patch perhaps fix this or does it go deeper? When Alpha SMP was first developed it was stress tested on an ES40 by Jay and friends; do all 2.2 kernel releases get similar testing these days? It's hard to believe that 2.2.14-6.0smp would pass that test. -- greg ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-12 21:32 ` 2.2.16 Alpha: "Fix SMP rescheduling with lock held" Greg Lindahl @ 2000-06-12 21:58 ` Peter Rival 2000-06-12 22:31 ` Greg Lindahl 0 siblings, 1 reply; 40+ messages in thread From: Peter Rival @ 2000-06-12 21:58 UTC (permalink / raw) To: glindahl; +Cc: axp-list Greg Lindahl wrote: > I have a bunch of DS20Es running 2.2.14-6.0smp (the kernel compiled by > RedHat for RH 6.2), and they have several spinlock stuck messages while > booting, and more systematically happen when doing certain things (loading a > particular module). What's more annoying is that the machines occasionally > freeze under heavy load, and when they do, they're periodically printing a > spinlock message on their console. > > Does this 2.2.16 patch perhaps fix this or does it go deeper? When Alpha SMP > was first developed it was stress tested on an ES40 by Jay and friends; do > all 2.2 kernel releases get similar testing these days? It's hard to believe > that 2.2.14-6.0smp would pass that test. > Uh, when Alpha SMP was developed, ES40s didn't exist. :) At least, not unless Jay had a _very_ early proto, that is... (Probably pre-EV6, at that...) Anyway, yes, I do occasionally stress test releases, but most of my testing has been done under the 2.3/2.4test series in recent months. I know that others have now and again stressed the 2.2 series for varying purposes. The "spinlock stuck" message is just a debugging aid AFAIK, albeit a possible hint for problems in design. I routinely have AIM runs where I'll see these messages scroll on by the dozens, and performance is still quite good. If you're really concerned, you could also check out the crash tools from Mission Critical (haven't tried them, but have used their counterparts on Tru64 and they're quite good). If you're still concerned, maybe we can try to replicate what's happening here and I'll take a closer look. My $0.02. - Pete ^ permalink raw reply [flat|nested] 40+ messages in thread
* RE: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-12 21:58 ` Peter Rival @ 2000-06-12 22:31 ` Greg Lindahl 2000-06-13 2:59 ` Jay Estabrook 0 siblings, 1 reply; 40+ messages in thread From: Greg Lindahl @ 2000-06-12 22:31 UTC (permalink / raw) To: Peter Rival; +Cc: axp-list > The "spinlock stuck" message is just a debugging aid AFAIK, ... and I should also mention that I'm getting spinlock grabbed. Which is an error, not a warning. > If you're still concerned, maybe we can try > to replicate > what's happening here and I'll take a closer look. As I mentioned, I get this on boot of RedHat-compiled 2.2.14-6.0smp, on both 2 cpu DS20Es and 2 cpu UP2000s. -- g ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-12 22:31 ` Greg Lindahl @ 2000-06-13 2:59 ` Jay Estabrook 2000-06-13 12:28 ` Peter Rival 2000-06-13 18:29 ` 2.2.16 Alpha: "Fix SMP rescheduling with lock held" Greg Lindahl 0 siblings, 2 replies; 40+ messages in thread From: Jay Estabrook @ 2000-06-13 2:59 UTC (permalink / raw) To: Greg Lindahl; +Cc: Peter Rival, axp-list On Mon, Jun 12, 2000 at 06:31:52PM -0400, Greg Lindahl wrote: > > > The "spinlock stuck" message is just a debugging aid AFAIK, > > ... and I should also mention that I'm getting spinlock grabbed. Which is an > error, not a warning. I beg your pardon? Both of those prints are part of the "debugging" code associated with the SMP lock primitives. They are meant to be informative; the "stuck" one indicates when a lock is being held for a long period of time (relatively speaking, and essentially an arbitrary definition of "long"). The "grabbed" message simply indicates when a process that was "stuck" actually got the lock. The "ticks" indicated are jiffies, of course, and on ALPHA there are usually 1024/second, so when a "grabbed" message is printed saying it waited for 6732 ticks, that's 6+ seconds. That seemed awful long to me when I first saw it, so I asked either Linus or Alan about it, and they said it was "normal" or "reasonable", so I stopped worrying. Perhaps it's time to ask again, though I'd be quite worried if I saw that much time on a 2.4.xx kernel... ;-} In addition, the "stuck" and "grabbed" messages indicate on which CPU the "stickee" and the "owner" are running. If you see a bunch of "stuck" messages with the same owner/CPU, they're all waiting for that one. If you see a bunch of "stuck" messages, and no "grabbed", THAT is a problem, ie usually the owner/CPU has died some horrible death without releasing the lock, and no progress can ever be made - you're hosed. Is this what you're seeing? --Jay++ ----------------------------------------------------------------------------- Jay A Estabrook Alpha Engineering - LINUX Project Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080 200 Forest Street, Marlboro MA 01752 Jay.Estabrook@compaq.com ----------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-13 2:59 ` Jay Estabrook @ 2000-06-13 12:28 ` Peter Rival 2000-06-13 14:49 ` Jay Estabrook 2000-06-13 18:29 ` 2.2.16 Alpha: "Fix SMP rescheduling with lock held" Greg Lindahl 1 sibling, 1 reply; 40+ messages in thread From: Peter Rival @ 2000-06-13 12:28 UTC (permalink / raw) To: Jay Estabrook; +Cc: Greg Lindahl, axp-list Jay Estabrook wrote: > The "grabbed" message simply indicates when a process that was "stuck" > actually got the lock. The "ticks" indicated are jiffies, of course, > and on ALPHA there are usually 1024/second, so when a "grabbed" > message is printed saying it waited for 6732 ticks, that's 6+ seconds. > That seemed awful long to me when I first saw it, so I asked either > Linus or Alan about it, and they said it was "normal" or "reasonable", > so I stopped worrying. Perhaps it's time to ask again, though I'd be > quite worried if I saw that much time on a 2.4.xx kernel... ;-} > Truth be told, that's a _really_ long time. We start to freak out when we see locks in Tru64 have a waitsum of >2 seconds _total_ in an hour benchmark run. In Tru64, that's considered easy pickin's for perf guys like me, where it's a simple sign of bad lock design. But then again, Tru64 has probably in the area of an order of magnitude (at least) more locks than Linux does, so one lock hogging that much time is a much clearer sign than the more coarse granularity of Linux. So what am I saying? Yes, it is a bad thing from a perf perspective, and only gets worse as the systems get bigger and faster. That's why I try to keep on top of the lockmeter code for Alpha (can be gotten from SGI, works now with a small patch from me until John integrates it) - so we can make sure we always know what is going on whenever possible. (Not helpful in this case, as it's at boot time, but other than that...) BTW - Greg, could you send me a couple of lines of the "spinlock stuck" and "spinlock grabbed" messages? I'm curious which locks are getting in the way, and if they're the same ones I see now and again... - Pete ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-13 12:28 ` Peter Rival @ 2000-06-13 14:49 ` Jay Estabrook 2000-06-13 18:12 ` W Bauske 0 siblings, 1 reply; 40+ messages in thread From: Jay Estabrook @ 2000-06-13 14:49 UTC (permalink / raw) To: axp-list On Tue, Jun 13, 2000 at 12:28:42PM +0000, Peter Rival wrote: > > But then again, Tru64 has probably in the area of an order of > magnitude (at least) more locks than Linux does, so one lock hogging > that much time is a much clearer sign than the more coarse > granularity of Linux. Bingo... > So what am I saying? Yes, it is a bad thing from a perf > perspective, and only gets worse as the systems get bigger and > faster. That's why I try to keep on top of the lockmeter code for > Alpha (can be gotten from SGI, works now with a small patch from me > until John integrates it) - so we can make sure we always know what > is going on whenever possible. (Not helpful in this case, as it's > at boot time, but other than that...) That's important - that you see them primarily during boot, rather than often during normal operation. That's indicative of boot tasks that simply take a long time and happen to need to hold a lock during that time. I'd be much more concerned if these happened frequently during normal operation. --Jay++ ----------------------------------------------------------------------------- Jay A Estabrook Alpha Engineering - LINUX Project Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080 200 Forest Street, Marlboro MA 01752 Jay.Estabrook@compaq.com ----------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-13 14:49 ` Jay Estabrook @ 2000-06-13 18:12 ` W Bauske 2000-06-13 18:40 ` Jay Estabrook ` (2 more replies) 0 siblings, 3 replies; 40+ messages in thread From: W Bauske @ 2000-06-13 18:12 UTC (permalink / raw) To: axp-list Jay Estabrook wrote: > > That's important - that you see them primarily during boot, rather > than often during normal operation. That's indicative of boot tasks > that simply take a long time and happen to need to hold a lock during > that time. I'd be much more concerned if these happened frequently > during normal operation. > They happen alot on my UP2K's in production. socket.c:43 spinlock grabbed in pvmd3 at fffffc00003c4368(0) 2032 ticks select.c:43 spinlock stuck in pvmd3 at fffffc000035f630(0) owner zm32mig_s_pvm at fffffc000034fb78(1) read_write.c:43 select.c:43 spinlock grabbed in pvmd3 at fffffc000035f630(0) 2033 ticks select.c:43 spinlock stuck in pvmd3 at fffffc000035f630(0) owner zm32mig_s_pvm at fffffc000034fb78(1) read_write.c:43 select.c:43 spinlock grabbed in pvmd3 at fffffc000035f630(0) 1949 ticks socket.c:43 spinlock stuck in pvmd3 at fffffc00003c4368(1) owner zm32mig_s_pvm at fffffc000034fb78(0) read_write.c:43 socket.c:43 spinlock grabbed in pvmd3 at fffffc00003c4368(1) 2024 ticks sched.c:30 spinlock stuck in pvmd3 at fffffc000032cea4(1) owner zm32mig_s_pvm at fffffc000034fb78(0) read_write.c:43 sched.c:30 spinlock grabbed in pvmd3 at fffffc000032cea4(1) 1943 ticks socket.c:43 spinlock stuck in pvmd3 at fffffc00003c4368(1) owner zm32mig_s_pvm at fffffc000034fb78(0) read_write.c:43 socket.c:43 spinlock grabbed in pvmd3 at fffffc00003c4368(1) 2062 ticks socket.c:43 spinlock stuck in pvmd3 at fffffc00003c4368(0) owner zm32mig_s_pvm at fffffc000034fb78(1) read_write.c:43 socket.c:43 spinlock grabbed in pvmd3 at fffffc00003c4368(0) 2267 ticks Wes ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-13 18:12 ` W Bauske @ 2000-06-13 18:40 ` Jay Estabrook 2000-06-13 18:50 ` Greg Lindahl 2000-06-13 22:15 ` W Bauske 2000-06-13 18:40 ` Peter Rival 2000-06-13 20:46 ` 2.2.16 Alpha, exceptions, de4x5? John Groseclose 2 siblings, 2 replies; 40+ messages in thread From: Jay Estabrook @ 2000-06-13 18:40 UTC (permalink / raw) To: axp-list On Tue, Jun 13, 2000 at 01:12:10PM -0500, W Bauske wrote: > > They happen alot on my UP2K's in production. > > socket.c:43 spinlock grabbed in pvmd3 at fffffc00003c4368(0) 2032 ticks > select.c:43 spinlock stuck in pvmd3 at fffffc000035f630(0) owner zm32mig_s_pvm > at fffffc000034fb78(1) read_write.c:43 > select.c:43 spinlock grabbed in pvmd3 at fffffc000035f630(0) 2033 ticks > select.c:43 spinlock stuck in pvmd3 at fffffc000035f630(0) owner zm32mig_s_pvm > at fffffc000034fb78(1) read_write.c:43 Sigh... Not knowing whether x86/sparc/whatever code has any sort of similar debug output, it's hard to know if this is "normal" behavior". Perhaps the PVM stuff could be better organized or rewritten to cause the holding of locks (at its behest) to be shorter? As a last resort, if one tires of seeing those messages, one could up the default "timeout" value in the debugging locks code to wait for a longer time before giving the message... :-\ --Jay++ ----------------------------------------------------------------------------- Jay A Estabrook Alpha Engineering - LINUX Project Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080 200 Forest Street, Marlboro MA 01752 Jay.Estabrook@compaq.com ----------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 40+ messages in thread
* RE: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-13 18:40 ` Jay Estabrook @ 2000-06-13 18:50 ` Greg Lindahl 2000-06-13 22:15 ` W Bauske 1 sibling, 0 replies; 40+ messages in thread From: Greg Lindahl @ 2000-06-13 18:50 UTC (permalink / raw) To: axp-list > Perhaps the PVM stuff could be better organized or rewritten to cause > the holding of locks (at its behest) to be shorter? PVM is a user level program doing nothing but ordinary socket calls: select, read, write. There is NO reason it should hold locks in an unusual fashion. -- g ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-13 18:40 ` Jay Estabrook 2000-06-13 18:50 ` Greg Lindahl @ 2000-06-13 22:15 ` W Bauske 2000-06-14 0:49 ` Greg Lindahl 1 sibling, 1 reply; 40+ messages in thread From: W Bauske @ 2000-06-13 22:15 UTC (permalink / raw) To: axp-list Jay Estabrook wrote: > > On Tue, Jun 13, 2000 at 01:12:10PM -0500, W Bauske wrote: > > > > They happen alot on my UP2K's in production. > > > > socket.c:43 spinlock grabbed in pvmd3 at fffffc00003c4368(0) 2032 ticks > > select.c:43 spinlock stuck in pvmd3 at fffffc000035f630(0) owner zm32mig_s_pvm > > at fffffc000034fb78(1) read_write.c:43 > > select.c:43 spinlock grabbed in pvmd3 at fffffc000035f630(0) 2033 ticks > > select.c:43 spinlock stuck in pvmd3 at fffffc000035f630(0) owner zm32mig_s_pvm > > at fffffc000034fb78(1) read_write.c:43 > > Sigh... > > Not knowing whether x86/sparc/whatever code has any sort of similar > debug output, it's hard to know if this is "normal" behavior". I don't bother trying to run this code on Intels. Maybe when Williamette/Itanium arrive, I'll look at them again but that's a couple months off. > > Perhaps the PVM stuff could be better organized or rewritten to cause > the holding of locks (at its behest) to be shorter? > PVM is just doing what I asked it to do. I send large chunks of data because I use very large datasets. Anywhere from 100GB to over a TB. This code can keep all my systems busy for a month straight on a single problem. > As a last resort, if one tires of seeing those messages, one could up > the default "timeout" value in the debugging locks code to wait for a > longer time before giving the message... :-\ > I don't look at the system console much unless there's trouble or I need to shut things down so I rarely look at these messages. The key is they are not specific to boot time. I take it these messages indicate the hang is around 2 seconds, which makes sense given I send 16MB over 100Mb Enet, which would mean PVM is sustaining around 8MB/sec, actually quite good from my point of view. I'm surprised the other processor would have to wait while another processor was receiving network data. The lock must protect large portions of the kernel code. At some point I'll go back and try the 2.4.test series but not real soon. Wes ^ permalink raw reply [flat|nested] 40+ messages in thread
* RE: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-13 22:15 ` W Bauske @ 2000-06-14 0:49 ` Greg Lindahl 2000-06-13 20:55 ` Jeff Sturm ` (2 more replies) 0 siblings, 3 replies; 40+ messages in thread From: Greg Lindahl @ 2000-06-14 0:49 UTC (permalink / raw) To: axp-list > I take it these > messages indicate the hang is around 2 seconds, which makes sense > given I send 16MB over 100Mb Enet, That depends on the detail. Are you running PVM in daemon mode or using direct routing? Even if you were sending 16 MB in a single blocking send, it should not hold the kernel lock while you're doing it. If so, it would be a generic kernel bug... strace is a very good utility (if it's functioning on alphas these days) to figure out what kinds of system calls you're making. -- g ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-14 0:49 ` Greg Lindahl @ 2000-06-13 20:55 ` Jeff Sturm 2000-06-14 3:51 ` W Bauske 2000-06-14 11:05 ` Peter Rival 2000-06-14 2:16 ` W Bauske 2000-06-14 11:24 ` Peter Rival 2 siblings, 2 replies; 40+ messages in thread From: Jeff Sturm @ 2000-06-13 20:55 UTC (permalink / raw) To: axp-list W Bauske wrote: > > As a last resort, if one tires of seeing those messages, one could up > > the default "timeout" value in the debugging locks code to wait for a > > longer time before giving the message... :-\ > > > > I don't look at the system console much unless there's trouble > or I need to shut things down so I rarely look at these messages. > The key is they are not specific to boot time. I take it these > messages indicate the hang is around 2 seconds, which makes sense > given I send 16MB over 100Mb Enet, which would mean PVM is sustaining > around 8MB/sec, actually quite good from my point of view. I'm > surprised the other processor would have to wait while another > processor was receiving network data. The lock must protect large > portions of the kernel code. At some point I'll go back and try > the 2.4.test series but not real soon. This is starting to sound familiar. I'm not really an expert on Linux SMP, but as I recall the coarse locking used in the Linux net code was largely responsible for its poor showing on the Mindcraft tests, in which they tested a quad processor Intel box. There was some discussion at the time on linux-kernel about rewriting the net code for 2.3. I don't know whether that happened. It certainly hasn't been backported to 2.2. By any chance is that 16MB transmitted with a single system call (i.e. one large socket write)? -- Jeff Sturm jeff.sturm@appnet.com ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-13 20:55 ` Jeff Sturm @ 2000-06-14 3:51 ` W Bauske 2000-06-14 11:05 ` Peter Rival 1 sibling, 0 replies; 40+ messages in thread From: W Bauske @ 2000-06-14 3:51 UTC (permalink / raw) To: axp-list Jeff Sturm wrote: > > By any chance is that 16MB transmitted with a single system call (i.e. > one large socket write)? > I've looked a bit at how PVM works and I think it breaks it into multiple chunks, depending on how big a UDP packet can be. It's defined in one of the headers I think. Wes ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-13 20:55 ` Jeff Sturm 2000-06-14 3:51 ` W Bauske @ 2000-06-14 11:05 ` Peter Rival 1 sibling, 0 replies; 40+ messages in thread From: Peter Rival @ 2000-06-14 11:05 UTC (permalink / raw) To: axp-list Jeff Sturm wrote: > W Bauske wrote: > > > As a last resort, if one tires of seeing those messages, one could up > > > the default "timeout" value in the debugging locks code to wait for a > > > longer time before giving the message... :-\ > > > > > > > I don't look at the system console much unless there's trouble > > or I need to shut things down so I rarely look at these messages. > > The key is they are not specific to boot time. I take it these > > messages indicate the hang is around 2 seconds, which makes sense > > given I send 16MB over 100Mb Enet, which would mean PVM is sustaining > > around 8MB/sec, actually quite good from my point of view. I'm > > surprised the other processor would have to wait while another > > processor was receiving network data. The lock must protect large > > portions of the kernel code. At some point I'll go back and try > > the 2.4.test series but not real soon. > > This is starting to sound familiar. > > I'm not really an expert on Linux SMP, but as I recall the coarse > locking used in the Linux net code was largely responsible for its poor > showing on the Mindcraft tests, in which they tested a quad processor > Intel box. There was some discussion at the time on linux-kernel about > rewriting the net code for 2.3. I don't know whether that happened. It > certainly hasn't been backported to 2.2. > It happened. Big time. I believe DaveM's statement was that it couldn't get any more multithreaded than it currently is. (Maybe not DaveM, but the sentiment is there...). Just search the LKML archives for topics like "softirq" and "net updates". Neat stuff... - Pete ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-14 0:49 ` Greg Lindahl 2000-06-13 20:55 ` Jeff Sturm @ 2000-06-14 2:16 ` W Bauske 2000-06-14 17:20 ` Greg Lindahl 2000-06-22 19:13 ` Greg Lindahl 2000-06-14 11:24 ` Peter Rival 2 siblings, 2 replies; 40+ messages in thread From: W Bauske @ 2000-06-14 2:16 UTC (permalink / raw) To: axp-list@redhat.com Greg Lindahl wrote: > > > I take it these > > messages indicate the hang is around 2 seconds, which makes sense > > given I send 16MB over 100Mb Enet, > > That depends on the detail. Are you running PVM in daemon mode or using > direct routing? Even if you were sending 16 MB in a single blocking send, it > should not hold the kernel lock while you're doing it. If so, it would be a > generic kernel bug... > It would depend on exactly what those messages are trying to say. I would expect pvmd to go into a hard read() loop of some sort collecting bytes of the data until it gets the complete chunk transferred. At least, that's how I write sockets code when passing data. The reason being select() will return readable on a single byte of data so it's basically no better than just sitting on a read(). Nothing stopping one from using select() but it doesn't buy you much unless you want to interleave read()'ing multiple data streams. How the kernel locks work I don't know but I assume there is a data structure somewhere that is effected by the socket I/O that access to must be serialized to keep things sane. > strace is a very good utility (if it's functioning on alphas these days) to > figure out what kinds of system calls you're making. > Haven't tried strace lately. Wes ^ permalink raw reply [flat|nested] 40+ messages in thread
* RE: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-14 2:16 ` W Bauske @ 2000-06-14 17:20 ` Greg Lindahl 2000-06-14 18:46 ` W Bauske 2000-06-22 19:13 ` Greg Lindahl 1 sibling, 1 reply; 40+ messages in thread From: Greg Lindahl @ 2000-06-14 17:20 UTC (permalink / raw) To: axp-list > > That depends on the detail. Are you running PVM in daemon mode or using > > direct routing? Hint: In daemon mode, PVM uses UDP, and of course that means it has to split big messages. If you use direct routing, which almost all PVM programs use because it's faster, processes open direct tcp connections and don't go through the daemon. Since you are using the daemon, there's no excuse for the Linux kernel to be freezing for that long. > It would depend on exactly what those messages are trying to > say. I would expect pvmd to go into a hard read() loop of some > sort collecting bytes of the data until it gets the complete > chunk transferred. In order to avoid deadlocks with general communication patterns, most libraries do more sophisticated things. -- g ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-14 17:20 ` Greg Lindahl @ 2000-06-14 18:46 ` W Bauske 0 siblings, 0 replies; 40+ messages in thread From: W Bauske @ 2000-06-14 18:46 UTC (permalink / raw) To: axp-list@redhat.com Greg Lindahl wrote: > > In order to avoid deadlocks with general communication patterns, most > libraries do more sophisticated things. > Yeah. It's called select(). I prefer the code deadlocks if one doesn't make requests in the correct order. That "buffering" can cost many MB of memory for the kinds of things I do. Wes ^ permalink raw reply [flat|nested] 40+ messages in thread
* RE: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-14 2:16 ` W Bauske 2000-06-14 17:20 ` Greg Lindahl @ 2000-06-22 19:13 ` Greg Lindahl 2000-06-22 20:28 ` Peter Rival 1 sibling, 1 reply; 40+ messages in thread From: Greg Lindahl @ 2000-06-22 19:13 UTC (permalink / raw) To: axp-list OK, so I finally got a node to hang: sched.c:30 spinlock stuck in pbs_mom at fffffc000032cd64(1) owner a.out.system14. at fffffc000032cd64(0) sched.c:30 sched.c:30 spinlock stuck in pbs_mom at fffffc000032cd64(1) owner a.out.system14. at fffffc000032cd64(0) sched.c:30 sched.c:30 spinlock stuck in pbs_mom at fffffc000032cd64(1) owner a.out.system14. at fffffc000032cd64(0) sched.c:30 This is printed once every few minutes on the console of the hung system. There are two copies of a.out.system14. running. The kernel is the RedHat-compiled 2.2.14-6.0smp. My question is: is this bug fixed by the 2.2.16 patch to alpha/smp.c ? I suppose I should try it, but it's nice to understand these things well enough to know... -- g ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-22 19:13 ` Greg Lindahl @ 2000-06-22 20:28 ` Peter Rival 2000-06-23 16:02 ` Greg Lindahl 0 siblings, 1 reply; 40+ messages in thread From: Peter Rival @ 2000-06-22 20:28 UTC (permalink / raw) Cc: axp-list Greg Lindahl wrote: > OK, so I finally got a node to hang: > > sched.c:30 spinlock stuck in pbs_mom at fffffc000032cd64(1) owner > a.out.system14. at fffffc000032cd64(0) sched.c:30 > sched.c:30 spinlock stuck in pbs_mom at fffffc000032cd64(1) owner > a.out.system14. at fffffc000032cd64(0) sched.c:30 > sched.c:30 spinlock stuck in pbs_mom at fffffc000032cd64(1) owner > a.out.system14. at fffffc000032cd64(0) sched.c:30 > Hmm...that comes from this code right here (sched.c:821): ... kstat.context_swtch++; get_mmu_context(next); switch_to(prev, next, prev); __schedule_tail(prev); same_process: reacquire_kernel_lock(current); return; ... So, that means it's our good friend the kernel_lock again. How long did the system hang for before you killed it? I'm just a little curious if it would have recovered "eventually". Are you either doing 1) a lot of data transfers or 2) a lot of heavily threaded work? Problem here is that this code probably will do the same thing in this section of code in 2.3/2.4 - that particular section of code is roughly the same. > > This is printed once every few minutes on the console of the hung system. > There are two copies of a.out.system14. running. That's some of the > problem with the magic of the kernel_lock - it makes it a little too easy > to use... :( > > The kernel is the RedHat-compiled 2.2.14-6.0smp. > > My question is: is this bug fixed by the 2.2.16 patch to alpha/smp.c ? I > suppose I should try it, but it's nice to understand these things well > enough to know... > It doesn't look like it should be. That code is in pointer_lock() which is only called by smp_call_function() (at least as far as cscope is concerned, anyway). It's entirely possible that it might, however, if somehow your code is making heavy use of the smp_call_function() in some way. (I'm guessing a bit here, but hey - it's better than nothing. ;) Obviously Jay or rth (or whomever submitted the change) would know better. - Pete ^ permalink raw reply [flat|nested] 40+ messages in thread
* RE: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-22 20:28 ` Peter Rival @ 2000-06-23 16:02 ` Greg Lindahl 0 siblings, 0 replies; 40+ messages in thread From: Greg Lindahl @ 2000-06-23 16:02 UTC (permalink / raw) To: axp-list > So, that means it's our good friend the kernel_lock again. How > long did the > system hang for before you killed it? We've left it for hours without recovery. > Are you either doing 1) a lot of data > transfers or 2) a lot of heavily threaded work? It's 2 processes doing OS-bypass data transfers. So the number of syscalls and context switches should be minimal. There is a lot of DMA going on, etc etc. It might have been doing disk I/O at the time, which would be 2 processes doing a lot of NFS activity. -- g ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-14 0:49 ` Greg Lindahl 2000-06-13 20:55 ` Jeff Sturm 2000-06-14 2:16 ` W Bauske @ 2000-06-14 11:24 ` Peter Rival 2 siblings, 0 replies; 40+ messages in thread From: Peter Rival @ 2000-06-14 11:24 UTC (permalink / raw) To: glindahl; +Cc: axp-list Greg Lindahl wrote: > > I take it these > > messages indicate the hang is around 2 seconds, which makes sense > > given I send 16MB over 100Mb Enet, > > That depends on the detail. Are you running PVM in daemon mode or using > direct routing? Even if you were sending 16 MB in a single blocking send, it > should not hold the kernel lock while you're doing it. If so, it would be a > generic kernel bug... > > strace is a very good utility (if it's functioning on alphas these days) to > figure out what kinds of system calls you're making. > Other fun thing to do is what I've done here. Take a look at the addresses in the "spinlock stuck" message, and either objdump --disassemble-all or take a look through the System.map file and try to match up the addresses. The only kicker is when you find a situation like this one - multiple people calling schedule() and hanging up on the kernel_lock. That's when the strace _really_ becomes handy, particularly if you can manage to strace both (all?) the ways it's coming in. - Pete ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-13 18:12 ` W Bauske 2000-06-13 18:40 ` Jay Estabrook @ 2000-06-13 18:40 ` Peter Rival 2000-06-13 21:58 ` W Bauske 2000-06-13 20:46 ` 2.2.16 Alpha, exceptions, de4x5? John Groseclose 2 siblings, 1 reply; 40+ messages in thread From: Peter Rival @ 2000-06-13 18:40 UTC (permalink / raw) To: axp-list W Bauske wrote: > Jay Estabrook wrote: > > > > That's important - that you see them primarily during boot, rather > > than often during normal operation. That's indicative of boot tasks > > that simply take a long time and happen to need to hold a lock during > > that time. I'd be much more concerned if these happened frequently > > during normal operation. > > > > They happen alot on my UP2K's in production. > > socket.c:43 spinlock grabbed in pvmd3 at fffffc00003c4368(0) 2032 ticks > select.c:43 spinlock stuck in pvmd3 at fffffc000035f630(0) owner zm32mig_s_pvm > at fffffc000034fb78(1) read_write.c:43 > select.c:43 spinlock grabbed in pvmd3 at fffffc000035f630(0) 2033 ticks > select.c:43 spinlock stuck in pvmd3 at fffffc000035f630(0) owner zm32mig_s_pvm > at fffffc000034fb78(1) read_write.c:43 > select.c:43 spinlock grabbed in pvmd3 at fffffc000035f630(0) 1949 ticks > socket.c:43 spinlock stuck in pvmd3 at fffffc00003c4368(1) owner zm32mig_s_pvm > at fffffc000034fb78(0) read_write.c:43 > socket.c:43 spinlock grabbed in pvmd3 at fffffc00003c4368(1) 2024 ticks > sched.c:30 spinlock stuck in pvmd3 at fffffc000032cea4(1) owner zm32mig_s_pvm at > fffffc000034fb78(0) read_write.c:43 > sched.c:30 spinlock grabbed in pvmd3 at fffffc000032cea4(1) 1943 ticks > socket.c:43 spinlock stuck in pvmd3 at fffffc00003c4368(1) owner zm32mig_s_pvm > at fffffc000034fb78(0) read_write.c:43 > socket.c:43 spinlock grabbed in pvmd3 at fffffc00003c4368(1) 2062 ticks > socket.c:43 spinlock stuck in pvmd3 at fffffc00003c4368(0) owner zm32mig_s_pvm > at fffffc000034fb78(1) read_write.c:43 > socket.c:43 spinlock grabbed in pvmd3 at fffffc00003c4368(0) 2267 ticks > Which release was this? I'm trying to collect a hit list of locks to go take a look at, and from first glance, it appears this is another lock_kernel() call. Interesting thing is, it's being held in what appears to be llseek(), and tried for in something I can't find (socket.c:43 is still in the comments, at least in 2.2 as is select.c:43...). Seeing as this file:line# pair is generated from the gcc __FILE__ and __LINE__ macros, I'm not sure what's wrong there - Jay? BTW, it appears that this is happening when the pvmd3 process is reading (apparently large amounts of) data from a socket and writing it to the file, or perhaps the inverse. This could _perhaps_ be improved by writing the data out faster, rather than batching it up in cache. It's only a guess, but it might help if your disk is fast enough. *shrug* - Pete (still muttering about the !@#$*$@#^ kernel lock...) ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-13 18:40 ` Peter Rival @ 2000-06-13 21:58 ` W Bauske 2000-06-14 11:23 ` Peter Rival 0 siblings, 1 reply; 40+ messages in thread From: W Bauske @ 2000-06-13 21:58 UTC (permalink / raw) To: axp-list Peter Rival wrote: > > W Bauske wrote: > > > Jay Estabrook wrote: > > > > > > That's important - that you see them primarily during boot, rather > > > than often during normal operation. That's indicative of boot tasks > > > that simply take a long time and happen to need to hold a lock during > > > that time. I'd be much more concerned if these happened frequently > > > during normal operation. > > > > > > > They happen alot on my UP2K's in production. > > > > socket.c:43 spinlock grabbed in pvmd3 at fffffc00003c4368(0) 2032 ticks > > select.c:43 spinlock stuck in pvmd3 at fffffc000035f630(0) owner zm32mig_s_pvm > > at fffffc000034fb78(1) read_write.c:43 > > select.c:43 spinlock grabbed in pvmd3 at fffffc000035f630(0) 2033 ticks > > select.c:43 spinlock stuck in pvmd3 at fffffc000035f630(0) owner zm32mig_s_pvm > > at fffffc000034fb78(1) read_write.c:43 > > select.c:43 spinlock grabbed in pvmd3 at fffffc000035f630(0) 1949 ticks > > socket.c:43 spinlock stuck in pvmd3 at fffffc00003c4368(1) owner zm32mig_s_pvm > > at fffffc000034fb78(0) read_write.c:43 > > socket.c:43 spinlock grabbed in pvmd3 at fffffc00003c4368(1) 2024 ticks > > sched.c:30 spinlock stuck in pvmd3 at fffffc000032cea4(1) owner zm32mig_s_pvm at > > fffffc000034fb78(0) read_write.c:43 > > sched.c:30 spinlock grabbed in pvmd3 at fffffc000032cea4(1) 1943 ticks > > socket.c:43 spinlock stuck in pvmd3 at fffffc00003c4368(1) owner zm32mig_s_pvm > > at fffffc000034fb78(0) read_write.c:43 > > socket.c:43 spinlock grabbed in pvmd3 at fffffc00003c4368(1) 2062 ticks > > socket.c:43 spinlock stuck in pvmd3 at fffffc00003c4368(0) owner zm32mig_s_pvm > > at fffffc000034fb78(1) read_write.c:43 > > socket.c:43 spinlock grabbed in pvmd3 at fffffc00003c4368(0) 2267 ticks > > > > Which release was this? I'm trying to collect a hit list of locks to go take a > look at, and from first glance, it appears this is another lock_kernel() call. > Interesting thing is, it's being held in what appears to be llseek(), and tried for > in something I can't find (socket.c:43 is still in the comments, at least in 2.2 as > is select.c:43...). Seeing as this file:line# pair is generated from the gcc > __FILE__ and __LINE__ macros, I'm not sure what's wrong there - Jay? > T\x14his is kernel 2.2.15pre17 with a couple minor patches, nfsv3, and ide DMA patches. llseek makes no sense. pvmd shouldn't write to disk. It is more likely socket calls only, both local and remote. PVM uses a UNIX type socket to talk to local processes I believe and an INET socket to talk to the world. If Greg can reproduce similar messages, then I'll let him work with you all to sort it out. My point in posting was just to confirm this was not a boot time only problem. > BTW, it appears that this is happening when the pvmd3 process is reading > (apparently large amounts of) data from a socket and writing it to the file, or > perhaps the inverse. This could _perhaps_ be improved by writing the data out > faster, rather than batching it up in cache. It's only a guess, but it might help > if your disk is fast enough. *shrug* > > - Pete (still muttering about the !@#$*$@#^ kernel lock...) Large is relative. I'm sending around 16MB of data every 10-50 secs. Total input dataset is around 300-400GB for this run. The systems each use quite fast disk. hdparm shows them at 15+MB/sec. There is practically no disk I/O in this code on worker nodes except for the end when they save their results. Wes ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-13 21:58 ` W Bauske @ 2000-06-14 11:23 ` Peter Rival 0 siblings, 0 replies; 40+ messages in thread From: Peter Rival @ 2000-06-14 11:23 UTC (permalink / raw) To: axp-list W Bauske wrote: <snip> > > > Which release was this? I'm trying to collect a hit list of locks to go take a > > look at, and from first glance, it appears this is another lock_kernel() call. > > Interesting thing is, it's being held in what appears to be llseek(), and tried for > > in something I can't find (socket.c:43 is still in the comments, at least in 2.2 as > > is select.c:43...). Seeing as this file:line# pair is generated from the gcc > > __FILE__ and __LINE__ macros, I'm not sure what's wrong there - Jay? > > > > T\x14his is kernel 2.2.15pre17 with a couple minor patches, nfsv3, and > ide DMA patches. llseek makes no sense. pvmd shouldn't write to disk. > It is more likely socket calls only, both local and remote. PVM uses > a UNIX type socket to talk to local processes I believe and an INET > socket to talk to the world. > Hrm....interesting thing is, the only things in read_write.c are (l)lseek, and various read()s and write()s. Any chance you could match the addresses given in either the System.map or a disassembly dump (or with gdb)? > > If Greg can reproduce similar messages, then I'll let him work with you > all to sort it out. My point in posting was just to confirm this was > not a boot time only problem. > Interesting thing tho' is that this is coming from different areas than Greg's are. Greg's messages come from insmod and identd colliding in schedule. Yours are quite different. Same lock probably, but different nonetheless... > > > BTW, it appears that this is happening when the pvmd3 process is reading > > (apparently large amounts of) data from a socket and writing it to the file, or > > perhaps the inverse. This could _perhaps_ be improved by writing the data out > > faster, rather than batching it up in cache. It's only a guess, but it might help > > if your disk is fast enough. *shrug* > > > > - Pete (still muttering about the !@#$*$@#^ kernel lock...) > > Large is relative. I'm sending around 16MB of data every 10-50 > secs. Total input dataset is around 300-400GB for this run. The > systems each use quite fast disk. hdparm shows them at 15+MB/sec. > There is practically no disk I/O in this code on worker nodes except > for the end when they save their results. > Hmmm....Greg's suggestion to strace it and attempt to correlate the syscall traces would be really good here. MHO. - Pete ^ permalink raw reply [flat|nested] 40+ messages in thread
* 2.2.16 Alpha, exceptions, de4x5? 2000-06-13 18:12 ` W Bauske 2000-06-13 18:40 ` Jay Estabrook 2000-06-13 18:40 ` Peter Rival @ 2000-06-13 20:46 ` John Groseclose 2 siblings, 0 replies; 40+ messages in thread From: John Groseclose @ 2000-06-13 20:46 UTC (permalink / raw) To: axp-list I've been trying to compile 2.2.16 on my AlphaStation 200, and have finally gotten the kernel to compile and load without errors. Now, however, de4x5 doesn't want to see the active 10BaseT connection at all. I get a continous "eth0: no link beat found". I've tried forcing it with an ifconfig eth0 mode 10BaseT - that gets a "mode not supported." Same goes for ifconfig eth0 media TP, ifconfig eth0 mode TP, etc., using the commentary in the de4x5 module source. Any ideas? -- John Groseclose - http://www.neta.com/~caradoc - caradoc@neta.com Express your Epinion! http://www.epinions.com/welcome.html?member=caradoc ^ permalink raw reply [flat|nested] 40+ messages in thread
* RE: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-13 2:59 ` Jay Estabrook 2000-06-13 12:28 ` Peter Rival @ 2000-06-13 18:29 ` Greg Lindahl 2000-06-13 18:41 ` Peter Rival 1 sibling, 1 reply; 40+ messages in thread From: Greg Lindahl @ 2000-06-13 18:29 UTC (permalink / raw) To: Jay Estabrook; +Cc: Peter Rival, axp-list > If you see a bunch of "stuck" messages, and no "grabbed", THAT is a > problem, ie usually the owner/CPU has died some horrible death without > releasing the lock, and no progress can ever be made - you're hosed. > > Is this what you're seeing? As I said, I am occasionally seeing that. I'll send Peter some examples of stuck and stuck/grabbed, but you'd probably see them yourself if you booted vanilla redhat 6.2 smp on a smp machine. -- g ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" 2000-06-13 18:29 ` 2.2.16 Alpha: "Fix SMP rescheduling with lock held" Greg Lindahl @ 2000-06-13 18:41 ` Peter Rival 0 siblings, 0 replies; 40+ messages in thread From: Peter Rival @ 2000-06-13 18:41 UTC (permalink / raw) To: glindahl; +Cc: Jay Estabrook, axp-list Greg Lindahl wrote: > > If you see a bunch of "stuck" messages, and no "grabbed", THAT is a > > problem, ie usually the owner/CPU has died some horrible death without > > releasing the lock, and no progress can ever be made - you're hosed. > > > > Is this what you're seeing? > > As I said, I am occasionally seeing that. > > I'll send Peter some examples of stuck and stuck/grabbed, but you'd probably > see them yourself if you booted vanilla redhat 6.2 smp on a smp machine. > Yeah, I do see them - coming from buffer.c:32, IIRC. Of course, that doesn't correspond to any real code, which is the problem...*sigh* Strange thing is that I've never had a hang on boot around any of that. Then again, I also don't have a DS20E (just an ES40 and AS4100...). Strange... - Pete ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: floppyless install? 2000-06-02 1:42 ` floppyless install? Jeff DeMaagd 2000-06-02 3:08 ` Way to go, Greg! Larry Snyder @ 2000-06-02 21:47 ` tibor 2000-06-03 3:54 ` Jeff DeMaagd 1 sibling, 1 reply; 40+ messages in thread From: tibor @ 2000-06-02 21:47 UTC (permalink / raw) To: axp-list; +Cc: ftpkeeper On Thu, 1 Jun 2000, Jeff DeMaagd wrote: > I am having a devil of a time trying to get the root floppy to work, I get > this message: > > kernel panic: VFS: Unable to mount root fd on 2:00 > > I checked metalab and found no updated ramdisk.img, and I tried many > different floppies and used rawrite at least twice per disc, but nothing > changes this. > > I also never get this line to work the first time after a reboot: > > boot fd0:vmlinux.gz root=/dev/fd0 > > this doesn't work the first time either: > > boot fd0:vmlinux.gz root=/dev/fd0 load_ramdisk=1 > > The error I get is a "bad magic" error, I didn't write down the exact > numbers, but they were the same every time. > > So, in conclusion, am I doing something obviously wrong, and is there a way > to install Red Hat AXP Linux on this beast without the floppy? I have > always had floppy difficulties when installing Linux in the past. I suspect you're probably doing nothing wrong at all. I've been mirroring RH from metalab internally for some time, and lately I've noticed that the files I'm getting (via rsync) are frequently corrupted. I then started using the rsync option to do checksums, but the files are still corrupted (verified by md5summing against samples from RH, as well as "rpm -Vpl <rpmfile>"), leading me to believe they're corrupted on metalab as well. Of course I may just be wacked out on crack on this one, but I doubt it. Unfortunately, many RH mirrors don't mirror from RH, but instead mirror from metalab, so instead of trying another mirror you might try grabbing the floppy images direct from one of Red Hat's servers and see if that fixes things. Mike -- Mike Tibor Univ. of Alaska Anchorage (907) 786-1001 voice Network Technician Consortium Library (907) 786-6050 fax tibor@lib.uaa.alaska.edu http://www.lib.uaa.alaska.edu/~tibor/ http://www.lib.uaa.alaska.edu/~tibor/pgpkey for PGP public key ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: floppyless install? 2000-06-02 21:47 ` floppyless install? tibor @ 2000-06-03 3:54 ` Jeff DeMaagd 0 siblings, 0 replies; 40+ messages in thread From: Jeff DeMaagd @ 2000-06-03 3:54 UTC (permalink / raw) To: axp-list ----- Original Message ----- From: <tibor@lib.uaa.alaska.edu> > > > > So, in conclusion, am I doing something obviously wrong, and is there a way > > to install Red Hat AXP Linux on this beast without the floppy? I have > > always had floppy difficulties when installing Linux in the past. > [...] > Unfortunately, many RH mirrors don't mirror from RH, but instead mirror > from metalab, so instead of trying another mirror you might try grabbing > the floppy images direct from one of Red Hat's servers and see if that > fixes things. Thanks for the response, but is the CD toast? I have an "official" CD that I bought straight from Red Hat. I will try a new floppy image soon. Jeff ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: oops! need help! 2000-06-01 21:36 oops! need help! Jonathan DuBois 2000-06-01 19:41 ` Jeff Sturm @ 2000-06-04 0:45 ` Craig P Prescott 2000-06-04 1:53 ` Jeff Sturm 1 sibling, 1 reply; 40+ messages in thread From: Craig P Prescott @ 2000-06-04 0:45 UTC (permalink / raw) To: axp-list; +Cc: Jonathan DuBois Hi, Jonathan! Jonathan DuBois wrote: > basically I dont know how or if I can even look to see > if there really is a drive space problem. I seriously > doubt there is but I dont know what else to do at this > point. I'm not sure if someone else suggested this or not, but... Have you tried to boot with "init=/sbin/sash"? sash is a statically linked shell ("stand-alone shell"), so at least *it* won't be affected by a hosed libc. It might help you get back into your system so that you can at least poke around. I've never tried it, but it might be worth a shot. If it is installed ;-). Good Luck, Craig --- Craig Prescott (352) 846-3145 (Phone) 2011 New Physics Building (352) 392-8863 (Fax) University of Florida, Gainesville, FL 32611 prescott@phys.ufl.edu ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: oops! need help! 2000-06-04 0:45 ` oops! need help! Craig P Prescott @ 2000-06-04 1:53 ` Jeff Sturm 2000-06-04 2:54 ` Larry Snyder 0 siblings, 1 reply; 40+ messages in thread From: Jeff Sturm @ 2000-06-04 1:53 UTC (permalink / raw) To: axp-list; +Cc: Jonathan DuBois Craig P Prescott wrote: > Have you tried to boot with "init=/sbin/sash"? sash is a statically > linked shell ("stand-alone shell"), so at least *it* won't be affected > by a hosed libc. It might help you get back into your system so that > you can at least poke around. That's a better suggestion that mine... I never heard of sash, but I do have it on my RH6.2 box at least. Note that if /sbin/sash comes up OK, you'll still have to remount / as read/write to do anything useful: mount -n -o remount,rw / At that point you'll have no mounted filesystems and no network, but most commands will be available so hopefully you can restore your critical /lib files. -- Jeff Sturm jeff.sturm@appnet.com ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: oops! need help! 2000-06-04 1:53 ` Jeff Sturm @ 2000-06-04 2:54 ` Larry Snyder 2000-06-04 3:47 ` Ross A Knepper 2000-06-04 5:32 ` Craig P Prescott 0 siblings, 2 replies; 40+ messages in thread From: Larry Snyder @ 2000-06-04 2:54 UTC (permalink / raw) To: axp-list Jeff Sturm <jeff.sturm@appnet.com> wrote: > Craig P Prescott wrote: > > Have you tried to boot with "init=/sbin/sash"? sash is a statically > > linked shell ("stand-alone shell"), so at least *it* won't be affected > > by a hosed libc. It might help you get back into your system so that > > you can at least poke around. > > That's a better suggestion that mine... I never heard of sash, but I do > have it on my RH6.2 box at least. > > Note that if /sbin/sash comes up OK, you'll still have to remount / as > read/write to do anything useful: > > mount -n -o remount,rw / > > At that point you'll have no mounted filesystems and no network, but > most commands will be available so hopefully you can restore your > critical /lib files. ...but if there's a problem w/ the existing (or not) glibc, then things like ls, df, cp, mv, mount, and all the other stuff you need will likely be broken, as they're dynamically linked. I wonder if firing up an install in upgrade mode then switching to another VC for a shell might be a better way to go...just my .02 -ls- > > -- > Jeff Sturm > jeff.sturm@appnet.com > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: oops! need help! 2000-06-04 2:54 ` Larry Snyder @ 2000-06-04 3:47 ` Ross A Knepper 2000-06-04 5:32 ` Craig P Prescott 1 sibling, 0 replies; 40+ messages in thread From: Ross A Knepper @ 2000-06-04 3:47 UTC (permalink / raw) To: axp-list On Sat, 3 Jun 2000, Larry Snyder wrote: > ...but if there's a problem w/ the existing (or not) glibc, then > things like ls, df, cp, mv, mount, and all the other stuff you need > will likely be broken, as they're dynamically linked. actually, sash has a number of these commands built in. > I wonder if > firing up an install in upgrade mode then switching to another VC > for a shell might be a better way to go...just my .02 this would have the advantage of activating a network connection so that you can get at your happy rpm. good luck, -ross ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: oops! need help! 2000-06-04 2:54 ` Larry Snyder 2000-06-04 3:47 ` Ross A Knepper @ 2000-06-04 5:32 ` Craig P Prescott 2000-06-06 15:32 ` oops! need help! (thanks! -- its working now) Jonathan Dubois 1 sibling, 1 reply; 40+ messages in thread From: Craig P Prescott @ 2000-06-04 5:32 UTC (permalink / raw) To: axp-list [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 2339 bytes --] Larry Snyder wrote: > ...but if there's a problem w/ the existing (or not) glibc, then > things like ls, df, cp, mv, mount, and all the other stuff you need > will likely be broken, as they're dynamically linked. I wonder if > firing up an install in upgrade mode then switching to another VC > for a shell might be a better way to go...just my .02 Nod - that might indeed be a better idea. But from `man sash` (since Jonathan might not be able to run "man" ;-) ): <snip> More importantly, however, is that many of the standard system commands are built-in to sash. These built-in com mands are: -chattr, -chgrp, -chmod, -chown, -cmp, -cp, -dd, -echo, -ed, -grep, -file, -find, -gunzip, -gzip, -kill, -ln, -ls, -lsattr, -mkdir, -mknod, -more, -mount, -mv, -printenv, -pwd, -rm, -rmdir, -sum, -sync, -tar, -touch, -umount, -where These commands are generally similar to the standard pro grams with similar names. However, they are simpler and cruder than the external programs, and so many of the options are not implemented. The restrictions for each built-in command are described later. The built-in commands which correspond to external pro grams begin with a dash character in order to distinguish them from the external programs. So typing "ls", for example, will attempt to run the real ls program. If "-ls" is typed, then the built-in command which mimics ls is called. </snip> So there is enough stuff available to do something useful. Lots of stuff is there. There are also some other statically-linked utilities which you can still use without the glibc. From an x86 running RH6.1: $ file /bin/* /sbin/* /usr/bin/* /usr/sbin/* | grep static | cut -f1 -d: /bin/ash.static /bin/rpm /sbin/e2fsck /sbin/fsck.ext2 /sbin/insmod.static /sbin/ldconfig /sbin/rmmod.static /sbin/sash /sbin/sln /usr/bin/rpm2cpio So you can still insert any modules you want, etc. Can even run rpm (wow - didn't know that). Later, Craig --- Craig Prescott (352) 846-3145 (Phone) 2011 New Physics Building (352) 392-8863 (Fax) University of Florida, Gainesville, FL 32611 prescott@phys.ufl.edu ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: oops! need help! (thanks! -- its working now) 2000-06-04 5:32 ` Craig P Prescott @ 2000-06-06 15:32 ` Jonathan Dubois 0 siblings, 0 replies; 40+ messages in thread From: Jonathan Dubois @ 2000-06-06 15:32 UTC (permalink / raw) To: axp-list Thanks for the help and the suggestion to use sash.. I'll keep that in mind next time I manage to do something brilliant to my libc. I went ahead and did a fresh install of RH 6.2 -- now I'm just working to get it stable and reconfigured. Thanks again, Jonathan ^ permalink raw reply [flat|nested] 40+ messages in thread
end of thread, other threads:[~2000-06-23 16:04 UTC | newest] Thread overview: 40+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2000-06-01 21:36 oops! need help! Jonathan DuBois 2000-06-01 19:41 ` Jeff Sturm 2000-06-02 1:42 ` floppyless install? Jeff DeMaagd 2000-06-02 3:08 ` Way to go, Greg! Larry Snyder 2000-06-02 5:02 ` Greg Lindahl 2000-06-12 21:32 ` 2.2.16 Alpha: "Fix SMP rescheduling with lock held" Greg Lindahl 2000-06-12 21:58 ` Peter Rival 2000-06-12 22:31 ` Greg Lindahl 2000-06-13 2:59 ` Jay Estabrook 2000-06-13 12:28 ` Peter Rival 2000-06-13 14:49 ` Jay Estabrook 2000-06-13 18:12 ` W Bauske 2000-06-13 18:40 ` Jay Estabrook 2000-06-13 18:50 ` Greg Lindahl 2000-06-13 22:15 ` W Bauske 2000-06-14 0:49 ` Greg Lindahl 2000-06-13 20:55 ` Jeff Sturm 2000-06-14 3:51 ` W Bauske 2000-06-14 11:05 ` Peter Rival 2000-06-14 2:16 ` W Bauske 2000-06-14 17:20 ` Greg Lindahl 2000-06-14 18:46 ` W Bauske 2000-06-22 19:13 ` Greg Lindahl 2000-06-22 20:28 ` Peter Rival 2000-06-23 16:02 ` Greg Lindahl 2000-06-14 11:24 ` Peter Rival 2000-06-13 18:40 ` Peter Rival 2000-06-13 21:58 ` W Bauske 2000-06-14 11:23 ` Peter Rival 2000-06-13 20:46 ` 2.2.16 Alpha, exceptions, de4x5? John Groseclose 2000-06-13 18:29 ` 2.2.16 Alpha: "Fix SMP rescheduling with lock held" Greg Lindahl 2000-06-13 18:41 ` Peter Rival 2000-06-02 21:47 ` floppyless install? tibor 2000-06-03 3:54 ` Jeff DeMaagd 2000-06-04 0:45 ` oops! need help! Craig P Prescott 2000-06-04 1:53 ` Jeff Sturm 2000-06-04 2:54 ` Larry Snyder 2000-06-04 3:47 ` Ross A Knepper 2000-06-04 5:32 ` Craig P Prescott 2000-06-06 15:32 ` oops! need help! (thanks! -- its working now) Jonathan Dubois
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox