Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
debabaOffline
15 Post subject: [Solved] Kernel 3.6 crashes with LIAN LI SATA Controller  PostPosted: 11.10.2012, 11:03



Joined: 2010-09-11
Posts: 34
Location: Hessen
Status: Offline
Hi

since upgrading to 3.6-1.slh.3-aptosid-amd64 from 3.5-3.slh.2-aptosid-amd64 i can't boot.
When the kernel tries to load the raid disks it crashes with an error.
when i dismount the satacontroller the system is starting.
In 3.5 this sata-device is controlled by pata_jmicron.

The controller is an LIAN LI IB-01 on an ASUS E45M1-I Board. I do not use the RAID Extensions.

As there is no serial port i can't attach a serial console for appending an output of the startup messages.
And yes i googled, but just found http://kernelnewbies.org/Linux_3.6_DriverArch#head-70c80f1b1d3baa12c4c82115a373fc66d0ec0972 that's for JMB362 (other PCI ID).
Nonetheless i tried blacklisting pata_jmicron. No change.

So my questions are:
Has anything changed with the handling of the needed drivers (pata_acpi, ata_generic, pata_jmicron) like parameters, blacklisting ....?
Anybody else got the same problem and could solve it?

Any suggestions?

Thanks for your help.

Wolf

Following the hardware as seen by kernel 3.5

Controller as listed by lspci
      Code:

root@siduxbox:~# lspci -vvnn -d 197b:2363
01:00.0 SATA controller [0106]: JMicron Technology Corp. JMB363 SATA/IDE Controller [197b:2363] (rev 03) (prog-if 01 [AHCI 1.0])
        Subsystem: JMicron Technology Corp. JMB363 SATA/IDE Controller [197b:2363]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 16
        Region 5: Memory at fea10000 (32-bit, non-prefetchable) [size=8K]
        Expansion ROM at fea00000 [disabled] [size=64K]
        Capabilities: [68] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [50] Express (v1) Legacy Endpoint, MSI 01
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- UncorrErr- FatalErr+ UnsuppReq+ AuxPwr- TransPend-
                LnkCap: Port #1, Speed 2.5GT/s, Width x1, ASPM L0s, Latency L0 <1us, L1 <16us
                        ClockPM- Surprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
        Kernel driver in use: ahci

01:00.1 IDE interface [0101]: JMicron Technology Corp. JMB363 SATA/IDE Controller [197b:2363] (rev 03) (prog-if 85 [Master SecO PriO])
        Subsystem: JMicron Technology Corp. JMB363 SATA/IDE Controller [197b:2363]
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin B routed to IRQ 17
        Region 0: I/O ports at e040 [size=8]
        Region 1: I/O ports at e030 [size=4]
        Region 2: I/O ports at e020 [size=8]
        Region 3: I/O ports at e010 [size=4]
        Region 4: I/O ports at e000 [size=16]
        Capabilities: [68] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: pata_jmicron



Hardware as listed by hwinfo:
      Code:


cpu:                                                           
                       AMD E-450 APU with Radeon(tm) HD Graphics, 1650 MHz
                       AMD E-450 APU with Radeon(tm) HD Graphics, 825 MHz
keyboard:
  /dev/input/event5    Belkin Wireless TackBall Keyboard
mouse:
  /dev/input/mice      Belkin Wireless TackBall Keyboard
graphics card:
                       ATI VGA compatible controller
sound:
                       ATI Audio device
                       ATI SBx00 Azalia (Intel HDA)
storage:
                       ATI SB700/SB800 SATA Controller [AHCI mode]
                       JMicron 20360/20363 AHCI Controller
                       JMicron 20360/20363 AHCI Controller
network:
  wlan0                Atheros WLAN controller
  eth0                 Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller
network interface:
  eth0                 Ethernet network interface
  lo                   Loopback network interface
  wlan0                WLAN network interface
disk:
  /dev/sda             OCZ-VERTEX
  /dev/sdb             ST9500420ASG
  /dev/sdc             ST9500420ASG
  /dev/sdd             ST9500420ASG
  /dev/sde             ST9500420ASG
  /dev/sdf             WD My Book
  /dev/sdg             WD My Book
  /dev/sdh             ST9500420ASG
  /dev/sdi             ST9500420ASG                                                                                                                                         
  /dev/sdj             ST9500420ASG                                                                                                                                         
  /dev/sdk             ST9500420ASG                                                                                                                                         
partition:                                                                                                                                                                 
  /dev/sda1            Partition                                                                                                                                           
  /dev/sda2            Partition                                                                                                                                           
  /dev/sdb1            Partition                                                                                                                                           
  /dev/sdc1            Partition                                                                                                                                           
  /dev/sdd1            Partition                                                                                                                                           
  /dev/sde1            Partition                                                                                                                                           
  /dev/sdf1            Partition                                                                                                                                           
  /dev/sdg1            Partition
  /dev/sdh1            Partition
  /dev/sdi1            Partition
  /dev/sdj1            Partition
  /dev/sdk1            Partition
cdrom:
  /dev/sr0             TSSTcorp DVDWBD SE-406AB
usb controller:
                       ATI SB700/SB800 USB OHCI0 Controller
                       ATI SB700/SB800 USB EHCI Controller
                       ATI SB700/SB800 USB OHCI0 Controller
                       ATI SB700/SB800 USB EHCI Controller
                       ATI SB700/SB800 USB OHCI2 Controller
                       ATI SB700/SB800 USB OHCI0 Controller
                       ATI SB700/SB800 USB EHCI Controller
                       NEC USB Controller
                       NEC USB Controller
bios:
                       BIOS
bridge:
                       AMD Host bridge
                       AMD PCI bridge
                       ATI SB700/SB800 LPC host controller
                       ATI SBx00 PCI to PCI Bridge
                       ATI PCI bridge
                       ATI PCI bridge
                       ATI PCI bridge
                       ATI PCI bridge
                       AMD Host bridge
                       AMD Host bridge
                       AMD Host bridge
                       AMD Host bridge
                       AMD Host bridge
                       AMD Host bridge
                       AMD Host bridge
                       AMD Host bridge
hub:
                       Linux 3.5-3.slh.2-aptosid-amd64 ehci_hcd EHCI Host Controller
                       Linux 3.5-3.slh.2-aptosid-amd64 ohci_hcd OHCI Host Controller
                       Linux 3.5-3.slh.2-aptosid-amd64 ohci_hcd OHCI Host Controller
                       Linux 3.5-3.slh.2-aptosid-amd64 ohci_hcd OHCI Host Controller
                       Linux 3.5-3.slh.2-aptosid-amd64 ohci_hcd OHCI Host Controller
                       Linux 3.5-3.slh.2-aptosid-amd64 xhci_hcd xHCI Host Controller
                       Linux 3.5-3.slh.2-aptosid-amd64 xhci_hcd xHCI Host Controller
                       Linux 3.5-3.slh.2-aptosid-amd64 ehci_hcd EHCI Host Controller
                       Linux 3.5-3.slh.2-aptosid-amd64 xhci_hcd xHCI Host Controller
                       Linux 3.5-3.slh.2-aptosid-amd64 ehci_hcd EHCI Host Controller
                       Linux 3.5-3.slh.2-aptosid-amd64 xhci_hcd xHCI Host Controller
memory:
                       Main Memory
bluetooth:
                       ASUSTek Bluetooth Device
unknown:
                       FPU
                       DMA controller
                       PIC
                       Timer
                       Keyboard controller
                       ATI SBx00 SMBus Controller
  /dev/ttyS0           16550A
  /dev/input/event3    Western Digital My Book
                       TechnoTrend TT-USB2.0
  /dev/input/event4    Western Digital My Book
[/url]


Last edited by debaba on 23.11.2012, 15:12; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject: RE: Kernel 3.6 crashes with LIAN LI SATA Controller  PostPosted: 11.10.2012, 12:08



Joined: 2010-08-25
Posts: 749

Status: Offline
We'd need the exact error/ crash message, take a photo if needed.
 
 View user's profile Send private message  
Reply with quote Back to top
debabaOffline
Post subject: RE: Kernel 3.6 crashes with LIAN LI SATA Controller  PostPosted: 11.10.2012, 13:11



Joined: 2010-09-11
Posts: 34
Location: Hessen
Status: Offline
Hi

please have a look at this video:
ftp://ftp2.schintech.net/pub/VID_20121011_145826.mp4

thanks
 
 View user's profile Send private message  
Reply with quote Back to top
debabaOffline
Post subject: RE: Kernel 3.6 crashes with LIAN LI SATA Controller  PostPosted: 13.10.2012, 07:54



Joined: 2010-09-11
Posts: 34
Location: Hessen
Status: Offline
Hi

found out that the SATA Part of this controller does not need pata-jmicron at all.
In kernel 3.5 if pata_jmicron is blacklisted and removed from initrd, anything works like always.
It could be that the problems are in ahci, libahci.

Regards
Wolfen

lsmod without pata_jmicron
      Code:


ext4                  238275  4
crc16                   1287  2 ext4,bluetooth
jbd2                   48525  1 ext4
mbcache                 4497  1 ext4
dm_mod                 58705  3 dm_crypt
raid456                45036  1
async_raid6_recov       4702  1 raid456
async_memcpy            1388  2 raid456,async_raid6_recov
async_pq                3099  2 raid456,async_raid6_recov
async_xor               2333  3 async_pq,raid456,async_raid6_recov
xor                     8417  1 async_xor
async_tx                1830  5 async_pq,raid456,async_xor,async_memcpy,async_raid6_recov
raid6_pq               86243  2 async_pq,async_raid6_recov
md_mod                 87401  2 raid456
sr_mod                 12833  0
cdrom                  29372  1 sr_mod
hid_generic             1041  0
usb_storage            39916  2
usbhid                 30122  0
sg                     18513  0
sd_mod                 30709  23
crc_t10dif              1260  1 sd_mod
hid                    71436  2 hid_generic,usbhid
uas                     7410  0
microcode              15209  0
xhci_hcd               66747  0
r8169                  41527  0
mii                     3315  1 r8169
ata_generic             3095  0
pata_acpi               2952  0
ahci                   19457  10
libahci                16219  1 ahci
ohci_hcd               19348  0
libata                135276  4 ahci,pata_acpi,libahci,ata_generic
scsi_mod              125978  6 sg,uas,usb_storage,libata,sd_mod,sr_mod
ehci_hcd               35273  0
usbcore               121568  10 uas,ath3k,btusb,dvb_usb,usb_storage,ohci_hcd,ehci_hcd,dvb_usb_pctv452e,usbhid,xhci_hcd
usb_common               866  1 usbcore
 
 View user's profile Send private message  
Reply with quote Back to top
debabaOffline
Post subject: RE: Kernel 3.6 crashes with LIAN LI SATA Controller  PostPosted: 13.10.2012, 08:30



Joined: 2010-09-11
Posts: 34
Location: Hessen
Status: Offline
Hi

upgraded to 3.6-2.slh.1-aptosid-amd64
the behaviour is the same as with the kernel before.

bye
 
 View user's profile Send private message  
Reply with quote Back to top
debabaOffline
Post subject: RE: Kernel 3.6 crashes with LIAN LI SATA Controller  PostPosted: 15.10.2012, 12:24



Joined: 2010-09-11
Posts: 34
Location: Hessen
Status: Offline
Moin
same problem with 3.6-2.slh.3-aptosid-amd64
bye
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject: RE: Kernel 3.6 crashes with LIAN LI SATA Controller  PostPosted: 20.10.2012, 01:36



Joined: 2010-08-25
Posts: 749

Status: Offline
The weird aspect is that there has only been a single, apparently correct, change to pata_jmicron between kernel 3.5 and 3.6. Just to confirm that this particular patch is correct, please test this test kernel http://aptosid.com/slh/pata_jmicron/ and the current one available through apt. If this change is the culprit, getting it fixed would be trivial - if it's not, finding the actual cause is significantly harder.
 
 View user's profile Send private message  
Reply with quote Back to top
debabaOffline
Post subject: RE: Kernel 3.6 crashes with LIAN LI SATA Controller  PostPosted: 23.10.2012, 09:52



Joined: 2010-09-11
Posts: 34
Location: Hessen
Status: Offline
same as before either with the test kernel and with 3.6-3.slh.1
seems to be while loading scsi, sata, raid modules
any suggestions to get the kernel output (usb device etc. , i'd buy no problem)
i'd take some of my time and assist you in finding this bug
thanks for your hard work till late in the night
 
 View user's profile Send private message  
Reply with quote Back to top
debabaOffline
Post subject: RE: Kernel 3.6 crashes with LIAN LI SATA Controller  PostPosted: 26.10.2012, 09:22



Joined: 2010-09-11
Posts: 34
Location: Hessen
Status: Offline
same as before with 3.6-3.slh.2
 
 View user's profile Send private message  
Reply with quote Back to top
debabaOffline
Post subject: RE: Kernel 3.6 crashes with LIAN LI SATA Controller  PostPosted: 28.10.2012, 15:05



Joined: 2010-09-11
Posts: 34
Location: Hessen
Status: Offline
the one man show announces:

with kernel 3.6-3.slh.3-aptosid-amd64 system does not boot.
After showing the
Booting the kernel.
i get a kernel panic:

PANIC: early exception 0f rip 10:ffffffff8132372f error 0 cr2 0

blinking cursor, finish

-> hard reset

any suggestions?
thanks
 
 View user's profile Send private message  
Reply with quote Back to top
debabaOffline
Post subject: RE: Kernel 3.6 crashes with LIAN LI SATA Controller  PostPosted: 31.10.2012, 10:56



Joined: 2010-09-11
Posts: 34
Location: Hessen
Status: Offline
with kernel 3.6-4.slh.1-aptosid-amd64 it shows the same behaviour as before kernel 3.6-3.slh.3-aptosid-amd64
 
 View user's profile Send private message  
Reply with quote Back to top
debabaOffline
Post subject: RE: Kernel 3.6 crashes with LIAN LI SATA Controller  PostPosted: 01.11.2012, 14:53



Joined: 2010-09-11
Posts: 34
Location: Hessen
Status: Offline
same as before with 3.6-5.slh.2-aptosid-amd64
 
 View user's profile Send private message  
Reply with quote Back to top
debabaOffline
Post subject: RE: Kernel 3.6 crashes with LIAN LI SATA Controller  PostPosted: 04.11.2012, 09:42



Joined: 2010-09-11
Posts: 34
Location: Hessen
Status: Offline
same with 3.6-5.slh.3-aptosid-amd64
 
 View user's profile Send private message  
Reply with quote Back to top
debabaOffline
Post subject: RE: Kernel 3.6 crashes with LIAN LI SATA Controller  PostPosted: 15.11.2012, 18:23



Joined: 2010-09-11
Posts: 34
Location: Hessen
Status: Offline
same with 3.6-6.slh.3-aptosid-amd64 Sad
 
 View user's profile Send private message  
Reply with quote Back to top
debabaOffline
Post subject: RE: Kernel 3.6 crashes with LIAN LI SATA Controller  PostPosted: 19.11.2012, 10:58



Joined: 2010-09-11
Posts: 34
Location: Hessen
Status: Offline
same with 3.6-7.slh.1-aptosid-amd64 Sad
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio