It is currently Sat, 24 Oct 2020 17:01:27 GMT



 
Author Message
 sis735 io-apic ide1 problem
Hi all,
I recently updated BIOS of my K7S5A (athlon MB with sis735 chipset) to
the "CheepoBios 1.12 beta", which enables among other things io-apic.
The problem is that everything works fine except drives attached to ide1.
Has anyone encountered a problem like that?

I use Debian/unstable with debian's kernel 2.4.20-k7.

Both drives report the following error (during insmod ide-scsi, I
suppose) as seen in `dmesg`:

scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 0,
lun 0 Inquiry 00 00 00 ff 00
hdc: lost interrupt
hdc: lost interrupt
   Vendor: LITE-ON   Model: LTR-40125S        Rev: XSU1
   Type:   CD-ROM                             ANSI SCSI revision: 02
scsi : aborting command due to timeout : pid 1, scsi0, channel 0, id 1,
lun 0 Inquiry 00 00 00 ff 00
hdd: lost interrupt
hdd: lost interrupt
   Vendor: JLMS      Model: DVD-ROM LTD163    Rev: GH5Q
   Type:   CD-ROM                             ANSI SCSI revision: 02

and it's impossible to mount anything. Both drives work fine with
"noapic" or io-apic disabled in the bios.

One strange thing I noticed in dmesg is that IRQ 15, normally assigned
to ide1 is mapped to pin 0:20 instead of 0:15  (is it because 2-15
reported as "not connected" ?)

...
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-15, 2-16, 2-17, 2-18, 2-19, 2-21, 2-22,
2-23 not connected.
..TIMER: vector=0x31 pin1=2 pin2=0
number of MP IRQ sources: 17.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................

IO APIC #2......
.... register #00: 02000000
.......    : physical APIC id: 02
.... register #01: 00178011
.......     : max redirection entries: 0017
.......     : PRQ implemented: 1
.......     : IO APIC version: 0011
.... register #02: 00000000
.......     : arbitration: 00
.... 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 001 01  0    0    0   0   0    1    1    41
  04 001 01  0    0    0   0   0    1    1    49
  05 001 01  0    0    0   0   0    1    1    51
  06 001 01  0    0    0   0   0    1    1    59
  07 001 01  0    0    0   0   0    1    1    61
  08 001 01  0    0    0   0   0    1    1    69
  09 001 01  0    0    0   0   0    1    1    71
  0a 001 01  0    0    0   0   0    1    1    79
  0b 001 01  0    0    0   0   0    1    1    81
  0c 001 01  0    0    0   0   0    1    1    89
  0d 001 01  0    0    0   0   0    1    1    91
  0e 001 01  0    0    0   0   0    1    1    99
  0f 000 00  1    0    0   0   0    0    0    00
  10 000 00  1    0    0   0   0    0    0    00
  11 000 00  1    0    0   0   0    0    0    00
  12 000 00  1    0    0   0   0    0    0    00
  13 000 00  1    0    0   0   0    0    0    00
  14 001 01  0    0    0   0   0    1    1    A1
  15 000 00  1    0    0   0   0    0    0    00
  16 000 00  1    0    0   0   0    0    0    00
  17 000 00  1    0    0   0   0    0    0    00
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:20
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1606.7735 MHz.
..... host bus clock speed is 267.7956 MHz.

...

------------

# cat /proc/interrupts
            CPU0
   0:    3097673    IO-APIC-edge  timer
   1:       4232    IO-APIC-edge  keyboard
   2:          0          XT-PIC  cascade
   3:         12    IO-APIC-edge  usb-ohci
   4:     210294    IO-APIC-edge  eth0
   5:         12    IO-APIC-edge  usb-ohci
   8:          3    IO-APIC-edge  rtc
   9:          0    IO-APIC-edge  acpi
  10:       2981    IO-APIC-edge  eth1, SiS SI7012
  11:    2910762    IO-APIC-edge  nvidia
  12:     103654    IO-APIC-edge  PS/2 Mouse
  14:     260681    IO-APIC-edge  ide0
  15:          0    IO-APIC-edge  ide1      <-  no interrupts !?
NMI:          0
LOC:    3097764
ERR:          0
MIS:          0

thanks for any suggestions,
Vladimir



 Thu, 02 Jun 2005 12:33:29 GMT   
 sis735 io-apic ide1 problem
On uni-proc machines, dont use apic in the linux kernel,
it was a source of interrupt errors and lockups for me
until I took it out.

-jason



 Fri, 03 Jun 2005 10:31:51 GMT   
 sis735 io-apic ide1 problem

DID YOU RESET THE BIOS AFTER UPGRADING DID YOU USE THE RIGHT BIOS UPGRADE

DID YOU GET THE BIOS UP GRADE FROM ELITEGROUP WEB SITE USE THE WRONG ONE
YOU {*filter*}UP



 Fri, 03 Jun 2005 19:54:35 GMT   
 sis735 io-apic ide1 problem
I compiled 2.5.52 and io-apic worked for me! both cdroms are accessible
and I could read/write with no problem (unfortunately I cannot switch
now because of nvidia driver)

So it looks like a 2.4.x bug? I'll try other 2.4.x kernels.

-- Vladimir

The relevant output of 2.5.52 is :

...
found SMP MP-table at 000fb870
hm, page 000fb000 reserved twice.
hm, page 000fc000 reserved twice.
hm, page 000f5000 reserved twice.
hm, page 000f6000 reserved twice.
On node 0 totalpages: 131056
   DMA zone: 4096 pages, LIFO batch:1
   Normal zone: 126960 pages, LIFO batch:16
   HighMem zone: 0 pages, LIFO batch:1
ACPI: RSDP (v000 AMI                        ) @ 0x000fa340
ACPI: RSDT (v001 AMIINT SiS735XX 00000.04096) @ 0x1fff0000
ACPI: FADT (v001 AMIINT SiS735XX 00000.04096) @ 0x1fff0030
ACPI: MADT (v001 AMIINT SiS735XX 00000.04096) @ 0x1fff00b0
ACPI: DSDT (v001    SiS      735 00000.00256) @ 0x00000000
ACPI: BIOS passes blacklist
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 6:6 APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x01] polarity[0x1] trigger[0x1] lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] global_irq_base[0x0])
IOAPIC[0]: Assigned apic_id 2
IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, IRQ 0-23
ACPI: INT_SRC_OVR (bus[0] irq[0x0] global_irq[0x2] polarity[0x1]
trigger[0x1])
Using ACPI (MADT) for SMP configuration information
Building zonelist for node : 0
Kernel command line: BOOT_IMAGE=2552 ro root=345
Initializing CPU#0
Detected 1606.331 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 3178.49 BogoMIPS
Memory: 515756k/524224k available (1430k kernel code, 7720k reserved,
517k data, 264k 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)
-> /dev
-> /dev/console
-> /root
CPU: Before vendor init, caps: 0383fbff c1cbfbff 00000000, vendor = 2
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After vendor init, caps: 0383fbff c1cbfbff 00000000 00000000
CPU:     After generic, caps: 0383fbff c1cbfbff 00000000 00000000
CPU:             Common caps: 0383fbff c1cbfbff 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Machine check exception polling timer started.
CPU: AMD Athlon(tm) XP 1900+ stepping 02
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
init IO_APIC IRQs
  IO-APIC (apicid-pin) 2-0, 2-16, 2-17, 2-18, 2-19, 2-20, 2-21, 2-22,
2-23 not connected.
..TIMER: vector=0x31 pin1=2 pin2=0
number of MP IRQ sources: 16.
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: 00178011
.......     : max redirection entries: 0017
.......     : PRQ implemented: 1
.......     : IO APIC version: 0011
.... register #02: 00000000
.......     : arbitration: 00
.... 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 001 01  0    0    0   0   0    1    1    41
  04 001 01  0    0    0   0   0    1    1    49
  05 001 01  0    0    0   0   0    1    1    51
  06 001 01  0    0    0   0   0    1    1    59
  07 001 01  0    0    0   0   0    1    1    61
  08 001 01  0    0    0   0   0    1    1    69
  09 001 01  0    0    0   0   0    1    1    71
  0a 001 01  0    0    0   0   0    1    1    79
  0b 001 01  0    0    0   0   0    1    1    81
  0c 001 01  0    0    0   0   0    1    1    89
  0d 001 01  0    0    0   0   0    1    1    91
  0e 001 01  0    0    0   0   0    1    1    99
  0f 001 01  0    0    0   0   0    1    1    A1
  10 000 00  1    0    0   0   0    0    0    00
  11 000 00  1    0    0   0   0    0    0    00
  12 000 00  1    0    0   0   0    0    0    00
  13 000 00  1    0    0   0   0    0    0    00
  14 000 00  1    0    0   0   0    0    0    00
  15 000 00  1    0    0   0   0    0    0    00
  16 000 00  1    0    0   0   0    0    0    00
  17 000 00  1    0    0   0   0    0    0    00
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1606.0590 MHz.
..... host bus clock speed is 267.0764 MHz.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
mtrr: v2.0 (20020519)
device class 'cpu': registering
device class cpu: adding driver system:cpu
PCI: PCI BIOS revision 2.10 entry at 0xfdb01, last bus=1
PCI: Using configuration type 1
device class cpu: adding device CPU 0
interfaces: adding device CPU 0
BIO: pool of 256 setup, 14Kb (56 bytes/bio)
biovec pool[0]:   1 bvecs: 256 entries (12 bytes)
biovec pool[1]:   4 bvecs: 256 entries (48 bytes)
biovec pool[2]:  16 bvecs: 256 entries (192 bytes)
biovec pool[3]:  64 bvecs: 256 entries (768 bytes)
biovec pool[4]: 128 bvecs: 256 entries (1536 bytes)
biovec pool[5]: 256 bvecs: 256 entries (3072 bytes)
ACPI: Subsystem revision 20021212
IOAPIC[0]: Set PCI routing entry (2-9 -> 0x71 -> IRQ 9)
     ACPI-0263: *** Info: GPE Block0 defined as GPE0 to GPE15
     ACPI-0263: *** Info: GPE Block1 defined as GPE16 to GPE31
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: Power Resource [URP1] (off)
ACPI: Power Resource [URP2] (off)
ACPI: Power Resource [FDDP] (off)
ACPI: Power Resource [LPTP] (off)
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs *3 4 5 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 11 12 14 15, disabled)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 10 11 12 14 15, disabled)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 *4 5 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 *5 7 10 11 12 14 15)
block request queues:
  128 requests per read queue
  128 requests per write queue
  8 requests per batch
  enter congestion at 31
  exit congestion at 33
SCSI subsystem driver Revision: 1.00
device class 'scsi-host': registering
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 5
IOAPIC[0]: Set PCI routing entry (2-16 -> 0xa9 -> IRQ 16)
00:00:01[A] -> 2-16 -> IRQ 16
IOAPIC[0]: Set PCI routing entry (2-17 -> 0xb1 -> IRQ 17)
00:00:01[B] -> 2-17 -> IRQ 17
IOAPIC[0]: Set PCI routing entry (2-18 -> 0xb9 -> IRQ 18)
00:00:01[C] -> 2-18 -> IRQ 18
IOAPIC[0]: Set PCI routing entry (2-19 -> 0xc1 -> IRQ 19)
00:00:01[D] -> 2-19 -> IRQ 19
IOAPIC[0]: Set PCI routing entry (2-23 -> 0xc9 -> IRQ 23)
00:00:02[A] -> 2-23 -> IRQ 23
Pin 2-17 already programmed
Pin 2-18 already programmed
Pin 2-19 already programmed
IOAPIC[0]: Set PCI routing entry (2-22 -> 0xd1 -> IRQ 22)
00:00:03[A] -> 2-22 -> IRQ 22
Pin 2-16 already programmed
Pin 2-17 already programmed
Pin 2-18 already programmed
Pin 2-19 already programmed
Pin 2-17 already programmed
Pin 2-18 already programmed
Pin 2-19 already programmed
Pin 2-16 already programmed
Pin 2-18 already programmed
Pin 2-19 already programmed
Pin 2-16 already programmed
Pin 2-17 already programmed
Pin 2-19 already programmed
Pin 2-16 already programmed
Pin 2-17 already programmed
Pin 2-18 already programmed
Pin 2-17 already programmed
Pin 2-18 already programmed
Pin 2-19 already programmed
Pin 2-16 already programmed
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even
'acpi=off'
aio_setup: sizeof(struct page) = 40
Journalled Block Device driver loaded
devfs: v1.22 (20021013) Richard Gooch (rgo...@atnf.csiro.au)
devfs: boot_options: 0x0
rivafb: RIVA MTRR set to ON
rivafb: PCI nVidia NV20 framebuffer ver 0.9.3 (nVidiaGeForce3 T, 64MB @
0xC8000000)
pty: 256 Unix98 ptys configured
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller at PCI slot 00:02.5
SIS5513: chipset revision 208
SIS5513: not 100% native mode: will probe irqs later
SiS735    ATA 100 controller
     ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:DMA
     ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA
hda: IBM-DTLA-307045, ATA DISK drive
hdb: MAXTOR 4K080H4, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: LITE-ON LTR-40125S, ATAPI CD/DVD-ROM drive
hdd: JLMS DVD-ROM LTD163, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 90069840 sectors (46116 MB) w/1916KiB Cache, CHS=89355/16/63, UDMA(100)
  /dev/ide/host0/bus0/target0/lun0: p1 p2
hdb: host protected area => 1
hdb: 156301488 sectors (80026 MB) w/2000KiB Cache, CHS=155061/16/63,
UDMA(100)
  /dev/ide/host0/bus0/target1/lun0: p1 p2 p3 p4 < p5 >
scsi HBA driver idescsi didn't set max_sectors, please fix the template
ERROR: SCSI host `ide-scsi' has no error handling
ERROR: This is not a safe way to run your SCSI host
ERROR: The error handling must be added to this driver
Call Trace: [<c01faa5a>]  [<c02026a7>]  [<c01facb6>]
...

read more »



 Sat, 04 Jun 2005 07:42:50 GMT   
 
   [ 4 post ] 

Similar Threads

1. IO-APIC says: unexpected IO-APIC was found

2. i810 I/O APIC (was Sticky IO-APIC problem)

3. Debian (Woody) IO-APIC problem?

4. apic-io irq transform problem........

5. CUV4X-D, io-apic problem (VIA chipset)

6. Problem with 2.4.21-pre5 &kt-400&IO-APIC

7. IO APIC + ACPI Problems.

8. interrupt/IO-APIC problems...

9. 2.5 usb + rt8139too + io-apic + acpi UP problem

10. lk2.2.22 and IO-apic problem (dell poweredge)


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software