[Bug 226044] New: HAL doesn't recognize my SCSI scanner
https://bugzilla.novell.com/show_bug.cgi?id=226044 Summary: HAL doesn't recognize my SCSI scanner Product: openSUSE 10.2 Version: RC 5 Platform: i386 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Hotplug AssignedTo: dkukawka@novell.com ReportedBy: jsmeix@novell.com QAContact: qa@suse.de I have the following SCSI scanner: lsscsi -c (note that the vendor entry is empty for this device) ------------------------------------------------------------------------------ Host: scsi0 Channel: 00 Target: 06 Lun: 00 Vendor: Model: ScanMaker X12USL Rev: 1.30 Type: Scanner ANSI SCSI revision: 02 ------------------------------------------------------------------------------ lsscsi -v ------------------------------------------------------------------------------ [0:0:6:0] scanner ScanMaker X12USL 1.30 - dir: /sys/bus/scsi/devices/0:0:6:0 [/sys/devices/platform/host0/target0:0:6/0:0:6:0] ------------------------------------------------------------------------------ I have the following SCSI host adapter lspci -v ------------------------------------------------------------------------------ 02:0b.0 SCSI storage controller: Advanced System Products, Inc ABP940-U / ABP960-U (rev 03) Subsystem: Advanced System Products, Inc ASC1300 SCSI Adapter Flags: bus master, medium devsel, latency 64, IRQ 169 I/O ports at b800 [size=256] Memory at feafec00 (32-bit, non-prefetchable) [size=256] Expansion ROM at 30000000 [disabled] [size=64K] ------------------------------------------------------------------------------ which is recognized by HAL but there is nothing in "lshal" about my SCSI scanner. The SCSI kernel module for the host adapter is advansys. It was not automatically set up and therefore I did it manually so that it is loaded during boot via /etc/sysconfig/kernel ------------------------------------------------------------------------------ INITRD_MODULES="processor thermal advansys piix fan jbd ext3 edd" ------------------------------------------------------------------------------ By the way: The scanner works fine. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226044 ------- Comment #1 from jsmeix@novell.com 2006-12-05 06:41 MST ------- Created an attachment (id=108343) --> (https://bugzilla.novell.com/attachment.cgi?id=108343&action=view) output of lshal -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226044 ------- Comment #2 from jsmeix@novell.com 2006-12-05 06:41 MST ------- Created an attachment (id=108344) --> (https://bugzilla.novell.com/attachment.cgi?id=108344&action=view) output of dmesg -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226044 dkukawka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jsmeix@novell.com ------- Comment #3 from dkukawka@novell.com 2006-12-05 07:03 MST ------- please start hal with: hald --daemon=yes --verbose=yes --use-syslog wait until hal is complete available via lshal, attach the scanner and attach the part of /var/log/messages since the scanner was added, to this bug. Also the related output of 'udevmonitor --env' would be useful. Btw. Worked this before with any other SUSE release? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226044 ------- Comment #4 from jsmeix@novell.com 2006-12-05 07:42 MST ------- I cannot attach a SCSI device during runtime. It is connected and switched on since booting the system. I don't know if it would have worked with any version before because openSUSE 10.2 it the first version where the SCSI kernel module "advansys" works for me. What I did now is: # echo HALTEST | logger # rchal stop Shutting down HAL daemon done # udevmonitor --env udevmonitor prints the received event from the kernel [UEVENT] and the event which udev sends out after rule processing [UDEV] [there are no further messages in udevmonitor] # lshal >/tmp/lshal.2.out # grep -A 10000 HALTEST /var/log/messages >/tmp/messages.out [I switched the scanner off and on with the switch on the scanner but again there are no further messages in udevmonitor] [I switched the scanner off and unplugged it from the power supply and again there are no further messages in udevmonitor and the scanner is still shown in lsscsi - i.e. it seems this doesn't cause any udev event] [I re-plugged power and switched it on angain and as expected there are no further messages in udevmonitor] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226044 ------- Comment #5 from jsmeix@novell.com 2006-12-05 07:43 MST ------- Created an attachment (id=108355) --> (https://bugzilla.novell.com/attachment.cgi?id=108355&action=view) /tmp/lshal.2.out for comment #4 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226044 ------- Comment #6 from jsmeix@novell.com 2006-12-05 07:44 MST ------- Created an attachment (id=108356) --> (https://bugzilla.novell.com/attachment.cgi?id=108356&action=view) /tmp/messages.out for comment #4 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226044 jsmeix@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|jsmeix@novell.com | ------- Comment #7 from jsmeix@novell.com 2006-12-05 07:46 MST ------- Am I right that it is because udevmonitor shows no event so that HAL cannot recognize it? If yes, do you know how I can set up udev so that it works? (Or please re-assign it to a udev expert.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226044 ------- Comment #8 from jsmeix@novell.com 2006-12-05 08:07 MST ------- I did one more test: I disconnected the (switched on) scanner from the SCSI cable and again udevmonitor shows no event and even now it is still listed in "lsscsi" and even after re-connection udevmonitor shows no event (the scanner still works - puhhh!). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226044 dkukawka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|dkukawka@novell.com |hare@novell.com Status|ASSIGNED |NEW ------- Comment #9 from dkukawka@novell.com 2006-12-17 09:40 MST ------- If udev show no events, HAL can't detect the hardware. You need a udev event to get this running. I reassign this to Hannes. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226044
------- Comment #10 from jsmeix@novell.com 2007-01-04 07:45 MST -------
For your information:
(I mentioned the problem on the SANE mailing list)
--------------------------------------------------------------------------
Date: Wed, 03 Jan 2007 20:40:09 +0100
From: ...
To:
https://bugzilla.novell.com/show_bug.cgi?id=226044 hare@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jsmeix@novell.com ------- Comment #11 from hare@novell.com 2007-01-08 02:28 MST ------- First of all: why wasn't it automatically detected / loaded during boot? What does 'lspci' show? Can you please attach the output of 'lspci' and 'lspci -nv'? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226044 jsmeix@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|jsmeix@novell.com | ------- Comment #12 from jsmeix@novell.com 2007-01-08 03:00 MST ------- I don't know why it wasn't automatically detected/loaded during boot. There is a seperated bug report regarding this issue: bug #227892. lspci --------------------------------------------------------------------------- 02:0b.0 SCSI storage controller: Advanced System Products, Inc ABP940-U / ABP960-U (rev 03)02 --------------------------------------------------------------------------- lspci -nv --------------------------------------------------------------------------- 02:0b.0 Class 0100: 10cd:1300 (rev 03) Subsystem: 10cd:1310 Flags: bus master, medium devsel, latency 64, IRQ 169 I/O ports at b800 [size=256] Memory at feafec00 (32-bit, non-prefetchable) [size=256] Expansion ROM at 30000000 [disabled] [size=64K] --------------------------------------------------------------------------- -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226044 hare@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX ------- Comment #14 from hare@novell.com 2007-01-11 05:52 MST ------- And this is as expected. This driver is broken for 64bit. And I don't think we'll fix it anytime soon, if at all :-( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com