1 How to try and survive an IBM Mwave under Linux SB drivers
4 * IBM refuse to provide documentation. If anyone can ever find out what
5 MWD50430.EXE actually does to load firmware then this comedy could go
8 * If you'd like to ask IBM why they don't release Mwave information.
9 phone IBM (425-556-8822) and ask them why they still haven't
10 released any documentation.
11 [http://204.200.238.31/cgi-bin/link.pl?co=i&cl=/ts/ibm/contact.html]
13 ----------------------------------------------------------------------------
15 OK, First thing - the IRQ problem IS a problem, whether the test is bypassed or
16 not. And it is NOT a linux problem - it is an MWAVE problem that is fixed with
17 the latest MWAVE patches. So, in other words, DON'T bypass the test for MWAVES!!
19 My config is Win 95 on HDA1, swap on HDA2, RH 5 on HDA3.
24 Mount Win95 file system (assume mount mount = /dos95)
26 mkdir /dos95/linux/boot
27 mkdir /dos95/linux/boot/parms
29 Copy the kernel, any initrd image, and loadlin to /dos95/linux/boot
33 Edit C:/msdos.sys and add/change the following:
38 [Note msdos.sys IS a text file but it needs to be 'unhidden' and make
39 read-writable before it can be edited]
41 Edit Config .sys to have multiple config menus. I have one for win95, and
42 five for linux. Like this:
45 menuitem=W95, Windows 95
46 menuitem=LINTP, Linux - ThinkPad
47 menuitem=LINTP3, Linux - ThinkPad Console
48 menuitem=LINDOC, Linux - Docked
49 menuitem=LINDOC3, Linux - Docked Console
50 menuitem=LIN1, Linux - Single User Mode
51 REM menudefault=W95,10
67 REM Please read README.TXT in C:\MWW subdirectory before changing the DOS= statement.
69 DEVICE=C:\MWW\MANAGER\MWD50430.EXE
70 SHELL=c:\command.com /e:2048
73 The important things are the SHELL and DEVICE statements
75 Then change Autoexec.bat. Basically everything in there originally should be
76 done ONLY when Win95 is booted. Then you add new things specifically for
77 Linux. Mine is as follows
81 if "%CONFIG%" == "W95" goto W95
86 SET MWPATH=C:\MWW\DLL;C:\MWW\MWGAMES;C:\MWW\DSP
87 SET BLASTER=A220 I5 D1
89 SET LIBPATH=C:\MWW\DLL
90 SET PATH=C:\WINDOWS;C:\MWW\DLL;
91 CALL MWAVE START NOSHOW
92 c:\linux\boot\loadlin.exe @c:\linux\boot\parms\%CONFIG%.par
99 SET MSINPUT=C:\MSINPUT
100 SET MWPATH=C:\MWW\DLL;C:\MWW\MWGAMES;C:\MWW\DSP
101 REM The following is used by DOS games to recognize Sound Blaster hardware.
102 REM If hardware settings are changed, please change this line as well.
103 REM See the Mwave README file for instructions.
104 SET BLASTER=A220 I5 D1
106 SET LIBPATH=C:\MWW\DLL
107 SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;E:\ORAWIN95\BIN;f:\msdev\bin;e:\v30\bin.dbg;v:\devt\v30\bin;c:\JavaSDK\Bin;C:\MWW\DLL;
108 SET INCLUDE=f:\MSDEV\INCLUDE;F:\MSDEV\MFC\INCLUDE
109 SET LIB=F:\MSDEV\LIB;F:\MSDEV\MFC\LIB
112 ------------------------
114 Now build a file in c:\linux\boot\parms for each linux config that you have.
116 For example, my LINDOC3 config is for a docked Thinkpad at runlevel 3 with no
117 initrd image, and has a parm file named LINDOC3.PAR in c:\linux\boot\parms:
119 -----------------------
120 # LOADLIN @param_file image=other_image root=/dev/other
122 # Linux Console in docking station
124 c:\linux\boot\zImage.krn # first value must be the filename of the Linux-kernel
125 root=/dev/hda3 # the device which gets mounted as root FS
126 ro # Other kernel arguments go here
130 -----------------------
132 the doc=yes parm is an environment variable that my init scripts use, it is not
135 However, the apm=off parm IS a kernel argument!!!!!!! APM, at least in my setup,
136 causes the kernel to crash when loaded via loadlin (but NOT when loaded via
137 LILO). The APM stuff COULD be forced out of the kernel via the kernel compile
138 options. BUT I, instead, got hold of an unofficial patch to the APM drivers that
139 allows them to be dynamically deactivated via kernel arguments. Whatever you
140 chose to document, APM, it seems, MUST be off for setups like mine.
142 Now check the C:\MWW\MWCONFIG.REF looks like this:
144 ----------------------
164 -----------------------------
166 OR the Default= line COULD be
170 Reboot to Win95 and choose Linux. When booted, use sndconfig to configure the
171 sound modules and VOILA - ThinkPad sound with Linux.
173 Now the gotchas - You can either have CD sound OR Mixers but not both. That's a
174 problem with the SB1.5(CD sound) or SBPRO(Mixers) settings. No-one knows why
177 And, for some reason MPEG3 files, when played through mpg123, sound like they
178 are playing at 1/8th speed - not very useful!!!!!!!!!!!! If you have ANY insight
179 on why this second thing might be happening I would be grateful.
181 ===========================================================
184 _/ _/_/ _/_/_/_/ Martin John Bartlett
185 _/ _/ _/ _/ (martin@nitram.demon.co.uk)
190 ===========================================================