Re: [pc110] SanDisk

Vaughan R. Pratt (pratt nospam at cs.stanford.edu)
Mon, 28 Jul 1997 10:16:28 -0700

Dick reminded me that Alan thought there was a kernel problem with
the scan for two SanDisk drives, but Vaughan didn't mention any
fixes like that to get his working.

Sorry about that, I did have to do something about that problem.
Here's my lilo.conf which gives one solution to the problem, which does
not require any fiddling with driver source. Once you've lilo'd your
kernel with this you can forget about it.

=================================
boot = /dev/hdb1 # /dev/hdb should be ok too (I use bteasy on the mbr)
delay = 20
linear
lock
vga = normal
ramdisk = 0
disk = /dev/hdb
bios = 0x80
sectors = 32
heads = 2
cylinders = 477
image = /vmlinuz
root = /dev/hdb1
label = linux
append = "hdb=noprobe hdb=477,2,32"
read-only
=================================

The append passes these parameters in the boot line, which you can also
do manually prior to Lilo'ing your kernel, as in

LILO boot: linux hdb=noprobe hdb=477,2,32

The noprobe tells Linux to assume hdb is there without looking, so
don't use it when the compact flash is not inserted. In particular
watch out that Lilo doesn't default to it from the previous time you
typed it; this is only an issue when manually passing "noappend", once
you've lilo'd your kernel the compact flash will "know" about itself
and handle things automatically and there won't be any manually typed
"noappend" to confuse Lilo when booting anything else.

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

Here fyi is what I put in my compact flash, including an old 2.9MB
version of netscape (version 1.12, 26-Sep-95). (The pixmaps might look
like a lot but its only 42KB.) Following that is what I put in the 4MB
internal flash, namely Latex/xdvi.

============ 15MB SanDisk Compact Flash ================
/bin/
ls chmod cp df mv rm dircolors gzip date uname stty kill cut cat login
more mount umount setterm hostname head mkdir touch dmesg ftp mknod
chown ln chgrp du tcsh tar ping pwd rmdir ps dd echo false setserial su
sync telnet true bash
/boot/
boot.b map boot.1601 boot.0341
/etc/
group issue motd termcap csh.cshrc csh.login services HOSTNAME
DIR_COLORS mtab passwd ld.so.conf ld.so.cache syslog.conf inittab
printcap exports host.conf hosts inetd.conf networks protocols fstab
psdevtab lilo.conf gettydefs localtime magic shells ttys fastboot
XF86Config ftpaccess ftpconversions ftpgroups ftpusers resolv.conf
twid_defaults.ini
/etc/pcmcia/
cdrom cdrom.opts config config.opts fixed fixed.opts network
network.opts pcmem pcmem.opts scsi scsi.opts serial serial.opts shared
/etc/rc.d/
rc.pcmcia rc.6 rc.M rc.S rc.local rc.modules rc.inet1 rc.inet2 rc.ibcs2
rc.K rc.serial rc.4 rc.httpd rc.keymap
/lib/modules/2.0.27/
block/loop.o net/bsd_comp.o net/dummy.o net/eql.o net/8390.o fs/nfs.o
fs/umsdos.o fs/ufs.o misc/lp.o misc/pc110pad.o modules.dep
/lib/modules/2.0.27/pcmcia/
ds.o fixed_cs.o i82365.o iflash2+_mtd.o iflash2_mtd.o memory_cs.o
pcmcia_core.o pcmem_cs.o pcnet_cs.o serial_cs.o sram_mtd.o
/lib/
libc.so.5.3.12 ld-linux.so.1.7.14 ld.so libtermcap.so.2.0.8
libext2fs.so.2.0 libcom_err.so.2.0 libss.so.2.0 libe2p.so.2.1
libgdbm.so.1.7.3 libm.so.5.0.6 libc.so.4.7.6 uncompress-0.9d.o
uncompress.o
/sbin/
insmod modprobe kerneld ldconfig dip-3.3.7o cardmgr halt shutdown
killall5 initscript init agetty clock swapon ifconfig route e2fsck
update fsck lilo fdisk flushb genksyms getty kbdrate lsmod rdev
runlevel ide_info
/usr/bin/
grep biff sed find tty wc elvis rsh rcp rlogin sleep file gpm basename
cu strings strace sum tail vmstat gawk diff cmp fmt last bc passwd tput
reset talk tee test uniq uptime users uudecode uuencode which write
zgrep diskcopy filesize expr apropos fuser
/usr/lib/
atrun man.config zoneinfo/Etc/GMT zoneinfo/localtime
/usr/sbin/
crond klogd quotaoff in.rlogind inetd tcpd in.telnetd wu.ftpd in.rshd
netdate syslogd
/usr/X11R6/bin/
xload xhost xset xclock xinit startx xmodmap xterm xev xsetroot
fvwm95-2 XF86_SVGA xgifroot xli xlito
/usr/X11R6/lib/
libXpm.so.4.3 libXaw.so.6.0 libX11.so.6.0
/usr/X11R6/lib/fonts/100dpi/
fonts.dir fonts.alias
/usr/X11R6/lib/fonts/Speedo/fonts.dir
/usr/X11R6/lib/fonts/Type1/fonts.dir
/usr/X11R6/lib/fonts/misc/
fonts.alias fonts.dir 5x8.pcf.Z 7x13.pcf.Z 7x13B.pcf.Z cursor.pcf.Z
/usr/X11R6/lib/fonts/75dpi/helvB10.pcf.Z
helvB12.pcf.Z helvR10.pcf.Z helvR12.pcf.Z fonts.dir luRS12.pcf.Z
fonts.alias courR12.pcf.Z courR14.pcf.Z helvB14.pcf.Z timR10.pcf.Z
timB14.pcf.Z timI10.pcf.Z courB12.pcf.Z courO08.pcf.Z
/usr/X11R6/lib/
libXt.so.6.0 libXmu.so.6.0 libICE.so.6.0 libSM.so.6.0
libXext.so.6.0 libXtst.so.6.1
/usr/X11R6/include/X11/pixmaps/
mini-x2.xpm mini-term.xpm mini-calc.xpm mini-bx2.xpm mini-xv.xpm
mini-nscape.xpm mini-zoom.xpm mini-edit.xpm mini-run.xpm mini-gv.xpm
mini-colors.xpm mini-eyes.xpm mini-filemgr.xpm mini-book1.xpm
mini-paint.xpm mini-sh1.xpm mini-happy.xpm mini-lock.xpm mini-ray.xpm
mini-stop.xpm mini-maze.xpm mini-cdlabel.xpm mini-turn.xpm
mini-bball.xpm mini-exclam.xpm mini-cross.xpm mini-pencil.xpm
mini-question.xpm mini-bug2.xpm mini-windows.xpm mini-hammer.xpm
mini-display.xpm mini-modules.xpm mini-raise.xpm mini-lower.xpm
mini-exp.xpm mini-clock.xpm mini-rball.xpm
/usr/local/bin/
netscape tcx untcx twiddler a2x
/usr/man/whatis.gz
/var/log/wtmp
/var/run/
utmp pcmcia-scheme stab
/var/X11R6/lib/app-defaults/
XClock XTerm Xfm Xloadimage
/var/X11R6/lib/
XKeysymDB Xcms.txt rgb.txt xinit/.Xmodmap
/var/X11R6/lib/locale/
locale.alias locale.dir compose.dir C/XLC_LOCALE iso8859-1/Compose
/var/X11R6/lib/fvwm95-2/
FvwmPager FvwmTaskBar
/var/X11R6/lib/nls/
C nls.dir
/var/adm/
cron messages debug syslog
/vmlinuz

========= 4 MB Internal Flash ======

/hda1/files
/hda1/texfonts/pk/ljfour/public/cm/
cmr17.600pk cmbx12.720pk cmbx12.600pk cmsy10.720pk cmr12.600pk
cmtt10.657pk cmbx10.657pk cmti10.657pk cmsy10.657pk cmmi10.657pk
cmr10.657pk cmbx10.600pk cmti10.600pk cmmi9.600pk cmr9.600pk
cmsy8.600pk cmmi8.600pk cmr8.600pk cmsy6.600pk cmr6.600pk cmsy10.600pk
cmr10.600pk cmex10.600pk cmbx7.600pk cmbx8.600pk cmbx9.600pk
cmcsc10.600pk cmmi10.600pk cmmi12.600pk cmmi5.600pk cmmi6.600pk
cmmi7.600pk cmr12.720pk cmr17.720pk cmr7.600pk cmr8.720pk cmsl10.600pk
cmsy7.600pk cmsy9.600pk cmti12.600pk cmti9.600pk cmtt8.720pk
cmbx10.1037pk cmbx10.1244pk cmbx10.1493pk cmbx10.720pk cmbx10.864pk
cmcsc10.1037pk cmex10.720pk cmcsc10.540pk cmcsc10.657pk cmcsc10.720pk
cmcsc10.864pk cmmi10.1037pk cmmi10.720pk cmmi10.864pk cmmi12.720pk
cmmi5.720pk cmmi7.1037pk cmmi7.720pk cmr10.1037pk cmr10.1244pk
cmr10.720pk cmr10.864pk cmr5.600pk cmr5.720pk cmr7.1037pk cmr7.720pk
cmsl10.657pk cmsl12.600pk cmsl8.600pk cmsl9.600pk cmss10.600pk
cmss10.657pk cmss12.600pk cmsy10.1037pk cmsy10.1244pk cmsy10.864pk
cmsy5.1037pk cmsy5.600pk cmsy5.720pk cmsy7.1037pk cmsy7.720pk
cmti10.1037pk cmti10.720pk cmti7.514pk cmti7.600pk cmti8.600pk
cmtt10.600pk cmtt12.600pk cmtt8.600pk cmtt9.600pk
/hda1/texfonts/pk/ljfour/public/latex/
lcircle10.600pk linew10.600pk line10.600pk lasy10.600pk lasy10.657pk
lasy10.720pk lasy10.864pk lasy9.600pk lcirclew10.600pk
/hda1/teTeX/texmf/tex/latex/base/
OMScmr.fd Ulasy.fd article.cls latex209.def latexsym.sty size11.clo
tracefnt.sty size10.clo size12.clo
/hda1/teTeX/texmf/tex/latex/config/latex209.cfg
/hda1/teTeX/texmf/tex/latex/tools/rawfonts.sty
/hda1/teTeX/texmf/tex/latex/tools/somedefs.sty
/hda1/teTeX/texmf/tex/latex/misc/fullpage.sty
/hda1/teTeX/texmf/fonts/source/public/cm/
cmbx10.mf cmbx12.mf cmbx7.mf cmbx8.mf cmbx9.mf cmcsc10.mf cmex10.mf
cmmi10.mf cmmi12.mf cmmi5.mf cmmi6.mf cmmi7.mf cmmi8.mf cmmi9.mf
cmr10.mf cmr12.mf cmr17.mf cmr5.mf cmr6.mf cmr7.mf cmr8.mf cmr9.mf
cmsl10.mf cmsl12.mf cmsl8.mf cmsl9.mf cmss10.mf cmss12.mf cmsy10.mf
cmsy5.mf cmsy6.mf cmsy7.mf cmsy8.mf cmsy9.mf cmti10.mf cmti12.mf
cmti7.mf cmti8.mf cmti9.mf cmtt10.mf cmtt12.mf cmtt8.mf cmtt9.mf
/hda1/teTeX/texmf/fonts/source/public/latex/
lasy10.mf lasy9.mf lcircle10.mf lcirclew10.mf line10.mf linew10.mf
/hda1/teTeX/texmf/fonts/source/ams/cmextra/cmcsc9.mf
/hda1/teTeX/texmf/fonts/source/ams/euler/eusm10.mf
/hda1/teTeX/texmf/fonts/source/ams/symbols/
msam10.mf msbm10.mf msbm7.mf
/hda1/teTeX/texmf/fonts/tfm/public/cm/
cmbx10.tfm cmbx12.tfm cmbx5.tfm cmbx6.tfm cmbx7.tfm cmbx8.tfm cmbx9.tfm
cmcsc10.tfm cmmi10.tfm cmmi12.tfm cmmi6.tfm cmmi8.tfm cmmi9.tfm
cmr10.tfm cmr12.tfm cmr17.tfm cmr6.tfm cmr8.tfm cmr9.tfm cmsl10.tfm
cmsl12.tfm cmsl8.tfm cmsl9.tfm cmss10.tfm cmss12.tfm cmss8.tfm
cmss9.tfm cmsy10.tfm cmsy6.tfm cmsy8.tfm cmsy9.tfm cmti10.tfm
cmti12.tfm cmti7.tfm cmti8.tfm cmti9.tfm cmtt10.tfm cmtt12.tfm
cmtt8.tfm cmtt9.tfm
/hda1/teTeX/texmf/fonts/tfm/public/latex/
lasy10.tfm lasy5.tfm lasy6.tfm lasy7.tfm lasy8.tfm lasy9.tfm
/hda1/teTeX/texmf/
web2c/latex.fmt web2c/mf.base fontname/texfonts.map
fontname/special.map xdvi/XDvi ls-R psfonts.map dvips/misc/psfonts.map
dvips/misc/resolution400.ps
/hda1/teTeX/bin/
virtex xdvi xdvi.bin MakeTeXMF MakeTeXPK MakeTeXTFM MakeTeXmkdir
MakeTeXnames kpsetool virmf
/hda1/teTeX/texmf.cnf