2.1.88: Negative usage count for sb and uart401 modules

28 Feb 1998 11:29:45 GMT

root@failing/home/local/unilynx/music/mp3 [129] lsmod
Module Size Used by
sb 22228 -2
uart401 5668 -2 [sb]
sound 63780 0 [sb uart401]

sb used by -2 ?

I'm unable to tell exactly what I did before this happened. From what I can
remember, I fired up a cd player (kscd), figured out sound didn't work, and
went playing with the module settings to get it back. Below is more-or-less
what I was doing before noticing this

(system was running for a day and 17 hours before this happened, so if it is
related to anything before that, I don't know..)

1070 cd /dev
1071 ls -l mixer
1072 killall kscd
1073 cd ~unilynx/music/mp3/
1074 ls
1075 amp Beatles
1076 amp Beatles-Let_it_be.mp3 (player started, but didn't do anything)
1077 ls -l /dev/dsp
1078 cat /dev/dsp
1079 vi /etc/conf.modules
1080 sndconfig
1081 cd /etc
1082 ls is*
1083 mv isapnp.conf.bak isapnp.conf
1084 isapnp isapnp.conf
1085 lsmod
1086 rmmod sound
1087 rmmod opl3 uart401
1088 rmmod sound
1089 lsmod
1090 rmmod misc
1091 lsmod
1092 vi /etc/conf.modules
1093 cd -
1094 amp Beatles-Let_it_be.mp3 (still no work. went for manually
1095 cat /dev/dsp inserting the right modules)
1096 lsmod
1097 rmmod sound
1098 killall -HUP kerneld
1099 cat /dev/dsp
1100 killall kerneld
1101 rmmod sound
1102 cat /dev/dsp
1103 cat /etc/conf.modules
1104 insmod sound io=0x220 irq=5 dma=0,1
1105 insmod sb io=0x220 irq=5 dma=0,1
1106 insmod sound
1107 insmod sb io=0x220 irq=5 dma=0,1
1108 insmod uart401
1109 insmod sb io=0x220 irq=5 dma=0,1
(somewhere here things must have gone wrong. before I did this, I had
already tried to start the cdplayer, without getting any sound. when I got
sb to work (after the insmod below), the sound of the cdplayer immediately
came through the soundblaster) )
1110 insmod sb io=0x220 irq=5 dma=0
1111 workamn
1112 workman
1113 amp Beatles-Let_it_be.mp3
1114 vi /etc/conf.modules
1115 less /lib/modules/2.1.88/misc/sb.o
1116 cat /lib/modules/2.1.88/misc/sb.o | strings | less
(And here I got 'device or resource busy', and figured out something went
1117 insmod sb io=0x220 irq=5 dma=0 dma16=1 mpu_io=330
1118 rmmod sb
1119 ls -l /dev/dsp
1120 ps aux
1121 killall kscd
1122 insmod sb io=0x220 irq=5 dma=0 dma16=1 mpu_io=330
1123 rmmod sb
1124 killall kaudioserver maudio
1125 rmmod sb
1126 lsmod
1127 history > /tmp/history

Arnold Hendriks, Enschede, The Netherlands

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu