hi, i have a strange problem on a new laptop, where with the alsa device directory 
mysteriously disappears on reboot. this has happened to me before on another dell 
laptop. this is a fresh install of debian unstable. i never got to the bottom of 
exactly the same problem on a machine many months ago as i was forced to reinstall, 
and that fixed it anyway.

i built a 2.4.20 kernel to allow me to use the usb-midi device. naturally i had to 
make the alsa drivers again so i ran
the './configure --with-cards=maestro3,usb-audio --with-sequencer=yes --with-oss=yes 
&& make && make install'. this of course went through fine as it always has.

however i forgot to run the ./snddevices script and rebooted. after reboot i realised 
the error and ran the script. i edited my /etc/modules.conf and restarted the machine 
another time to test the drivers. the /dev/snd directory had mysteriously vanished. i 
ran the script again and had perfectly working drivers, midi and all [i have setup 
alsa many times on several systems]. however on reboot, the /dev/snd directory 
disappears again and again, forcing me to manually run the script. i have three other 
alsa machines, all of which run alsa normally.

if anyone has and ideas as to this weirdness let me know by replying direct as i'm 
sick of running the damn script on restart!

i guess i can manually make the symlinks, but i want to understand what's going on 
first..

cheers,

julian oliver

a bit about the machine:

i am *not* running devfs. my filesystem is static only. this is a fresh machine

//-->

dropWorld:/home/delire# mount
/dev/hda8 on / type ext2 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
none on /proc/bus/usb type usbdevfs (rw)
/dev/hda5 on /mnt type vfat (rw,uid=1000)

//<--

after realising i have no /dev/snd directory, i naturally looked in /proc/asound/dev. 
it turns out that nothing is linked to them at all however.

//-->

dropWorld:/home/delire# ls /proc/asound/dev/
controlC0  controlC1  midiC1D0  pcmC0D0c  pcmC0D0p  seq  timer

//<--

they are all there, so what is erasing the symlinks?

dmesg gives no clues at all, the only reference to 'snd' being for 'usb-audio'

here are my running devices after reboot:

//-->

dropWorld:/home/delire# cat /proc/devices
Character devices:
  1 mem
  2 pty
  3 ttyp
  4 ttyS
  5 cua
  7 vcs
 10 misc
 13 input
 14 sound
 21 sg
 29 fb
116 alsa
128 ptm
136 pts
162 raw
180 usb
226 drm
 
Block devices:
  2 fd
  3 ide0
 11 sr

//<--

here are my init scripts:

//-->

dropWorld:/home/delire# ls /etc/init.d/
alsa           firestarter      lpd          procps.sh  sysklogd
alsasound      gdm              makedev      rc         tpconfig
atd            halt             modutils     rcS        umountfs
bootmisc.sh    hostname.sh      mountall.sh  README     umountnfs.sh
checkfs.sh     hotplug          mountnfs.sh  reboot     urandom
checkroot.sh   hwclockfirst.sh  narc         rmnologin  usbmgr
cron           hwclock.sh       networking   samba      xdm
devpts.sh      ifupdown         nfs-common   sendsigs   xdm.dpkg-dist
dns-clean      inetd            ntp-simple   setserial  xfs
etc-setserial  iptables         nviboot      single
exim           keymap.sh        portmap      skeleton
fam            klogd            ppp          ssh

//<--

and finally, just to be verbose, here is the output of dmesg

//-->

dropWorld:/home/delire# dmesg
Linux version 2.4.20 (root@dropWorld) (gcc version 3.2.2 20030109 (Debian prerelease)) 
#1 Sun Jan 19 18:29:26 EST 2003
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000ffea800 (usable)
 BIOS-e820: 000000000ffea800 - 0000000010000000 (reserved)
 BIOS-e820: 00000000feea0000 - 00000000fef00000 (reserved)
 BIOS-e820: 00000000ffb80000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
255MB LOWMEM available.
On node 0 totalpages: 65514
zone(0): 4096 pages.
zone(1): 61418 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=TestMe ro root=308
Initializing CPU#0
Detected 1196.023 MHz processor.
Console: colour VGA+ 80x60
Calibrating delay loop... 2385.51 BogoMIPS
Memory: 256476k/262056k available (1305k kernel code, 5192k reserved, 478k data, 92k 
init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU:     After generic, caps: 0383f9ff 00000000 00000000 00000000
CPU:             Common caps: 0383f9ff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) III Mobile CPU      1200MHz stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch ([EMAIL PROTECTED])
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfc06e, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
Transparent bridge - Intel Corp. 82801BAM/CAM PCI Bridge
PCI: Discovered primary peer bus 08 [IRQ]
PCI: Using IRQ router PIIX [8086/244c] at 00:1f.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
Installing knfsd (copyright (C) 1996 [EMAIL PROTECTED]).
pty: 256 Unix98 ptys configured
Dell laptop SMM driver v1.13 14/05/2002 Massimo Dal Zotto ([EMAIL PROTECTED])
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP 
enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH2M: IDE controller on PCI bus 00 dev f9
ICH2M: chipset revision 3
ICH2M: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xbfa0-0xbfa7, BIOS settings: hda:DMA, hdb:DMA
hda: IC25N030ATDA04-0, ATA DISK drive
hdb: TOSHIBA DVD-ROM SD-C2502, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
blk: queue c02fc8e4, I/O limit 4095Mb (mask 0xffffffff)
hda: 58605120 sectors (30006 MB) w/1806KiB Cache, CHS=3648/255/63, UDMA(100)
Partition check:
 hda: hda1 hda2 < hda5 hda6 hda7 hda8 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 92k freed
Adding Swap: 128484k swap-space (priority -1)
Real Time Clock Driver v1.10e
PCI: Found IRQ 10 for device 02:06.0
PCI: Sharing IRQ 10 with 00:1f.2
PCI: Sharing IRQ 10 with 02:06.1
PCI: Sharing IRQ 10 with 02:0f.0
PCI: Sharing IRQ 10 with 02:0f.1
PCI: Sharing IRQ 10 with 02:0f.2
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
02:06.0: 3Com PCI 3c556 Laptop Tornado at 0xe800. Vers LK1.1.16
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: agpgart: Detected an Intel i815, but could not find the secondary device. 
Assuming a non-integrated video card.
agpgart: Detected Intel i815 chipset
agpgart: AGP aperture is 64M @ 0xe8000000
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver usb_mouse
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <[EMAIL PROTECTED]>
hid-core.c: USB HID support drivers
usb-uhci.c: $Revision: 1.275 $ time 18:24:59 Jan 19 2003
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 10 for device 00:1f.2
PCI: Sharing IRQ 10 with 02:06.0
PCI: Sharing IRQ 10 with 02:06.1
PCI: Sharing IRQ 10 with 02:0f.0
PCI: Sharing IRQ 10 with 02:0f.1
PCI: Sharing IRQ 10 with 02:0f.2
PCI: Setting latency timer of device 00:1f.2 to 64
usb-uhci.c: USB UHCI at I/O 0xdce0, IRQ 10
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver midi
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: TOSHIBA   Model: DVD-ROM SD-C2502  Rev: 1D13
  Type:   CD-ROM                             ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 24x/24x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
hub.c: new USB device 00:1f.2-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x763/0x1002) is not claimed by any active driver.
PCI: Found IRQ 5 for device 02:03.0
usb.c: registered new driver snd-usb-audio
[drm] AGP 0.99 on Intel i815 @ 0xe8000000 64MB
[drm] Initialized radeon 1.6.0 20020828 on minor 0
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
eth0: Setting full-duplex based on MII #0 link partner capability of 45e1.
PCI: Found IRQ 11 for device 01:00.0

//<--

after running the symlink creation script the alsa system returns to normal:

//-->

dropWorld:/home/delire/downloads/alsa-driver-0.9.0rc6# ./snddevices
Creating /dev/mixer?... done
Creating /dev/sequencer... done
Creating /dev/midi?... done
Creating /dev/dsp?... done
Creating /dev/audio?... done
Creating /dev/sndstat... done
Creating /dev/music... done
Creating /dev/dmmidi?... done
Creating /dev/dmfm?... done
Creating /dev/amixer?... done
Creating /dev/adsp?... done
Creating /dev/amidi?... done
Creating /dev/admmidi?... done
create symbolic link `/dev/mixer' to `/dev/mixer0'
create symbolic link `/dev/midi' to `/dev/midi0'
create symbolic link `/dev/dsp' to `/dev/dsp0'
create symbolic link `/dev/audio' to `/dev/audio0'
create symbolic link `/dev/sequencer2' to `/dev/music'
create symbolic link `/dev/adsp' to `/dev/adsp0'
create symbolic link `/dev/amidi' to `/dev/amidi0'
ALSA dynamic sound device filesystem
create symbolic link `/dev/snd' to `/proc/asound/dev'
ALSA loader devices
Creating /dev/aload?... done
Creating /dev/aloadSEQ... done
dropWorld:/home/delire/downloads/alsa-driver-0.9.0rc6#
dropWorld:/home/delire/downloads/alsa-driver-0.9.0rc6# ls -l /dev/snd/
total 0
crw-rw-rw-    1 root     root     116,   0 2003-01-22 06:04 controlC0
crw-rw-rw-    1 root     root     116,  32 2003-01-22 06:04 controlC1
crw-rw-rw-    1 root     root     116,  40 2003-01-22 06:04 midiC1D0
crw-rw-rw-    1 root     root     116,  24 2003-01-22 06:04 pcmC0D0c
crw-rw-rw-    1 root     root     116,  16 2003-01-22 06:04 pcmC0D0p
crw-rw-rw-    1 root     root     116,   1 2003-01-22 06:04 seq
crw-rw-rw-    1 root     root     116,  33 2003-01-22 06:04 timer

//<--



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to