Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Resolved: udev and IDE cdrom issues
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tubocurarine
n00b
n00b


Joined: 29 Sep 2010
Posts: 32

PostPosted: Sat Oct 02, 2010 10:02 am    Post subject: Resolved: udev and IDE cdrom issues Reply with quote

Hi, all

I just got a new pc, and installed gentoo. Everything goes well except the cdrom.

The problem is when cdrom is disabled from bios, the OS can be started properly. But when this cdrom is enabled, most of the time, OS will failed to boot, leaving a message: "Waiting for uevents to be processed". I've tried to wait for several minutes, but without any result. What's more strange, when cdrom is enabled, the OS boots normally *SOMETIMES*, and cdrom works properly.

I've tried to set "udev_log" into debug in /etc/udev/udev.conf , and the boot process stuck at different places every-time when cdrom is not connected. And I've also tried to downgrade or upgrade udev to different versions, but this issue remains.

Following is some information about my PC and OS:

Code:

lspci -v
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge Alternate
   Subsystem: ASUSTeK Computer Inc. Device 843e
   Flags: bus master, 66MHz, medium devsel, latency 0
   Capabilities: [c4] HyperTransport: Slave or Primary Interface
   Capabilities: [54] HyperTransport: UnitID Clumping
   Capabilities: [40] HyperTransport: Retry Mode
   Capabilities: [9c] HyperTransport: #1a
   Capabilities: [f8] HyperTransport: #1c

00:01.0 PCI bridge: ASUSTeK Computer Inc. Device 9602 (prog-if 00 [Normal decode])
   Flags: bus master, 66MHz, medium devsel, latency 64
   Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
   I/O behind bridge: 0000d000-0000dfff
   Memory behind bridge: fe900000-feafffff
   Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
   Capabilities: [44] HyperTransport: MSI Mapping Enable+ Fixed+
   Capabilities: [b0] Subsystem: ASUSTeK Computer Inc. Device 843e
   Kernel modules: shpchp

00:0a.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 5) (prog-if 00 [Normal decode])
   Flags: bus master, fast devsel, latency 0
   Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
   I/O behind bridge: 0000e000-0000efff
   Memory behind bridge: feb00000-febfffff
   Prefetchable memory behind bridge: 00000000fdf00000-00000000fdffffff
   Capabilities: [50] Power Management version 3
   Capabilities: [58] Express Root Port (Slot+), MSI 00
   Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit-
   Capabilities: [b0] Subsystem: ASUSTeK Computer Inc. Device 843e
   Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
   Capabilities: [100] Vendor Specific Information <?>
   Capabilities: [110] Virtual Channel <?>
   Kernel driver in use: pcieport
   Kernel modules: shpchp

00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [IDE mode] (rev 40) (prog-if 01 [AHCI 1.0])
   Subsystem: ASUSTeK Computer Inc. Device 8443
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 41
   I/O ports at c000 [size=8]
   I/O ports at b000 [size=4]
   I/O ports at a000 [size=8]
   I/O ports at 9000 [size=4]
   I/O ports at 8000 [size=16]
   Memory at fe8ffc00 (32-bit, non-prefetchable) [size=1K]
   Capabilities: [50] MSI: Enable+ Count=1/4 Maskable- 64bit+
   Capabilities: [70] SATA HBA <?>
   Capabilities: [a4] PCI Advanced Features
   Kernel driver in use: ahci

00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller (prog-if 10 [OHCI])
   Subsystem: ASUSTeK Computer Inc. Device 8443
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
   Memory at fe8fe000 (32-bit, non-prefetchable) [size=4K]
   Kernel driver in use: ohci_hcd

00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller (prog-if 20 [EHCI])
   Subsystem: ASUSTeK Computer Inc. Device 8443
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
   Memory at fe8ff800 (32-bit, non-prefetchable) [size=256]
   Capabilities: [c0] Power Management version 2
   Capabilities: [e4] Debug port: BAR=1 offset=00e0
   Kernel driver in use: ehci_hcd

00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller (prog-if 10 [OHCI])
   Subsystem: ASUSTeK Computer Inc. Device 8443
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
   Memory at fe8fd000 (32-bit, non-prefetchable) [size=4K]
   Kernel driver in use: ohci_hcd

00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller (prog-if 20 [EHCI])
   Subsystem: ASUSTeK Computer Inc. Device 8443
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
   Memory at fe8ff400 (32-bit, non-prefetchable) [size=256]
   Capabilities: [c0] Power Management version 2
   Capabilities: [e4] Debug port: BAR=1 offset=00e0
   Kernel driver in use: ehci_hcd

00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 41)
   Flags: 66MHz, medium devsel
   Kernel modules: i2c-piix4

00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller (rev 40) (prog-if 8a [Master SecP PriP])
   Subsystem: ASUSTeK Computer Inc. Device 8443
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
   I/O ports at 01f0 [size=8]
   I/O ports at 03f4 [size=1]
   I/O ports at 0170 [size=8]
   I/O ports at 0374 [size=1]
   I/O ports at ff00 [size=16]
   Capabilities: [70] MSI: Enable- Count=1/1 Maskable- 64bit-
   Kernel driver in use: pata_atiixp
   Kernel modules: ata_generic, pata_acpi, pata_atiixp

00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
   Subsystem: ASUSTeK Computer Inc. Device 841b
   Flags: bus master, slow devsel, latency 64, IRQ 16
   Memory at fe8f8000 (64-bit, non-prefetchable) [size=16K]
   Capabilities: [50] Power Management version 2
   Kernel driver in use: HDA Intel
   Kernel modules: snd-hda-intel

00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller (rev 40)
   Subsystem: ASUSTeK Computer Inc. Device 8443
   Flags: bus master, 66MHz, medium devsel, latency 0

00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (rev 40) (prog-if 01 [Subtractive decode])
   Flags: bus master, 66MHz, medium devsel, latency 64
   Bus: primary=00, secondary=03, subordinate=03, sec-latency=64

00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller (prog-if 10 [OHCI])
   Subsystem: ASUSTeK Computer Inc. Device 8443
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
   Memory at fe8fc000 (32-bit, non-prefetchable) [size=4K]
   Kernel driver in use: ohci_hcd

00:16.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller (prog-if 10 [OHCI])
   Subsystem: ASUSTeK Computer Inc. Device 8443
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
   Memory at fe8f7000 (32-bit, non-prefetchable) [size=4K]
   Kernel driver in use: ohci_hcd

00:16.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller (prog-if 20 [EHCI])
   Subsystem: ASUSTeK Computer Inc. Device 8443
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
   Memory at fe8ff000 (32-bit, non-prefetchable) [size=256]
   Capabilities: [c0] Power Management version 2
   Capabilities: [e4] Debug port: BAR=1 offset=00e0
   Kernel driver in use: ehci_hcd

00:18.0 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] HyperTransport Configuration
   Flags: fast devsel
   Capabilities: [80] HyperTransport: Host or Secondary Interface

00:18.1 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Address Map
   Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] DRAM Controller
   Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Miscellaneous Control
   Flags: fast devsel
   Capabilities: [f0] Secure device <?>
   Kernel driver in use: k10temp

00:18.4 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Link Control
   Flags: fast devsel

01:05.0 VGA compatible controller: ATI Technologies Inc Device 9715 (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device 843e
   Flags: bus master, fast devsel, latency 0, IRQ 18
   Memory at d0000000 (32-bit, prefetchable) [size=256M]
   I/O ports at d000 [size=256]
   Memory at feaf0000 (32-bit, non-prefetchable) [size=64K]
   Memory at fe900000 (32-bit, non-prefetchable) [size=1M]
   Expansion ROM at <unassigned> [disabled]
   Capabilities: [50] Power Management version 3
   Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+

01:05.1 Audio device: ATI Technologies Inc Device 970f
   Subsystem: ASUSTeK Computer Inc. Device 843e
   Flags: bus master, fast devsel, latency 0, IRQ 19
   Memory at feae8000 (32-bit, non-prefetchable) [size=16K]
   Capabilities: [50] Power Management version 3
   Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
   Kernel driver in use: HDA Intel
   Kernel modules: snd-hda-intel

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
   Subsystem: ASUSTeK Computer Inc. Device 8432
   Flags: bus master, fast devsel, latency 0, IRQ 42
   I/O ports at e800 [size=256]
   Memory at fdfff000 (64-bit, prefetchable) [size=4K]
   Memory at fdff8000 (64-bit, prefetchable) [size=16K]
   Expansion ROM at febe0000 [disabled] [size=128K]
   Capabilities: [40] Power Management version 3
   Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
   Capabilities: [70] Express Endpoint, MSI 01
   Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
   Capabilities: [d0] Vital Product Data
   Capabilities: [100] Advanced Error Reporting
   Capabilities: [140] Virtual Channel <?>
   Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
   Kernel driver in use: r8169
   Kernel modules: r8169


cdrom is not listed above, which is presented as VIA_PATA device in kernel.

udev: udev-151-r4

kernel: 2.6.35.3, with bfs patch from ck.



Any clues will be appreciated!


Last edited by tubocurarine on Fri Oct 08, 2010 12:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 520

PostPosted: Sat Oct 02, 2010 10:45 am    Post subject: Re: udev and IDE cdrom issues Reply with quote

tubocurarine wrote:


cdrom is not listed above, which is presented as VIA_PATA device in kernel.


Is it an add-on card or something? For ATI chipsets pata_amd is the correct
driver.

How do you disable the cdrom in the BIOS? The usual way to set
one of the IDE controller slots to "disabled" doesn't affect Linux, since it will
load the driver for the PCI IDE device and probe for attached devices. The
BIOS settings usually only affect the BIOS, DOS or any other software which
uses BIOS calls to access block devices.
Back to top
View user's profile Send private message
tubocurarine
n00b
n00b


Joined: 29 Sep 2010
Posts: 32

PostPosted: Sat Oct 02, 2010 11:53 am    Post subject: Re: udev and IDE cdrom issues Reply with quote

roarinelk wrote:

Is it an add-on card or something? For ATI chipsets pata_amd is the correct driver.


It is IDE cdrom, connected to the ide slot of motherbord.

roarinelk wrote:

How do you disable the cdrom in the BIOS? The usual way to set
one of the IDE controller slots to "disabled" doesn't affect Linux, since it will
load the driver for the PCI IDE device and probe for attached devices. The
BIOS settings usually only affect the BIOS, DOS or any other software which
uses BIOS calls to access block devices.


Yes, I just disabled the corresponding controller. And I know the probing of pci devices, more or less.

But, what is the cause of this issue? I can not figure it out.

To clarify that issue:

If the on-board IDE controller was disabled from BIOS, OS can boot normally, and CDROM can not be used.
Else if the IDE controller was enabled, there may be two results: OS book stuck for processing udevevent, OR it may boot normally;

It is really strange.
Back to top
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 520

PostPosted: Sat Oct 02, 2010 12:16 pm    Post subject: Reply with quote

do you have multiple cpus? if so try booting linux with "maxcpus=1"
Back to top
View user's profile Send private message
tubocurarine
n00b
n00b


Joined: 29 Sep 2010
Posts: 32

PostPosted: Sat Oct 02, 2010 12:19 pm    Post subject: Reply with quote

roarinelk wrote:
do you have multiple cpus? if so try booting linux with "maxcpus=1"

yes, I do.
I'll have a try.

Thanks.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6221
Location: Dallas area

PostPosted: Sat Oct 02, 2010 12:22 pm    Post subject: Reply with quote

what does "zgrep -E "IDE|DEPRECATED" /proc/config.gz" return

And make sure that boot order in the bios is "hd then cd"
_________________
UM780, 6.12 zen kernel, gcc 13, openrc, wayland
Back to top
View user's profile Send private message
tubocurarine
n00b
n00b


Joined: 29 Sep 2010
Posts: 32

PostPosted: Sat Oct 02, 2010 12:44 pm    Post subject: Reply with quote

roarinelk wrote:

Add maxcpus=1 does not work ...

Anon-E-moose wrote:
what does "zgrep -E "IDE|DEPRECATED" /proc/config.gz" return

And make sure that boot order in the bios is "hd then cd"


I customized kernel on my own, and there is no "/proc/config.gz".

So I copied /usr/src/linux/.config to somewhere else, and created a gziped file.
Here is the result:
Code:

yyc@tubo ~ $ zgrep -E "IDE|DEPRECATED" config.gz
# CONFIG_SYSFS_DEPRECATED_V2 is not set
# CONFIG_ACPI_VIDEO is not set
# CONFIG_PARIDE is not set
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set
CONFIG_VIDEO_OUTPUT_CONTROL=y
# CONFIG_FB_TRIDENT is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_IDE_PHISON is not set
CONFIG_THINKPAD_ACPI_VIDEO=y
# CONFIG_ENABLE_WARN_DEPRECATED is not set
# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set


As to the boot order, cdrom was remove from the boot sequence.

Any ideas?
Thanks.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6221
Location: Dallas area

PostPosted: Sat Oct 02, 2010 12:48 pm    Post subject: Reply with quote

what does
grep PATA_VIA on your config file return?
_________________
UM780, 6.12 zen kernel, gcc 13, openrc, wayland
Back to top
View user's profile Send private message
tubocurarine
n00b
n00b


Joined: 29 Sep 2010
Posts: 32

PostPosted: Sat Oct 02, 2010 12:51 pm    Post subject: Reply with quote

Anon-E-moose wrote:
what does
grep PATA_VIA on your config file return?


Compiled as a module:

Code:

yyc@tubo ~ $ zgrep -E "PATA_VIA" config.gz
CONFIG_PATA_VIA=m

Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6221
Location: Dallas area

PostPosted: Sat Oct 02, 2010 1:03 pm    Post subject: Re: udev and IDE cdrom issues Reply with quote

tubocurarine wrote:

Code:

00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller (rev 40) (prog-if 8a [Master SecP PriP])
   Subsystem: ASUSTeK Computer Inc. Device 8443
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
   I/O ports at 01f0 [size=8]
   I/O ports at 03f4 [size=1]
   I/O ports at 0170 [size=8]
   I/O ports at 0374 [size=1]
   I/O ports at ff00 [size=16]
   Capabilities: [70] MSI: Enable- Count=1/1 Maskable- 64bit-
   Kernel driver in use: pata_atiixp
   Kernel modules: ata_generic, pata_acpi, pata_atiixp


cdrom is not listed above, which is presented as VIA_PATA device in kernel.



I would say turn on the ide interface in the bios, turn off the cdrom (unplug the power from it) boot up and run lspci and see what drivers get applied to it.
_________________
UM780, 6.12 zen kernel, gcc 13, openrc, wayland
Back to top
View user's profile Send private message
tubocurarine
n00b
n00b


Joined: 29 Sep 2010
Posts: 32

PostPosted: Sat Oct 02, 2010 1:11 pm    Post subject: Re: udev and IDE cdrom issues Reply with quote

Anon-E-moose wrote:
tubocurarine wrote:

Code:

00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller (rev 40) (prog-if 8a [Master SecP PriP])
   Subsystem: ASUSTeK Computer Inc. Device 8443
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
   I/O ports at 01f0 [size=8]
   I/O ports at 03f4 [size=1]
   I/O ports at 0170 [size=8]
   I/O ports at 0374 [size=1]
   I/O ports at ff00 [size=16]
   Capabilities: [70] MSI: Enable- Count=1/1 Maskable- 64bit-
   Kernel driver in use: pata_atiixp
   Kernel modules: ata_generic, pata_acpi, pata_atiixp


cdrom is not listed above, which is presented as VIA_PATA device in kernel.



You shouldn't be using pata_via at all, as the ide interface is being handled by "atiixp" according to the above.


what does grep PATA on your config file return


I used to excute lspci in a livecd, and the result showed there are two IDEs, one is ATI controller, and the other is VIA controller.
But the result I posted here was derived with IDE controller disabled, so the VIA controller is not present.

Any way, I will try to deselect VIA_PATA and recompile the kernel.

Thanks.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6221
Location: Dallas area

PostPosted: Sat Oct 02, 2010 1:16 pm    Post subject: Reply with quote

What motherboard are you running?
_________________
UM780, 6.12 zen kernel, gcc 13, openrc, wayland
Back to top
View user's profile Send private message
tubocurarine
n00b
n00b


Joined: 29 Sep 2010
Posts: 32

PostPosted: Sat Oct 02, 2010 1:17 pm    Post subject: Reply with quote

Anon-E-moose wrote:
What motherboard are you running?


ASUS, M4A88TD-M
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6221
Location: Dallas area

PostPosted: Sat Oct 02, 2010 1:25 pm    Post subject: Reply with quote

Well, I have to rescind what I said earlier, you will need the pata_via for the IDE drive.

What device do you have attached to it (cd/dvd), which model
_________________
UM780, 6.12 zen kernel, gcc 13, openrc, wayland
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6221
Location: Dallas area

PostPosted: Sat Oct 02, 2010 1:29 pm    Post subject: Reply with quote

what options do have in the bios that concern the ide other than turning it on or off.

You said you booted up from a live cd, were there any problems with the system hanging?
What drivers got loaded?
_________________
UM780, 6.12 zen kernel, gcc 13, openrc, wayland
Back to top
View user's profile Send private message
tubocurarine
n00b
n00b


Joined: 29 Sep 2010
Posts: 32

PostPosted: Sat Oct 02, 2010 1:38 pm    Post subject: Reply with quote

Anon-E-moose wrote:
what options do have in the bios that concern the ide other than turning it on or off.

There is only one ide related setting in that bios: "OnBoard IDE Controller", with two possible options: enabled, or disabled.
Quote:

You said you booted up from a live cd, were there any problems with the system hanging?
What drivers got loaded?

I used a Fedora 14 livecd, no problems occurred.

And I recompiled the kernel with PATA_VIA disabled, and then renable ide controller in the bios.
Then OS start up normally, but the cdrom can not be used. The /dev/cdrom dost not appear ether.

Now here is the result of lspci, related to IDE:

Code:

00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller (rev 40) (prog-if 8a [Master SecP PriP])
   Subsystem: ASUSTeK Computer Inc. Device 8443
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
   I/O ports at 01f0 [size=8]
   I/O ports at 03f4 [size=1]
   I/O ports at 0170 [size=8]
   I/O ports at 0374 [size=1]
   I/O ports at ff00 [size=16]
   Capabilities: [70] MSI: Enable- Count=1/1 Maskable- 64bit-
   Kernel driver in use: pata_atiixp
   Kernel modules: ata_generic, pata_acpi, pata_atiixp

02:00.0 IDE interface: VIA Technologies, Inc. PATA IDE Host Controller (prog-if 85 [Master SecO PriO])
   Subsystem: ASUSTeK Computer Inc. Device 838f
   Flags: fast devsel, IRQ 17
   I/O ports at dc00 [size=8]
   I/O ports at d880 [size=4]
   I/O ports at d800 [size=8]
   I/O ports at d480 [size=4]
   I/O ports at d400 [size=16]
   Expansion ROM at feaf0000 [disabled] [size=64K]
   Capabilities: [50] Power Management version 3
   Capabilities: [70] MSI: Enable- Count=1/1 Maskable+ 64bit+
   Capabilities: [90] Express Legacy Endpoint, MSI 00
   Capabilities: [100] Advanced Error Reporting
   Capabilities: [130] Device Serial Number 00-40-63-ff-ff-63-40-00
   Kernel modules: ata_generic, pata_acpi
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6221
Location: Dallas area

PostPosted: Sat Oct 02, 2010 1:46 pm    Post subject: Reply with quote

can you boot with the live cd, and run lspci and lsmod to see what is loaded, and uname -a
_________________
UM780, 6.12 zen kernel, gcc 13, openrc, wayland
Back to top
View user's profile Send private message
tubocurarine
n00b
n00b


Joined: 29 Sep 2010
Posts: 32

PostPosted: Sat Oct 02, 2010 1:49 pm    Post subject: Reply with quote

Anon-E-moose wrote:
can you boot with the live cd, and run lspci and lsmod to see what is loaded, and uname -a

OK, thanks.
Back to top
View user's profile Send private message
tubocurarine
n00b
n00b


Joined: 29 Sep 2010
Posts: 32

PostPosted: Sat Oct 02, 2010 1:58 pm    Post subject: Reply with quote

tubocurarine wrote:
Anon-E-moose wrote:
can you boot with the live cd, and run lspci and lsmod to see what is loaded, and uname -a

OK, thanks.


The image of live cd was deleted by mistake. So I'll download a new one. That may task some time.
Back to top
View user's profile Send private message
tubocurarine
n00b
n00b


Joined: 29 Sep 2010
Posts: 32

PostPosted: Sat Oct 02, 2010 3:53 pm    Post subject: Reply with quote

This time, Fedora 14 live cd failed to boot too.

I recompiled linux-2.6.35.5, with PATA_VIA enabled , and added "CONFIG_DEBUG_SECTION_MISMATCH=y".
Then the it reported some "Section mismatch" in via_pci_probe(). So I followed this url:
http://kerneltrap.org/mailarchive/linux-kernel/2010/6/17/4584150, and used that patch.
(But it seems to be a patch for via graphic card drver ... )
Then recompiled, and reboot. I've test three times with this patched kernel, two of them succeeded to boot, one failed.

I'm trying the newer version, 2.6.35.7, to see whether it will work well or not.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6221
Location: Dallas area

PostPosted: Sat Oct 02, 2010 4:11 pm    Post subject: Reply with quote

It does sound like the problem is related to the via chipset and driver interaction.
Not surprising as via doesn't release docs for their chips, as far as I know.
So it's trial and error.
_________________
UM780, 6.12 zen kernel, gcc 13, openrc, wayland
Back to top
View user's profile Send private message
tubocurarine
n00b
n00b


Joined: 29 Sep 2010
Posts: 32

PostPosted: Sat Oct 02, 2010 4:12 pm    Post subject: Reply with quote

Still the same result for linux-2.6.35.7.

It's too late, I need to goto bed.

May be I need to read kernel code of pata_via.c tomorrow to find what's going on ...

Thanks, roarinelk and Anon-E-moose.

If anyone has new idea, please let me know, if possible.

Thanks!
Back to top
View user's profile Send private message
tubocurarine
n00b
n00b


Joined: 29 Sep 2010
Posts: 32

PostPosted: Sat Oct 02, 2010 4:28 pm    Post subject: Reply with quote

Anon-E-moose wrote:
It does sound like the problem is related to the via chipset and driver interaction.
Not surprising as via doesn't release docs for their chips, as far as I know.
So it's trial and error.


Thanks for your attention again.
Back to top
View user's profile Send private message
chiefbag
Guru
Guru


Joined: 01 Oct 2010
Posts: 542
Location: The Kingdom

PostPosted: Sat Oct 02, 2010 6:46 pm    Post subject: Reply with quote

Try this. It may be due to a conflict between the MBR on your hard drive a the fact that the bios is reporting your drive with a diff address after your cd rom config change.
Enable the cd rom in bios then boot with livecd.
Chroot to hard disk and also delete the 70-persistent* from rules.d under udev.
Then re install grub boot loader.
Back to top
View user's profile Send private message
tubocurarine
n00b
n00b


Joined: 29 Sep 2010
Posts: 32

PostPosted: Sun Oct 03, 2010 3:59 am    Post subject: Reply with quote

chiefbag wrote:
Try this. It may be due to a conflict between the MBR on your hard drive a the fact that the bios is reporting your drive with a diff address after your cd rom config change.
Enable the cd rom in bios then boot with livecd.
Chroot to hard disk and also delete the 70-persistent* from rules.d under udev.
Then re install grub boot loader.


Thanks , chiefbag.

I 'll have a try.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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
You cannot vote in polls in this forum