~alpine/devel

6 2

[alpine-devel] Alpine 2.1.4 does not boot on PC Engines Alix (AMD Geode) boxen

Nathan Angelacos <nangel@nothome.org>
Details
Message ID
<4D2FFBE9.8060501@nothome.org>
Sender timestamp
1294990313
DKIM signature
missing
Download raw message
Tried to upgrade 1.10.1 to 2.1.4 and it fails; attached are the dmesg 
from the working and non-working versions.

The only thing that strikes me is the

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, 
not after

for 2.1.x (2.1.3, 2.1.2 failed as well)

I'll continue to look into why, but thought I'd post to the ml in case 
it had already been solved elsewhere.
Nathan Angelacos <nangel@nothome.org>
Details
Message ID
<4D3072CD.5090303@nothome.org>
In-Reply-To
<20110114084122.31ca298d@ncopa-desktop.nor.wtbts.net> (view parent)
Sender timestamp
1295020749
DKIM signature
missing
Download raw message
On 01/13/11 23:41, Natanael Copa wrote:
>
> Where does it stop? Do you get emergency shell? Does it hang? Do you
> get any error message?
>
It stops after detecting sda1

scsi 0:0:0:0: Direct-Access     ATA      CF CARD 1GB      2007 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 1981728 512-byte logical blocks: (1.01 GB/967 MiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't 
support DPO or FUA
  sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk


no Alpine rc_init, no shell.



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20110114084122.31ca298d@ncopa-desktop.nor.wtbts.net>
In-Reply-To
<4D2FFBE9.8060501@nothome.org> (view parent)
Sender timestamp
1294990882
DKIM signature
missing
Download raw message
On Thu, 13 Jan 2011 23:31:53 -0800
Nathan Angelacos <nangel@nothome.org> wrote:

> 
> Tried to upgrade 1.10.1 to 2.1.4 and it fails; attached are the dmesg 
> from the working and non-working versions.
> 
> The only thing that strikes me is the
> 
> ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> Warning! ehci_hcd should always be loaded before uhci_hcd and
> ohci_hcd, not after
> 
> for 2.1.x (2.1.3, 2.1.2 failed as well)
> 
> I'll continue to look into why, but thought I'd post to the ml in
> case it had already been solved elsewhere.

Where does it stop? Do you get emergency shell? Does it hang? Do you
get any error message?

From the dmesgs I can only guess that you get an emergency shell since
it goes all the way til it finds the CF card (sda1) and there it stops.
The "works" dmesg doesnt show any sda1? What do you have as alpine_dev
in your syslinux.cfg?

If you get an emergency shell, can you manually mount the alpine_dev?

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Nathan Angelacos <nangel@nothome.org>
Details
Message ID
<4D3099B5.60806@nothome.org>
In-Reply-To
<4D3072CD.5090303@nothome.org> (view parent)
Sender timestamp
1295030709
DKIM signature
missing
Download raw message
On 01/14/11 07:59, Nathan Angelacos wrote:
> On 01/13/11 23:41, Natanael Copa wrote:
>>
>> Where does it stop? Do you get emergency shell? Does it hang? Do you
>> get any error message?
>>
> It stops after detecting sda1
>
> scsi 0:0:0:0: Direct-Access ATA CF CARD 1GB 2007 PQ: 0 ANSI: 5
> sd 0:0:0:0: [sda] 1981728 512-byte logical blocks: (1.01 GB/967 MiB)
> sd 0:0:0:0: [sda] Write Protect is off
> sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't
> support DPO or FUA
> sda: sda1
> sd 0:0:0:0: [sda] Attached SCSI disk
>
>
> no Alpine rc_init, no shell.

Acutally, it could have the emergency shell, but since Alix boards are 
headless, if the emergency shell doesn't honor the console=ttyS0,9600 
kernel statement, there would be no way to tell.


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Nathan Angelacos <nangel@nothome.org>
Details
Message ID
<4D309B00.4000806@nothome.org>
In-Reply-To
<4D3099B5.60806@nothome.org> (view parent)
Sender timestamp
1295031040
DKIM signature
missing
Download raw message
Continuing my conversation with myself....

On 01/14/11 10:45, Nathan Angelacos wrote:
> On 01/14/11 07:59, Nathan Angelacos wrote:
>> On 01/13/11 23:41, Natanael Copa wrote:
>>>
>>> Where does it stop? Do you get emergency shell? Does it hang? Do you
>>> get any error message?
>>>
>> It stops after detecting sda1
>>
>> scsi 0:0:0:0: Direct-Access ATA CF CARD 1GB 2007 PQ: 0 ANSI: 5
>> sd 0:0:0:0: [sda] 1981728 512-byte logical blocks: (1.01 GB/967 MiB)
>> sd 0:0:0:0: [sda] Write Protect is off
>> sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't
>> support DPO or FUA
>> sda: sda1
>> sd 0:0:0:0: [sda] Attached SCSI disk
>>
>>
>> no Alpine rc_init, no shell.
>
> Acutally, it could have the emergency shell, but since Alix boards are
> headless, if the emergency shell doesn't honor the console=ttyS0,9600
> kernel statement, there would be no way to tell.

Which lead to the solution to that problem.   I had "console=ttyS0,9600 
console=tty1,38400" on the kernel command line

Its headless, so there is no tty1.


Now Alpine boots, and hangs detecting hardware:


sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't 
support DPO or FUA
  sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk
ok.
  * Mounting boot media: ok.
  * Installing packages to root filesystem: -[####################]- 100%ok.


    OpenRC 0.6.1.562d570 is starting up Linux 2.6.35.10-grsec (i586)

* /proc is already mounted, skipping
* Caching service dependencies... [ok]
* Caching service dependencies... [ok]
* Clock skew detected with `/etc/init.d/modules'
* Adjusting mtime of `/libexec/rc/init.d/deptree' to Fri Jan  7 13:36:18 
2011

* Mounting security filesystem... [ok]

* Mounting debug filesystem... [ok]
* Starting busybox mdev... [ok]
* Mounting loopback device for kernel modules... [ok]
* Loading hardware drivers...




---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Nathan Angelacos <nangel@nothome.org>
Details
Message ID
<4D30BBF8.6040300@nothome.org>
In-Reply-To
<4D309B00.4000806@nothome.org> (view parent)
Sender timestamp
1295039480
DKIM signature
missing
Download raw message
The offending driver that causes the hang is "cs5535-mfgpt"

#modprobe cs5535-mfgpt"
pci 0000:00:0f.0: allocated PCI BAR #2: base 0x6200
<silence>


According to
http://140.211.166.79/mailarchive/linux-kernel/2010/10/23/4636377

It looks like the kernel now has a new config option (as of Oct 2010); 
but I can't find it listed in

http://git.alpinelinux.org/cgit/aports/tree/main/linux-grsec/kernelconfig.x86


---
btw, blacklisting cs5535-mfgpt allows the box to boot, but then the ac97 
sound driver (and anything else that depends on the geode mfd driver) fails.



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<970ec48dd3fe0dffd4d6fd7bebf19c8b@ytre.org>
In-Reply-To
<4D30BBF8.6040300@nothome.org> (view parent)
Sender timestamp
1295723806
DKIM signature
missing
Download raw message
 On Fri, 14 Jan 2011 13:11:20 -0800, Nathan Angelacos 
 <nangel@nothome.org> wrote:
> The offending driver that causes the hang is "cs5535-mfgpt"

 Good work!

> #modprobe cs5535-mfgpt"
> pci 0000:00:0f.0: allocated PCI BAR #2: base 0x6200
> <silence>
>
>
> According to
> http://140.211.166.79/mailarchive/linux-kernel/2010/10/23/4636377
>
> It looks like the kernel now has a new config option (as of Oct
> 2010); but I can't find it listed in
>
> 
> http://git.alpinelinux.org/cgit/aports/tree/main/linux-grsec/kernelconfig.x86

 Good! Care to file a bug for this so it does not gets forgotten? I'll 
 have a look at it when I get a chance. (I am on vacation in brazil now)

 -nc



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)