Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215766 - boot problem with jmicron ata controller
Summary: boot problem with jmicron ata controller
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: All ISO (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords: InVCS
: 216150 223773 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-04-01 20:05 UTC by Arne Ljung
Modified: 2008-07-07 13:11 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arne Ljung 2008-04-01 20:05:35 UTC
When booting the splash screen is OK, after loading the kernel it wont find the cdrom and halts.

Reproducible: Always




MB: Asus P5K with Intel Core 2 Duo E6850 3.0GHz

Info from lspci:

erik ~ # lspci
00:00.0 Host bridge: Intel Corporation DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation PCI Express Root Port (rev 02)
00:1a.0 USB Controller: Intel Corporation USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation USB UHCI Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation USB UHCI Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation PCI Express Port 1 (rev 02)
00:1c.4 PCI bridge: Intel Corporation PCI Express Port 5 (rev 02)
00:1c.5 PCI bridge: Intel Corporation PCI Express Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 2 port SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 2 port SATA IDE Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation Unknown device 0422 (rev a1)
02:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0)
03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)
03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)
05:01.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
05:02.0 Multimedia audio controller: VIA Technologies Inc. ICE1712 [Envy24] PCI Multi-Channel I/O Controller (rev 02)
05:03.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev c0)


My cdrom is connected to /dev/hda
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-01 20:28:18 UTC
Do you know what CONFIG_* option needs to be enabled to support this controller?
Comment 2 Michele Schiavo 2008-04-01 21:52:43 UTC
I have ASUS P5K PRO

http://bugs.gentoo.org/show_bug.cgi?id=215756
Comment 3 Arne Ljung 2008-04-02 17:13:21 UTC
(In reply to comment #1)
> Do you know what CONFIG_* option needs to be enabled to support this
> controller?
> 
You need  BLK_DEV_JMICROM to enable IDE disks/cdroms.
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-02 18:22:04 UTC
The current kconfig has CONFIG_BLK_DEV_JMICROM=m, but there's nothing in the initramfs to load it. We either need to change this to =y or add the module to the load lists in genkernel.
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-02 19:08:44 UTC
Correct.

Is the driver a SATA driver or just the PATA libata driver?  I've not added any of the libata drivers, yet, but we probably need to do that, wouldn't you say?
Comment 6 Arne Ljung 2008-04-02 20:35:17 UTC
(In reply to comment #5)
> Correct.
> 
> Is the driver a SATA driver or just the PATA libata driver?  I've not added any
> of the libata drivers, yet, but we probably need to do that, wouldn't you say?
> 

The CONFIG_BLK_DEV_JMICRON driver is not a PATA libata driver, it gives only basic support for the JMicron ATA controllers, but it works.
I have no success to get CONFIG_PATA_JMICRON (libata driver) to work on ASUS P5K board.

Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-03 00:25:23 UTC
Thanks for the info...
Comment 8 Petr Mikulcik 2008-04-08 19:05:00 UTC
Same problem with Mainboard MSI P35 Neo with chip Marvell 88SE6111. (http://global.msi.com.tw/index.php?func=proddesc&prod_no=1215&maincat_no=1&cat2_no=170) DVD RW Samsung S203B/BEBN (SATA) connected on Intel ICH9 Chipset SATA port. CD http://www.kernel-of-truth.net/x86_r9/x86_r9.tar.bz with parameter -irqpoll works.
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-08 21:44:14 UTC
Petr, does the 2008.0 Beta 1 CD work with irqpoll?
Comment 10 Petr Mikulcik 2008-04-09 04:36:36 UTC
(In reply to comment #9)
> Petr, does the 2008.0 Beta 1 CD work with irqpoll?
> 
No 2008.0 Beta 1 CD doesn't work with irqpoll.
Comment 11 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-09 13:33:00 UTC
Eh, I'm not sure how that even relates. The irqpoll thing worked for a board with ICH9 and a marvell IDE chipset, which doesn't even matter since the CD-ROM was SATA.
Comment 12 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-12 01:02:54 UTC
*** Bug 216150 has been marked as a duplicate of this bug. ***
Comment 13 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-12 18:13:55 UTC
This was simple enough.  The JMicron support in the kernel was a module, so it never made it into genkernel's initramfs.  I've updated this in the kernel configs for 2008.0 Beta 2.  Please test Beta 2 with your hardware when it comes out in the next couple days and report back.
Comment 14 oRo 2008-04-27 19:01:15 UTC
Hi
I've the same problem with Gigabyte P35 DS 4 F9

00:00.0 Host bridge: Intel Corporation DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation PCI Express Root Port (rev 02)
00:1a.0 USB Controller: Intel Corporation USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation USB UHCI Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation USB UHCI Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation PCI Express Port 1 (rev 02)
00:1c.4 PCI bridge: Intel Corporation PCI Express Port 5 (rev 02)
00:1c.5 PCI bridge: Intel Corporation PCI Express Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 4 port SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 2 port SATA IDE Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Unknown device 9588
01:00.1 Audio device: ATI Technologies Inc Unknown device aa08
03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
05:06.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)

If I add support of CONFIG_BLK_DEV_JMICRON in the kernel and not as a module, my disks are recognized well

Thx to Chris
Comment 15 Petr Mikulcik 2008-05-01 18:59:51 UTC
I haven't CD that could store 858MB of Live CD 2008.0 beta 2,than I tested Live DVD 2008.0 beta 2. With chip Marvell 88SE6111 same problem. Boot ends with many messages for different modules

:: Checking for XXX...cat: can't open '/lib/modules/2.6.24-gentoo-r5/modules.dep': No such file or directory
I suppose support for Marvell chip can't be module also.
Comment 16 Arne Ljung 2008-05-01 21:03:43 UTC
Hi, i tried livecd-amd64-installer-2008.0_beta2.iso on my ASUS P5K motherboard, but the problem remains. It does not found my pata-cdrom that needs the jmicron driver.  
Comment 17 Chris Gianelloni (RETIRED) gentoo-dev 2008-05-01 23:55:46 UTC
Re: comment #15

You're looking for bug #215756 which is for Marvell controllers.
Comment 18 zid 2008-05-27 08:09:41 UTC
*** Bug 223773 has been marked as a duplicate of this bug. ***
Comment 19 zid 2008-05-27 08:19:30 UTC
*** Bug 223773 has been marked as a duplicate of this bug. ***
Comment 20 zid 2008-05-27 08:51:38 UTC
Workaround for me was to copy the livecd to my sata disk, which drivers are loaded for. LiveCD autodetected and used it. I'm told docache might also work.

Jmicron driver IS on the disk, just not in the initramfs, if someone could add it before beta3 that would be nice.
Comment 21 Andrew Gaffney (RETIRED) gentoo-dev 2008-07-06 17:44:12 UTC
This should be fixed in 2008.0, which is now released.
Comment 22 Arne Ljung 2008-07-07 13:11:41 UTC
It works on 2088.0. Thanks