Re: Logging in /var/log/wtmp
On Thu, 16 May 2002, Ben Reser wrote: BR> Well it's not permissions. Have you tried deleting it and restarting? Didn't get any better. -- http://www.edlund.org/
Re: Logging in /var/log/wtmp
On Thu, May 16, 2002 at 08:21:14PM +0200, Henrik Edlund wrote: > henrik@localhost:~> ls -l /var/run/utmp > -rw-rw-r--1 root utmp 4608 May 16 18:59 /var/run/utmp > > root@localhost:/home/henrik> last -10 > henrik :0Thu May 16 19:11gone - no logout > reboot system boot 2.4.19-pre8-ben0 Thu May 16 18:59 (01:20) > henrik :0Thu May 16 10:05 - 10:52 (00:46) > reboot system boot 2.4.19-pre8-ben0 Thu May 16 10:05 (00:47) > henrik :0Thu May 16 02:13 - 05:04 (02:50) > reboot system boot 2.4.19-pre8-ben0 Thu May 16 02:13 (02:50) > henrik :0Wed May 15 15:00 - 02:12 (11:11) > reboot system boot 2.4.19-pre8-ben0 Wed May 15 15:00 (11:11) > henrik :0Wed May 15 07:10 - 07:59 (00:48) > reboot system boot 2.4.19-pre8-ben0 Wed May 15 07:10 (00:48) > > wtmp begins Sun Apr 28 00:58:50 2002 > root@localhost:/home/henrik> > > root@localhost:/home/henrik> w > 8:21pm up 1:21, 0 users, load average: 0.10, 0.04, 0.01 > USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT > root@localhost:/home/henrik> Well it's not permissions. Have you tried deleting it and restarting? -- Ben Reser <[EMAIL PROTECTED]> http://ben.reser.org We tend to see all wars through the lens of the current conflict, and we mine history for lessons convenient to the present purpose. - Brian Hayes
Re: Logging in /var/log/wtmp
On Thu, 16 May 2002, Ben Reser wrote: BR> Now that I think about it w doesn't use /var/log/wtmp it uses BR> /var/run/utmp to see who's currently logged in. Perhaps your BR> /var/run/utmp is corrupted or has permissions set so you can't read it. henrik@localhost:~> ls -l /var/run/utmp -rw-rw-r--1 root utmp 4608 May 16 18:59 /var/run/utmp root@localhost:/home/henrik> last -10 henrik :0Thu May 16 19:11gone - no logout reboot system boot 2.4.19-pre8-ben0 Thu May 16 18:59 (01:20) henrik :0Thu May 16 10:05 - 10:52 (00:46) reboot system boot 2.4.19-pre8-ben0 Thu May 16 10:05 (00:47) henrik :0Thu May 16 02:13 - 05:04 (02:50) reboot system boot 2.4.19-pre8-ben0 Thu May 16 02:13 (02:50) henrik :0Wed May 15 15:00 - 02:12 (11:11) reboot system boot 2.4.19-pre8-ben0 Wed May 15 15:00 (11:11) henrik :0Wed May 15 07:10 - 07:59 (00:48) reboot system boot 2.4.19-pre8-ben0 Wed May 15 07:10 (00:48) wtmp begins Sun Apr 28 00:58:50 2002 root@localhost:/home/henrik> root@localhost:/home/henrik> w 8:21pm up 1:21, 0 users, load average: 0.10, 0.04, 0.01 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root@localhost:/home/henrik> -- http://www.edlund.org/
Re: Logging in /var/log/wtmp
On Thu, May 16, 2002 at 10:41:50AM +0200, Henrik Edlund wrote: > There seem to be a problem with logging who is logged in in Mdk 8.2. > > henrik@localhost:~> w > 10:38am up 33 min, 0 users, load average: 0.09, 0.02, 0.01 > USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT > henrik@localhost:~> > > henrik@localhost:/> ls -l /var/log/wtmp > -rw-rw-r--1 root utmp 1384704 May 16 10:05 /var/log/wtmp Now that I think about it w doesn't use /var/log/wtmp it uses /var/run/utmp to see who's currently logged in. Perhaps your /var/run/utmp is corrupted or has permissions set so you can't read it. -- Ben Reser <[EMAIL PROTECTED]> http://ben.reser.org We tend to see all wars through the lens of the current conflict, and we mine history for lessons convenient to the present purpose. - Brian Hayes
Re: Logging in /var/log/wtmp
On Thu, 16 May 2002, Ben Reser wrote: BR> On Thu, May 16, 2002 at 10:41:50AM +0200, Henrik Edlund wrote: BR> > There seem to be a problem with logging who is logged in in Mdk 8.2. BR> BR> It's working just fine for me. Looks like you're using a benh kernel. BR> Does it still happen when you use the Mandrake kernel? Yes. Same with Mdk kernel. I discovered it before I installed the BenH kernel to get power saving to work, but was too busy to report it. (I can report that the BenH kernel also will begin beeping for 10-15 seconds when it is about 10 minutes of power left, and will after that put my iBook2 in sleep mode. Just as in OSX.) -- http://www.edlund.org/
Re: Logging in /var/log/wtmp
On Thu, May 16, 2002 at 10:41:50AM +0200, Henrik Edlund wrote: > There seem to be a problem with logging who is logged in in Mdk 8.2. It's working just fine for me. Looks like you're using a benh kernel. Does it still happen when you use the Mandrake kernel? -- Ben Reser <[EMAIL PROTECTED]> http://ben.reser.org We tend to see all wars through the lens of the current conflict, and we mine history for lessons convenient to the present purpose. - Brian Hayes
Re: Can't get additional IDE drive in 8.2
On Thu, 16 May 2002, Patrick Ladam wrote: > > > I have an additional 30GB IDE hard drive partitioned in two: > > > > > > -/dev/hdf6 is an Apple HFS partition, I can mount it with no problem under 8.2 > > > > > > -/dev/hdf7 that is an SVR2 partition that I CAN'T get to mount whatever tool I > > > use to > > > partition it (pdisk under MacOS or XFdrake under 8.2) > > > Everytime, mount gives me an error message about this rebel partition like it's > > > not > > > the correct fs... > > > tried a bunch of variation around 'mount -t ext2 /dev/hdf7 /mnt/yap15' with no > > > succes. > > > > > > > Silly question - did you mke2fs and create the filesystem after the > > pdisk/diskdrake activity? > > Not that silly... what I did in Hdrake was delete-create the Linux Native partition > (even did a 'format' after the creation at some point) I supposed that was enough > is it not? > Yes the diskdrake "format" is the same as mkfs. You could could try to manually do the same and see if it's some diskdrake anomoly. I'm looking at my /dev/ and it doesn't show any hdf*, but I'm guessing that devfs took care of creating the devices for you? Could you post the output of: pdisk -l /dev/hdf Stew Benedict -- MandrakeSoft PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3 IRC: irc.openproject.net #cooker-ppc
Re: Can't get additional IDE drive in 8.2
Stew Benedict wrote: > On Thu, 16 May 2002, Patrick Ladam wrote: > > > Hi there, > > > > Installed 8.2 on my G3 BW and I must say it works great (first distro to have > > everything > > working right after the install...bye bye YDL...) > > > > I have an additional 30GB IDE hard drive partitioned in two: > > > > -/dev/hdf6 is an Apple HFS partition, I can mount it with no problem under 8.2 > > > > -/dev/hdf7 that is an SVR2 partition that I CAN'T get to mount whatever tool I > > use to > > partition it (pdisk under MacOS or XFdrake under 8.2) > > Everytime, mount gives me an error message about this rebel partition like it's > > not > > the correct fs... > > tried a bunch of variation around 'mount -t ext2 /dev/hdf7 /mnt/yap15' with no > > succes. > > > > Silly question - did you mke2fs and create the filesystem after the > pdisk/diskdrake activity? Not that silly... what I did in Hdrake was delete-create the Linux Native partition (even did a 'format' after the creation at some point) I supposed that was enough is it not? > > > > This rebel ext2 partition gives me a hard time, does anybody have this type of > > problem? > > Any clue? > > > > By the way, is there any KDE 3 PPC rpm available for 8.2 yet? What about > > open-office 1.0 > > > > KDE3 rpms are in cooker contrib, but built on and for 8.2. I'm still > beating on OpenOffice, but Kevin Hendricks PPC build seems to run fine on > 8.2. > > Stew Benedict > > -- > MandrakeSoft > PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3 > IRC: irc.openproject.net #cooker-ppc -- -- | Patrick LADAM | | | Laboratoire CSSB| THE BIG BANG THEORY: | | UFR SMBH| | | 74 rue Marcel Cachin| In the begining there was | | 93017 Bobigny CEDEX |nothing at all.| | >>> NEW e-mail: <<< | | | [EMAIL PROTECTED] | Then, it exploded... | | Tel: 01 48 38 77 26 / 76 85 | | | Fax: 01 48 38 77 77 | | --
Re: Nvidia support (fwd)
Seen on another list. An alternate way to address nvidia support in X: Stew Benedict -- MandrakeSoft PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3 IRC: irc.openproject.net #cooker-ppc -- Forwarded message -- Date: Thu, 16 May 2002 01:47:40 -0400 From: Bill Fink <[EMAIL PROTECTED]> Subject: Re: Nvidia support HOWTO For Setting Up Accelerated X using NVIDIA Graphics Cards on YDL - 1. Get a very recent Linux kernel. I recommend the 2.4.19-pre8-ben0 kernel. 2. Either make sure that the kernel is built *WITHOUT* CONFIG_FB_RIVA support, or make sure that the "novideo" option is used in your /etc/yaboot.conf file (which causes video=ofonly to be passed as a boot argument to the kernel). This causes the console video system to use the OpenFirmware video (OFFB). 3. Make sure you have a recent XFree86 4.2 suite of RPMs, such as XFree86-4.2.0-0.6.24a (or more recent). 4. Initially, set the "initdefault" level in /etc/inittab to: id:3:initdefault: so that the system does not start a graphical login. 5. Login to the console as root, and run Xconfigurator, which will generate an /etc/X11/XF86Config-4 file. Select the desired screen resolution and color depth when you run Xconfigurator. Afterward, edit the /etc/X11/XF86Config-4 file, and change the "Driver" entry in the Section "Device" to "nv" (including the quote characters). This is what activates the X acceleration. The accelerated "nv" X driver can not currently coexist with the accelerated "riva" console video driver, and that is why you must use the OpenFirmware console video (which is not accelerated). 6. Test the accelerated "nv" X driver by running /etc/X11/X. If all goes well, you should get a grey screen with an X mouse cursor which you should be able to move around the screen. Switch back to virtual terminal 1 by entering and kill X by typing . 7. If you've gotten this far, you now need to make sure that the system doesn't mess with your /etc/X11/XF86Config-4 file. First, disable Xautoconfig in all run levels by: chkconfig --level 0123456 Xautoconfig off 8. Similarly, you need to comment out the following lines in the /etc/rc.d/rc.sysinit file: #if [ -x /usr/X11R6/bin/Xautoconfig4 ]; then # OFFB=`cat /proc/fb |grep -i 'offb'` # if [ ! -z "$OFFB" ]; then #action "Configuring X11: " /usr/X11R6/bin/Xautoconfig4 # fi #fi Otherwise, since you will be using the OpenFirmware video (OFFB) during booting, Xautoconfig4 would be run by the rc.sysinit script, which would wipe out the /etc/X11/XF86Config-4 file you just created. 9. *DO NOT* run Xconfigurator a second time without rebooting your system first. This is because a failed initial attempt may cause problems with subsequent attempts, which might otherwise work fine. So if you want to try a different screen resolution or color depth, reboot the system first to get a clean system and X environment. There is also a known nasty bug with the accelerated "nv" X driver, that if you run the X server a second time, X will go into the weeds and cause the system to hang. 10. If you want to have a graphical login, and since I believe there are problems with the KDE Display Manager (kdm), I recommend running the Gnome Display Manager (gdm), even if you are using KDE (this is what I do). To accomplish this, just put the following single line in your /etc/sysconfig/desktop file: DESKTOP=GNOME 11. If you did the above, but you want a KDE desktop environment by default, just do the following: cd /etc/X11/gdm/Sessions mv Default Default.orig cp KDE Default 12. You can now change the "initdefault" level in /etc/inittab to: id:5:initdefault: so that the system comes up to runlevel 5, which will provide a graphical X environment. 13. At this point, you should be able to reboot your system and get a graphical login. 14. Because of the nasty accelerated "nv" X driver bug mentioned earlier, *DO NOT* logout of your KDE, Gnome, or other X desktop environment. Doing so will cause a new X server to be started, which will cause X to go into the weeds and hang your system. Instead, either simply lock your screen or reboot the system (with the reboot command of course, which can be executed by a normal user). I can only vouch for this procedure on the 867 MHz G4 with the nVidia Corporation NV11 (GeForce2 MX) (rev 161) card, but it should hopefully work equally well on other systems with NVIDIA cards. I am using it quite successfully for basic accelerated X with a screen resolution of 1152x864 and a color depth of 24 (millions of colors). The only glitch I've noticed so far (other than the logout problem) is when playing DVDs with xine the video is rather chop
Re: Can't get additional IDE drive in 8.2
On Thu, 16 May 2002, Patrick Ladam wrote: > Hi there, > > Installed 8.2 on my G3 BW and I must say it works great (first distro to have > everything > working right after the install...bye bye YDL...) > > I have an additional 30GB IDE hard drive partitioned in two: > > -/dev/hdf6 is an Apple HFS partition, I can mount it with no problem under 8.2 > > -/dev/hdf7 that is an SVR2 partition that I CAN'T get to mount whatever tool I > use to > partition it (pdisk under MacOS or XFdrake under 8.2) > Everytime, mount gives me an error message about this rebel partition like it's > not > the correct fs... > tried a bunch of variation around 'mount -t ext2 /dev/hdf7 /mnt/yap15' with no > succes. > Silly question - did you mke2fs and create the filesystem after the pdisk/diskdrake activity? > This rebel ext2 partition gives me a hard time, does anybody have this type of > problem? > Any clue? > > By the way, is there any KDE 3 PPC rpm available for 8.2 yet? What about > open-office 1.0 > KDE3 rpms are in cooker contrib, but built on and for 8.2. I'm still beating on OpenOffice, but Kevin Hendricks PPC build seems to run fine on 8.2. Stew Benedict -- MandrakeSoft PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3 IRC: irc.openproject.net #cooker-ppc
Logging in /var/log/wtmp
There seem to be a problem with logging who is logged in in Mdk 8.2. henrik@localhost:~> w 10:38am up 33 min, 0 users, load average: 0.09, 0.02, 0.01 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT henrik@localhost:~> henrik@localhost:/> ls -l /var/log/wtmp -rw-rw-r--1 root utmp 1384704 May 16 10:05 /var/log/wtmp henrik@localhost:/> last -10 henrik :0Thu May 16 10:05gone - no logout reboot system boot 2.4.19-pre8-ben0 Thu May 16 10:05 (00:35) henrik :0Thu May 16 02:13 - 05:04 (02:50) reboot system boot 2.4.19-pre8-ben0 Thu May 16 02:13 (02:50) henrik :0Wed May 15 15:00 - 02:12 (11:11) reboot system boot 2.4.19-pre8-ben0 Wed May 15 15:00 (11:11) henrik :0Wed May 15 07:10 - 07:59 (00:48) reboot system boot 2.4.19-pre8-ben0 Wed May 15 07:10 (00:48) henrik :0Tue May 14 20:27 - 03:15 (06:48) reboot system boot 2.4.19-pre8-ben0 Tue May 14 20:16 (06:58) -- http://www.edlund.org/
Can't get additional IDE drive in 8.2
Hi there, Installed 8.2 on my G3 BW and I must say it works great (first distro to have everything working right after the install...bye bye YDL...) I have an additional 30GB IDE hard drive partitioned in two: -/dev/hdf6 is an Apple HFS partition, I can mount it with no problem under 8.2 -/dev/hdf7 that is an SVR2 partition that I CAN'T get to mount whatever tool I use to partition it (pdisk under MacOS or XFdrake under 8.2) Everytime, mount gives me an error message about this rebel partition like it's not the correct fs... tried a bunch of variation around 'mount -t ext2 /dev/hdf7 /mnt/yap15' with no succes. This rebel ext2 partition gives me a hard time, does anybody have this type of problem? Any clue? By the way, is there any KDE 3 PPC rpm available for 8.2 yet? What about open-office 1.0 Bye all -- -- | Patrick LADAM | | | Laboratoire CSSB| THE BIG BANG THEORY: | | UFR SMBH| | | 74 rue Marcel Cachin| In the begining there was | | 93017 Bobigny CEDEX |nothing at all.| | >>> NEW e-mail: <<< | | | [EMAIL PROTECTED] | Then, it exploded... | | Tel: 01 48 38 77 26 / 76 85 | | | Fax: 01 48 38 77 77 | | --