[sane-devel] Xsane locks system w/UMAX Astra 1200S
David Anderson schrieb: No luck with the smaller buffer size, unfortunately. I did find this past thread on the Sane mailing list archives: http://lists.alioth.debian.org/pipermail/sane-devel/2002-September/004071.html Someone had the same problem as me. One person was able to resolve the problem by disabling SCSI bus resets on their Adaptec card. I checked my SCSI card BIOS (Adaptec 2930CU) and didn't see anything that was related to SCSI bus resets. I tried disabling several things, powering off, booting up, and trying again - still hung every time. What irks me the most is that it used to work! And I bet if I reloaded Gentoo (a rather large task), it would work again. Something changed somewhere along the line that broke it. I bet it was when I did an 'emerge system' on my box, which will automatically update Gentoo. I work at a computer shop. I'm going to see if I can borrow another SCSI card and give that a try. If anyone has any suggestions, I'm all ears. Not really, but: As I already wrote, the kernel must be involved in the crash in some way, because your machine freezes completely. Perhaps it helps if you contact Justin Gibbs, the maintainer of the aic7xxx driver, for further advice. You'll find his email address in the source files of the driver. Abel
[sane-devel] Xsane locks system w/UMAX Astra 1200S
1) I have confirmed that the CD Writer still functions fine. 2) I forced the SCSI card to use IRQ 4 (serial ports are disabled). N= o change. I pulled some extra, unused cards out of the system and also moved the SCSI card to a different slot. No change. I'm going to try XSane .92 now. Hello Dave, that will not change anything. XSane is a frontend for SANE and has nothing to do with the comunication to the scanner. Oliver --=20 http://www.xsane.org http://www.rauch-domain.de http://www.sane-project.org
[sane-devel] Xsane locks system w/UMAX Astra 1200S
Dave, A few updates. 1) I have confirmed that the CD Writer still functions fine. 2) I forced the SCSI card to use IRQ 4 (serial ports are disabled). No change. I pulled some extra, unused cards out of the system and also moved the SCSI card to a different slot. No change. I'm going to try XSane .92 now. As Oliver already wrote, updating XSane will probably not change very much regarding the crash. You could try to use another version of sane-backends, but I have doubts that this will help. Sane frontends like XSane or scanimage are just ordinary user space programs, and the scanner specific backends are ordinary libraries linked to the frontends. While a frontend or a backend may contain bugs cuasing segfault or garbled images, it is highly unlikely that a user program itself can freeze a Linux box as you are experiencing. This is the reason that I suspect either a hardware failure -- or you hit perhaps a kernel bug. One noticeable difference between most programs accessing CD drives/writers and Sane backend for SCSI scanners is that Sane uses comparatively large data sizes in its SCSI commands (typically 128 kB for READ commands), while CD writing software uses probably data block sizes 32 kB. It could be that these larger data block sizes are somehow related with your bug. (though they are not the cause, I think - Sane uses these block sizes since several years without any problem) You could try to reduce the block size by setting option scsi-buffer-size-min and option scsi-buffer-size-max to values like 16384 or 32768. Abel
[sane-devel] Xsane locks system w/UMAX Astra 1200S
On Sunday 22 February 2004 21:51, abel deuring wrote: You could try to reduce the block size by setting option scsi-buffer-size-min and option scsi-buffer-size-max to values like 16384 or 32768. When you try this then I suggest to use small scanareas and disable the option quality calibration in the standard options window. Large scanareas with option quality calibration often need large scsi buffer sizes. Oliver --=20 http://www.xsane.org http://www.rauch-domain.de http://www.sane-project.org
[sane-devel] Xsane locks system w/UMAX Astra 1200S
Gentoo Linux w/2.4.22 kernel. XSane .91 installed. When I run XSane, it detects the Umax Astra 1200S (Scsi) scanner. When I click 'Acquire Preview' or 'Scan', the scanner starts to go and then the system hangs. Mouse won't move, can't toggle numlock, and can't CTRL+ALT+BACKSPACE to kill X. Any thoughts? What's strange is this did work a few months ago. Nothing has really changed as far as I know. I.E. No new devices have been added to the system, and no settings were changed, at least that I know of. As far as I can guess, this is some sort of resource conflict. I'm just not sure how to go about troubleshooting. Advice is welcome. The SCSI card is Adaptec 2930. cat /proc/scsi/scsi shows: Attached devices: Host: scsi0 Channel: 00 Id: 05 Lun: 00 Vendor: UMAX Model: Astra 1200S Rev: V3.1 Type: Scanner ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 06 Lun: 00 Vendor: HP Model: CD-Writer+ 9200 Rev: 1.0e Type: CD-ROM ANSI SCSI revision: 04 Host: scsi1 Channel: 00 Id: 00 Lun: 00 Vendor: PIONEER Model: DVD-ROM DVD-104F Rev: 2.02 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi1 Channel: 00 Id: 01 Lun: 00 Vendor: MATSHITA Model: DVD-RAM LF-D311 Rev: A127 Type: CD-ROM ANSI SCSI revision: 02 Thanks. -Dave
[sane-devel] Xsane locks system w/UMAX Astra 1200S
David Anderson schrieb: Gentoo Linux w/2.4.22 kernel. XSane .91 installed. When I run XSane, it detects the Umax Astra 1200S (Scsi) scanner. When I click 'Acquire Preview' or 'Scan', the scanner starts to go and then the system hangs. Mouse won't move, can't toggle numlock, and can't CTRL+ALT+BACKSPACE to kill X. Any thoughts? What's strange is this did work a few months ago. Nothing has really changed as far as I know. I.E. No new devices have been added to the system, and no settings were changed, at least that I know of. As far as I can guess, this is some sort of resource conflict. I'm just not sure how to go about troubleshooting. Advice is welcome. The SCSI card is Adaptec 2930. The aic7xxx driver is quite stable, so even if you have a broken scanner or broken SCSI cabling, you should simply get some error messages. A completely frozen computer lets me suspect a serious problem with the hardware of your Linux box. I'd recommend to test another SCSI adapter (Adaptec are generally fine), and, if that's possible for you, to test the same Linux installation on a different computer. cat /proc/scsi/scsi shows: Attached devices: Host: scsi0 Channel: 00 Id: 05 Lun: 00 Vendor: UMAX Model: Astra 1200S Rev: V3.1 Type: Scanner ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 06 Lun: 00 Vendor: HP Model: CD-Writer+ 9200 Rev: 1.0e Type: CD-ROM ANSI SCSI revision: 04 Can you successfully access the CD writer? Abel
[sane-devel] Xsane locks system w/UMAX Astra 1200S
This box has always been stable. And yes, I can burn CDs fine, which also led me to believe the card is fine. I'm probably going to try getting the SCSI card to use another IRQ. I should be able to manually asign it in the BIOS. On Sat, 2004-02-21 at 17:40, abel deuring wrote: David Anderson schrieb: Gentoo Linux w/2.4.22 kernel. XSane .91 installed. When I run XSane, it detects the Umax Astra 1200S (Scsi) scanner. When I click 'Acquire Preview' or 'Scan', the scanner starts to go and then the system hangs. Mouse won't move, can't toggle numlock, and can't CTRL+ALT+BACKSPACE to kill X. Any thoughts? What's strange is this did work a few months ago. Nothing has really changed as far as I know. I.E. No new devices have been added to the system, and no settings were changed, at least that I know of. As far as I can guess, this is some sort of resource conflict. I'm just not sure how to go about troubleshooting. Advice is welcome. The SCSI card is Adaptec 2930. The aic7xxx driver is quite stable, so even if you have a broken scanner or broken SCSI cabling, you should simply get some error messages. A completely frozen computer lets me suspect a serious problem with the hardware of your Linux box. I'd recommend to test another SCSI adapter (Adaptec are generally fine), and, if that's possible for you, to test the same Linux installation on a different computer. cat /proc/scsi/scsi shows: Attached devices: Host: scsi0 Channel: 00 Id: 05 Lun: 00 Vendor: UMAX Model: Astra 1200S Rev: V3.1 Type: Scanner ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 06 Lun: 00 Vendor: HP Model: CD-Writer+ 9200 Rev: 1.0e Type: CD-ROM ANSI SCSI revision: 04 Can you successfully access the CD writer? Abel
[sane-devel] Xsane locks system w/UMAX Astra 1200S
A few updates. 1) I have confirmed that the CD Writer still functions fine. 2) I forced the SCSI card to use IRQ 4 (serial ports are disabled). No change. I pulled some extra, unused cards out of the system and also moved the SCSI card to a different slot. No change. I'm going to try XSane .92 now. -Dave On Sat, 2004-02-21 at 17:40, abel deuring wrote: David Anderson schrieb: Gentoo Linux w/2.4.22 kernel. XSane .91 installed. When I run XSane, it detects the Umax Astra 1200S (Scsi) scanner. When I click 'Acquire Preview' or 'Scan', the scanner starts to go and then the system hangs. Mouse won't move, can't toggle numlock, and can't CTRL+ALT+BACKSPACE to kill X. Any thoughts? What's strange is this did work a few months ago. Nothing has really changed as far as I know. I.E. No new devices have been added to the system, and no settings were changed, at least that I know of. As far as I can guess, this is some sort of resource conflict. I'm just not sure how to go about troubleshooting. Advice is welcome. The SCSI card is Adaptec 2930. The aic7xxx driver is quite stable, so even if you have a broken scanner or broken SCSI cabling, you should simply get some error messages. A completely frozen computer lets me suspect a serious problem with the hardware of your Linux box. I'd recommend to test another SCSI adapter (Adaptec are generally fine), and, if that's possible for you, to test the same Linux installation on a different computer. cat /proc/scsi/scsi shows: Attached devices: Host: scsi0 Channel: 00 Id: 05 Lun: 00 Vendor: UMAX Model: Astra 1200S Rev: V3.1 Type: Scanner ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 06 Lun: 00 Vendor: HP Model: CD-Writer+ 9200 Rev: 1.0e Type: CD-ROM ANSI SCSI revision: 04 Can you successfully access the CD writer? Abel