Re: sarge-install onto Thinkpad
> I would certainly be interested in discussing XFS support for d-i with > anyone willing to help work on it. I might be persuaded to put together > maintained kernel images using the XFS patch, if there was enough > overall interest to support a full d-i build and make the effort > worthwhile. Someone just asked me for an install CD that did XFS. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: fakeroot fails to handle device files
> fakeroot (as of today's unstable) fails to handle device files > correctly, at least on my mips box. This means the d-i images > have _regular_ files in /dev: Er, it _does_ handle them correctly. % fakeroot sh -c 'mknod /tmp/fives c 5 5 ; ls -l /tmp/fives';ls -l /tmp/fives crw-r--r--1 root root 5, 5 2003-11-25 09:49 /tmp/fives -rw-r--r--1 clintclint 0 2003-11-25 09:49 /tmp/fives fakeroot doesn't grant you additional privileges. If you can't make real device nodes without fakeroot, you can't make real device nodes with it; only fake ones. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
compaq raid cards
debian-installer beta 2 seems to be confounded by Compaq SmartArray cards. Specifically, in the "Configure and mount partitions" step, there are options 'N', 'O', 'P' (usually repeated multiple times), and some or all of the partitions on the logical drive. Selecting any of these options results in a quiet return to the main menu. LVM volumes will show up on this list and behave just fine. What additional information would help solve this problem? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: compaq raid cards
> What additional information would help solve this problem? This appears to be bug #232417. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#232417: compaq raid cards
> You may find that this is also related to these bugs: > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=232415 > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=232413 Thanks. After skimming the partconf source, I wonder if this has something to do with the different naming schemes used in /proc/partitions and /dev (the former appears to be cciss/c0d0p0, and the latter /dev/cciss/disc0/part1) Can someone more familiar with this comment? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
beta3 problems
There still appears to be a problem installing to a machine with a cciss card; mkinitrd will fail because the devfs name is not present on /target/dev. Also, if one creates a device node or symlink with the devfs name, and attempts the base system installation again, it will fail because /target/usr/bin/awk already exists. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#992733: discover: mktemp vs. tempfile
Package: discover Version: 2.1.2-8 Tags: patch Please use mktemp instead of tempfile. >From cb2d2896a73b934126ca2a3026114cf855ecd5b6 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sun, 22 Aug 2021 17:37:33 -0400 Subject: [PATCH] scripts/discover-pkginstall: use mktemp instead of tempfile --- scripts/discover-pkginstall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/discover-pkginstall b/scripts/discover-pkginstall index 6f9bb58..a3324da 100755 --- a/scripts/discover-pkginstall +++ b/scripts/discover-pkginstall @@ -164,7 +164,7 @@ if [ "$packages" ] ; then # Trick to avoid locking the debconf database when installing # packages. The redirects are gross hacks to work around # debconf file descriptor handling -tempfile=$(tempfile) +tempfile=$(mktemp) DISCOVER_PKGINSTALL_ASKING=true $0 $packages 8>$tempfile packages=$(cat $tempfile) rm $tempfile -- 2.32.0
Bug#269446: sarge RC1 on Compaq Proliant DL360
Package: installation-reports Version: sarge RC1 netinst ISO Debian-installer-version: RC1 netinst ISO downloaded 20040831 uname -a: Linux collector1 2.6.8 #1 SMP Wed Sep 1 08:32:19 UTC 2004 i686 GNU/Linux Date: 20040831 Method: booted from netinst iso, downloaded debs from ftp.debian.org Machine: Compaq Proliant DL360 Processor: Dual Pentium III (Coppermine) 1000MHz Memory: 1152K Root Device: Compaq (CISS) RAID device (/dev/ida/c0d0p3) Root Size/partition table: Disk /dev/ida/c0d0: 36.6 GB, 36698849280 bytes 255 heads, 32 sectors/track, 8784 cylinders Units = cylinders of 8160 * 512 = 4177920 bytes Device Boot Start End Blocks Id System /dev/ida/c0d0p1 * 1 36 146864 83 Linux /dev/ida/c0d0p2 37 275 975120 82 Linux swap /dev/ida/c0d0p3 276 398 501840 83 Linux /dev/ida/c0d0p4 3998784342148805 Extended /dev/ida/c0d0p5 399 877 1954304 83 Linux /dev/ida/c0d0p6 8781356 1954304 83 Linux /dev/ida/c0d0p71357878430306224 83 Linux Output of lspci: :00:00.0 Host bridge: ServerWorks CNB20LE Host Bridge (rev 05) :00:00.1 Host bridge: ServerWorks CNB20LE Host Bridge (rev 05) :00:01.0 RAID bus controller: LSI Logic / Symbios Logic 53C1510 (rev 02) :00:03.0 VGA compatible controller: ATI Technologies Inc 3D Rage IIC 215IIC [Mach64 GT IIC] (rev 7a) :00:04.0 System peripheral: Compaq Computer Corporation Advanced System Management Controller :00:0f.0 ISA bridge: ServerWorks OSB4 South Bridge (rev 51) :00:0f.1 IDE interface: ServerWorks OSB4 IDE Controller :03:04.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08) :03:05.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08) Base System Installation Checklist: Initial boot worked:[O] Configure network HW: [O] Config network: [O] Detect CD: [O] Load installer modules: [O] Detect hard drives: [O] Partition hard drives: [O] Create file systems:[O] Mount partitions: [O] Install base system:[O] Install boot loader:[E] Reboot: [E] [O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it Comments/Problems: grub and lilo are confused by the RAID device and refuse to install. After forcing grub to see the error of its ways, neither 2.4.26-1-386 nor 2.6.8-1-686-smp will boot; they are unable to find dev/console and they panic. I found it necessary to build a 2.6.8 kernel with the Compaq RAID card and filesystems compiled in; after booting this, the installation proceeded more or less as expected. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Daily d-i builds fail on armhf and armel with segfault in mklibs
On Sun, Sep 11, 2016 at 10:36:21PM +0200, Karsten Merker wrote: > CCing Clint Adams (fakeroot maintainer) in the hope that he might > be able to provide some further insight. I don't have access to my ARM devices this week but if I did I would try what's described in the gdb section of /usr/share/doc/fakeroot/DEBUG .
Re: busybox bloat
> `command' > > if (command -v chmod > /dev/null 2>&1) ; then > chmod go-w /foobar > else > echo 'your system is broken' 2>&1 > exit 1 > fi > > its a shell builtin mandated by posix. > > version of busybox is 0.61-1 command is mandated. command -v is optional. Therefore the above snippet might echo 'your system is broken' on a POSIX-compliant system. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: busybox bloat
> True. But -v is specified by SuS and is in the Austin Draft. Incidentally, > the command type is also specified by the two documents. `type' is X/Open, no? Perhaps Debian policy should be revised to require support for SuS instead of POSIX. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#269446: #269446 installing on proliant dl360g1
> Since this bug was filed there have been fixes in both grub/lilo and in the > kernel that should fix this. I no longer have access to any of the relevant hardware to test or verify that this is fixed, so feel free to close the bug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Errata updating for beta1
On Mon, Mar 17, 2008 at 03:02:33PM -0300, Otavio Salvador wrote: > -If you do not see your problem listed here, > +This is a list of known problems in the etch Beta1 release of lenny? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#458663: gz/bz2/xz for debootstrap data.tar
This anticipates the eventuality of data.tar.xz. --- functions.orig 2009-11-16 08:41:11.094921291 -0500 +++ functions 2009-11-16 08:48:13.883895352 -0500 @@ -719,13 +719,19 @@ extract () { ( cd "$TARGET" - local p=0 + local p=0 tarball for pkg in $(debfor "$@"); do p="$(($p + 1))" progress "$p" "$#" EXTRACTPKGS "Extracting packages" packagename="$(echo "$pkg" | sed 's,^.*/,,;s,_.*$,,')" info EXTRACTING "Extracting %s..." "$packagename" - ar -p "./$pkg" data.tar.gz | zcat | tar -xf - + tarball=$(ar -t "./$pkg" | grep "^data.tar.[bgx]z") + case "$tarball" in + (data.tar.gz) ar -p "./$pkg" data.tar.gz | zcat | tar -xf - ;; + (data.tar.bz2) ar -p "./$pkg" data.tar.bz2 | bzcat | tar -xf - ;; + (data.tar.xz) ar -p "./$pkg" data.tar.xz | xzcat | tar -xf - ;; + (*) error 1 UNKNOWNDATACOMP "Unknown compression type for %s in %s" "$tarball" "$pkg" ;; + esac done ); } -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#517854: Haven't install Chinese fonts and input engine in locale zh_HK
On Tue, Mar 03, 2009 at 10:06:56PM +0100, Christian Perrier wrote: > We probably have a similar problem with zh_SG. What is used in > Singapore? Traditional or Simplified? They switched to Simplified quite some time ago. Malaysia is still using Traditional, and I'm not sure about Indonesia but I think they're also Traditional. -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#612376: flash-kernel: please include efikamx support
Package: flash-kernel Version: 2.37 The attached file is part of the flash-kernel 2.28ubuntu10genesi1 distributed by Genesi. Please incorporate the efikamx_flash_kernel function. I would change the boot.scr generation to include console=${console} as part of bootargs. #!/bin/sh # Copyright (C) 2006 Joey Hess # Copyright (C) 2006, 2007, 2008, 2009 Martin Michlmayr # Copyright (C) 2009, 2010 Canonical Ltd # Copyright (C) 2010 Genesi USA, Inc. # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, # USA. set -e error() { echo "$@" >&2 exit 1 } check_mtd() { if [ ! -e /proc/mtd ]; then error "/proc/mtd doesn't exist" fi } mtdblock() { grep "\"$1\"" /proc/mtd | cut -d: -f 1 | sed 's/mtd/\/dev\/mtdblock/' } check_dev_mtdblock() { if [ ! -b "$1" ]; then error "$1 is not a block device" fi } mtdsize() { size=$(grep "\"$1\"" /proc/mtd | cut -d " " -f 2) printf "%d" 0x$size } check_subarch() { if [ -n "$subarch" ] && [ "$subarch" != "$1" ]; then echo "Kernel $kfile does not match your subarchitecture" >&2 echo "$1, therefore not writing it to flash." >&2 exit 0 fi } check_size() { if [ $2 -gt $3 ]; then error "The $1 doesn't fit in flash." fi } check_fis() { if ! fis -d "$1" -o "$2" -s "$3" list >/dev/null; then error "fis list failed on device $1 at offset $2 with size $3" fi } # returns addr, size, and entry in hex, space separated; e.g. for the kernel # partition, when fis list would return: # kernel: addr = 0x0006, size = 0x0040, entry = 0x0010, \ # length = 0x002144c0, cksum = 0xe9909335 # this function outputs: # 0006 0040 0010 fis_info() { LC_ALL=C fis -d "$1" -o "$2" -s "$3" list | sed -rn "s/^[[:space:]]*$4: addr = 0x([0-9a-f]{8}), size = 0x([0-9a-f]{8}), entry = 0x([0-9a-f]{8}), length = 0x[0-9a-f]{8}, cksum = 0x[0-9a-f]{8}\$/\1 \2 \3/p" } # pass fis_info output in args and outputs the decimal offset fis_offset() { printf %d 0x$1 } # pass fis_info output in args and outputs the decimal size fis_size() { printf %d 0x$2 } # pass fis_info output in args and outputs the decimal entry point fis_entry() { printf %d 0x$3 } # See http://www.nslu2-linux.org/wiki/Info/BootFlash -- the NSLU2 uses a # 16 byte MTD header, the first four bytes (big endian) give the length of # the remainder of the image, and the remaining bytes are zero. Generate # this header. sercomm_header() { perl -e 'print pack("N4", shift)' "$1" } nslu2_swap() { if [ "$little_endian" ]; then devio "<<$1" "xp $,4" else cat "$1" fi } # list of functions to call on cleanup cleanup_funcs="" cleanup() { for f in $cleanup_funcs; do $f done } # generic flash-kernel routines for specific subarchs omap_flash_kernel() { if [ -n "${UBOOT_PART}" ]; then echo "Using u-boot partition: ${UBOOT_PART}" >&2 TMPMOUNT=$(mktemp -d) mount $UBOOT_PART $TMPMOUNT printf "Creating backups of uImage and uInitrd... " >&2 if [ -e $TMPMOUNT/uImage ]; then cp $TMPMOUNT/uImage $TMPMOUNT/uImage.bak fi if [ -e $TMPMOUNT/uInitrd ]; then cp $TMPMOUNT/uInitrd $TMPMOUNT/uInitrd.bak fi echo "done." >&2 printf "Generating kernel u-boot image... " >&2 mkimage -A arm -O linux -T kernel -C none -a 0x80008000 \ -e 0x80008000 -n "Ubuntu Kernel" -d $kfile $TMPMOUNT/uImage >&2 1>/dev/null echo "done." >&2 printf "Generating Initramfs u-boot image... " >&2 mkimage -A arm -O linux -T ramdisk -C none -a 0x0 -e 0x0 \ -n "Ubuntu Initrd" -d $ifile $TMPMOUNT/uInitrd >&2 1>/dev/null echo "done." >&2 if [ -e /boot/boot.script ];then printf "Generating u-boot configuration from /boot/boot.script... " >&2 cp $TMPMOUNT/boot.scr $TMPMOUNT/boot
Bug#612376: flash-kernel: please include efikamx support
On Thu, Feb 10, 2011 at 08:11:36AM +, Martin Michlmayr wrote: > Yeah, you'd think that Clint would know how to submit a proper patch. My apologies. --- flash-kernel.sid 2011-02-12 17:41:30.532519059 -0500 +++ flash-kernel.patched 2011-02-12 17:54:16.589578778 -0500 @@ -76,6 +76,69 @@ fi } +efikamx_flash_kernel() { +root=$(readlink -f /dev/root) +echo "Root filesystem is $root" >&2 + +loadaddr=0x90008000 + tmpdir="$(mktemp -d)" + +printf "Generating kernel u-boot image... " >&2 +cat $kfile >> $tmpdir/kernel +mkimage -A arm -O linux -T kernel -C none -n "$desc" -a $loadaddr \ +-e $loadaddr -d $tmpdir/kernel $tmpdir/uboot >&2 1>/dev/null +echo "done." >&2 + +if [ -e /boot/uImage-$kvers ]; then +echo "Creating backup of /boot/uImage-$kvers." >&2 +mv /boot/uImage-$kvers /boot/uImage-$kvers.bak +fi + +echo "Creating new /boot/uImage." >&2 +mv $tmpdir/uboot /boot/uImage-$kvers +rm -f $tmpdir/uboot + +printf "Generating initrd u-boot image... " >&2 +mkimage -A arm -O linux -T ramdisk -C gzip -a 0x0 \ +-e 0x0 -n "$idesc" -d "$ifile" "$tmpdir/uboot" >&2 1>/dev/null +echo "done." >&2 +if [ -e /boot/uInitrd-$kvers ]; then +echo "Creating backup of /boot/uInitrd." >&2 +mv /boot/uInitrd-$kvers /boot/uInitrd-$kvers.bak +fi +echo "Creating new /boot/uInitrd." >&2 +mv "$tmpdir/uboot" /boot/uInitrd-$kvers +rm -f "$tmpdir/uboot" +printf "Generating new u-boot boot script..." >&2 +# The UUID will come from the flash-kernel config file + +printf "Generating boot.scr... " >&2 +cat >$tmpdir/boot.script <&2 1>/dev/null +echo "done." >&2 +if [ -e /boot/boot.scr ]; then +echo "Creating backup of /boot/boot.scr." >&2 +mv /boot/boot.scr /boot/boot.scr.bak +fi +echo "Creating new /boot/boot.scr." >&2 +mv "$tmpdir/boot.scr" /boot/boot.scr +rm -rf $tmpdir* +} + if [ "x$1" = "x--machine" ]; then machine=$2 shift 2 @@ -105,6 +168,8 @@ "Seagate FreeAgent DockStar") exit 0 ;; "Thecus N2100")exit 0 ;; "Lanner EM7210") exit 0 ;; + "Genesi Efika MX (Smartbook)") exit 0 ;; + "Genesi Efika MX (Smarttop)") exit 0 ;; *) exit 1 ;; esac fi @@ -517,6 +582,10 @@ ) > "$imtd" || error "failed." echo "done." >&2 ;; + "Genesi Efika MX (Smartbook)" | "Genesi Efika MX (Smarttop)") +#check_subarch $running_subarch +efikamx_flash_kernel + ;; *) error "Unsupported platform." ;;
Bug#612376: flash-kernel: please include efikamx support
On Wed, Mar 02, 2011 at 07:01:05PM +, Martin Michlmayr wrote: > Where does loadcmd come from? U-Boot environment. > How does this boot.scr work? Does this machine load /boot/boot.scr > from disk and then execute those commands? Yes, the current U-Boot image from Genesi is set to search for boot.scr on media, then run the first one that it finds. (something like what's in the 2.0.6 box at http://wiki.debian.org/EfikaMX#DefaultU-BootEnvironment ) > Do you know what this subarch will be called? I don't. The current string used for the kernel version append is -efikamx though. > Also, you need to add support in a number of other files: > - README > - debian/flash-kernel-installer.postinst > - initramfs-tools/hooks/flash_kernel_set_root > - debian/flash-kernel-installer.isinstallable (for the new subarch) Thanks. -- 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/20110302204632.ga23...@scru.org
Bug#550584: More info
On Tue, Mar 08, 2011 at 11:51:01PM +, Hector Oron wrote: > [ -x /usr/bin/mkimage ] || ( echo "missing mkimage" > /dev/stderr; exit 1 ) > [ -x /usr/sbin/flash_eraseall ] || ( echo "missing flase_eraseall" > > /dev/stderr; exit 1 ) > [ -x /usr/sbin/nandwrite ] || ( echo "missing nandwrite" > /dev/stderr; exit > 1 ) > > /usr/bin/mkimage -A arm -O linux -T kernel -C none -n uImage -a > 0x8000 -e 0x8000 -d /boot/vmlinuz-${version} /tmp/uImage The mkimage bits should probably call flash-kernel instead. > /usr/sbin/flash_eraseall /dev/mtd1 > /usr/sbin/nandwrite -p /dev/mtd1 /tmp/uImage This part should be optional and configurable; not everyone wants their NAND written to. > rm /tmp/uImage No need to rm this; flash-kernel puts it in /boot -- 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/20110309000629.ga14...@scru.org
Bug#612376: flash-kernel: please include efikamx support
On Mon, Apr 04, 2011 at 04:35:03PM +0100, Hector Oron wrote: > I would say we want to install on which ever is mounted under /boot, > so if /boot/boot.txt is present, then boot.scr is regenerated > everytime kernel is installed. I think that could be a good thing to do for all platforms. -- 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/20110404181857.ga32...@scru.org
Bug#580744: Bug#580745: tzdata: suggestions for renaming of timezones/locations
On Sat, May 08, 2010 at 11:03:47AM +0200, Holger Wansing wrote: > I want to suggest renaming two timezones/locations: > > rename "Noronha" to "Fernando de Noronha" > > rename "Ponape" to "Pohnpei" I'm happy to do this for the English translation; Pohnpei is already in four .po files, though Fernando de Noronha is only in Swedish. -- 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/20100509040332.ga14...@scru.org
Bug#580744: Bug#580745: tzdata: suggestions for renaming of timezones/locations
On Sun, May 09, 2010 at 08:09:00AM +0200, Christian PERRIER wrote: > But not for the *original* timezone name, right? (which was, imho, the > point of Holger's original proposal). Right, changing the name of the file on disk would be different. > I don't know exactly how tiezone names are handled upstream. Is there > any kind of standard that's followed or is this just upstream's "inspiration"? There is no formal standard. As I recall, it took a bit of a fight for Asia/Saigon to be renamed to Asia/Ho_Chi_Minh, and that change still didn't satisfy everyone. To the point at hand, I think it would be worthwhile to ask for Ponape to be renamed to Pohnpei. Fernando de Noronha won't work, because it's too long to fit into the field. -- 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/20100509122403.ga26...@scru.org