[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Minimal slink install from 2.1.4 disks (cont.)



A new try with minimal slink install from 2.1.4 disks.
I changed preparation (the non-US part) compared to prev. report.
And I did som research regarding found errors.

Now what should I do with this, wait for answers or file bug reports or
what?

Cheers,
/Karl

-------------------------------------------------------------------------------
Karl Hammar		Aspö Data		karl@kalle.csb.ki.se
Lilla Aspö 2340		+46 173 140 57
S-742 94 Östhammar	+46 70 511 97 84	Professionella Linuxlösningar
SWEDEN
-------------------------------------------------------------------------------


SUMMARY:

Minimal slink install from 2.1.4 disks.
Kind of painless install but all details are not worked out.

==================================================
ERROR DISCUSSION

----------------------------------------
ERROR 0 -- no error reported on tty1 telling us that ifconfig/route
	failed because no device installed

Diagnosis:
	apperantly no check done for devices or exit status done

Suggested fixes:
	1) test exitstatus, ifconfig return exit 0 on success and
	 255 when no device exist

	2) one could do:

	for i in `grep -v '|' /proc/net/dev | cut -f1 -d:`
	do
		echo Configuring $i
		# get ip-address and such
		ifconfig $i xxx
		route add -net xxx
	done
	# config resolv.conf and other routes

----------------------------------------
ERROR 1 -- in CONFIGURE DEVICE DRIVERS:
	When I install lp with parameters io=0x378 irq=7
	or when I remove a module:

	0: no such user

Diagnosis:
	probably something in dinstall, am I right?

----------------------------------------
ERROR 2 -- in CONFIGURE DEVICE DRIVERS:
	When I install 3c509 with parameters io=0x300 irq=5:

	Symbol for parameter io not found (3C509)

Diagnosis:
	usr/lib/modules/descr.tgz is incorrect with regard
	to 3c509.

	According so drivers/net/3c509.c (look at the last 50 lines
	in the file), when loaded as an module,
	there are tree parameters you can specify at insmod line:
	debug, irq and xcvr, i.e. not io.

	More, the module first probe for cards and only if the probe
	fails it uses the parameters from insmod line.

To reproduce the bug:
	In configure dev. drivers / net, choose 3c509,
	enter parameters, in my case, io=0x300 irq=5 and install.

	If no parameters are entered at the first try, the install
	will succeed.

	If you entered the io parameter above, you can make the
	install to succeed if you enter the correct new parameters
	xcvr=0x300 irq=5.

	Somehow dinstall remembers the io-parameter and that
	hinders further attempts, but can be cleared by specifying another
	parameter. Insmod in tty2 did not have any such problems.

Suggested fix:
	1) change text in usr/lib/modules/descr.tgz from:

Module: 3c509
 3c509

 io = 0
 irq = 0
 ( Module load-time probing Works reliably only on EISA, ISA ID-PROBE
   IS NOT RELIABLE!  Compile this driver statically into kernel for
   now, if you need it auto-probing on an ISA-bus machine. )

	to:

Module: 3c509
 3c509

 xcvr = 0	(same as io for other modules)
 irq = 0
 ( This module will only use your parameters if its probe for some
   reason fail. The probe is for all 3c509 cards in one sweep )

	and
	2) fix dinstall not to remember old parameters.

----------------------------------------
ERROR 3 -- when booting
        lspci not found

Problem report:
	isapnptools  1.13-3.1 (as in hamm) to 1.16-4.1 (slink) change
	lspci called from within isapnp
	lspci comes from pciutils which is made for kernels > 2.1.81
	but kernel 2.0.36 is installed

Solutions:
	1, accept that errormessage on bootup
		or filter out the message in /etc/init.d/isapnp like
		/sbin/isapnp /etc/isapnp.conf 2>1 | grep -v 'lspci not found'
	2, use a version of isapnp which do not use lspci or which doesn't
		submits that error message
		mayby use two packages,
		 one for stable kernels and
		 one for experimental
	3, install a 2.1.x kernel and pciutils

Discussion:
	If we want slink to have high profile, stable os, etc.
	then bogus error messages shouln't be present.
	Also installing an experimental, however good, kernel
	per default is not an option.

Conclusion:
	That leaves us with option 2:
	use an isapnp designed for our kernel
	also current isapnptool should suggest or require pciutils
	or not submitting error messages

----------------------------------------
NOTE 1 -- in BASIC preselection
	dpkg-mountab installed but removed by BASIC, sounds strange

Diagnosis:
	beats me for now

----------------------------------------
ERROR 4 -- not all packages in non-US presented

Diagnosis:
	file Package in non-US/slink/binary-i386/ not in sync with
	directory content

----------------------------------------
ERROR 5 -- in BASIC preselection
	development packages in BASIC: libncurses4-dev, g++, libstdc++-dev

Diagnosis:
	beats me for now

----------------------------------------
ERROR 6:
	lsof compiled for wrong kernel

----------------------------------------
ERROR 7:
	missing device files st[0-9]* and loop*

----------------------------------------
NOTE 2:
	/root has permissions 755

----------------------------------------
ERROR 8:
	lots of binaries without man pages

==================================================

CONFIGURATION:
	Proc:	AMD K6 3D 350 MHz
	Mcard:	Microstar MS-5169 (atx)
	Mem:	128MB PC-100 DIMM
	Case:	Big-tower
	sda:	Seagate Medalist Pro ST36530N
	sdb:	Seagate Medalist Pro ST34520N
	hda:	Conner Peripherals 420MB - CFS420A, 406MB w/64kB Cache, CHS=826/16/63
	Tape:	Tandberg TDC4200
	FD:	Sony
	Crt:	Samsung SyncMaster 900p
	CD:	Plextor PX-32TS (tray)
	Nic:	3C905B and 3C509Combo
	Video:	Matrox Mill. G200 AGP 8MB SGRAM
	Snd:	Soundblaster PCI64 (not used tough in this test)
	SCSI:	Tekram DC-390U (Symbios 53c875 chip, narrow ultra-scsi)
	Mouse:	Logitech PilotMouse (serial, MouseMan protocol)

TESTING TARGET:
	task: minimal install of slink with disks-2.1.4

PREPARATION:

	Download of slink and hamm from ftp.lh.umu.se 1998-12-31 ~1200 MET
	to /dev/sda10:/debian/{hamm,slink}

	Prepared non-US for my convenience:
	 mkdir debian/{hamm,slink}/non-US
	 cd debian/hamm/non-US; ln -s ../...../non-US/* .
	 same for slink

	downloaded 2.1.4: resc144, drv144 and base2_1.tgz.2.1.4-i386
	 from Incoming

	ln -s base2_1.tgz.2.1.4-i386 base2_1.tgz	so install finds it
	dd if={resc,drv} of=/dev/fd0 obs=18k		make floppies

	reboot

PROCESS:

Booting with resc. OK
choose
	color
	us		(se-latin1 also worked fine)
Partitioning as:

Disk /dev/sdb: 141 heads, 62 sectors, 1016 cylinders
Units = cylinders of 8742 * 512 bytes

   Device Boot   Begin    Start      End   Blocks   Id  System
/dev/sdb1   *        1        1       70   305939    6  DOS 16-bit >=32M
/dev/sdb2           71       71       79    39339   83  Linux native
/dev/sdb3           80       80      102   100533   82  Linux swap
/dev/sdb4          103      103     1016  3995094    5  Extended
/dev/sdb5          103      103      336  1022783    6  DOS 16-bit >=32M
/dev/sdb6          337      337      359   100502   83  Linux native
/dev/sdb7          360      360      382   100502   83  Linux native
/dev/sdb8          383      383      733  1534190   83  Linux native
/dev/sdb9          734      734     1016  1236962   83  Linux native

Making swap, fs: 2 /, 6 /tmp, 7 /var, 8 /usr, 9 /home
-- OK

Installing kernel -- OK 
Installing device drivers -- OK
Conf. network:
ERROR 0 -- no error reported on tty1 telling us that ifconfig/route failed
	because no device installed
Conf dev. drivers:
	lp: io=0x378 irq=7
ERROR 1 -- 0: no such user
	(lp without parameters went OK)
	3c509: with or without io=0x300
ERROR 2 -- Symbol for parameter io not found / Inst. failed
        (no such problems with insmod 3c509 from a running hamm+2.0.36,
         or after reboot and depmod -a)
	lp or 3c509: remove
ERROR 1 -- 0: no such user
	3c59x: -- OK (but hw-report would be apreciated)
Configure network -- OK
Configure base system -- OK
Making boot floppy -- OK
(Not using lilo at this stage, because of disk setup and 
the spartan options offered by liloconfig)
Reboot
ERROR 3 -- lspci not found
root passwd - changed
new user - test
shadow - Y
remove pcmcia - Y
choosed BASIC
access - hardisk (/dev/sda10:/debian/slink)
update -- OK
select:
NOTE 1 -- dpkg-mountab installed but removed by BASIC, sounds strange
ERROR 4 -- not all packages in non-US presented
	leaving select => dependancy/conflict
ERROR 5 -- development packages in BASIC
		libncurses4-dev depends on c-compiler
		g++ dep. on binutils
		libstdc++-dev dep. on libc6-dev
	removed them -- OK
install:
	(exim-config: top 3 lines scrolled over)
quit.
login root
BASIC system running - install test finished.

==================================================
Runnig system quick test:

ERROR 6:
When running lsof one gets:
lsof: WARNING: compiled for Linux release 2.0.35; this is 2.0.36.
lsof: can't determine system map file path

ERROR 7:
Missing device files
/dev/st[0-9]*	mt and st.o are installed but you can't access tape
/dev/loop*	losetup is installed but you can't use it
I mknod'ed one of each of theese and then tape and mount -o loop worked fine.

NOTE 2:
How come /root have permissons 755 instead of 700

ERROR 8:
Missing man pages for theese binaries:
(I.e. you get no man page when doing "man basename_of_binary")
/sbin/activate
/sbin/bootpc
/sbin/fsck.nfs
/usr/bin/callbootd
/usr/bin/find2perl
/usr/bin/geqn
/usr/bin/glibcbug
/usr/bin/gpic
/usr/bin/gtbl
/usr/bin/lz
/usr/bin/magic2mime
/usr/bin/makedb
/usr/bin/mcheck
/usr/bin/mcomp
/usr/bin/minfo
/usr/bin/msgmerge
/usr/bin/mxtar
/usr/bin/pager
/usr/bin/perl5.00404
/usr/bin/pod2latex
/usr/bin/tgz
/usr/bin/uz
/usr/sbin/MAKEFLOPPIES
/usr/sbin/cleanup-info
/usr/sbin/exim_lock
/usr/sbin/ipautofw
/usr/sbin/keytab-lilo.pl
/usr/sbin/liloconfig
/usr/sbin/rpc.rstatd
/usr/sbin/updated-packages
/usr/sbin/zdump
/usr/sbin/zic

NOTE 3:
Man pages are reported as Undocumented for theese binaries:
/sbin/findsuper
/usr/bin/clrunimap
/usr/bin/expiry
/usr/bin/fgconsole
/usr/bin/gasp
/usr/bin/getunimap
/usr/bin/lessecho
/usr/bin/lessfile
/usr/bin/lesspipe
/usr/bin/mk_modmap
/usr/bin/screendump
/usr/bin/setvesablank
/usr/bin/shfont
/usr/bin/syslinux
/usr/bin/unicode_start
/usr/bin/unicode_stop
/usr/sbin/dpkg-divert
/usr/sbin/extend
/usr/sbin/flushb
/usr/sbin/kbdconfig
/usr/sbin/spawn_console
/usr/sbin/spawn_login


--  
To UNSUBSCRIBE, email to debian-testing-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: