Re: [expert] HOWTO - VMware under Mandrake 8 - SMP 2.4.3
you can mount the root device to another linux system. take out the root hard disk from that system and connect it to an existing system then mount it. you can check the logs from there. logs where the system is stopping or maybe clues why it is rebooting. i use this method when a system is compromised, and needed to check logs. if im in your situation too, that is what i will do. but of course, thats me. if you dont have another linux system, you can try to boot 'rescue' from the MDK8 CD1. i havent tried to mount a system from it but based on documents, it can. anyway, the dmesg records what happened during the last boot up as well as other messages while the system is running. and yes, it is overwritten during bootup. the messages file have those logs you can find in dmesg. messages file is not overwritten after boot up. it is only overwritten depending on the scheduled rotation of your logs. the boot.log is more into the services that were started up, modules loaded etc while booting up. and the kernel logs are more specific to the kernel activities which i think will me of more interest to you in your situation. just trying to help ... --- Bill Beauchemin <[EMAIL PROTECTED]> wrote: > How do I mount ther root device to another system > and what will this do for > me? I looked at all the logs and the one I want is > dmesg. The only problem is > that as soon as it reboots it overwrites it with new > data from the good > bootup. > > > On Thursday 26 July 2001 00:18, you wrote: > > if you can mount the root device to another > system, > > you can look at several logs in /var/log > > > > check for boot.log, dmesg, and /var/log/kernel/* > > > > > __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/
Re[2]: [expert] HOWTO - VMware under Mandrake 8 - SMP 2.4.3
Bill Beauchemin <[EMAIL PROTECTED]> wrote: > How do I mount ther root device to another system and what will this do for > me? I looked at all the logs and the one I want is dmesg. The only problem is > that as soon as it reboots it overwrites it with new data from the good > bootup. > Normally the text in 'dmesg' is found in /var/log/messages as well. if not, then you COULD make a new rc script that you use to copy the previous dmesg to a backup file (assuming its actually a file - I thought it was a script that got the information out of /var/log/messages!) Actually, I was about to say that it was too late by then, but if you look in /etc/rc.sysinit and /etc/rc.d/init.d/mandrake_everytime you'll see dmesg being used to create /var/log/dmesg. Not sure which one is used, so to be paranoid before each one save the previous dmesg (use a different file in each script so you know which one (if only one :-) did the creation of the file). something like: mv -f /var/log/dmesg /var/log/dmesg.mandrake.everytime rc Rusty E. Carruth Email: [EMAIL PROTECTED] or [EMAIL PROTECTED] Voice: (480) 345-3621 SnailMail: Schlumberger ATE ___ FAX: (480) 345-8793 7855 S. River Parkway, Suite 116 \e/ Ham: N7IKQ @ 146.82+,pl 162.2 Tempe, AZ 85284-1825V ICBM: 33 20' 44"N 111 53' 47"W http://tuxedo.org/~esr/ecsl/index.html
Re: [expert] HOWTO - VMware under Mandrake 8 - SMP 2.4.3
How do I mount ther root device to another system and what will this do for me? I looked at all the logs and the one I want is dmesg. The only problem is that as soon as it reboots it overwrites it with new data from the good bootup. On Thursday 26 July 2001 00:18, you wrote: > if you can mount the root device to another system, > you can look at several logs in /var/log > > check for boot.log, dmesg, and /var/log/kernel/* >
Re: [expert] HOWTO - VMware under Mandrake 8 - SMP 2.4.3
if you can mount the root device to another system, you can look at several logs in /var/log check for boot.log, dmesg, and /var/log/kernel/* --- Bill Beauchemin <[EMAIL PROTECTED]> wrote: > I wish I could get a snapshot of what few lines > comne up but it happens so > fast before it reboots. Is there a log file of the > boot process or is there a > way to have it log those lines to a file? > > On Wednesday 25 July 2001 23:23, you wrote: > > hi > > > > we dont have problem running 2.4.3-20 kernel on > > mandrake 8. i have also just installed 2.4.7 and > it > > went fine. > > could you give a snap shot of the 'few lines' you > are > > referring to? maybe that will give us a clue. > > > > dm > > > > --- Pete Jordan <[EMAIL PROTECTED]> wrote: > > > Bill Beauchemin <[EMAIL PROTECTED]> wrote: > > > > This is nice but i am still unable to get smp > to > > > > > > work on my box. Im > > > > > > > almost ready to go back to slackware kernel > 2.4.16 > > > > > > which ran smp just > > > > > > > fine. > > > > > > > > When I try to run the smp kernel that mandrake > had > > > > > > setup on install it > > > > > > > goes through a few lines and then reboots the > > > > > > machine. > > > > > > Is it an ASUS board? You may have the same > problems > > > I had with the VIA > > > 686a controller. I can't find the link now > > > (naturally ;) and don't want to > > > reboot just to peer at BIOS settings, but if > this > > > matches your setup > > > there's an option you need to disable in the > "Boot" > > > section of the BIOS > > > screens. It's *something* 14 about half way > down, > > > and I don't think > > > there's anything else similar in there. > > > > > > Sorry I can't be more specific... > > > > > > Pete > > > > = > > This email is for the above named person/s only. > Usual legal > > bullshit covering my own ass applies. Be prepared > to get > > fucked if you dare misuse the above information. > If you > > receive this message in error, your existence in > this world > > must also be an error. Please go and die! You must > not > > communicate this message to anybody else or I'll > send > > my friends to look for you. Death to all stupid > signatures! > > > > __ > > Do You Yahoo!? > > Make international calls for as low as $.04/minute > with Yahoo! Messenger > > http://phonecard.yahoo.com/ __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/
Re: [expert] HOWTO - VMware under Mandrake 8 - SMP 2.4.3
I wish I could get a snapshot of what few lines comne up but it happens so fast before it reboots. Is there a log file of the boot process or is there a way to have it log those lines to a file? On Wednesday 25 July 2001 23:23, you wrote: > hi > > we dont have problem running 2.4.3-20 kernel on > mandrake 8. i have also just installed 2.4.7 and it > went fine. > could you give a snap shot of the 'few lines' you are > referring to? maybe that will give us a clue. > > dm > > --- Pete Jordan <[EMAIL PROTECTED]> wrote: > > Bill Beauchemin <[EMAIL PROTECTED]> wrote: > > > This is nice but i am still unable to get smp to > > > > work on my box. Im > > > > > almost ready to go back to slackware kernel 2.4.16 > > > > which ran smp just > > > > > fine. > > > > > > When I try to run the smp kernel that mandrake had > > > > setup on install it > > > > > goes through a few lines and then reboots the > > > > machine. > > > > Is it an ASUS board? You may have the same problems > > I had with the VIA > > 686a controller. I can't find the link now > > (naturally ;) and don't want to > > reboot just to peer at BIOS settings, but if this > > matches your setup > > there's an option you need to disable in the "Boot" > > section of the BIOS > > screens. It's *something* 14 about half way down, > > and I don't think > > there's anything else similar in there. > > > > Sorry I can't be more specific... > > > > Pete > > = > This email is for the above named person/s only. Usual legal > bullshit covering my own ass applies. Be prepared to get > fucked if you dare misuse the above information. If you > receive this message in error, your existence in this world > must also be an error. Please go and die! You must not > communicate this message to anybody else or I'll send > my friends to look for you. Death to all stupid signatures! > > __ > Do You Yahoo!? > Make international calls for as low as $.04/minute with Yahoo! Messenger > http://phonecard.yahoo.com/
Re: [expert] HOWTO - VMware under Mandrake 8 - SMP 2.4.3
hi we dont have problem running 2.4.3-20 kernel on mandrake 8. i have also just installed 2.4.7 and it went fine. could you give a snap shot of the 'few lines' you are referring to? maybe that will give us a clue. dm --- Pete Jordan <[EMAIL PROTECTED]> wrote: > Bill Beauchemin <[EMAIL PROTECTED]> wrote: > > > This is nice but i am still unable to get smp to > work on my box. Im > > almost ready to go back to slackware kernel 2.4.16 > which ran smp just > > fine. > > > > When I try to run the smp kernel that mandrake had > setup on install it > > goes through a few lines and then reboots the > machine. > > Is it an ASUS board? You may have the same problems > I had with the VIA > 686a controller. I can't find the link now > (naturally ;) and don't want to > reboot just to peer at BIOS settings, but if this > matches your setup > there's an option you need to disable in the "Boot" > section of the BIOS > screens. It's *something* 14 about half way down, > and I don't think > there's anything else similar in there. > > Sorry I can't be more specific... > > Pete > > > = This email is for the above named person/s only. Usual legal bullshit covering my own ass applies. Be prepared to get fucked if you dare misuse the above information. If you receive this message in error, your existence in this world must also be an error. Please go and die! You must not communicate this message to anybody else or I'll send my friends to look for you. Death to all stupid signatures! __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/
Re: [expert] HOWTO - VMware under Mandrake 8 - SMP 2.4.3
Bill Beauchemin <[EMAIL PROTECTED]> wrote: > This is nice but i am still unable to get smp to work on my box. Im > almost ready to go back to slackware kernel 2.4.16 which ran smp just > fine. > > When I try to run the smp kernel that mandrake had setup on install it > goes through a few lines and then reboots the machine. Is it an ASUS board? You may have the same problems I had with the VIA 686a controller. I can't find the link now (naturally ;) and don't want to reboot just to peer at BIOS settings, but if this matches your setup there's an option you need to disable in the "Boot" section of the BIOS screens. It's *something* 14 about half way down, and I don't think there's anything else similar in there. Sorry I can't be more specific... Pete
[expert] HOWTO - VMware under Mandrake 8 - SMP 2.4.3
This is by way of helping others not to go through the struggle I went through on Monday :) It *can* be done, but it's not exactly intuitive... First of all, you need the latest VMware (2.0.4) which at least has built in base support for SMP 2.4.3. It doesn't have a compatible vmnet module though. You need to: 1. hack bin/vmware-config.pl. 1a. Comment out lines 900 to 913: $header_smp = direct_command(shell_string($gHelper{'grep'}) . ' CONFIG_SMP ' . shell_string($answer . '/linux/autoconf.h')); if (not ($header_smp eq '')) { [...] } This is because VMware's SMP detection as supplied doesn't match Mandrake. 1b. This may not be necessary, but I did it as part of earlier thrashing around and it certainly does no harm; after line 1241 (ie. after the foreach loop) in routine build_module add the line: $gHelper{gcc}='kgcc'; so VMware builds use the same compiler as kernel builds. 2. Untar vmnet.tar in lib/modules/source and, in the vmnet-only subdirectory: 2a. Edit Makefile, uncomment the "SUPPORT_SMP=1" line and possibly (see 1b.), change "CC = gcc" to "CC = kgcc". 2b. Edit vnetInt.h and insert before line 26 (# ifdef skb_shinfo) the following: # ifndef skb_datarefp # define skb_datarefp(skb) skb_shinfo(skb) # endif 2c. tar the vmnet-only directory back into vmnet.tar. 3. Kernel rebuild time. Mandrake supply /usr/src/linux configured for non-SMP and the vmnet build doesn't like this. In /usr/src/linux: 3a. make distclean 3b. cp /boot/config .config 3c. make oldconfig 3d. make dep 3e. make clean 3f. make bzImage 3g. make modules Actually, 3e. is almost certainly pointless and I doubt that 3g is necessary (and takes an age even on this twin 933 box). Whatever. 4. Finally, you need to edit /usr/src/linux/include/linux/version.h and change: #define UTS_RELEASE "2.4.3-10mdk" to: #define UTS_RELEASE "2.4.3-10mdksmp" '10' above may be '20' or some other value, depending on what flavour of Mandrake 8 you're running (I'm still on RC1). 5. After all this, you can do your ./vmware-install.pl and (if you're very, very lucky) it will all work as well as it does here. So there you go... :) Pete