LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-09-2002, 05:27 AM   #1
girlkate
LQ Newbie
 
Registered: Dec 2002
Location: Seattle, WA, USA
Distribution: slackware
Posts: 1

Rep: Reputation: 0
Trying to modprobe sym53c416 (scsi driver) causes timeouts and hang


Problem summary: I can't get my scsi card to work (using isapnp). I want to use it to connect a Jaz drive to my box.

System:
Slackware 8.1 (kernel 2.4.18)
AMD-K6 PC, 64KB RAM
SCSI Card: Symbios Logic 53c416

What I Observe:

First, upon boot, the following message may be relevant. It's the only scsi message in the boot:

[snip]
SCSI subsystem driver Revision: 1.00
request_module[scsi_hostadapter]: Root fs not mounted
[snip]

The help text associated with the sym53c416 driver says if you are using isapnp (as I am), you must compile it as a loadable module. (Although I did try to compile it into the kernel as well, with no success.) Because it hangs my system, I took all the scsi stuff out of the boot process and have been testing it manually.

My commands are thus:

root> modprobe isa-pnp
root> isapnp /etc/isapnp.conf
Board 1 has Identity 62 ff ff ff ff 61 41 89 4d: SLI4161 Serial No -1 [checksum 62]
SLI4161/-1[0]{SYM 53C416 }: Port 0x220; IRQ12 --- Enabled OK
root> modprobe sg <---I'm still learning, so I'm throwing in
root> modprobe st both sg and st. Sd is compiled in.
root> modprobe scsi_hostadapter
root> modprobe sym53c416

(Adding "sym53c416=0x220,12" to the last line responds the same)

What happens then is that my terminal will hang with no errors/output. (If I use insmod instead, I only get "Using /lib/modules/2.4.18/kernel/drivers/scsi/sym53c416.o".) In another terminal, I can see the process running in ps, but am unable to kill it, even with kill -9.

In the messages log, the relevant lines are:

Dec 9 02:27:48 ned kernel: isapnp: Scanning for PnP cards...
Dec 9 02:27:48 ned kernel: isapnp: Card 'SYM 53C416'
Dec 9 02:27:48 ned kernel: isapnp: 1 Plug & Play card detected total
Dec 9 02:28:25 ned kernel: sym53c416.c: Version 1.0.0-ac
Dec 9 02:28:25 ned kernel: sym53c416: ISAPnP card found and configured at 0x220, IRQ 12.
Dec 9 02:28:25 ned kernel: scsi0 : Symbios Logic 53c416 (rev. 151) at 0x220, irq 12, SCSI-ID 7, fast pio

In the syslog, the relevant lines are:

Dec 9 02:28:25 ned kernel: No sym53c416 found at address 0x000
Dec 9 02:28:31 ned kernel: scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 0, lun 0 Inquiry 00 00 00 ff 00
Dec 9 02:28:37 ned kernel: scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 0, lun 0 Inquiry 00 00 00 ff 00
Dec 9 02:28:37 ned kernel: SCSI host 0 abort (pid 0) timed out - resetting
Dec 9 02:28:37 ned kernel: SCSI bus is being reset for host 0 channel 0.
Dec 9 02:28:37 ned kernel: SCSI host 0 channel 0 reset (pid 0) timed out - trying harder
Dec 9 02:28:37 ned kernel: SCSI bus is being reset for host 0 channel 0.
Dec 9 02:28:38 ned kernel: SCSI host 0 reset (pid 0) timed out again -
Dec 9 02:28:38 ned kernel: probably an unrecoverable SCSI bus or device hang.

After I attempt "modprobe sym53c416", here are the contents of some files in /proc:

interrupts:
CPU0
0: 202112 XT-PIC timer
1: 2 XT-PIC keyboard
2: 0 XT-PIC cascade
4: 15555 XT-PIC eth1
5: 13200 XT-PIC eth0
8: 1 XT-PIC rtc
12: 0 XT-PIC sym53c416
14: 5334 XT-PIC ide0
15: 5 XT-PIC ide1
NMI: 0
ERR: 0

ioports:
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0213-0213 : isapnp read
0220-023f : sym53c416
02f8-02ff : serial(auto)
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
c000-cfff : PCI Bus #01
d000-d00f : VIA Technologies, Inc. Bus Master IDE
d000-d007 : ide0
d008-d00f : ide1
d400-d41f : VIA Technologies, Inc. UHCI USB
d800-d83f : Ensoniq ES1370 [AudioPCI]
dc00-dc1f : Winbond Electronics Corp W89C940
dc00-dc1f : ne2k-pci
e000-e03f : Intel Corp. 82557 [Ethernet Pro 100]
e000-e03f : eepro100

modules:
sym53c416 6424 (initializing)
st 26288 0 (unused)
sg 28828 0 (unused)
isa-pnp 27344 0 [sym53c416]
ipt_MASQUERADE 1176 1 (autoclean)
ipt_LOG 3128 1 (autoclean)
ipt_state 568 1 (autoclean)
iptable_nat 12536 1 (autoclean) [ipt_MASQUERADE]
ip_conntrack 12568 2 (autoclean) [ipt_MASQUERADE ipt_state iptable_nat]
iptable_filter 1672 1 (autoclean)
ip_tables 10360 7 [ipt_MASQUERADE ipt_LOG ipt_state iptable_nat iptable_filter]
ne2k-pci 4928 1
8390 5792 0 [ne2k-pci]
eepro100 17208 1

isapnp:
Card 1 'SLI4161:SYM 53C416' PnP version 1.0 Product version 0.1
Logical device 0 'SLI4163:Unknown'
Supported registers 0x2
Device is active
Active port 0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff
Active IRQ 255 [0xff],255 [0xff]
Active DMA 255,255
Active memory 0xffffffff,0xffffffff,0xffffffff,0xffffffff
Resources 0
Priority preferred
Port 0x200-0xffe0, align 0x1f, size 0x20, 16-bit address decoding
IRQ 4,5,7,10,11,12,15 High-Edge

scsi/scsi:
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Model: Rev:
Type: <NULL> ANSI SCSI revision: ffffffff

scsi/sym53c416/0:
Symbios Logic 53c416 (rev. 151) at 0x220, irq 12, SCSI-ID 7, fast pio


Further settings:

/etc/modules.conf is empty.

/etc/rc.d/rc.modules has no (uncommented) lines regarding scsi.

/etc/isapnp.conf (uncommented lines):
(READPORT 0x0273)
(ISOLATE PRESERVE)
(IDENTIFY *)
(VERBOSITY 2)
(CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING
(CONFIGURE SLI4161/-1 (LD 0
(IO 0 (SIZE 32) (BASE 0x0220))
(INT 0 (IRQ 12 (MODE +E)))
(NAME "SLI4161/-1[0]{SYM 53C416 }")
(ACT Y)
))


My kernel began as scsi.s, which I then reconfigured as such (from /usr/src/linux/.config) and recompiled:
# SCSI support
#
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_SD_EXTRA_DEVS=40
CONFIG_CHR_DEV_ST=m
CONFIG_CHR_DEV_OSST=m
CONFIG_BLK_DEV_SR=m
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_SR_EXTRA_DEVS=2
CONFIG_CHR_DEV_SG=m
CONFIG_SCSI_DEBUG_QUEUES=y
# CONFIG_SCSI_MULTI_LUN is not set
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y

# SCSI low-level drivers
[snip... only the following is set]
CONFIG_SCSI_SYM53C416=m

The current setup works fine when I boot to Windows ME, so I believe that rules out hardware problems.

If more info is needed, please ask. I will post the solution, if I should come to one. Thank you for any help.

--Kate

kate@drizzle.com
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
modprobe a new driver mstahl Fedora 6 09-15-2005 08:07 PM
Can't modprobe a new driver ocgltd Linux - Software 8 09-15-2005 09:36 AM
how to get modprobe to install scsi card at startup? jordanthompson Linux - General 2 12-03-2004 10:55 AM
SCSI bus hang at boot... Thaidog Linux - Hardware 1 08-23-2004 08:09 PM
Does modprobe timeout if device fails, or does it just hang there forever? Electrode Linux - General 2 12-26-2002 12:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration