starting /etc/init.d/slmodem fails to load the slamr module. Have also tried using the alsa option and have snd_intel8x0m module, but this also fails to work, no clues at all here, simply nothing detected it seems. Reproducible: Always Steps to Reproduce: 1. run /etc/init.d/slmodem start/restart Actual Results: FATAL: Error inserting slamr (/lib/modules/2.6.10/extra/slamr.ko): Cannot allocate memory * Missing slamr. Please set up /etc/conf.d/slmodem [ !! ] Expected Results: No errors, slmodemd starts. Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.10 i686) ================================================================= System uname: 2.6.10 i686 Mobile AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 26 2004, 18:10:57)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r5 sys-devel/automake: 1.8.5-r1 sys-devel/binutils: 2.15.90.0.1.1-r3 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://212.219.56.131/sites/www.ibiblio.org/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ftp://mir.zyrianes.net/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" LDFLAGS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acl alsa apache2 apm arts avi bcmath berkdb bitmap-fonts bz2 calendar cdr crypt cups curl dba dvd dvdr encode esd fam flac foomaticdb fortran ftp gd gdbm gif gmp gnome gpm gtk gtk2 imagemagick imlib inifile ipv6 jpeg kde libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl php png posix postgresql python qt quicktime readline sdl session slang soap spell ssl svga tcpd tidy tiff truetype xml2 xmms xsl xv zlib"
I almost forgot, this may help too. slamr: SmartLink AMRMO modem. slamr: probe 1106:3068 VIA3058 card... ACPI: PCI interrupt 0000:00:11.6[C] -> GSI 9 (level, low) -> IRQ 9 PCI: Setting latency timer of device 0000:00:11.6 to 64 slamr: mc97 codec is SIL27 slamr: slamr0 is VIA3058 card. devfs_mk_dev: could not append to parent for slamr0
what is your memory situation (cat /proc/meminfo)? Could it be that you are running out of memory?
MemTotal: 448512 kB MemFree: 378216 kB Buffers: 3972 kB Cached: 46668 kB SwapCached: 0 kB Active: 29164 kB Inactive: 30528 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 448512 kB LowFree: 378216 kB SwapTotal: 498004 kB SwapFree: 498004 kB Dirty: 300 kB Writeback: 0 kB Mapped: 22396 kB Slab: 7216 kB CommitLimit: 722260 kB Committed_AS: 16296 kB PageTables: 456 kB VmallocTotal: 581556 kB VmallocUsed: 5148 kB VmallocChunk: 574792 kB
devfs_mk_dev: could not append to parent for slamr0 Because of the "devfs" in there I guess you use it. Can you please try with udev? http://gentoo-wiki.com/HOWTO_Migrate_to_UDEV
Sure, I'll try it a little later on, and post my results here.
Setup udev, and same thing. FATAL: Error inserting slamr (/lib/modules/2.6.10-gentoo-r4/extra/slamr.ko): Cannot allocate memory. Not sure it would help anyone but here's the output from dmesg with debug=3 passed to the module. slamr: module license 'Smart Link Ltd.' taints kernel. slamr: SmartLink AMRMO modem. slamr: probe 1106:3068 VIA3058 card... PCI: Found IRQ 9 for device 0000:00:11.6 PCI: Sharing IRQ 9 with 0000:00:10.2 PCI: Sharing IRQ 9 with 0000:00:11.5 PCI: Setting latency timer of device 0000:00:11.6 to 64 slamr: mc97 codec is SIL27 slamr: slamr0 is VIA3058 card. slamr: SmartLink AMRMO modem. slamr: probe 1106:3068 VIA3058 card... PCI: Found IRQ 9 for device 0000:00:11.6 PCI: Sharing IRQ 9 with 0000:00:10.2 PCI: Sharing IRQ 9 with 0000:00:11.5 <p444.007700> amrmo_card_create: data cf998000. <p444.007748> tAmrMo::tAmrMo: card cf998000, pci dbd7d000, irq 9. <p444.007788> StartTable Phys = FF86000, Lin = CFF86000, IO 40 <p444.007824> StartTable Phys = FF8A000, Lin = CFF8A000, IO 50 <p444.007942> PageIn : linear CF9BA000, physical F9BA000 <p444.007979> PageOut: linear CFFF5000, physical FFF5000 <p444.008014> amr_create: cfc06200 (amrmo cf998000) PCI: Setting latency timer of device 0000:00:11.6 to 64 <p444.008102> amrmo_card_enable: card d02f6ae0. <p444.008213> [Hardware instance constructor...] <p444.008233> InitHW <p444.009332> AC detection: Primary (Y), Secondary(Y) <p444.009345> MC detection: 331025 <p444.009397> tAmrMoCard:AC calibration = 100 + 10*56 = 660 <p444.009563> Primary ALG-40, type AC <p444.009772> Secondary SIL-27, type MC <p444.009789> SIL codec(): hxSupported <p444.009802> Additional delay 0 <p444.009814> Delay reduction of 0 <p444.009981> SIL: International chip(0x133), 0 <p444.010313> tSiLabsCodec: Stop MCAL mode... <p444.010482> MC details: Intl, DAA(C) <p444.010565> slamr: mc97 codec is SIL27 slamr: mc97 codec is SIL27 <p444.010570> Constructed successfully. <p444.010572> Predefined rates: in 9600, out 9600 <p444.010577> Unmasked GPIO in on 2 slamr: amrmo_pci_probe: 0 amrmo is cf998000. data d02f6ae0, io 1400, 0. slamr: slamr0 is VIA3058 card. slamr: amrmo: remove cf998000... <p444.024405> amrmo_card_disable: card d02f6ae0. <p444.024457> Can I destroy the HW Instance? <p444.024460> Yes, <p444.024462> OnHardwareInstanceDestroyed <p444.024467> DeInitHW <p444.024470> and I deleted it! <p444.024485> amrmo_card_delete: card d02f6ae0. <p444.024487> amr_delete: cfc06200... <p444.024492> DeInitHW
try the new version of slmodem (2.9.9b), see if that works
Still the same, very odd. On the good side, it would seem that the Alsa driver coupled with slmodem now works using snd_via82xx_modem which has become available in 2.6.11. This is naturally the better option, no more proprietry kernel modules! As I'm the only person that seems to have reported this issue (even from googling) I would assume this as an isolated case. And as for anyone trying to get their Acer Aspire 1350 series internal modem working, snd_via82xx_modem as found in 2.6.11 and slmodem set to use Alsa should do the trick.
since you found a working scenario, I am closing this as fixed