[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems with kernel: no sound, printer, cdwriter



Hi,

First of all, you wanna try ALSA for your soundcard. Download the
packages alsa-driver, alsa-lib and alsa-utils from alsa-project.org.
Compile them, install them and then load the module. AFAIK, the proper
module for the Audigy soundcards is either emu10k or snd-emu10k.

And SCSI Emulation can not be compiled as a module. I tried that, for
some weird reason it did not work. It has to be compiled into the
kernel, not as module.
Also, do not forget to append the option "hdX = ide-scsi" in lilo.conf.

MJ





On Tue, 2003-09-30 at 19:03, A R wrote:
> I posted this in debianhelp.org and didn't get much
> help. Hope to do better here.
> 
> My audigy card is not seen by the kernel, when I try
> to compile hpijs it doesn't work. 
> scsi emulation for my cd drives is not working (but is
> enabled in kernel)
> The problem seems to be with the modules. I am
> attaching some info next:
> HELP needed:
> 
> OUTPUT of dmesg:
> 
> Linux version 2.4.22 (root@hpd) (gcc version 3.3.2
> 20030908 (Debian prerelease)) #1 Mon Sep 29 20:38:30
> EDT 2003
> BIOS-provided physical RAM map:
> BIOS-e820: 0000000000000000 - 000000000009fc00
> (usable)
> BIOS-e820: 000000000009fc00 - 00000000000a0000
> (reserved)
> BIOS-e820: 00000000000e0000 - 0000000000100000
> (reserved)
> BIOS-e820: 0000000000100000 - 000000001ffd0000
> (usable)
> BIOS-e820: 000000001ffd0000 - 000000001ffdf000 (ACPI
> data)
> BIOS-e820: 000000001ffdf000 - 0000000020000000 (ACPI
> NVS)
> BIOS-e820: 00000000ffb80000 - 0000000100000000
> (reserved)
> 511MB LOWMEM available.
> found SMP MP-table at 000ff780
> hm, page 000ff000 reserved twice.
> hm, page 00100000 reserved twice.
> hm, page 000fa000 reserved twice.
> hm, page 000fb000 reserved twice.
> On node 0 totalpages: 131024
> zone(0): 4096 pages.
> zone(1): 126928 pages.
> zone(2): 0 pages.
> Intel MultiProcessor Specification v1.4
> Virtual Wire compatibility mode.
> OEM ID: ASUSTek Product ID: STI APIC at: 0xFEE00000
> Processor #0 Pentium 4(tm) XEON(tm) APIC version 20
> I/O APIC #2 Version 32 at 0xFEC00000.
> Enabling APIC mode: Flat. Using 1 I/O APICs
> Processors: 1
> Kernel command line:
> Initializing CPU#0
> Detected 2400.144 MHz processor.
> Console: colour VGA+ 80x25
> Calibrating delay loop... 4784.12 BogoMIPS
> Memory: 514812k/524096k available (2152k kernel code,
> 8896k reserved, 704k data, 116k init, 0k highmem)
> Dentry cache hash table entries: 65536 (order: 7,
> 524288 bytes)
> Inode cache hash table entries: 32768 (order: 6,
> 262144 bytes)
> Mount cache hash table entries: 512 (order: 0, 4096
> bytes)
> Buffer cache hash table entries: 32768 (order: 5,
> 131072 bytes)
> Page-cache hash table entries: 131072 (order: 7,
> 524288 bytes)
> CPU: Trace cache: 12K uops, L1 D cache: 8K
> CPU: L2 cache: 512K
> Intel machine check architecture supported.
> Intel machine check reporting enabled on CPU#0.
> CPU: After generic, caps: bfebfbff 00000000 00000000
> 00000000
> CPU: Common caps: bfebfbff 00000000 00000000 00000000
> CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 09
> Enabling fast FPU save and restore... done.
> Enabling unmasked SIMD FPU exception support... done.
> Checking 'hlt' instruction... OK.
> POSIX conformance testing by UNIFIX
> enabled ExtINT on CPU#0
> ESR value before enabling vector: 00000000
> ESR value after enabling vector: 00000000
> ENABLING IO-APIC IRQs
> Setting 2 in the phys_id_present_map
> ...changing IO-APIC physical APIC ID to 2 ... ok.
> init IO_APIC IRQs
> IO-APIC (apicid-pin) 2-0, 2-3, 2-5, 2-10, 2-11, 2-20
> not connected.
> ..TIMER: vector=0x31 pin1=2 pin2=0
> number of MP IRQ sources: 23.
> number of IO-APIC #2 registers: 24.
> testing the IO APIC.......................
> 
> IO APIC #2......
> .... register #00: 02000000
> ....... : physical APIC id: 02
> ....... : Delivery Type: 0
> ....... : LTS : 0
> .... register #01: 00178020
> ....... : max redirection entries: 0017
> ....... : PRQ implemented: 1
> ....... : IO APIC version: 0020
> .... IRQ redirection table:
> NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
> 00 000 00 1 0 0 0 0 0 0 00
> 01 001 01 0 0 0 0 0 1 1 39
> 02 001 01 0 0 0 0 0 1 1 31
> 03 000 00 1 0 0 0 0 0 0 00
> 04 001 01 0 0 0 0 0 1 1 41
> 05 000 00 1 0 0 0 0 0 0 00
> 06 001 01 0 0 0 0 0 1 1 49
> 07 001 01 0 0 0 0 0 1 1 51
> 08 001 01 0 0 0 0 0 1 1 59
> 09 001 01 0 0 0 0 0 1 1 61
> 0a 000 00 1 0 0 0 0 0 0 00
> 0b 000 00 1 0 0 0 0 0 0 00
> 0c 001 01 0 0 0 0 0 1 1 69
> 0d 001 01 0 0 0 0 0 1 1 71
> 0e 001 01 0 0 0 0 0 1 1 79
> 0f 001 01 0 0 0 0 0 1 1 81
> 10 001 01 1 1 0 1 0 1 1 89
> 11 001 01 1 1 0 1 0 1 1 91
> 12 001 01 1 1 0 1 0 1 1 99
> 13 001 01 1 1 0 1 0 1 1 A1
> 14 000 00 1 0 0 0 0 0 0 00
> 15 001 01 1 1 0 1 0 1 1 A9
> 16 001 01 1 1 0 1 0 1 1 B1
> 17 001 01 1 1 0 1 0 1 1 B9
> IRQ to pin mappings:
> IRQ0 -> 0:2
> IRQ1 -> 0:1
> IRQ4 -> 0:4
> IRQ6 -> 0:6
> IRQ7 -> 0:7
> IRQ8 -> 0:8
> IRQ9 -> 0:9
> IRQ12 -> 0:12
> IRQ13 -> 0:13
> IRQ14 -> 0:14
> IRQ15 -> 0:15
> IRQ16 -> 0:16
> IRQ17 -> 0:17
> IRQ18 -> 0:18
> IRQ19 -> 0:19
> IRQ21 -> 0:21
> IRQ22 -> 0:22
> IRQ23 -> 0:23
> .................................... done.
> Using local APIC timer interrupts.
> calibrating APIC timer ...
> ..... CPU clock speed is 2400.1809 MHz.
> ..... host bus clock speed is 200.0148 MHz.
> cpu: 0, clocks: 2000148, slice: 1000074
> CPU0<T0:2000144,T1:1000064,D:6,S:1000074,C:2000148>
> mtrr: v1.40 (20010327) Richard Gooch
> (rgooch@atnf.csiro.au)
> mtrr: detected mtrr type: Intel
> PCI: PCI BIOS revision 2.10 entry at 0xf0031, last
> bus=2
> PCI: Using configuration type 1
> PCI: Probing PCI hardware
> PCI: Probing PCI hardware (bus 00)
> PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
> Transparent bridge - Intel Corp. 82801BA/CA/DB/EB PCI
> Bridge
> PCI: Using IRQ router PIIX [8086/24d0] at 00:1f.0
> PCI->APIC IRQ transform: (B0,I29,P0) -> 16
> PCI->APIC IRQ transform: (B0,I29,P1) -> 19
> PCI->APIC IRQ transform: (B0,I29,P2) -> 18
> PCI->APIC IRQ transform: (B0,I29,P0) -> 16
> PCI->APIC IRQ transform: (B0,I29,P3) -> 23
> PCI->APIC IRQ transform: (B0,I31,P0) -> 18
> PCI->APIC IRQ transform: (B0,I31,P1) -> 17
> PCI->APIC IRQ transform: (B1,I0,P0) -> 16
> PCI->APIC IRQ transform: (B2,I10,P0) -> 22
> PCI->APIC IRQ transform: (B2,I11,P0) -> 23
> PCI->APIC IRQ transform: (B2,I14,P0) -> 21
> PCI->APIC IRQ transform: (B2,I15,P0) -> 19
> 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
> okir@monad.swb.de).
> udf: registering filesystem
> parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
> parport0: irq 7 detected
> parport0: Printer, hp deskjet 5550
> pty: 256 Unix98 ptys configured
> 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
> lp0: using parport0 (polling).
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a post-1991 82077
> 8139too Fast Ethernet driver 0.9.26
> eth0: RealTek RTL8139 Fast Ethernet at 0xe080d800,
> 00:0c:6e:6d:c3:73, IRQ 19
> eth0: Identified 8139 chip type 'RTL-8139C'
> Linux agpgart interface v0.99 (c) Jeff Hartmann
> agpgart: Maximum main memory to use for agp memory:
> 439M
> agpgart: Detected an Intel(R) 865G, but could not find
> the secondary device. Assuming a non-integrated video
> card.
> agpgart: Detected Intel(R) 865G chipset
> agpgart: AGP aperture is 64M @ 0xf8000000
> [drm] Initialized tdfx 1.0.0 20010216 on minor 0
> [drm] AGP 0.99 on Unknown @ 0xf8000000 64MB
> [drm] Initialized r128 2.2.0 20010917 on minor 1
> [drm] AGP 0.99 on Unknown @ 0xf8000000 64MB
> [drm] Initialized radeon 1.1.1 20010405 on minor 2
> [drm] AGP 0.99 on Unknown @ 0xf8000000 64MB
> [drm] Initialized i810 1.2.0 20010920 on minor 3
> Uniform Multi-Platform E-IDE driver Revision:
> 7.00beta4-2.4
> ide: Assuming 33MHz system bus speed for PIO modes;
> override with idebus=xx
> hda: WDC WD800BB-22DKA0, ATA DISK drive
> hdb: WDC WD1600JB-00DUA0, ATA DISK drive
> hdc: JLMS XJ-HD166S, ATAPI CD/DVD-ROM drive
> hdd: Hewlett-Packard DVD Writer 300, ATAPI CD/DVD-ROM
> drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: attached ide-disk driver.
> hda: 156301488 sectors (80026 MB) w/2048KiB Cache,
> CHS=9729/255/63
> hdb: attached ide-disk driver.
> hdb: 312581808 sectors (160042 MB) w/8192KiB Cache,
> CHS=19457/255/63
> Partition check:
> hda:<7>ldm_validate_partition_table(): Found an MS-DOS
> partition table, not a dynamic disk.
> hda1 hda2
> hdb:<7>ldm_validate_partition_table(): Found an MS-DOS
> partition table, not a dynamic disk.
> hdb1 hdb2 hdb3 hdb4 < hdb5 hdb6 hdb7 hdb8 >
> 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
> ohci1394: $Rev: 1010 $ Ben Collins
> <bcollins@debian.org>
> ohci1394_0: OHCI-1394 1.1 (PCI): IRQ=[21]
> MMIO=[feaff000-feaff7ff] Max Packet=[2048]
> video1394: Installed video1394 module
> es1371: version v0.32 time 20:40:16 Sep 29 2003
> Creative EMU10K1 PCI Audio Driver, version 0.20,
> 20:40:11 Sep 29 2003
> Linux Kernel Card Services 3.1.22
> options: [pci] [cardbus] [pm]
> usb.c: registered new driver usbdevfs
> usb.c: registered new driver hub
> usb.c: registered new driver usbscanner
> scanner.c: 0.4.13:USB Scanner Driver
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP: routing cache hash table of 4096 buckets, 32Kbytes
> TCP: Hash tables configured (established 32768 bind
> 65536)
> Linux IP multicast router 0.06 plus PIM-SM
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> ds: no socket drivers loaded!
> kjournald starting. Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> VFS: Mounted root (ext3 filesystem) readonly.
> Freeing unused kernel memory: 116k freed
> ieee1394: Host added: ID:BUS[0-00:1023]
> GUID[00e0180000254bb6]
> Adding Swap: 1950440k swap-space (priority -1)
> EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,65),
> internal journal
> usb-uhci.c: $Revision: 1.275 $ time 20:44:23 Sep 29
> 2003
> usb-uhci.c: High bandwidth mode enabled
> PCI: Setting latency timer of device 00:1d.0 to 64
> usb-uhci.c: USB UHCI at I/O 0xe000, IRQ 16
> 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
> PCI: Setting latency timer of device 00:1d.1 to 64
> usb-uhci.c: USB UHCI at I/O 0xe400, IRQ 19
> usb-uhci.c: Detected 2 ports
> usb.c: new USB bus registered, assigned bus number 2
> hub.c: USB hub found
> hub.c: 2 ports detected
> PCI: Setting latency timer of device 00:1d.2 to 64
> usb-uhci.c: USB UHCI at I/O 0xe800, IRQ 18
> usb-uhci.c: Detected 2 ports
> usb.c: new USB bus registered, assigned bus number 3
> hub.c: USB hub found
> hub.c: 2 ports detected
> PCI: Setting latency timer of device 00:1d.3 to 64
> usb-uhci.c: USB UHCI at I/O 0xec00, IRQ 16
> usb-uhci.c: Detected 2 ports
> usb.c: new USB bus registered, assigned bus number 4
> hub.c: USB hub found
> hub.c: 2 ports detected
> usb-uhci.c: v1.275:USB Universal Host Controller
> Interface driver
> hub.c: new USB device 00:1d.1-2, assigned address 2
> scanner.c: USB scanner device (0x03f0/0x0401) now
> attached to scanner0
> kjournald starting. Commit interval 5 seconds
> EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,66),
> internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> kjournald starting. Commit interval 5 seconds
> EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,67),
> internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> kjournald starting. Commit interval 5 seconds
> EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,70),
> internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> kjournald starting. Commit interval 5 seconds
> EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,71),
> internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> hub.c: new USB device 00:1d.3-1, assigned address 2
> kjournald starting. Commit interval 5 seconds
> EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,72),
> internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> usb.c: USB device 2 (vend/prod 0x58f/0x9360) is not
> claimed by any active driver.
> PCI: Setting latency timer of device 00:1d.7 to 64
> ehci_hcd 00:1d.7: Intel Corp. 82801EB USB2
> ehci_hcd 00:1d.7: irq 23, pci mem e092ac00
> usb.c: new USB bus registered, assigned bus number 5
> ehci_hcd 00:1d.7: enabled 64bit PCI DMA
> PCI: 00:1d.7 PCI cache line size set incorrectly (0
> bytes) by BIOS/FW.
> PCI: 00:1d.7 PCI cache line size corrected to 32.
> ehci_hcd 00:1d.7: USB 2.0 enabled, EHCI 1.00, driver
> 2003-Jun-19/2.4
> usb.c: USB disconnect on device 00:1d.3-1 address 2
> usb.c: USB disconnect on device 00:1d.1-2 address 2
> hub.c: USB hub found
> hub.c: 8 ports detected
> uhci.c: USB Universal Host Controller Interface driver
> v1.1
> hub.c: new USB device 00:1d.1-2, assigned address 3
> scanner.c: USB scanner device (0x03f0/0x0401) now
> attached to scanner0
> hub.c: new USB device 00:1d.3-1, assigned address 3
> usb.c: USB device 3 (vend/prod 0x58f/0x9360) is not
> claimed by any active driver.
> eth0: Setting 100mbps full-duplex based on
> auto-negotiated partner ability 45e1.usb-uhci.c: ENXIO
> 80000380, flags 0, urb df35e8e0, burb df35eb60
> usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6
> len 18 ret -6
> usb-uhci.c: ENXIO 80000380, flags 0, urb df35ece0,
> burb df35eb60
> usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6
> len 18 ret -6
> usb_control/bulk_msg: timeout
> usb_control/bulk_msg: timeout
> usb_control/bulk_msg: timeout
> usb_control/bulk_msg: timeout
> 
> TRYING to install hpijs according to instructions
> given in the sourceforge.net site. 
> Second step (make):
> 
> hpd:~/hpijs-1.4.1# make
> source='hpijs.cpp' object='hpijs.o' libtool=no \
> depfile='.deps/hpijs.Po' tmpdepfile='.deps/hpijs.TPo'
> \
> depmode=none /bin/sh ./depcomp \
> g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
> -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"hpijs\"
> -DVERSION=\"1.4.1\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1
> -DHAVE_MALLOC_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1
> -DVERSION=\"1.4.1\" -DHAVE_STRTOD=1 -DHAVE_STRTOL=1
> -DHAVE_LIBM=1 -I. -I. -O2 -Wall -DAPDK_LITTLE_ENDIAN
> -DAPDK_DJ660 -DAPDK_DJ6xx -DAPDK_DJ6xxPhoto
> -DAPDK_DJ8xx -DAPDK_DJ9xx -DAPDK_DJ9xxVIP -DAPDK_DJ630
> -DAPDK_APOLLO2XXX -DAPDK_APOLLO21XX -DAPDK_APOLLO2560
> -DAPDK_DJ600 -DAPDK_DJ350 -DAPDK_DJ8x5 -DAPDK_PSP100
> -DAPDK_AUTODUPLEX -DAPDK_HIGH_RES_MODES -DAPDK_LJMONO
> -DAPDK_DJ540 -DAPDK_DJ850 -DAPDK_DJ890 -DAPDK_DJ3320
> -DAPDK_LJCOLOR -DAPDK_DJGENERICVIP -DAPDK_BUFFER_SEND
> -DAPDK_LDL_COMPRESS -DAPDK_EXTENDED_MEDIASIZE
> -DAPDK_MLC_PRINTER -DAPDK_AUTO_INCLUDE -c -o hpijs.o
> `test -f 'hpijs.cpp' || echo './'`hpijs.cpp
> ./depcomp: line 414: exec: g++: not found
> make: *** [hpijs.o] Error 127
> 
> TRING to install a custom made alsa-modules.deb
> 
> hpd:/usr/src# dpkg -i alsa-modules-2.4.22*deb
> (Reading database ... 99718 files and directories
> currently installed.)
> Preparing to replace alsa-modules-2.4.22
> 0.9.6-5+custom.13.0 (using
> alsa-modules-2.4.22_0.9.6-5+custom.13.0_i386.deb) ...
> Unpacking replacement alsa-modules-2.4.22 ...
> Setting up alsa-modules-2.4.22 (0.9.6-5+custom.13.0)
> ...
> Configuration file for ALSA 0.9 exists.
> Attempting to start.
> 
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.22/kernel/drivers/media/video/bttv.o
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.22/kernel/drivers/media/video/msp3400.o
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.22/kernel/drivers/media/video/tda7432.o
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.22/kernel/drivers/media/video/tda9875.o
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.22/kernel/drivers/media/video/tda9887.o
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.22/kernel/drivers/media/video/tuner.o
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.22/kernel/drivers/media/video/tvaudio.o
> Shutting down ALSA (unknown version): not running
> Starting ALSA (version 0.9.6): warning, no drivers
> defined in /etc/modules.conf failed
> invoke-rc.d: initscript alsa, action "restart" failed.
> dpkg: error processing alsa-modules-2.4.22
> (--install):
> subprocess post-installation script returned error
> exit status 1
> Errors were encountered while processing:
> alsa-modules-2.4.22
> hpd:/usr/src#
> 
> Obvioulsy I need some pointers here. I am running sid,
> kernel 2.4.22
> 
> I have scsi support in the kernel, however, my cd
> drives are seen as atapi.
> 
> hpd:/usr/src# cdrecord --scanbus
> Cdrecord-Clone 2.01a18 (i686-pc-linux-gnu) Copyright
> (C) 1995-2003 J?rg Schilling
> cdrecord.mmap: No such file or directory. Cannot open
> '/dev/pg*'. Cannot open SCSI driver.
> cdrecord.mmap: For possible targets try 'cdrecord
> -scanbus'. Make sure you are root.
> cdrecord.mmap: For possible transport specifiers try
> 'cdrecord dev=help'.
> cdrecord.mmap: Also make sure that you have loaded the
> sg driver and the driver for
> cdrecord.mmap: SCSI hardware, eg. ide-scsi if you run
> IDE/ATAPI drives over
> cdrecord.mmap: ide-scsi emulation. Read
> /usr/share/doc/cdrecord/README.ATAPI.setup!
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
> 



Reply to: