NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-i386/40697 (kernel panic with VIA 6421 host adapter (5.0RC and -current))



Hi!

You wrote:

> Could you try the following fix?
> http://mail-index.NetBSD.org/source-changes/2009/12/22/msg004688.html
> http://cvsweb.NetBSD.org/bsdweb.cgi/src/sys/dev/pci/viaide.c.diff?r1=1.64&r2=1.65

Ah, it no longer panics and detects and uses the SATA-Part. But the PATA-
Interface does't find my CDROM, though it was recognized in the BIOS probe
screen.

From the dmesg:

...
azalia0: host: 0x10de/0x07fc (rev. 161), HDA rev. 1.0
ppb0 at pci0 dev 10 function 0: vendor 0x10de product 0x056d (rev. 0xa1)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
pci_mem_find: expected type mem, found i/o
viaide0 at pci1 dev 6 function 0
viaide0: VIA Technologies VT6421 Serial RAID Controller (rev. 0x50)
viaide0: bus-master DMA support present
LNKC: Picked IRQ 16 with weight 0
viaide0: using ioapic0 pin 16 for native-PCI interrupt
viaide0: primary channel wired to native-PCI mode
atabus0 at viaide0 channel 0
viaide0: secondary channel wired to native-PCI mode
atabus1 at viaide0 channel 1
pdcsata0 at pci1 dev 7 function 0
...
pdcsata0 port 2: device present, speed: 3.0Gb/s
viaide0 port 0: device present, speed: 1.5Gb/s
ahcisata0 port 0: device present, speed: 3.0Gb/s
pdcsata0 port 1: device present, speed: 3.0Gb/s
pdcsata0 port 3: device present, speed: 3.0Gb/s
ahcisata0 port 1: device present, speed: 3.0Gb/s
ahcisata0 port 3: device present, speed: 3.0Gb/s
wd0 at atabus0 drive 0: <Hitachi HDS722020ALA330>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 1863 GB, 3876021 cyl, 16 head, 63 sec, 512 bytes/sect x 3907029168 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd1 at atabus3 drive 0uhidev0 at uhub0 port 4 configuration 1 interface 0
...

From lspci -xvv:

01:06.0 RAID bus controller: VIA Technologies, Inc.: Unknown device 3249 (rev 
50)
        Subsystem: VIA Technologies, Inc.: Unknown device 3249
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64
        Interrupt: pin A routed to IRQ 16
        Region 0: I/O ports at cc00
        Region 1: I/O ports at c880
        Region 2: I/O ports at c800
        Region 3: I/O ports at c480
        Region 4: I/O ports at c400
        Region 5: I/O ports at c000
        Capabilities: [e0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 06 11 49 32 07 00 90 02 50 00 04 01 00 40 00 00
10: 01 cc 00 00 81 c8 00 00 01 c8 00 00 81 c4 00 00
20: 01 c4 00 00 01 c0 00 00 00 00 00 00 06 11 49 32
30: 00 00 ff f9 e0 00 00 00 00 00 00 00 10 01 00 00


Is there anything more, I can do?

    Bernhard  //
            \X/


Home | Main Index | Thread Index | Old Index