All times are UTC - 6 hours




Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject:
PostPosted: Fri Jul 13, 2007 4:13 am 
Offline
Site Admin


Fri Sep 24, 2004 1:39 am

1589

Alamo Heights, TX
tj wrote:
Hello,

* In the patch, you need to update pdev->class too after updating the actual register.


In theory the class code should be derived from the PCI device itself though, and in theory it's already set to 0x1018a (docs say the two bits for the mode always read 0 so the real PCI class code in native mode is always going to be 0x1018a even if it's meant to be 0x1018f) and in the device tree, 0x1018f.

Patch updated. I think that may have been the bug.

Quote:
* Dunno about the specific chipset but via PATAs usually work fine in native mode.


Usually.. but this is a VIA chipset.

The irq 0 fix came in between 2.6.22-rc7 and 2.6.22?
Matt Sealey, Genesi USA Inc.
Product Development Analyst


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 13, 2007 5:10 am 
Offline


Mon Jul 02, 2007 4:29 am

4
Quote:
Usually.. but this is a VIA chipset.

The irq 0 fix came in between 2.6.22-rc7 and 2.6.22?


Heh.. yeah, via is well, via. And the fix was after -rc7, IIRC.
tejun


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 13, 2007 6:39 am 
Offline


Sun Oct 24, 2004 7:37 am

37
Neko wrote:
...


OK, applied latest fix (With class code update) and it seems the timeouts are still there. HD seems to works fine, but no DVD drive after boot. I attached dmesg and
lspci to bugzilla report.

In case if this is device related I currently using Pioneer DVR-111


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 13, 2007 7:55 am 
Offline


Thu Jul 28, 2005 12:41 am

1063
tj wrote:
* In the error message, ata2.00 timesout requests to configure udma/33 but gets successfully configured for udma/25. I wonder it's drive-specific problem. Can you put another device at the secondary channel and test?


I did another change: exchanged the cables on the mother board, so CD is hda, and HDDs are hdc and hdd. And what a wonder: CD is now detected correctly, while HDDs, which are now on the secondary IDE as slave and master, don't.

Code:
scsi0 : pata_via
scsi1 : pata_via
ata1: PATA max UDMA/100 cmd 0xfdff1000 ctl 0xfdff100e bmdma 0xfdff1020 irq 14
ata2: PATA max UDMA/100 cmd 0xfdff1010 ctl 0xfdff101e bmdma 0xfdff1028 irq 14
ata1.00: ATAPI: SAMSUNG CDRW/DVD SM-352N, TA00, max UDMA/33
ata1.00: configured for UDMA/33
ata2.00: qc timeout (cmd 0x27)
ata2.00: ata_hpa_resize 1: hpa sectors (0) is smaller than sectors (78165360)
ata2.00: ATA-6: ST340014A, 8.01, max UDMA/100
ata2.00: 78165360 sectors, multi 0: LBA48
ata2.01: ata_hpa_resize 1: hpa sectors (0) is smaller than sectors (156301488)
ata2.01: ATA-5: ST380021A, 3.19, max UDMA/100
ata2.01: 156301488 sectors, multi 0: LBA
ata2.00: failed to set xfermode (err_mask=0x40)
ata2: failed to recover some devices, retrying in 5 secs
ata2.01: qc timeout (cmd 0xf8)
ata2.01: ata_hpa_resize 1: hpa sectors (0) is smaller than sectors (156301488)
ata2.00: failed to IDENTIFY (I/O error, err_mask=0x40)
ata2.00: revalidation failed (errno=-5)
ata2.00: limiting speed to UDMA/100:PIO3
ata2: failed to recover some devices, retrying in 5 secs
ata2.01: qc timeout (cmd 0xf8)
ata2.01: ata_hpa_resize 1: hpa sectors (0) is smaller than sectors (156301488)
ata2.00: failed to IDENTIFY (I/O error, err_mask=0x40)
ata2.00: revalidation failed (errno=-5)
ata2.00: disabled
ata2: failed to recover some devices, retrying in 5 secs
ata2.01: limited to UDMA/33 due to 40-wire cable
ata2.01: failed to set xfermode (err_mask=0x40)
ata2: failed to recover some devices, retrying in 5 secs
ata2.01: qc timeout (cmd 0xf8)
ata2.01: ata_hpa_resize 1: hpa sectors (0) is smaller than sectors (156301488)
ata2.01: failed to set xfermode (err_mask=0x40)
ata2.01: limiting speed to UDMA/33:PIO3
ata2: failed to recover some devices, retrying in 5 secs
ata2.01: qc timeout (cmd 0xf8)
ata2.01: ata_hpa_resize 1: hpa sectors (0) is smaller than sectors (156301488)
ata2.01: failed to set xfermode (err_mask=0x40)
ata2.01: disabled
scsi 0:0:0:0: CD-ROM            SAMSUNG  CDRW/DVD SM-352N TA00 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20                                                                                 


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 13, 2007 8:16 am 
Offline


Mon Jul 02, 2007 4:29 am

4
Hmmmm... Thanks. That tells us that IRQ delivery still doesn't work. Maybe it needs two IRQs.
tejun


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2, 3

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group