ATA error. seems VIA 6421A RAID card related

Bug #146577 reported by MeteorRain
12
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
linux-source-2.6.22 (Ubuntu)
Won't Fix
Undecided
Ubuntu Kernel Storage Team

Bug Description

Binary package hint: linux-image-2.6.22-12-generic

halting on loading hardware drivers
i'm on ubuntu 7.10beta upgraded from 7.04 dvd i386, on colorful a69g-k motherboard

the new kernel in 7.10beta 2.6.22-12 doesn't boot correctly.
after comment the 'quiet' in 'grub/menu.lst',
i find that it stops at loading hardware drivers,
and writeout somewhat 'ata: ' and emask error or so every some seconds

back to 2.6.20-16 and it works fine.

$ uname -a
Linux msg7086-desktop 2.6.20-16-generic #2 SMP Sun Sep 23 19:50:39 UTC 2007 i686 GNU/Linux

anything that i can do or did i miss something?

regards

=== EDIT ===
The error message is:

ata7.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata7.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data 4096 in
         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)

i copy it by hand ;)

it poped time and time so i can't boot into x so further information couldn't be gathered, sorry

=== EDIT2 ===
seems VIA 6421A PCI-IDE/SATA RAID card related. see my comment below.

Revision history for this message
David Portwood (dzportwood) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it, because your description does not yet have enough information.

Please include the following additional information, if you have not already done so (pay attention to lspci's additional options), as required by the Ubuntu Kernel Team:
1. Please include the output of the command "uname -a" in your next response. It should be one, long line of text which includes the exact kernel version you're running, as well as the CPU architecture.
2. Please run the command "dmesg > dmesg.log" after a fresh boot and attach the resulting file "dmesg.log" to this bug report.
3. Please run the command "sudo lspci -vvnn > lspci-vvnn.log" and attach the resulting file "lspci-vvnn.log" to this bug report.

For your reference, the full description of procedures for kernel-related bug reports is available at [WWW] http://wiki.ubuntu.com/KernelTeamBugPolicies. Thanks in advance!

Changed in linux-source-2.6.22:
assignee: nobody → ubuntu-kernel-storage
status: New → Incomplete
MeteorRain (msg7086)
description: updated
Changed in linux-source-2.6.22:
status: Incomplete → New
Revision history for this message
earthforce_1 (earthforce1) wrote :

Reposted as a kernel bug by request:
Seems to be related to bug #125832, in that it only affects the two machines that needed wireless drivers, and not the three others I installed the new kernel on.

Kernel freezes 1/3 through boot on my Toshiba Satellite 4600 with
kernel -13 Ok with the previous kernel, except for the missing
wireless driver. Booting the -13 rescue from the grub menu freezes with
a register dump - would this be in a log file anywhere so I could post
it?

Also freezes on my generic old P3-800/512 Ram system with a linksys USB
wireless card. Two other PCs (one P3, one P4 and Amd-64) are ok with
the new kernel. The need for a wireless driver seems to be the common
factor between the laptop and the other PC that borked in exactly the
same manner. Confirmed that both hung PCs boot ok when I step back to
the last working kernel, which was in one of the two cases 2.6.22-12.
The 2.6.22-13 kernel barfs on on affected systems even in rescue mode, you
have to step back to the last kernel.

I will post the results of the tests you requested from the other tester this evening.

Revision history for this message
earthforce_1 (earthforce1) wrote :

Last thing seen on the screen when I boot normally:
Typed by hand, I will try not to make mistakes:
===================================
[ 28.576000] ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068
[ 28.576000] Process udevd (pid: 3673, ti=cb1cc000 task=cfd62000 task.ti=cb1cc000)
[ 28.576000] Stack: 00000001 cfc6a800 c0301b60 c0301b60 d0aa4720 c01fa1ff cf8f0990 c01c4ee2
[ 28.576000] cfb29bb0 cb1cded8 cb1d3000 ffffffea cb1724fc 00000000 00000001 c0301b60
[ 28.576000] cb04c3b8 00000200 bfc9cb78 c0187a43 0000041ed 00000003 00000000 00000000
[ 28.576000] Call Trace:
[ 28.576000] [<c01fa1ff>] kobject_get+0xf/0x20
[ 28.576000] [<c01c4ee2>] sysfs_follow_link+0x232/0x260
[ 28.576000] [<c0187a43>] generic_readlink+0x33/0x90
[ 28.576000] [<c012d211>] current_fs_time+0x41/0x50
[ 28.576000] [<c0183a1b>] sys_readlinkat+0x9b/0xd0
[ 28.576000] [<c0183b9e>] sys_lstat64+0x1e/0x30
[ 28.576000] [<c0183a77>] sys_readlink+0x27/0x30
[ 28.576000] [<c01041d2>] sysenter_past_esp+0x6b/0xa9
[ 28.576000] [<c02f0000>] clip_ioctl+0x500/0x510
[ 28.576000] ==============
[ 28.576000] Code: 24 04 98 21 38 c0 c7 04 24 8a 3f 37 c0 e8 33 dc f2 ff e8 ce b4 f0 ff eb 87 8d b6 00 00 00 00 53 89 c3 83 ec 10 <8b> 00 85
[28.576000] EIP: [<c01fb016>] kref_get+0x6/0x40 SS:ESP 0068:cb1cde84

Revision history for this message
earthforce_1 (earthforce1) wrote :

Result of lspci command attached

Revision history for this message
earthforce_1 (earthforce1) wrote :

I obviously ran this on the -12 kernel, since the -13 kernel borks on startup:
uname -a:
Linux Lenneir 2.6.22-12-generic #1 SMP Sun Sep 23 18:11:30 GMT 2007 i686 GNU/Linux

I assume the bad kernel would give the same info except with -13 replacing -12?

Revision history for this message
MeteorRain (msg7086) wrote :

ok, when i was installing a new ubuntu 7.10 i met the problem again.

anyway i found the problem!

after i plug out my RAID card, it works! and boot into the system! works fine!

my RAID card is: VIA 6421A PCI-IDE/SATA RAID card, on which there are 2 IDE harddisks.

hope this could be useful!!

MR

MeteorRain (msg7086)
description: updated
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi MeteorRain,

The Hardy Heron Alpha series was recently released which contains an updated version of the kernel. You can download and try the new Hardy Heron Alpha release from http://cdimage.ubuntu.com/releases/hardy/ . You should be able to then test the new kernel via the LiveCD. If you can, please verify if this bug still exists or not and report back your results. General information regarding the release can also be found here: http://www.ubuntu.com/testing/ . Thanks

Changed in linux-source-2.6.22:
status: New → Incomplete
Revision history for this message
MeteorRain (msg7086) wrote :

Hi Ogasawara-san:

I boot into ubuntu 7.10 without my raid card, and upgrade my system to 8.04 beta, and it works with my card!

Many thanks to you!

-MeteorRain

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Doitashimashite :) I'm going to mark this as fix released against the Hardy kernel. Please feel free to reopen if you notice any regressions. Also please continue to report any future bugs that you may find, we really do appreciate it. Thanks!

Changed in linux:
status: New → Fix Released
Changed in linux-source-2.6.22:
status: Incomplete → Won't Fix
Revision history for this message
wildmage22 (wildmage22) wrote : Re: ATA error
Download full text (40.0 KiB)

I seem to be having a similar problem.

I'm trying to install Ubuntu Hardy 8.04 on a new disk using the LiveCD. The LiveCD only gives a few errors that look like the ones above giving "ATA7.00: Emask error..."

I run Ubuntu Gutsy on this system fine and I will give the diagnostic info running from this partition:

wildmage@wildmage-desktop:~$ sudo lspci -vvnn > lspci-vvnn.log
wildmage@wildmage-desktop:~$ dmesg > dmesg.log
wildmage@wildmage-desktop:~$ uname -a
Linux wildmage-desktop 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux

dmesg.log:
[quote]
[ 0.000000] Linux version 2.6.22-14-generic (buildd@terranova) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Tue Feb 12 07:42:25 UTC 2008 (Ubuntu 2.6.22-14.52-generic)
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000003ffb0000 (usable)
[ 0.000000] BIOS-e820: 000000003ffb0000 - 000000003ffc0000 (ACPI data)
[ 0.000000] BIOS-e820: 000000003ffc0000 - 000000003fff0000 (ACPI NVS)
[ 0.000000] BIOS-e820: 000000003fff0000 - 0000000040000000 (reserved)
[ 0.000000] BIOS-e820: 00000000ff780000 - 0000000100000000 (reserved)
[ 0.000000] 127MB HIGHMEM available.
[ 0.000000] 896MB LOWMEM available.
[ 0.000000] found SMP MP-table at 000ff780
[ 0.000000] Entering add_active_range(0, 0, 262064) 0 entries of 256 used
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 4096
[ 0.000000] Normal 4096 -> 229376
[ 0.000000] HighMem 229376 -> 262064
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0 -> 262064
[ 0.000000] On node 0 totalpages: 262064
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 4064 pages, LIFO batch:0
[ 0.000000] Normal zone: 1760 pages used for memmap
[ 0.000000] Normal zone: 223520 pages, LIFO batch:31
[ 0.000000] HighMem zone: 255 pages used for memmap
[ 0.000000] HighMem zone: 32433 pages, LIFO batch:7
[ 0.000000] DMI 2.3 present.
[ 0.000000] ACPI: RSDP signature @ 0xC00FA810 checksum 0
[ 0.000000] ACPI: RSDP 000FA810, 0014 (r0 ACPIAM)
[ 0.000000] ACPI: RSDT 3FFB0000, 0030 (r1 A M I OEMRSDT 10000427 MSFT 97)
[ 0.000000] ACPI: FACP 3FFB0200, 0081 (r1 A M I OEMFACP 10000427 MSFT 97)
[ 0.000000] ACPI: DSDT 3FFB03E0, 38A1 (r1 A0036 A0036001 1 MSFT 100000D)
[ 0.000000] ACPI: FACS 3FFC0000, 0040
[ 0.000000] ACPI: APIC 3FFB0390, 004A (r1 A M I OEMAPIC 10000427 MSFT 97)
[ 0.000000] ACPI: OEMB 3FFC0040, 003F (r1 A M I OEMBIOS 10000427 MSFT 97)
[ 0.000000] ACPI: PM-Timer IO Port: 0x808
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[ 0.000000] Processor #0 15:15 APIC version 16
[ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[ ...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.