Bug#697839: discover-data: usb 04b4:fd1[0123] is package sispmctl

2013-01-10 Thread Helmut Grohne
Package: discover-data
Version: 2.2013.01.09
Severity: wishlist

Petter Reinholdtsen called for updates to discover-data on planet.d.o.
So I can provide some IDs as well.

The sispmctl package is used to switch a power socket. The current
version of the package detects the following USB ids as supported:

04B4:FD10
04B4:FD11
04B4:FD12
04B4:FD13

Could you add these devices to discover-data? Do you need more
information?

Helmut


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130110091618.ga26...@alf.mars



Adding preseeding and firmware to wheezy iso netinst

2013-01-10 Thread Mathieu Parent
(Please cc me)
Hello d-i team,

I want to use the current Debian installer (7.0 Beta4) hybrid ISO
netinst but when I add a preseed.cfg file, EFI boot doesn't work.

What I need:
- Boot on CD-ROM Legacy (BIOS)
- Boot on USB Legacy (BIOS)
- Boot on USB EFI
- Boot from other modes?
- Add a preseed.cfg
- (sometimes) add some firmware files

Steve told me to use xorriso as found in the .disk/mkisofs file but I
didn't succeeded.

Having a simple tool to do this would be useful, like:
mkdebianiso --preseed=preseed.cfg --firmware=firmware-bnx2_*_all.deb
--firmware=firmware-qlogic_*_all.deb
debian-wheezy-DI-b4-amd64-netinst.iso


Regards
--
Mathieu Parent

PS:
What I have done so far:

# Some vars
DEBIAN_ISO_VERSION='wheezy-DI-b4-amd64'
DEBIAN_DIR_VERSION='wheezy_di_beta4'
mkdir ~/mk_debian_inst
cd ~/mk_debian_inst

# Get ISO and preseed
wget 
http://cdimage.debian.org/cdimage/$DEBIAN_DIR_VERSION/amd64/iso-cd/debian-$DEBIAN_ISO_VERSION-netinst.iso
wget http://autoserver/d-i/wheezy/preseed.cfg # Local webserver

# Some deps
sudo aptitude install bsdtar xorriso syslinux-common

# Extract iso
mkdir cd
bsdtar -C cd -xf debian-$DEBIAN_ISO_VERSION-netinst.iso

# Preseed:
mkdir irmod
cd irmod
gzip -d < ../cd/install.amd/initrd.gz | \
cpio --extract --make-directories --no-absolute-filenames
cp ../preseed.cfg preseed.cfg
chmod +w ../cd/install.amd/initrd.gz
find . | cpio -H newc --create --verbose | \
gzip -9 > ../cd/install.amd/initrd.gz
chmod -w ../cd/install.amd/initrd.gz
cd ../
rm -fr irmod/

# Auto boot after 5 sec
chmod +w cd/isolinux/
sed -i 's/^timeout 0$/timeout 50/' cd/isolinux/isolinux.cfg
chmod -w cd/isolinux/
chmod +w ./cd/isolinux/isolinux.bin

# Build the image -> FAILURE
xorriso -as mkisofs -r -checksum_algorithm_iso md5,sha1,sha256,sha512 \
 -V 'Debian wheezy-DI-b4 amd64 1' \
 -o debian-$DEBIAN_ISO_VERSION-netinst-nantes.iso \
 -jigdo-exclude /.disk/ -jigdo-exclude /pics/ -jigdo-exclude
'Release*' -jigdo-exclude 'Packages*' -jigdo-exclude 'Sources*' \
 -J -isohybrid-mbr /usr/lib/syslinux/isohdpfx.bin -partition_offset 16 \
 -J -joliet-long -cache-inodes -b isolinux/isolinux.bin -c
isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table
-eltorito-alt-boot \
 --efi-boot boot/grub/efi.img -append_partition 2 0x01
cd/boot/grub/efi.img boot1 CD1

# How it fails:
xorriso 1.2.2 : RockRidge filesystem manipulator, libburnia project.

Drive current: -outdev 'stdio:debian-wheezy-DI-b4-amd64-netinst-nantes.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 61.1g free
xorriso : WARNING : -volid text problematic as automatic mount point name
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
xorriso : NOTE : -as mkisofs: Ignored option '-cache-inodes'
xorriso : FAILURE : Cannot determine attributes of source file
'/home/aadsi255/Téléchargements/mk_debian_inst/boot1' : No such file
or directory
xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE'


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAFX5sbxki3dONnFGZsjU6o_siP=md_54w8q4hbtc4_ppavz...@mail.gmail.com



Bug#693891: Fails to boot in UEFI mode on Dell PowerEdge R520

2013-01-10 Thread Frederik Himpe
On Tue, 2013-01-08 at 11:14 +, Steve McIntyre wrote:

> I've looked at Systemrescuecd for inspiration. It seems they're using
> a newer version of xorriso to make their CD with (1.2.4, we're using
> 1.2.2 at the moment). 1.2.4 apparently comes with quite a number of
> improvements in the EFI area, so I've tried doing a build with that
> now. I've also incorporated some tweaks suggested by Colin Watson.
> Could you please try the following image for me and let me know if it
> works any better?
> 
>   http://cdimage.debian.org/cdimage/unofficial/efi-development/upload5/

Hi Steve,

Yes, I can confirm that this image boots fine in UEFI mode on that
machine. Thanks!

Regards,
-- 
Frederik Himpe 


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1357826760.8575.11.ca...@elitebook.vub.ac.be



Bug#693891: Fails to boot in UEFI mode on Dell PowerEdge R520

2013-01-10 Thread Steve McIntyre
On Thu, Jan 10, 2013 at 03:06:00PM +0100, Frederik Himpe wrote:
>On Tue, 2013-01-08 at 11:14 +, Steve McIntyre wrote:
>
>> I've looked at Systemrescuecd for inspiration. It seems they're using
>> a newer version of xorriso to make their CD with (1.2.4, we're using
>> 1.2.2 at the moment). 1.2.4 apparently comes with quite a number of
>> improvements in the EFI area, so I've tried doing a build with that
>> now. I've also incorporated some tweaks suggested by Colin Watson.
>> Could you please try the following image for me and let me know if it
>> works any better?
>> 
>>   http://cdimage.debian.org/cdimage/unofficial/efi-development/upload5/
>
>Hi Steve,
>
>Yes, I can confirm that this image boots fine in UEFI mode on that
>machine. Thanks!

Awesome, thanks for confirming that. :-)

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
We don't need no education.
We don't need no thought control.


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130110140921.gc6...@einval.com



Re: Adding preseeding and firmware to wheezy iso netinst

2013-01-10 Thread _
i used xorriso with command :

xorriso -as mkisofs -r -J -joliet-long -l -cache-inodes -isohybrid-mbr
/usr/lib/syslinux/isohdpfx.bin -partition_offset 16 -v -A Lihuen -p
"live-build lihuen 3.0~b4-1" -V Lihuen -b isolinux/isolinux.bin -c isolinux/
boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table
-eltorito-alt-boot --efi-boot efi.img -o binary.hybrid.iso binary

and for efi windows in folder efi/boot

used:

grub-mkimage -d . -o bootx64.efi -O x86_64-efi -p /efi/boot `find -iname
'*.mod' | xargs | sed -e 's/.mod//g'`

this work.

respect the preseed live-build used in folder:

config/debian-installer/*.cfg



2013/1/10 Mathieu Parent 

> (Please cc me)
> Hello d-i team,
>
> I want to use the current Debian installer (7.0 Beta4) hybrid ISO
> netinst but when I add a preseed.cfg file, EFI boot doesn't work.
>
> What I need:
> - Boot on CD-ROM Legacy (BIOS)
> - Boot on USB Legacy (BIOS)
> - Boot on USB EFI
> - Boot from other modes?
> - Add a preseed.cfg
> - (sometimes) add some firmware files
>
> Steve told me to use xorriso as found in the .disk/mkisofs file but I
> didn't succeeded.
>
> Having a simple tool to do this would be useful, like:
> mkdebianiso --preseed=preseed.cfg --firmware=firmware-bnx2_*_all.deb
> --firmware=firmware-qlogic_*_all.deb
> debian-wheezy-DI-b4-amd64-netinst.iso
>
>
> Regards
> --
> Mathieu Parent
>
> PS:
> What I have done so far:
>
> # Some vars
> DEBIAN_ISO_VERSION='wheezy-DI-b4-amd64'
> DEBIAN_DIR_VERSION='wheezy_di_beta4'
> mkdir ~/mk_debian_inst
> cd ~/mk_debian_inst
>
> # Get ISO and preseed
> wget
> http://cdimage.debian.org/cdimage/$DEBIAN_DIR_VERSION/amd64/iso-cd/debian-$DEBIAN_ISO_VERSION-netinst.iso
> wget http://autoserver/d-i/wheezy/preseed.cfg # Local webserver
>
> # Some deps
> sudo aptitude install bsdtar xorriso syslinux-common
>
> # Extract iso
> mkdir cd
> bsdtar -C cd -xf debian-$DEBIAN_ISO_VERSION-netinst.iso
>
> # Preseed:
> mkdir irmod
> cd irmod
> gzip -d < ../cd/install.amd/initrd.gz | \
> cpio --extract --make-directories --no-absolute-filenames
> cp ../preseed.cfg preseed.cfg
> chmod +w ../cd/install.amd/initrd.gz
> find . | cpio -H newc --create --verbose | \
> gzip -9 > ../cd/install.amd/initrd.gz
> chmod -w ../cd/install.amd/initrd.gz
> cd ../
> rm -fr irmod/
>
> # Auto boot after 5 sec
> chmod +w cd/isolinux/
> sed -i 's/^timeout 0$/timeout 50/' cd/isolinux/isolinux.cfg
> chmod -w cd/isolinux/
> chmod +w ./cd/isolinux/isolinux.bin
>
> # Build the image -> FAILURE
> xorriso -as mkisofs -r -checksum_algorithm_iso md5,sha1,sha256,sha512 \
>  -V 'Debian wheezy-DI-b4 amd64 1' \
>  -o debian-$DEBIAN_ISO_VERSION-netinst-nantes.iso \
>  -jigdo-exclude /.disk/ -jigdo-exclude /pics/ -jigdo-exclude
> 'Release*' -jigdo-exclude 'Packages*' -jigdo-exclude 'Sources*' \
>  -J -isohybrid-mbr /usr/lib/syslinux/isohdpfx.bin -partition_offset 16 \
>  -J -joliet-long -cache-inodes -b isolinux/isolinux.bin -c
> isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table
> -eltorito-alt-boot \
>  --efi-boot boot/grub/efi.img -append_partition 2 0x01
> cd/boot/grub/efi.img boot1 CD1
>
> # How it fails:
> xorriso 1.2.2 : RockRidge filesystem manipulator, libburnia project.
>
> Drive current: -outdev 'stdio:debian-wheezy-DI-b4-amd64-netinst-nantes.iso'
> Media current: stdio file, overwriteable
> Media status : is blank
> Media summary: 0 sessions, 0 data blocks, 0 data, 61.1g free
> xorriso : WARNING : -volid text problematic as automatic mount point name
> xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119
> rules
> xorriso : NOTE : -as mkisofs: Ignored option '-cache-inodes'
> xorriso : FAILURE : Cannot determine attributes of source file
> '/home/aadsi255/Téléchargements/mk_debian_inst/boot1' : No such file
> or directory
> xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE'
>
>
> --
> To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive:
> http://lists.debian.org/cafx5sbxki3donnfgzsju6o_sipmd_54w8q4hbtc4_ppavz...@mail.gmail.com
>
>


Bug#693891: Fails to boot in UEFI mode on Dell PowerEdge R520

2013-01-10 Thread _
yes boot with efi, but fail installation.

i test with qemu emul efi.

i testing...

2013/1/10 Frederik Himpe 

> On Tue, 2013-01-08 at 11:14 +, Steve McIntyre wrote:
>
> > I've looked at Systemrescuecd for inspiration. It seems they're using
> > a newer version of xorriso to make their CD with (1.2.4, we're using
> > 1.2.2 at the moment). 1.2.4 apparently comes with quite a number of
> > improvements in the EFI area, so I've tried doing a build with that
> > now. I've also incorporated some tweaks suggested by Colin Watson.
> > Could you please try the following image for me and let me know if it
> > works any better?
> >
> >   http://cdimage.debian.org/cdimage/unofficial/efi-development/upload5/
>
> Hi Steve,
>
> Yes, I can confirm that this image boots fine in UEFI mode on that
> machine. Thanks!
>
> Regards,
> --
> Frederik Himpe 
>
>
> --
> To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive:
> http://lists.debian.org/1357826760.8575.11.ca...@elitebook.vub.ac.be
>
>


Re: Adding preseeding and firmware to wheezy iso netinst

2013-01-10 Thread Mathieu Parent
2013/1/10 _ :
> i used xorriso with command :

Thanks or your tip. I still lack some infos:

> xorriso -as mkisofs -r -J -joliet-long -l -cache-inodes -isohybrid-mbr
> /usr/lib/syslinux/isohdpfx.bin -partition_offset 16 -v -A Lihuen -p
> "live-build lihuen 3.0~b4-1" -V Lihuen -b isolinux/isolinux.bin -c
> isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table
> -eltorito-alt-boot --efi-boot efi.img -o binary.hybrid.iso binary

what is "binary"? What is "efi.img"? What is the working dir?

> and for efi windows in folder efi/boot
>
> used:
>
> grub-mkimage -d . -o bootx64.efi -O x86_64-efi -p /efi/boot `find -iname
> '*.mod' | xargs | sed -e 's/.mod//g'`

and renamed bootx64.efi to "efi.img"?

> this work.
>
> respect the preseed live-build used in folder:
>
> config/debian-installer/*.cfg

Can you please provide detailled instructions as I go from errors to
errors. Last one:

~/mk_debian_inst/cd/boot/grub/x86_64-efi$ sudo grub-mkimage -d . -o
bootx64.efi -O x86_64-efi -p /efi/boot `find -iname '*.mod' | xargs |
sed -e 's/.mod//g'`
grub-mkimage : error :  cannot stat ./extcmd.mod.


>
> 2013/1/10 Mathieu Parent 
>>
>> (Please cc me)
>> Hello d-i team,
>>
>> I want to use the current Debian installer (7.0 Beta4) hybrid ISO
>> netinst but when I add a preseed.cfg file, EFI boot doesn't work.
>>
>> What I need:
>> - Boot on CD-ROM Legacy (BIOS)
>> - Boot on USB Legacy (BIOS)
>> - Boot on USB EFI
>> - Boot from other modes?
>> - Add a preseed.cfg
>> - (sometimes) add some firmware files
>>
>> Steve told me to use xorriso as found in the .disk/mkisofs file but I
>> didn't succeeded.
>>
>> Having a simple tool to do this would be useful, like:
>> mkdebianiso --preseed=preseed.cfg --firmware=firmware-bnx2_*_all.deb
>> --firmware=firmware-qlogic_*_all.deb
>> debian-wheezy-DI-b4-amd64-netinst.iso
>>
>>
>> Regards
>> --
>> Mathieu Parent
>>
>> PS:
>> What I have done so far:
>>
>> # Some vars
>> DEBIAN_ISO_VERSION='wheezy-DI-b4-amd64'
>> DEBIAN_DIR_VERSION='wheezy_di_beta4'
>> mkdir ~/mk_debian_inst
>> cd ~/mk_debian_inst
>>
>> # Get ISO and preseed
>> wget
>> http://cdimage.debian.org/cdimage/$DEBIAN_DIR_VERSION/amd64/iso-cd/debian-$DEBIAN_ISO_VERSION-netinst.iso
>> wget http://autoserver/d-i/wheezy/preseed.cfg # Local webserver
>>
>> # Some deps
>> sudo aptitude install bsdtar xorriso syslinux-common
>>
>> # Extract iso
>> mkdir cd
>> bsdtar -C cd -xf debian-$DEBIAN_ISO_VERSION-netinst.iso
>>
>> # Preseed:
>> mkdir irmod
>> cd irmod
>> gzip -d < ../cd/install.amd/initrd.gz | \
>> cpio --extract --make-directories --no-absolute-filenames
>> cp ../preseed.cfg preseed.cfg
>> chmod +w ../cd/install.amd/initrd.gz
>> find . | cpio -H newc --create --verbose | \
>> gzip -9 > ../cd/install.amd/initrd.gz
>> chmod -w ../cd/install.amd/initrd.gz
>> cd ../
>> rm -fr irmod/
>>
>> # Auto boot after 5 sec
>> chmod +w cd/isolinux/
>> sed -i 's/^timeout 0$/timeout 50/' cd/isolinux/isolinux.cfg
>> chmod -w cd/isolinux/
>> chmod +w ./cd/isolinux/isolinux.bin
>>
>> # Build the image -> FAILURE
>> xorriso -as mkisofs -r -checksum_algorithm_iso md5,sha1,sha256,sha512 \
>>  -V 'Debian wheezy-DI-b4 amd64 1' \
>>  -o debian-$DEBIAN_ISO_VERSION-netinst-nantes.iso \
>>  -jigdo-exclude /.disk/ -jigdo-exclude /pics/ -jigdo-exclude
>> 'Release*' -jigdo-exclude 'Packages*' -jigdo-exclude 'Sources*' \
>>  -J -isohybrid-mbr /usr/lib/syslinux/isohdpfx.bin -partition_offset 16 \
>>  -J -joliet-long -cache-inodes -b isolinux/isolinux.bin -c
>> isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table
>> -eltorito-alt-boot \
>>  --efi-boot boot/grub/efi.img -append_partition 2 0x01
>> cd/boot/grub/efi.img boot1 CD1
>>
>> # How it fails:
>> xorriso 1.2.2 : RockRidge filesystem manipulator, libburnia project.
>>
>> Drive current: -outdev
>> 'stdio:debian-wheezy-DI-b4-amd64-netinst-nantes.iso'
>> Media current: stdio file, overwriteable
>> Media status : is blank
>> Media summary: 0 sessions, 0 data blocks, 0 data, 61.1g free
>> xorriso : WARNING : -volid text problematic as automatic mount point name
>> xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119
>> rules
>> xorriso : NOTE : -as mkisofs: Ignored option '-cache-inodes'
>> xorriso : FAILURE : Cannot determine attributes of source file
>> '/home/aadsi255/Téléchargements/mk_debian_inst/boot1' : No such file
>> or directory
>> xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE'
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact
>> listmas...@lists.debian.org
>> Archive:
>> http://lists.debian.org/cafx5sbxki3donnfgzsju6o_sipmd_54w8q4hbtc4_ppavz...@mail.gmail.com
>>
>



--
Mathieu


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cafx5sby-q_s8stl-0davbvzarrycdj9px392cy0phkk0dfi...@mail.gmail.com



Re: Adding preseeding and firmware to wheezy iso netinst

2013-01-10 Thread _
 what is "binary"? What is "efi.img"? What is the working dir?

i work on directory "binary" it generate by "lb build"

and renamed bootx64.efi to "efi.img"?
No, bootx64.efi only windows it generate with "grub-mkimage -d . -o
bootx64.efi -O x86_64-efi -p /efi/boot `find -iname '*.mod' | xargs | sed
-e 's/.mod//g'`" (web http://wiki.osdev.org/GRUB)

efi.img  it generate by debian-installer with FLAG

GRUB_EFI=y
debian-installer/build
in config/$ARCH.cfg

with all.

i boot with qemu emul efi and it's work .

Nota: Only boot for this moment doesn't install.

i practice with ovmf efi.

for more info read binary_debian_installer and binary_iso for live-build.

good luck and I hope I have helped.


2013/1/10 Mathieu Parent 

> 2013/1/10 _ :
> > i used xorriso with command :
>
> Thanks or your tip. I still lack some infos:
>
> > xorriso -as mkisofs -r -J -joliet-long -l -cache-inodes -isohybrid-mbr
> > /usr/lib/syslinux/isohdpfx.bin -partition_offset 16 -v -A Lihuen -p
> > "live-build lihuen 3.0~b4-1" -V Lihuen -b isolinux/isolinux.bin -c
> > isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table
> > -eltorito-alt-boot --efi-boot efi.img -o binary.hybrid.iso binary
>
> what is "binary"? What is "efi.img"? What is the working dir?
>
> > and for efi windows in folder efi/boot
> >
> > used:
> >
> > grub-mkimage -d . -o bootx64.efi -O x86_64-efi -p /efi/boot `find -iname
> > '*.mod' | xargs | sed -e 's/.mod//g'`
>
> and renamed bootx64.efi to "efi.img"?
>
> > this work.
> >
> > respect the preseed live-build used in folder:
> >
> > config/debian-installer/*.cfg
>
> Can you please provide detailled instructions as I go from errors to
> errors. Last one:
>
> ~/mk_debian_inst/cd/boot/grub/x86_64-efi$ sudo grub-mkimage -d . -o
> bootx64.efi -O x86_64-efi -p /efi/boot `find -iname '*.mod' | xargs |
> sed -e 's/.mod//g'`
> grub-mkimage : error :  cannot stat ./extcmd.mod.
>
>
> >
> > 2013/1/10 Mathieu Parent 
> >>
> >> (Please cc me)
> >> Hello d-i team,
> >>
> >> I want to use the current Debian installer (7.0 Beta4) hybrid ISO
> >> netinst but when I add a preseed.cfg file, EFI boot doesn't work.
> >>
> >> What I need:
> >> - Boot on CD-ROM Legacy (BIOS)
> >> - Boot on USB Legacy (BIOS)
> >> - Boot on USB EFI
> >> - Boot from other modes?
> >> - Add a preseed.cfg
> >> - (sometimes) add some firmware files
> >>
> >> Steve told me to use xorriso as found in the .disk/mkisofs file but I
> >> didn't succeeded.
> >>
> >> Having a simple tool to do this would be useful, like:
> >> mkdebianiso --preseed=preseed.cfg --firmware=firmware-bnx2_*_all.deb
> >> --firmware=firmware-qlogic_*_all.deb
> >> debian-wheezy-DI-b4-amd64-netinst.iso
> >>
> >>
> >> Regards
> >> --
> >> Mathieu Parent
> >>
> >> PS:
> >> What I have done so far:
> >>
> >> # Some vars
> >> DEBIAN_ISO_VERSION='wheezy-DI-b4-amd64'
> >> DEBIAN_DIR_VERSION='wheezy_di_beta4'
> >> mkdir ~/mk_debian_inst
> >> cd ~/mk_debian_inst
> >>
> >> # Get ISO and preseed
> >> wget
> >>
> http://cdimage.debian.org/cdimage/$DEBIAN_DIR_VERSION/amd64/iso-cd/debian-$DEBIAN_ISO_VERSION-netinst.iso
> >> wget http://autoserver/d-i/wheezy/preseed.cfg # Local webserver
> >>
> >> # Some deps
> >> sudo aptitude install bsdtar xorriso syslinux-common
> >>
> >> # Extract iso
> >> mkdir cd
> >> bsdtar -C cd -xf debian-$DEBIAN_ISO_VERSION-netinst.iso
> >>
> >> # Preseed:
> >> mkdir irmod
> >> cd irmod
> >> gzip -d < ../cd/install.amd/initrd.gz | \
> >> cpio --extract --make-directories --no-absolute-filenames
> >> cp ../preseed.cfg preseed.cfg
> >> chmod +w ../cd/install.amd/initrd.gz
> >> find . | cpio -H newc --create --verbose | \
> >> gzip -9 > ../cd/install.amd/initrd.gz
> >> chmod -w ../cd/install.amd/initrd.gz
> >> cd ../
> >> rm -fr irmod/
> >>
> >> # Auto boot after 5 sec
> >> chmod +w cd/isolinux/
> >> sed -i 's/^timeout 0$/timeout 50/' cd/isolinux/isolinux.cfg
> >> chmod -w cd/isolinux/
> >> chmod +w ./cd/isolinux/isolinux.bin
> >>
> >> # Build the image -> FAILURE
> >> xorriso -as mkisofs -r -checksum_algorithm_iso md5,sha1,sha256,sha512 \
> >>  -V 'Debian wheezy-DI-b4 amd64 1' \
> >>  -o debian-$DEBIAN_ISO_VERSION-netinst-nantes.iso \
> >>  -jigdo-exclude /.disk/ -jigdo-exclude /pics/ -jigdo-exclude
> >> 'Release*' -jigdo-exclude 'Packages*' -jigdo-exclude 'Sources*' \
> >>  -J -isohybrid-mbr /usr/lib/syslinux/isohdpfx.bin -partition_offset 16 \
> >>  -J -joliet-long -cache-inodes -b isolinux/isolinux.bin -c
> >> isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table
> >> -eltorito-alt-boot \
> >>  --efi-boot boot/grub/efi.img -append_partition 2 0x01
> >> cd/boot/grub/efi.img boot1 CD1
> >>
> >> # How it fails:
> >> xorriso 1.2.2 : RockRidge filesystem manipulator, libburnia project.
> >>
> >> Drive current: -outdev
> >> 'stdio:debian-wheezy-DI-b4-amd64-netinst-nantes.iso'
> >> Media current: stdio file, overwriteable
> >> Media status : is blank
> >> Media summary: 0 sessions, 0 data blocks, 0 data, 61.1g free
> >> xorriso : WARNING : -volid text p

Re: mklibs patch: fix invalid library search path

2013-01-10 Thread Joe Seymour
> If mklibs is called with both --root and --sysroot specified, and> for a 
> library found in rpath, mklibs searches this library in
> // which is an invalid path.  Since 
> already points to an absolute directory on host, we should not
> add  prefix to it.  Here is a mklibs patch for this issue.
> 
> Lei
> 
> 
> * Fix invalid search path for rpath libraries
> 
> diff --git a/src/mklibs b/src/mklibs
> index ef15147..71ef4da 100755
> --- a/src/mklibs
> +++ b/src/mklibs
> @@ -233,6 +233,9 @@ def find_lib(lib):
>  for path in lib_path:
>  if os.access(sysroot + path + "/" + lib, os.F_OK):
>  return sysroot + path + "/" + lib
> +for path in lib_rpath:
> +if os.access(path + "/" + lib, os.F_OK):
> +return path + "/" + lib
> 
>  return ""
> 
> @@ -447,8 +450,6 @@ for obj in objects.values():
>  else:
>  print "warning: " + obj + " may need rpath, but --root not 
> specified"
> 
> -lib_path.extend(lib_rpath)
> -
>  passnr = 1
>  available_libs = []
>  previous_pass_unresolved = set()

Perhaps I've missed something... There are other uses of lib_path in mklibs not
adjusted by this patch. Those will no longer see any rpaths, so you've
changed the set of paths handled at various points, is that intentional?

Here's my cut at the same patch:

Joe

* src/mklibs: Don't include lib_rpath in lib_path. Update use
sites of lib_path to handle lib_rpath separately.
(find_lib, find_pic, find_pic_map): Add handling of lib_rpath.

Index: src/mklibs
===
--- src/mklibs  (revision 399065)
+++ src/mklibs  (working copy)
@@ -233,6 +233,9 @@ def find_lib(lib):
 for path in lib_path:
 if os.access(sysroot + path + "/" + lib, os.F_OK):
 return sysroot + path + "/" + lib
+for path in lib_rpath:
+if os.access(path + "/" + lib, os.F_OK):
+return path + "/" + lib
 
 return ""
 
@@ -243,6 +246,10 @@ def find_pic(lib):
 for file in glob.glob(sysroot + path + "/" + base_name + "_pic.a"):
 if os.access(file, os.F_OK):
 return resolve_link(file)
+for path in lib_rpath:
+for file in glob.glob(path + "/" + base_name + "_pic.a"):
+if os.access(file, os.F_OK):
+return resolve_link(file)
 return ""
 
 # Find a PIC .map file for the library
@@ -252,6 +259,10 @@ def find_pic_map(lib):
 for file in glob.glob(sysroot + path + "/" + base_name + "_pic.map"):
 if os.access(file, os.F_OK):
 return resolve_link(file)
+for path in lib_rpath:
+for file in glob.glob(path + "/" + base_name + "_pic.map"):
+if os.access(file, os.F_OK):
+return resolve_link(file)
 return ""
 
 soname_cache = {}
@@ -464,8 +475,6 @@ for obj in objects.values():
 else:
 print "warning: " + obj + " may need rpath, but --root not 
specified"
 
-lib_path.extend(lib_rpath)
-
 passnr = 1
 available_libs = []
 previous_pass_unresolved = set()
@@ -559,7 +568,7 @@ while 1:
 path = find_lib(library)
 if not path:
 sys.exit("Library not found: " + library + " in path: "
-+ ':'.join(lib_path))
++ ':'.join(lib_path) + ':'.join(lib_rpath))
 symbols = provided_symbols(path)
 library_symbols[library] = {}
 library_symbols_used[library] = set()
@@ -640,6 +656,7 @@ while 1:
 cmd.extend(extra_flags)
 cmd.append("-lgcc")
 cmd.extend(["-L%s" % a for a in [dest_path] + [sysroot + b for b 
in lib_path if sysroot == "" or b not in ("/" + libdir + "/", "/usr/" + libdir 
+ "/")]])
+cmd.extend(["-L%s" % a for a in lib_rpath])
 cmd.append(library_depends_gcc_libnames(so_file))
 command(target + "gcc", *cmd)
 




-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50ef0c55.5040...@codesourcery.com



Re: r68463 - trunk/packages/po/sublevel3

2013-01-10 Thread Christian PERRIER
Quoting Dmitrijs Ledkovs (x...@alioth.debian.org):
> Author: xnox
> Date: Wed Jan  9 13:46:40 2013
> New Revision: 68463
> 
> Log:
> Fix incomplete preseed template string in the ml translation.

Hello Dmitrijs,

Thanks for your fix. A minor remark:

> 
> Modified:
>trunk/packages/po/sublevel3/ml.po
> 
> Modified: trunk/packages/po/sublevel3/ml.po
> ==
> --- trunk/packages/po/sublevel3/ml.po Tue Jan  8 16:46:26 2013(r68462)
> +++ trunk/packages/po/sublevel3/ml.po Wed Jan  9 13:46:40 2013(r68463)
> @@ -1205,7 +1205,12 @@
>  msgstr ""
>  "ഇത് പ്രീസീഡ് ഫയലുകളുള്ള ഒരു കമ്പ്യൂട്ടറിന്റെ പേരോ ഒരു മുഴുവന്‍ 
> യൂആര്‍‌‌എല്ലോ ആകാം. ഇതിലേതു "
>  "വേണമെങ്കിലും  ഉപയോഗിക്കാം :\n"
> -" "
> +"  intra\t\t[for example.com, these three are equivalent]\n"
> +"  intra.example.com\n"
> +"  http://intra.example.com/d-i/./lenny/preseed.cfg\n";
> +"  http://192.168.0.1/~phil/test47.txt\n";
> +"  floppy://preseed.cfg\n"
> +"  file:///hd-media/kiosk/./preseed.cfg"

In such cases, please notify the translator as, here, you introduce
some translatable English strings "for example.com, these three are
equivalent" in the translation.

Also, modify the translation file date so that it is modified too when
the file in preseed/debian/po is changed by the sync scriptand my
own monitoring tools can detect that preseed has a change in a
translation.

Here, I noticed your change only because I monitor commits..:-). I
could have missed it and no upload would happen...until something else
is fixed.




signature.asc
Description: Digital signature


Bug#697890: installation-reports: iwconfig not in /sbin

2013-01-10 Thread d28jm
Package: installation-reports
Severity: normal
Tags: d-i

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?

Tried to configure the wireless interface.

root? iwconfig
bash: iwconfig : commande introuvable
root? ls -l /sbin/i*
-rwxr-xr-x 1 root root 72296 sep  7 09:54 /sbin/ifconfig
-rwxr-xr-x 3 root root 54272 nov  3 18:59 /sbin/ifdown
-rwxr-xr-x 3 root root 54272 nov  3 18:59 /sbin/ifquery
-rwxr-xr-x 3 root root 54272 nov  3 18:59 /sbin/ifup
-rwxr-xr-x 1 root root 40560 nov 16 22:25 /sbin/init
lrwxrwxrwx 1 root root 9 aoû 27 03:55 /sbin/insmod -> /bin/kmod
-rwxr-xr-x 1 root root 56384 nov 23 22:28 /sbin/insserv
-rwxr-xr-x 1 root root  2382 jun 28  2012 /sbin/installkernel
lrwxrwxrwx 1 root root 7 jun 21  2012 /sbin/ip -> /bin/ip
lrwxrwxrwx 1 root root13 jui 28 18:07 /sbin/ip6tables -> xtables-multi
lrwxrwxrwx 1 root root13 jui 28 18:07 /sbin/ip6tables-restore -> xtables-
multi
lrwxrwxrwx 1 root root13 jui 28 18:07 /sbin/ip6tables-save -> xtables-multi
-rwxr-xr-x 1 root root 18696 sep  7 09:54 /sbin/ipmaddr
lrwxrwxrwx 1 root root13 jui 28 18:07 /sbin/iptables -> xtables-multi
lrwxrwxrwx 1 root root13 jui 28 18:07 /sbin/iptables-restore -> xtables-
multi
lrwxrwxrwx 1 root root13 jui 28 18:07 /sbin/iptables-save -> xtables-multi
-rwxr-xr-x 1 root root 22800 sep  7 09:54 /sbin/iptunnel
-rwxr-xr-x 1 root root 14552 sep  9 22:06 /sbin/isosize
root?



-- Package-specific info:

Boot method: 
Image version: 
Date: 

Machine: 
Partitions: 


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

Initial boot:   [ ]
Detect network card:[ ]
Configure network:  [ ]
Detect CD:  [ ]
Load installer modules: [ ]
Clock/timezone setup:   [ ]
User/password setup:[ ]
Detect hard drives: [ ]
Partition hard drives:  [ ]
Install base system:[ ]
Install tasks:  [ ]
Install boot loader:[ ]
Overall install:[ ]

Comments/Problems:




-- 

Please make sure that the hardware-summary log file, and any other
installation logs that you think would be useful are attached to this
report. Please compress large files using gzip.

Once you have filled out this report, mail it to sub...@bugs.debian.org.

==
Installer lsb-release:
==
DISTRIB_ID=Debian
DISTRIB_DESCRIPTION="Debian GNU/Linux installer"
DISTRIB_RELEASE="7.0 (wheezy) - installer build 20121217-00:04"
X_INSTALLATION_MEDIUM=cdrom

==
Installer hardware-summary:
==
uname -a: Linux pc4 3.2.0-4-amd64 #1 SMP Debian 3.2.35-1 x86_64 GNU/Linux
lspci -knn: 00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core 
Processor Family DRAM Controller [8086:0104] (rev 09)
lspci -knn: Subsystem: ASUSTeK Computer Inc. Device [1043:13c7]
lspci -knn: Kernel driver in use: agpgart-intel
lspci -knn: 00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd 
Generation Core Processor Family Integrated Graphics Controller [8086:0116] 
(rev 09)
lspci -knn: Subsystem: ASUSTeK Computer Inc. Device [1043:13c7]
lspci -knn: 00:16.0 Communication controller [0780]: Intel Corporation 6 
Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
lspci -knn: Subsystem: ASUSTeK Computer Inc. Device [1043:13c7]
lspci -knn: 00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 
Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05)
lspci -knn: Subsystem: ASUSTeK Computer Inc. Device [1043:13c7]
lspci -knn: Kernel driver in use: ehci_hcd
lspci -knn: 00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series 
Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
lspci -knn: Subsystem: ASUSTeK Computer Inc. Device [1043:13c7]
lspci -knn: Kernel driver in use: snd_hda_intel
lspci -knn: 00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series 
Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b5)
lspci -knn: Kernel driver in use: pcieport
lspci -knn: 00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series 
Chipset Family PCI Express Root Port 2 [8086:1c12] (rev b5)
lspci -knn: Kernel driver in use: pcieport
lspci -knn: 00:1c.3 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series 
Chipset Family PCI Express Root Port 4 [8086:1c16] (rev b5)
lspci -knn: Kernel driver in use: pcieport
lspci -knn: 00:1c.5 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series 
Chipset Family PCI Express Root Port 6 [8086:1c1a] (rev b5)
lspci -knn: Kernel driver in use: pcieport
lspci -knn: 00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 
Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05)
lspci -knn: Subsystem: ASUSTeK Computer Inc. Device [1043:13c7]
lspci 

Re: mklibs patch: fix invalid library search path

2013-01-10 Thread Liu, Lei
On 2013年01月11日 02:45, Joe Seymour wrote:
>> If mklibs is called with both --root and --sysroot specified, and> for a 
>> library found in rpath, mklibs searches this library in
>> // which is an invalid path.  Since 
>> already points to an absolute directory on host, we should not
>> add  prefix to it.  Here is a mklibs patch for this issue.
>>
>> Lei
>>
>>
>> * Fix invalid search path for rpath libraries
>>
>> diff --git a/src/mklibs b/src/mklibs
>> index ef15147..71ef4da 100755
>> --- a/src/mklibs
>> +++ b/src/mklibs
>> @@ -233,6 +233,9 @@ def find_lib(lib):
>>  for path in lib_path:
>>  if os.access(sysroot + path + "/" + lib, os.F_OK):
>>  return sysroot + path + "/" + lib
>> +for path in lib_rpath:
>> +if os.access(path + "/" + lib, os.F_OK):
>> +return path + "/" + lib
>>
>>  return ""
>>
>> @@ -447,8 +450,6 @@ for obj in objects.values():
>>  else:
>>  print "warning: " + obj + " may need rpath, but --root not 
>> specified"
>>
>> -lib_path.extend(lib_rpath)
>> -
>>  passnr = 1
>>  available_libs = []
>>  previous_pass_unresolved = set()
> 
> Perhaps I've missed something... There are other uses of lib_path in mklibs 
> not
> adjusted by this patch. Those will no longer see any rpaths, so you've
> changed the set of paths handled at various points, is that intentional?

No, it was my overlook.  Your patch looks more reasonable.

Thanks.
Lei


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50ef691f.9060...@windriver.com



Bug#697890: installation-reports: iwconfig not in /sbin

2013-01-10 Thread Christian PERRIER
Quoting d28jm (jswmb...@mobistarmail.be):

> root? iwconfig
> bash: iwconfig : commande introuvable


You don't give much details. Is that on the installed system or during
the installation phase, when switching to another console?




signature.asc
Description: Digital signature