Re: secure boot- Can't mount root filesystem. Was: Problem with dracut-modules-olpc-0.2.4

2009-12-18 Thread Daniel Drake
On Thu, 2009-12-17 at 11:40 -0200, Esteban Bordón wrote:
 Hi Daniel,
 
 I'm testing secure boot in F11-XO1 (os10).

Something else to keep in mind if you are working on this...
http://dev.laptop.org/ticket/9916



___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


secure boot- Can't mount root filesystem. Was: Problem with dracut-modules-olpc-0.2.4

2009-12-17 Thread Esteban Bordón
Hi Daniel,

I'm testing secure boot in F11-XO1 (os10).

When XO boots in secure boot the lease file doesn't read from USB key. I
disabled the activation in dracut and I reinstalled dracut-olpc-modules and
kernel and I signed them.

This log is displayed when I turn on the XO:

[2.907314] brd: module loaded
[2.920838] NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND
512MiB 3,3V 8-bit)
[2.931270] 2 NAND chips detected
[2.947938] cmdlinepart partition parsing not available
[2.954239] Searching for RedBoot partition table in NAND 512MiB 3,3V
8-bit at offset 0x0
[2.970343] No RedBoot partition table detected in NAND 512MiB 3,3V 8-bit
[2.996908] serio: i8042 KBD port at 0x60,0x64 irq 1
[3.002587] serio: i8042 AUX port at 0x60,0x64 irq 12
[3.015428] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[3.023061] rtc0: alarms up to one year, y3k, 242 bytes nvram
[3.042876] olpc-dcon:  Discovered DCON version 2
[3.063808] Linux video capture interface: v2.00
[3.153404] input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/input4
[3.176771] geode-mfgpt:  Registered timer 1
[3.196556] cpuidle: using governor ladder
[3.214714] cpuidle: using governor menu
[3.233455] sdhci: Secure Digital Host Controller Interface driver
[3.254585] sdhci: Copyright(c) Pierre Ossman
[3.274389] sdhci-pci :00:0c.1: SDHCI controller found [11ab:4101]
(rev 10)
[3.298023] sdhci-pci :00:0c.1: enabling device ( - 0002)
[3.320869] sdhci-pci :00:0c.1: Invalid iomem size. You may
experience problems.
[3.347109] Registered led device: mmc0::
[3.369713] sdhci_set_ios: power off for mmc0 from c05edf11
[3.393872] mmc0: SDHCI controller on PCI [:00:0c.1] using DMA
[3.419604] sdhci_set_power: new power value = 14
[3.451202] Error allocating fallback algo aes
[3.475808] alg: cipher: Failed to load transform for geode-aes: -2
[3.506283] sdhci_set_ios: power off for mmc0 from c05edf11
[3.512867] sdhci_set_power: new power value = 0
[3.573197] Error allocating fallback algo ecb(aes)
[3.599878] alg: skcipher: Failed to load transform for ecb-aes-geode: -2
[3.628861] geode-aes: GEODE AES engine enabled.
[3.658194] Advanced Linux Sound Architecture Driver Version 1.0.20.
[3.691906] Failure reading codec reg 0x7e,Last value=0x7e805368
[3.720509] Failure reading codec reg 0x7e,Last value=0x7e805368
[3.760685] ALSA device list:
[3.785201]   #0: CS5535 Audio cs5535audio at 0x1480, irq 5
[3.813040] TCP bic registered
[3.836955] Initializing XFRM netlink socket
[3.862716] NET: Registered protocol family 10
[3.889465] lo: Disabled Privacy Extensions
[3.914247] Mobile IPv6
[3.936307] NET: Registered protocol family 17
[3.967423] Freeing unused kernel memory: 236k freed
[3.993617] Write protecting the kernel text: 2748k
[4.018837] Write protecting the kernel read-only data: 860k
[4.304065] udev: starting version 141
[5.249895] usbcore: registered new interface driver usbfs
[5.329162] usbcore: registered new interface driver hub
[5.482006] usbcore: registered new device driver usb
[5.640157] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[5.792094] ehci_hcd :00:0f.5: EHCI Host Controller
[5.831828] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[5.985996] ehci_hcd :00:0f.5: new USB bus registered, assigned bus
number 1
[6.190320] ehci_hcd :00:0f.5: irq 10, io mem 0xfe01b000
[6.310419] ehci_hcd :00:0f.5: USB 2.0 started, EHCI 1.00
[6.470063] usb usb1: configuration #1 chosen from 1 choice
[6.477142] hub 1-0:1.0: USB hub found
[6.477296] hub 1-0:1.0: 4 ports detected
[6.478027] ohci_hcd :00:0f.4: OHCI Host Controller
[6.478143] ohci_hcd :00:0f.4: new USB bus registered, assigned bus
number 2
[6.478281] ohci_hcd :00:0f.4: irq 10, io mem 0xfe01a000
[6.479896] modprobe used greatest stack depth: 2580 bytes left
[6.761140] usb usb2: configuration #1 chosen from 1 choice
[6.762237] hub 2-0:1.0: USB hub found
[6.762333] hub 2-0:1.0: 4 ports detected
[7.050043] usb 1-1: new high speed USB device using ehci_hcd and address
2
[7.099360] mount used greatest stack depth: 2492 bytes left
[7.266896] usb 1-1: configuration #1 chosen from 1 choice
[7.320473] lib80211: common routines for IEEE802.11 drivers
[7.440085] usb 1-1: firmware: requesting usb8388.bin
[8.213968] usb8xxx: Firmware ready event received
[8.235737] libertas: 00:17:c4:0c:d8:34, fw 5.110.22p23, cap 0x03a3
[8.279072] libertas: eth0: Marvell WLAN 802.11 adapter
[8.281592] libertas: PREP_CMD: command 0x0074 failed: 2
[8.281613] usb8xxx: Firmware does not seem to support PS mode
[8.287666] usbcore: registered new interface driver usb8xxx

mount: you must specify the filesystem type

Can't mount root filesystem

Re: secure boot- Can't mount root filesystem. Was: Problem with dracut-modules-olpc-0.2.4

2009-12-17 Thread Daniel Drake
On Thu, 2009-12-17 at 11:40 -0200, Esteban Bordón wrote:
 Hi Daniel,
 
 I'm testing secure boot in F11-XO1 (os10).
 
 When XO boots in secure boot the lease file doesn't read from USB key.
 I disabled the activation in dracut and I reinstalled
 dracut-olpc-modules and kernel and I signed them.

You'll need the latest version of dracut-modules-olpc for activation to
work.

 [8.281613] usb8xxx: Firmware does not seem to support PS mode
 [8.287666] usbcore: registered new interface driver usb8xxx
 
 mount: you must specify the filesystem type
 
 Can't mount root filesystem
 
 Boot has failed, sleepeng forever

I'll need your help debugging/fixing this. At the moment my work time is
fully occupied by XO-1.5 and I don't have any spare time to dedicate. My
first suggestion would be to insert echo debug statements throughout the
initramfs code so that you can understand what is going on.

Daniel


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: secure boot- Can't mount root filesystem. Was: Problem with dracut-modules-olpc-0.2.4

2009-12-17 Thread Esteban Bordón
I forgot tell you, I'm working with the latest version of
dracut-olpc-modules (0.3.2).

I'll try do something with this.

Regards.

2009/12/17 Daniel Drake d...@laptop.org

 On Thu, 2009-12-17 at 11:40 -0200, Esteban Bordón wrote:
  Hi Daniel,
 
  I'm testing secure boot in F11-XO1 (os10).
 
  When XO boots in secure boot the lease file doesn't read from USB key.
  I disabled the activation in dracut and I reinstalled
  dracut-olpc-modules and kernel and I signed them.

 You'll need the latest version of dracut-modules-olpc for activation to
 work.

  [8.281613] usb8xxx: Firmware does not seem to support PS mode
  [8.287666] usbcore: registered new interface driver usb8xxx
 
  mount: you must specify the filesystem type
 
  Can't mount root filesystem
 
  Boot has failed, sleepeng forever

 I'll need your help debugging/fixing this. At the moment my work time is
 fully occupied by XO-1.5 and I don't have any spare time to dedicate. My
 first suggestion would be to insert echo debug statements throughout the
 initramfs code so that you can understand what is going on.

 Daniel


 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel