Hi all,
There has been no response to my msg on the expert list; maybe due to the
newness of 8.1...
Does anyone have any idea what would cause 8.1 to refuse to allow userids
created on 7.2 (or prior) to login to X...? (see forwarded msg below)
Some new 8.1 issues...
I am currently out of town and trying to install 8.1 on an older system
which has a flaky CD drive. I can copy the CDs to HD; but can't install
from the CD because it fails part way through with "busy" status from the
CD... maybe the error recovery could use some tweaking...?
Another problem was when I resized /home (hdc7: 15G+ & last partition) to
make room for a new / and /usr so that I could keep 7.2... the resize
appeared to work; but fdisk reported the resized partition as 11864632
blocks; but df reported it as only 3420672 blocks... I was able to
recover it by copying all the files from hdc7 to hdc9, running mkfs on
hdc7 and copying all the files back. Here's the partition table after
everything was fixed (sorry, I was in init 1 to fix it and forgot to keep
a copy of the discrepency):
Disk /dev/hdc: 16 heads, 63 sectors, 39703 cylinders
Units = cylinders of 1008 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 1015 511528+ 83 Linux
/dev/hdc2 1016 39703 19498752 5 Extended
/dev/hdc5 1016 1522 255496+ 82 Linux swap
/dev/hdc6 1523 7617 3071848+ 83 Linux
/dev/hdc7 7618 31158 11864632+ 83 Linux
/dev/hdc8 31159 32149 499432+ 83 Linux
/dev/hdc9 32150 39703 3807184+ 83 Linux
Thanks,
Pierre
PS: I was very tired when I posted the following -- 8.1 is otherwise very
impressive!!
---------- Forwarded message ----------
Date: Tue, 02 Oct 2001 12:52:34 -0400
From: Pierre Fortin <[EMAIL PROTECTED]>
To: Mandrake Expert <[EMAIL PROTECTED]>
Subject: LM8.1 woes...
Between loads of work, marital changes, more travel, etc., I haven't had time to
participate in Cooker... now, I'm regretting not being involved; but I doubt I
would have done much Cooker on this particular system...
Where to start...?
System: ASUS/PII/400MHz, G200, SB PCI128, 3c509 & 3C59X (3COM), SCSI AHA-1520
CDRW: hdc/scd0 (ide-scsi)
CD: hdd
HDs: IDE(hda, hdb, hde), SCSI(sda, sdb, sdc, sdd) configured thus:
# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hde5 495845 124123 346122 27% /
none 514316 0 514316 0% /dev/shm
/dev/hde6 2015984 1712980 200596 90% /usr
/dev/hda5 295564 109361 170943 40% /mnt/LM7.2root
/dev/hdb1 297603 3 282230 1% /hd/b1
/dev/hdb3 1585000 1145238 357837 77% /hd/b3
/dev/hdb6 9121903 7401445 1247254 86% /hd/b6
/dev/hde2 16126420 3136160 12171060 21% /hd/e2
/dev/hde3 14788180 449988 13586980 4% /hd/e3
/dev/hde7 495876 13 470262 1% /hd/e7
/dev/hde8 2015984 20 1913556 1% /hd/e8
/dev/hde9 495876 13 470262 1% /hd/e9
/dev/hde10 2015544 20 1913140 1% /hd/e10
/dev/hda7 6151076 4839340 999276 83% /home
/dev/sda1 1007880 374764 581920 40% /mnt/LM7.2var
/dev/sda2 1057252 500976 502568 50% /sd/a2
/dev/sdc1 495666 185303 284764 40% /sd/c1
/dev/sdd1 325154 97296 211066 32% /sd/d1
/dev/hda6 3020140 1545392 1321332 54% /mnt/LM7.2usr
/dev/hdb5 2970455 2260594 556244 81% /usr/local
/dev/scd0 663968 663968 0 100% /mnt/cdrom
$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: SEAGATE Model: ST32151N Rev: 0284
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: SEAGATE Model: ST31230N Rev: 0300
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
Vendor: ARCHIVE Model: VIPER 150 21247 Rev: -005
Type: Sequential-Access ANSI SCSI revision: 01
Host: scsi0 Channel: 00 Id: 03 Lun: 00
Vendor: EXABYTE Model: EXB-8500SMBANXH0 Rev: 0428
Type: Sequential-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
Vendor: TOSHIBA Model: MK2428FB Rev: C08B
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 05 Lun: 00
Vendor: UMAX Model: Astra 2400S Rev: V1.4
Type: Scanner ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: IBM Model: H2344-S4C Rev: S6A0
Type: Direct-Access ANSI SCSI revision: 01 CCS
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: CD-Writer+ 7500 Rev: 1.0a
Type: CD-ROM ANSI SCSI revision: 02
So what could go wrong in such a simple config...? :^)
I recently added a 40G drive (hde), and partitioned it to handle up to 3 distros
hde[5-10].
So... just install LM8.1 onto hde[56] and all should be good... NOT!
The install itself went reasonably smoothly... in fact, quite nice... I chose
expert and high security since I'm running several servers.
Then, time to reboot...
1. MBR: no existing choices were picked up from hda5, so no way to boot into
old LM7.2 since I get a kernel panic after adding that choice to LILO... (still
investigating, though 8.1 looks good enough to let 7.2 go)
2. had to specify mem=1024M on lilo; system only saw 896M -- was OK on LM7.2
3. Pre-8.1 userids can't login via X: Created only one user ("installer") to
avoid usual uid/gid collisions, and userid:uid and group:gid alterations (see
http://pfortin.com/Linux/chog.html where I discussed this issue at the time I
installed LM7.2).
Then, added my 12 existing users to /etc/{passwd,shadow,group}... when I tried
to login as myself, X would simply shutdown and restart into the login screen.
This is still not resolved -- indications point to xauth problems; but nothing
I've tried fixes it... workaround is to login with 8.1 created userid and su to
mine... :^P
Tried to start old userids on :1 with no luck... only LM8.1 created userids
work... actually, one of the LM7.2 userids did work *once*; it had no
.Xauthority and no .xauth/... tried deleting these from my userid; but this
won't work either... Maybe one day I'll finally figure out how to seamlessly
migrate existing userids to new distros...
Also checked the ~/{.bashrc,.profile}, /etc/{bashrc,profile} files for changes
between 7.2 and 8.1...
I can start another X desktop using the 8.1 created userid with "startx -- :1"
(both :0 & :1 using same or different *8.1-created* userid); but trying a 7.2
(or earlier) created userid gives a failure on "access /var/lock/console/<user>"
which does not exist; plus:
> $ cat .xsession-errors
> ksplash: error while loading shared libraries: libstdc++-libc6.1-2.so.3: cannot open
>shared object file: No such file or directory
> kdeinit: error while loading shared libraries: libstdc++-libc6.1-2.so.3: cannot open
>shared object file: No such file or directory
> ksmserver: error while loading shared libraries: libstdc++-libc6.1-2.so.3: cannot
> open shared object file: No such file or directory
> connect() failed: : No such file or directory
4. The "First Time Wizard" is a royal pain...
4a. got to the Mail setup, chose nothing and clicked Next which goes through
the Network stuff... click Finish and you're put back into the Mail stuff,
looping ad nauseum...
4b. why does this beast go through everything for EACH user...? Surely the
network stuff is not likely to change per user...
5. Software installer is pre-alpha...! The initial problem appeared to be
simple: not releasing the CD... ha!
It doesn't even ask for the appropriate CD before closing the drive only to find
it's not there, or the wrong one.... then, if the wrong CD is in the drive, it
asks for the right CD; but refuses to unlock the drive; instead, it opens the
OTHER drive.... notice that my CDROM is hdD and CD-RW is hdC(scd0)... Tried
multiple times to install ethereal; but the CD handling code is thoroughly
confused! Finally gave up and installed modules with "rpm -ivh"... I won't
mention the "bad English" at this time... :>
5a. I must've missed the discussions why fstab created cdrom/cdrom2 while /dev
contains cdrom, cdrom0, cdrom1...(?)
6. The Sound Blaster PCI-128 worked fine on LM7.2 and I have another on my LM8.0
machine which works fine... sndconfig claims that this card is not
supported...! Do I have to boot kernel 2.2...?
SORRY for the brain fart; but I've been up most of the night on this and would
greatly appreciate some ideas on fixing the pre-8.1 userid logins (item #3)...
Thanks!
Pierre
PS: This is a GREAT distro for a new install... it appears to need a bit of
work for migrating existing users... I don't see anything major, so a few
updates should suffice. QUITE pleased with it otherwise!