[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
insmod pt_drv failed
From: ####@####.#### (Haiko Appel) Date: 18 Oct 2000 22:02:49 -0000 Message-Id: <39EE1E93.B3436C5A@t-online.de> have any problems: ~/scanner/sane-1.0.3/backend/plustek_driver# make load /sbin/modprobe pt_drv || exit 1 /lib/modules/2.2.14/misc/pt_drv.o: init_module: Device or resource busy ???? /lib/modules/2.2.14 misc/pt_drv.o: insmod /lib/modules/2.2.14/misc/pt_drv.o failed /lib/modules/misc/pt_drv.o: init_module: Device or resource busy /lib/modules/misc/pt_drv.o: insmod /lib/modules/misc/pt_drv.o failed /lib/modules/misc/pt_drv.o: insmod pt_drv failed make: ***[load] Error1 can everybody help me where i have mistakes?? Thanks Haiko | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: insmod pt_drv failed
From: ####@####.#### (G. Jaeger) Date: 19 Oct 2000 18:49:34 -0000 Message-Id: <13mKn9-0uoWVEC@fwd00.sul.t-online.com> On Thu, 19 Oct 2000 00:05:07 +0200, Haiko Appel wrote: >have any problems: > >~/scanner/sane-1.0.3/backend/plustek_driver# make load > >/sbin/modprobe pt_drv || exit 1 >/lib/modules/2.2.14/misc/pt_drv.o: init_module: Device or resource >busy ???? >/lib/modules/2.2.14 misc/pt_drv.o: insmod >/lib/modules/2.2.14/misc/pt_drv.o failed >/lib/modules/misc/pt_drv.o: init_module: Device or resource busy >/lib/modules/misc/pt_drv.o: insmod /lib/modules/misc/pt_drv.o failed >/lib/modules/misc/pt_drv.o: insmod pt_drv failed >make: ***[load] Error1 > > >can everybody help me where i have mistakes?? > >Thanks > >Haiko Hey Haiko, please enable the debug messages in the Makefile, recompile and reload. After that, send us the output of dmesg. Gerhard ---------------------------------------- ####@####.#### ---------------------------------------- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
insmod pt_drv failed
From: Heiko Schmidt-Evers ####@####.#### Date: 20 May 2002 15:57:14 -0000 Message-Id: <200205201956.53272.Heiko.Schmidt-Evers@gmx.de> HI I have the Plustek OpticPro 12000P. When i am trying to load the Plustek Scanner Driver for Linux i get this msg: linux:/home/heiko/scanner/backend/plustek_driver # make load /sbin/modprobe pt_drv || exit 1 /lib/modules/2.4.18-4GB/misc/pt_drv.o: init_module: Success Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters /lib/modules/2.4.18-4GB/misc/pt_drv.o: insmod /lib/modules/2.4.18-4GB/misc/pt_drv.o failed /lib/modules/2.4.18-4GB/misc/pt_drv.o: insmod pt_drv failed make: *** [load] Fehler 1 linux:/home/heiko/scanner/backend/plustek_driver # Someone has written a similar problem to this list. But in his case, the lights of the Scanner turned on, when he got this errormsg, mine did not. He was told to send the output of dmesg after the make load step I hope you meant this one : Linux version 2.4.18-4GB ####@####.#### (gcc version 2.95.3 20010315 (SuSE)) #1 Wed Mar 27 13:57:05 UTC 2002 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 0000000008000000 (usable) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) Scanning bios EBDA for MXT signature On node 0 totalpages: 32768 zone(0): 4096 pages. zone(1): 28672 pages. zone(2): 0 pages. Building zonelist for node : 0 Kernel command line: auto BOOT_IMAGE=linux ro root=342 hdc=ide-scsi ide_setup: hdc=ide-scsi Initializing CPU#0 Detected 350.803 MHz processor. Console: colour dummy device 80x25 Calibrating delay loop... 699.59 BogoMIPS Memory: 125752k/131072k available (1389k kernel code, 4932k reserved, 406k data, 120k init, 0k highmem) Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes) Inode-cache hash table entries: 8192 (order: 4, 65536 bytes) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes) Page-cache hash table entries: 32768 (order: 5, 131072 bytes) CPU: Before vendor init, caps: 008001bf 808009bf 00000000, vendor = 2 CPU: L1 I Cache: 32K (32 bytes/line), D cache 32K (32 bytes/line) CPU: After vendor init, caps: 008001bf 808009bf 00000000 00000000 CPU: After generic, caps: 008001bf 808009bf 00000000 00000000 CPU: Common caps: 008001bf 808009bf 00000000 00000000 CPU: AMD-K6(tm) 3D processor stepping 00 Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX mtrr: v1.40 (20010327) Richard Gooch ####@####.#### mtrr: detected mtrr type: none PCI: PCI BIOS revision 2.10 entry at 0xfb290, last bus=1 PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Using IRQ router VIA [1106/0586] at 00:07.0 Activating ISA DMA hang workarounds. Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16) mxt_scan_bios: enter Starting kswapd kinoded started VFS: Diskquotas version dquot_6.5.0 initialized ACPI: APM is already active, exiting vesafb: framebuffer at 0xe4000000, mapped to 0xc880d000, size 8192k vesafb: mode is 800x600x16, linelength=1600, pages=7 vesafb: protected mode interface info at c000:7b00 vesafb: scrolling: redraw vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0 Looking for splash picture.... found (800x600, 30406 bytes). Console: switching to colour frame buffer device 82x26 fb0: VESA VGA frame buffer device pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI SERIAL_ACPI enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A Real Time Clock Driver v1.10e block: 128 slots per queue, batch=32 RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller on PCI bus 00 dev 39 VP_IDE: chipset revision 6 VP_IDE: not 100% native mode: will probe irqs later VP_IDE: VIA vt82c586b (rev 41) IDE UDMA33 controller on pci00:07.1 ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:DMA hda: SAMSUNG SW0434A (4.3GB), ATA DISK drive hdb: ST320413A, ATA DISK drive hdc: CW038D ATAPI CD-R/RW, ATAPI CD/DVD-ROM drive hdd: CD-524EA-B, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 blk: queue c031ece4, I/O limit 4095Mb (mask 0xffffffff) hda: failed write cache flush, disabling ordered write support hda: 8406720 sectors (4304 MB) w/493KiB Cache, CHS=523/255/63, UDMA(33) blk: queue c031ee34, I/O limit 4095Mb (mask 0xffffffff) hdb: safely enabled flush hdb: 39102336 sectors (20020 MB) w/1024KiB Cache, CHS=2434/255/63, UDMA(33) hdd: no flushcache support hdd: ATAPI 24X CD-ROM drive, 128kB Cache Uniform CD-ROM driver Revision: 3.12 ide-floppy driver 0.99 Partition check: hda: hda1 hda2 hdb: hdb1 hdb2 Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 loop: loaded (max 16 devices) Cronyx Ltd, Synchronous PPP and CISCO HDLC (c) 1994 Linux port (c) 1998 Building Number Three Ltd & Jan "Yenya" Kasprzak. ide-floppy driver 0.99 SCSI subsystem driver Revision: 1.00 request_module[scsi_hostadapter]: Root fs not mounted request_module[scsi_hostadapter]: Root fs not mounted md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 1024 buckets, 8Kbytes TCP: Hash tables configured (established 8192 bind 8192) Linux IP multicast router 0.06 plus PIM-SM NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. RAMDISK: Compressed image found at block 0 Uncompressing............done. Freeing initrd memory: 573k freed VFS: Mounted root (ext2 filesystem). hdc: no flushcache support scsi0 : SCSI host adapter emulation for IDE ATAPI devices Vendor: CyberDrv Model: CW038D CD-R/RW Rev: 120C Type: CD-ROM ANSI SCSI revision: 02 Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray reiserfs: checking transaction log (device 03:42) ... Warning, log replay starting on readonly filesystem reiserfs: replayed 28 transactions in 9 seconds Using r5 hash to sort names ReiserFS version 3.6.25 VFS: Mounted root (reiserfs filesystem) readonly. change_root: old root has d_count=2 Trying to unmount old root ... okay Freeing unused kernel memory: 120k freed md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. Adding Swap: 401584k swap-space (priority 42) winbond-840.c:v1.01-d (2.4 port) Nov-17-2001 Donald Becker ####@####.#### http://www.scyld.com/network/drivers.html PCI: Assigned IRQ 5 for device 00:0b.0 eth0: Winbond W89c840 at 0xc91ee000, 00:00:e8:22:29:e4, IRQ 5. eth0: MII PHY 0181b802h found at address 1, status 0x782d advertising 05e1. eth0: Setting 100MBit-full-duplex based on MII#1 usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-uhci.c: $Revision: 1.275 $ time 14:22:01 Mar 27 2002 usb-uhci.c: High bandwidth mode enabled usb-uhci.c: USB UHCI at I/O 0xe400, 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 hub.c: USB new device connect on bus1/1, assigned device number 2 usb.c: USB device 2 (vend/prod 0x43d/0x21) is not claimed by any active driver. VFS: Disk change detected on device sr(11,0) usb-uhci.c: ENXIO 80000280, flags 0, urb c3ea00e0, burb c3ea01e0 usb-uhci.c: ENXIO 80000280, flags 0, urb c3ea00e0, burb c3ea01e0 usb-uhci.c: ENXIO 80000280, flags 0, urb c3ea00e0, burb c3ea01e0 usb.c: registered new driver usblp printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 printer.c: v0.8:USB Printer Device Class driver usb_control/bulk_msg: timeout isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found IPv6 v0.8 for NET4.0 IPv6 over IPv4 tunneling driver PCI: Found IRQ 9 for device 00:09.0 eth0: no IPv6 routers present pt_drv : driver version 0.40-18 parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP] pt_drv : no device(s) detected, (-9020) pt_drv : driver version 0.40-18 pt_drv : no device(s) detected, (-9020) pt_drv : driver version 0.40-18 pt_drv : no device(s) detected, (-9020) pt_drv : driver version 0.40-18 pt_drv : no device(s) detected, (-9020) pt_drv : driver version 0.40-18 pt_drv : no device(s) detected, (-9020) pt_drv : driver version 0.40-18 pt_drv : no device(s) detected, (-9020) pt_drv : driver version 0.40-18 pt_drv : no device(s) detected, (-9020) Sorry that this mail got so long, but i do not know, whether i would have deleted some usefull information if i shorted it. I hope someone can help me with it. The Scanner is allright. It worked with windows. thx, Heiko. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: insmod pt_drv failed
From: "Jaeger, Gerhard" ####@####.#### Date: 22 May 2002 18:39:27 -0000 Message-Id: <17AarW-05IbRcC@fmrl09.sul.t-online.com> On Monday, 20. May 2002 19:56, Heiko Schmidt-Evers wrote: > HI > > I have the Plustek OpticPro 12000P. > When i am trying to load the Plustek Scanner Driver for Linux i get this > msg: > > linux:/home/heiko/scanner/backend/plustek_driver # make load > /sbin/modprobe pt_drv || exit 1 > /lib/modules/2.4.18-4GB/misc/pt_drv.o: init_module: Success > Hint: insmod errors can be caused by incorrect module parameters, including > invalid IO or IRQ parameters > /lib/modules/2.4.18-4GB/misc/pt_drv.o: insmod > /lib/modules/2.4.18-4GB/misc/pt_drv.o failed > /lib/modules/2.4.18-4GB/misc/pt_drv.o: insmod pt_drv failed > make: *** [load] Fehler 1 > linux:/home/heiko/scanner/backend/plustek_driver # > > Someone has written a similar problem to this list. But in his case, the > lights of the Scanner turned on, when he got this errormsg, mine did not. > > He was told to send the output of dmesg after the make load step > > I hope you meant this one : [SNIP SNAP] Nope! Enable the debug output in the kernel module by using make clean make DEBUG=y all then reinstall the driver and do the make load step... And now do the dmesg step and send us this ouput... Gerhard ------------------------- gerhard AT gjaeger DOT de | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: insmod pt_drv failed
From: Heiko Schmidt-Evers ####@####.#### Date: 23 May 2002 16:41:22 -0000 Message-Id: <200205232040.27002.Heiko.Schmidt-Evers@gmx.de> hi. On Wednesday, 22. Mai 2002 20:29 Jaeger, Gerhard wrote: > On Monday, 20. May 2002 19:56, Heiko Schmidt-Evers wrote: > > HI > > > > I have the Plustek OpticPro 12000P. > > When i am trying to load the Plustek Scanner Driver for Linux i get this > > msg: > > > > linux:/home/heiko/scanner/backend/plustek_driver # make load > > /sbin/modprobe pt_drv || exit 1 > > /lib/modules/2.4.18-4GB/misc/pt_drv.o: init_module: Success > > Hint: insmod errors can be caused by incorrect module parameters, > > including invalid IO or IRQ parameters > > /lib/modules/2.4.18-4GB/misc/pt_drv.o: insmod > > /lib/modules/2.4.18-4GB/misc/pt_drv.o failed > > /lib/modules/2.4.18-4GB/misc/pt_drv.o: insmod pt_drv failed > > make: *** [load] Fehler 1 > > linux:/home/heiko/scanner/backend/plustek_driver # > > > Enable the debug output in the kernel module by using > make clean > make DEBUG=y all > > then reinstall the driver and do the make load step... > And now do the dmesg step and send us this ouput... Ok. The dmesg gives me this output: [...] i deleted the lines, which did not change. ********************************************* pt_drv: init_module() pt_drv : driver version 0.40-18 ProcFsInitialize() ptdrvInit(0) Init settings done ScanData = 0xc2ea4000 Using fast I/O Requested port at 0x378 parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP] Requested port (0x378) found Port mode reported: (0x0047) Port for device 0 registered ptdrvOpen(port=0x378) Try to claim the parport parport-modi: SPP PS/2 EPP EPP(ECP) PS/2(ECP) Using EPP-mode Starting Scanner-Autodetection ************ DETECTP48xx ************ ModelSet4800() modelInitPageSettings() A4 set ModelSet4800() done. P48xxInitAsic() DacInitialize() ImageInitialize() IOFuncInitialize() IOInitialize() MotorInitialize() Dataport = 0x0378 Ctrlport = 0x037a Test 0x55 Test 0xAA Compare data=0x7e and status=0xe, port=0x378 p48xxReadWriteTest() Found a 96003 ASIC at Reg 0x13 ModelSet4830() modelInitPageSettings() A4 set ModelSet4830() done. p48xxDoTest() Bank 0 overwritten found 0 bytes of memory No memory ! No scanner... p48xxReadWriteTest() Found a 96003 ASIC at Reg 0x13 ModelSet4830() modelInitPageSettings() A4 set ModelSet4830() done. p48xxDoTest() Bank 0 overwritten found 0 bytes of memory No memory ! No scanner... p48xxReadWriteTest() Found a 96003 ASIC at Reg 0x13 ModelSet4830() modelInitPageSettings() A4 set ModelSet4830() done. p48xxDoTest() Bank 0 overwritten found 0 bytes of memory No memory ! No scanner... p48xxReadWriteTest() Found a 96003 ASIC at Reg 0x13 ModelSet4830() modelInitPageSettings() A4 set ModelSet4830() done. p48xxDoTest() Bank 0 overwritten found 0 bytes of memory No memory ! No scanner... p48xxReadWriteTest() Found a 96003 ASIC at Reg 0x13 ModelSet4830() modelInitPageSettings() A4 set ModelSet4830() done. p48xxDoTest() Bank 0 overwritten found 0 bytes of memory No memory ! No scanner... detectScannerConnection() returns -9020. ************* ASIC9800x ************* IOInitialize() ASIC = 0x20 Unknown ASIC-ID *** DETECTION DONE, result: -9020 *** ptdrvClose() MiscRestorePort() - no need to restore portmode ! Releasing parport ptdrvShutdown() cleanup device 0 Port unregistered ProcFsShutdown() pt_drv: proc del 'info' root='pt_drv' pt_drv: proc del 'pt_drv' root='/proc' pt_drv : no device(s) detected, (-9020) --------------------------------------------- linux:/home/heiko/scanner/backend/plustek_driver # What can I do next??? Heiko. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: insmod pt_drv failed
From: "Jaeger, Gerhard" ####@####.#### Date: 23 May 2002 18:59:36 -0000 Message-Id: <17AxeK-0R7F1EC@fmrl02.sul.t-online.com> On Thursday, 23. May 2002 20:40, Heiko Schmidt-Evers wrote: [SNIP] > ********************************************* > pt_drv: init_module() > pt_drv : driver version 0.40-18 > ProcFsInitialize() > ptdrvInit(0) > Init settings done > ScanData = 0xc2ea4000 > Using fast I/O > Requested port at 0x378 > parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP] > Requested port (0x378) found > Port mode reported: (0x0047) > Port for device 0 registered > ptdrvOpen(port=0x378) > Try to claim the parport --> parport-modi: SPP PS/2 EPP EPP(ECP) PS/2(ECP) > Using EPP-mode > Starting Scanner-Autodetection [SNAP] > p48xxReadWriteTest() --> Found a 96003 ASIC at Reg 0x13 > ModelSet4830() > modelInitPageSettings() > A4 set > ModelSet4830() done. > p48xxDoTest() > Bank 0 overwritten > found 0 bytes of memory --> No memory ! No scanner... [SNAP] > linux:/home/heiko/scanner/backend/plustek_driver # > > What can I do next??? Change the settings of your parport! The ASIC is detected correctly, but in EPP mode, the driver can't access the memory! As first test, try and set the parport to SPP (in the BIOS), then you might try EPP but NOT ECP... Gerhard ------------------------- gerhard AT gjaeger DOT de | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: insmod pt_drv failed
From: Heiko Schmidt-Evers ####@####.#### Date: 23 May 2002 23:59:45 -0000 Message-Id: <200205240358.55428.Heiko.Schmidt-Evers@gmx.de> On Thursday, 23. May 2002 20:49 Jaeger, Gerhard wrote: [...] > Change the settings of your parport! The ASIC is detected > correctly, but in EPP mode, the driver can't access the memory! > > As first test, try and set the parport to SPP (in the BIOS), then > you might try EPP but NOT ECP... In my BIOS-Setup i have four options for "Onboard Parallel Mode" The last time I had EEP/SPP and "Parallel Port EEP Type": EPP 1.9. Shall I try EPP 1.7? There are two other options with ECP. I did not try them. This time i tried SPP like you said. This is the new mesg output with SPP mode: ********************************************* pt_drv: init_module() pt_drv : driver version 0.40-18 ProcFsInitialize() ptdrvInit(0) Init settings done ScanData = 0xc5e68000 Using fast I/O Requested port at 0x378 parport0: PC-style at 0x378, irq 7 [PCSPP] Requested port (0x378) found Port mode reported: (0x0041) Port for device 0 registered ptdrvOpen(port=0x378) Try to claim the parport parport-modi: SPP Using SPP-mode Trying faster mode... Starting Scanner-Autodetection ************ DETECTP48xx ************ ModelSet4800() modelInitPageSettings() A4 set ModelSet4800() done. P48xxInitAsic() DacInitialize() ImageInitialize() IOFuncInitialize() IOInitialize() MotorInitialize() Dataport = 0x0378 Ctrlport = 0x037a Test 0x55 Test 0xAA Compare data=0x7f and status=0x7f, port=0x378 detectScannerConnection() returns -9021. ************* ASIC9800x ************* IOInitialize() ASIC = 0x77 Unknown ASIC-ID *** DETECTION DONE, result: -9020 *** ptdrvClose() MiscRestorePort() - no need to restore portmode ! Releasing parport ptdrvShutdown() cleanup device 0 Port unregistered ProcFsShutdown() pt_drv: proc del 'info' root='pt_drv' pt_drv: proc del 'pt_drv' root='/proc' pt_drv : no device(s) detected, (-9020) --------------------------------------------- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |