[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#340718: Yaboot installation step fails on external firewire disk installations, unless yaboot.conf params are manually edited.



Package: yaboot-installer
Version: 1.1.3
Severity: wishlist

See the following installation-report log:

-- Package-specific info:

Boot method: cd
Image version: official snapshot 19 nov 05
Date: 19 or 20 nov 05

Machine: Titanium powerbook II
Partitions: <df -Tl will do; the raw partition table
is preferred>
/dev/sda3      xfs    20961280  10623880  10337400 
51% /
tmpfs        tmpfs      256732         0    256732  
0% /dev/shm
tmpfs        tmpfs       10240       192     10048  
2% /dev
/dev/hdc   iso9660      651120    651120         0
100% /media/cdrom0

no swap, boot part on /dev/sda3

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] =
didn't try it

Initial boot:           [O]
Detect network card:    [O]
Configure network:      [O]
Detect CD:              [O]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [ ]
Create file systems:    [O]
Mount partitions:       [O]
Install base system:    [O]
Install boot loader:    [E]
Installed system ok:    [O]

Comments/Problems:

The installed system is on external firewire, So i had
compiled a custom 
kernel with firewire and scsi support built in and
started installation. Installing yaboot step fails.
This seems to be known among people trying to boot
from firewire so it's not a debian specific problem.
One has to manually set OF paths in yaboot.conf before
rebooting and finishing debian installation.
The OF path to the firewire drive can be obtained
with:
# echo /proc/device-tree/pci*/firewire*/node*/sbp-2*
/proc/device-tree/pci@f4000000/firewire@e/node@0010b9210040ad70/sbp-2@c000

Also needed is the "major and minor number" of the
root partition, which is currently mounted on /target:
# mount
...
/dev/scsi/host0/bus0/target1/lun0/part3 on /target
type ...
...
# ls -l /dev/scsi/host0/bus0/target1/lun0/part3
brw-------  1 root root 8, 3 Jan 1 1970 /dev/scsi/...

so a working - and installable - yaboot.conf, was:
 
boot=/dev/sda7
ofboot=/pci@f4000000/firewire@e/node@0010b9210040ad70/sbp-2@c000/disk@0:7
device=/pci@f4000000/firewire@e/node@0010b9210040ad70/sbp-2@c000/disk@0:3
partition=3
delay=15
timeout=100
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
enablecdboot

image=/boot/vmlinux
    label=Linux
    read-only
    root=8:3
    append="rootdelay=12"


See my page at http://www.boborosso.com for details.

==============================================
Installer lsb-release file:
==============================================
DISTRIB_ID=Debian
DISTRIB_DESCRIPTION="Debian GNU/Linux installer"
DISTRIB_RELEASE="3.1 (installer build 20051026)"

==============================================
Hardware information for installed system:
==============================================
umame -a: Linux tibookII 2.6.14.2-fw #1 Tue Sep 27
10:28:44 UTC 
2005 ppc unknown
discover: yenta_socket;;;Texas Instruments;PCI1410 PC
card Cardbus Controller;
discover: ohci1394;;;Lucent Microelectronics;FW323;
discover: ;;;Unknown;MATSHITACD-RW CW-8121;/dev/hdc
discover: sungem;;;Apple Computer Inc.;UniNorth GMAC
(Sun GEM);
discover: ide-scsi;;;Linux;IDE-SCSI emulation layer;
discover: usb-ohci;;;Apple Computer Inc.;KeyLargo USB;
discover: usb-ohci;;;Apple Computer Inc.;KeyLargo USB;
discover: ;;;Unknown;IBM-IC25N030ATDA04-0;/dev/hda
discover: ;;;Maxtor;OneTouch II;/dev/sda
/proc/pci: PCI devices found:
/proc/pci:   Bus  0, device  11, function  0:
/proc/pci:     Host bridge: Apple Computer Inc.
UniNorth 1.5 AGP (rev 0).
/proc/pci:       Master Capable.  Latency=16.  
/proc/pci:   Bus  0, device  16, function  0:
/proc/pci:     VGA compatible controller: ATI
Technologies Inc Radeon Mobility M6 LY (rev 0).
/proc/pci:       IRQ 48.
/proc/pci:       Master Capable.  Latency=255.  Min
Gnt=8.
/proc/pci:       Prefetchable 32 bit memory at
0xb8000000 [0xbfffffff].
/proc/pci:       I/O at 0x802400 [0x8024ff].
/proc/pci:       Non-prefetchable 32 bit memory at
0xb0000000 [0xb000ffff].
/proc/pci:   Bus 16, device  11, function  0:
/proc/pci:     Host bridge: Apple Computer Inc.
UniNorth 1.5 PCI (rev 0).
/proc/pci:       Master Capable.  Latency=16.  
/proc/pci:   Bus 16, device  23, function  0:
/proc/pci:     Class ff00: Apple Computer Inc.
KeyLargo Mac I/O (rev 3).
/proc/pci:       Master Capable.  Latency=16.  
/proc/pci:       Non-prefetchable 32 bit memory at
0x80000000 [0x8007ffff].
/proc/pci:   Bus 16, device  24, function  0:
/proc/pci:     USB Controller: Apple Computer Inc.
KeyLargo USB (rev 0).
/proc/pci:       IRQ 27.
/proc/pci:       Master Capable.  Latency=16.  Min
Gnt=3.Max Lat=86.
/proc/pci:       Non-prefetchable 32 bit memory at
0xa0002000 [0xa0002fff].
/proc/pci:   Bus 16, device  25, function  0:
/proc/pci:     USB Controller: Apple Computer Inc.
KeyLargo USB (#2) (rev 0).
/proc/pci:       IRQ 28.
/proc/pci:       Master Capable.  Latency=16.  Min
Gnt=3.Max Lat=86.
/proc/pci:       Non-prefetchable 32 bit memory at
0xa0001000 [0xa0001fff].
/proc/pci:   Bus 16, device  26, function  0:
/proc/pci:     CardBus bridge: Texas Instruments
PCI1410 PC card Cardbus Controller (rev 2).
/proc/pci:       IRQ 58.
/proc/pci:       Master Capable.  Latency=168.  Min
Gnt=192.Max Lat=5.
/proc/pci:       Non-prefetchable 32 bit memory at
0xa0000000 [0xa0000fff].
/proc/pci:   Bus 36, device  11, function  0:
/proc/pci:     Host bridge: Apple Computer Inc.
UniNorth 1.5 Internal PCI (rev 0).
/proc/pci:       Master Capable.  Latency=16.  
/proc/pci:   Bus 36, device  14, function  0:
/proc/pci:     FireWire (IEEE 1394): Agere Systems
(former Lucent Microelectronics) FW323 (rev 0).
/proc/pci:       IRQ 40.
/proc/pci:       Master Capable.  Latency=16.  Min
Gnt=12.Max Lat=24.
/proc/pci:       Non-prefetchable 32 bit memory at
0xf5000000 [0xf5000fff].
/proc/pci:   Bus 36, device  15, function  0:
/proc/pci:     Ethernet controller: Apple Computer
Inc. UniNorth GMAC (Sun GEM) (rev 1).
/proc/pci:       IRQ 41.
/proc/pci:       Master Capable.  Latency=16.  Min
Gnt=64.Max Lat=64.
/proc/pci:       Non-prefetchable 32 bit memory at
0xf5200000 [0xf53fffff].
/proc/bus/pci/devices: 0058	106b002d	0	00000000
00000000	00000000	00000000	00000000	00000000	00000000
00000000	00000000	00000000	00000000	00000000	00000000
00000000	
/proc/bus/pci/devices: 0080	10024c59	30	b8000008
00802401	b0000000	00000000	00000000	00000000	f1000000
08000000	00000100	00010000	00000000	00000000	00000000
00020000	radeonfb
/proc/bus/pci/devices: 1058	106b002e	0	00000000
00000000	00000000	00000000	00000000	00000000	00000000
00000000	00000000	00000000	00000000	00000000	00000000
00000000	
/proc/bus/pci/devices: 10b8	106b0022	0	80000000
00000000	00000000	00000000	00000000	00000000	00000000
00080000	00000000	00000000	00000000	00000000	00000000
00000000	macio
/proc/bus/pci/devices: 10c0	106b0019	1b	a0002000
00000000	00000000	00000000	00000000	00000000	00000000
00001000	00000000	00000000	00000000	00000000	00000000
00000000	ohci_hcd
/proc/bus/pci/devices: 10c8	106b0019	1c	a0001000
00000000	00000000	00000000	00000000	00000000	00000000
00001000	00000000	00000000	00000000	00000000	00000000
00000000	ohci_hcd
/proc/bus/pci/devices: 10d0	104cac50	3a	a0000000
00000000	00000000	00000000	00000000	00000000	00000000
00001000	00000000	00000000	00000000	00000000	00000000
00000000	yenta_cardbus
/proc/bus/pci/devices: 2458	106b002f	0	00000000
00000000	00000000	00000000	00000000	00000000	00000000
00000000	00000000	00000000	00000000	00000000	00000000
00000000	
/proc/bus/pci/devices: 2470	11c15811	28	f5000000
00000000	00000000	00000000	00000000	00000000	00000000
00001000	00000000	00000000	00000000	00000000	00000000
00000000	ohci1394
/proc/bus/pci/devices: 2478	106b0021	29	f5200000
00000000	00000000	00000000	00000000	00000000	f5100000
00200000	00000000	00000000	00000000	00000000	00000000
00100000	gem

lsmod after installing:

Module                  Size  Used by
bsd_comp                6336  0
ipt_MASQUERADE          3008  1
ipt_LOG                 7616  154
ipt_TCPMSS              4096  3
iptable_mangle          2400  0
ip_nat_ftp              3200  0
iptable_nat             7908  1
ipt_tcpmss              2208  0
ip_nat_irc              2368  0
ip_nat                 18032  4 
ipt_MASQUERADE,ip_nat_ftp,iptable_nat,ip_nat_ircip_conntrack_irc
       
5932  1 ip_nat_irc
iptable_filter          2560  1
ipt_multiport           2496  2
ip_conntrack_ftp        6864  1 ip_nat_ftp
ipt_state               1600  11
ip_conntrack           50932  8 
ipt_MASQUERADE,ip_nat_ftp,iptable_nat,ip_nat_irc,ip_nat,ip_conntrack_irc,ip_conntrack_ftp,ipt_state
ipt_limit               2144  157
ip_tables              21760  10 
ipt_MASQUERADE,ipt_LOG,ipt_TCPMSS,iptable_mangle,iptable_nat,ipt_tcpmss,iptable_filter,ipt_multiport,ipt_state,ipt_limit
udf                    95204  0
radeon                123460  1
drm                    80120  2 radeon
sr_mod                 16068  0
snd_powermac           51428  0
snd_pcm                97572  1 snd_powermac
snd_timer              24452  1 snd_pcm
snd                    61236  3
snd_powermac,snd_pcm,snd_timer
soundcore               8900  1 snd
snd_page_alloc          9768  1 snd_pcm
airport                 5984  0
orinoco                43732  1 airport
hermes                  7264  2 airport,orinoco
ide_cd                 45412  1
uninorth_agp            9320  1
cdrom                  46236  2 sr_mod,ide_cd
agpgart                33180  2 drm,uninorth_agp
usblp                  14016  0
 



	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



Reply to: