[Bug 246462] Re: nautilus can't see/set file permissions via ftp

2010-09-01 Thread Lawrence Rust
I've written a patch (attached) to gvfs that enables permissions to be
read - which I've been using for a week or so.  I have also written code
for the set operation but it needs a little bit more work to tidy up,
which I'm prepared to do if it's going to be adopted by Ubuntu.  I have
submitted the patch to Gnome bugzilla but there seems to be no interest.
Is this a dead end?  I would very much like to see this feature
incorporated in 11.04.

** Attachment added: Patch to parse attributes from POSIX ls -l compatible 
LIST output
   
https://bugs.launchpad.net/gvfs/+bug/246462/+attachment/1535053/+files/gvfs_1.6.1-patch

-- 
nautilus can't see/set file permissions via ftp
https://bugs.launchpad.net/bugs/246462
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 498747] [NEW] Failed to build linux-image-2.6.33.rc1

2009-12-20 Thread Lawrence Rust
Public bug reported:

Binary package hint: kernel-package

Building a linux 2.6.33-rc1 image using kernel-package 11.001 (from
Kubuntu 8.04 LTS) fails with the message:

The UTS Release version in include/linux/version.h
 
does not match current version:
 2.6.33-rc1
Please correct this.

Builds of all previous kernels work fine.  The problem can be fixed by
first creating the debian directory with

make-kpkg debian

and then patching debian/ruleset/misc/version_vars.mk line 141 :

UTS_RELEASE_HEADER=$(call doit,if [ -f include/linux/utsrelease.h ]; then  \
   echo include/linux/utsrelease.h;\
   else\
echo include/linux/version.h ;  \

to:

UTS_RELEASE_HEADER=$(call doit,if [ -f include/generated/utsrelease.h ]; then  \
  echo include/generated/utsrelease.h;\
   elif [ -f include/linux/utsrelease.h ]; then  \
   echo include/linux/utsrelease.h;\
   else\
echo include/linux/version.h ;  \

Signed-off by: Lawrence Rust, l...@softsystem.co.uk

** Affects: kernel-package (Ubuntu)
 Importance: Undecided
 Status: New

-- 
Failed to build linux-image-2.6.33.rc1
https://bugs.launchpad.net/bugs/498747
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 468728] [NEW] can't boot after mac b/w g3 upgrade from jaunty to karmic

2009-11-01 Thread Lawrence Rust
Public bug reported:

Binary package hint: linux-image-2.6.31-14-powerpc

Computer is a standard Macintosh blue  white (b/w) G3, 256 MB RAM, 5.7 GB IDE 
disk.
Clean install ubuntu-9.04-server-powerpc with default settings.
Run sudo do-release-upgrade
Reboot drops to busybox shell with no root filesystem.
lsmod shows no cmd64x imodule - required for IDE disk
reboot and select 'old' at yaboot prompt, boot OK

Further: Ubuntu 9.10 alternate powerpc CD unable to detect disk drive

A custom 2.6.31.5 linux kernel with cmd64x module enabled boots OK

Conclusion: Standatd Ubunti 9.10 kernel is missing the cmd64x IDE
module.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New

-- 
can't boot after mac b/w g3 upgrade from jaunty to karmic
https://bugs.launchpad.net/bugs/468728
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428318] Re: unable to mount an ext2 partition by label or uuid

2009-10-05 Thread Lawrence Rust
The patch in comment 8 is incomplete.  There are 2 further errors in
vfat.c that need to be fixed relating to the size of the ms_dummy2 and
vs_dummy2 fields.  The attached patch is correct for the latest version
2.16.1.

** Attachment added: Patch for 2.16.1
   http://launchpadlibrarian.net/33031110/util-linux-ng-2.16.1.patch

-- 
unable to mount an ext2 partition by label or uuid
https://bugs.launchpad.net/bugs/428318
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428318] Re: unable to mount an ext2 partition by label or uuid

2009-09-28 Thread Lawrence Rust
Apologies for the delay in replying but I've been away for the last
week.

I fully take on board your comments and have reviewed the code in util-
linux-ng-2.15, noting that libblkid now uses a completely rewritten
method of probing for file systems.

It's clear that this problem stems from the new detection routines in
libs/blkid/src/probers/vfat.c.  At the end of this file the struct
blkid_idinfo is declared with some magic search strings.  In particular,
2 patterns are defined to match the single byte jmp/bra opcodes at the
start of a DOS boot sector.  My /dev/sdb1 partition was once formatted
for DOS and so matches these patterns and consequently the function
probe_vfat is called.  For these simple patterns the function
probe_fat_nomagic is called to filter out false positives.  In normal
circumstances only MSDOS 2 and earlier floppies should be detected by
this function.  A very important feature of these disks is the boot
signature - bytes 0x55, 0xaa at the end of the 1st sector which indicate
to the BIOS that the disk is bootable.  All MSDOS floppies have these
bytes but the function probe_fat_nomagic doesn't test for them.

When I used gparted to reformat this DOS partition to ext2 it overwrote
the MSDOS system name (offset 3), the FAT16 magic signature (offset
0x36) and the boot signature at offset 0x1fe but left the BPB intact,
which causes the confusion.  To fix this I wrote a small patch which I
have attached.

I sincerely hope that you can add this to the 9.10 release in case it
affects many other users with older systems.

** Attachment added: Fix false detection of FAT systems
   http://launchpadlibrarian.net/32621494/util-linux-ng-2.15.patch

-- 
unable to mount an ext2 partition by label or uuid
https://bugs.launchpad.net/bugs/428318
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428318] Re: unable to mount an ext2 partition by label or uuid

2009-09-17 Thread Lawrence Rust
blkid -p /dev/sdb1
/dev/sdb1: ambivalent result (probably more filesystems on the device)

Looks like a bug in libblkid.  I mounted an 8.04 system partition and
ran /mnt/sblin/blkid and that also failed to identify sdb1 (it works
correctly when running 8.04).  Unfortunately/predictably
LD_LIBRARY_PATH=/mnt/lib /mnt/sbin/blkid caused a seg fault.

-- 
unable to mount an ext2 partition by label or uuid
https://bugs.launchpad.net/bugs/428318
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428318] Re: unable to mount an ext2 partition by label or uuid

2009-09-17 Thread Lawrence Rust
I don't agree, this is a bug either in the base version of e2fsprogs
used or in the Ubuntu patches.  To prove this I built the latest
e2fsprogs-1.41.9.tar.gz from SourceForge and ran

sudo /home/lvr/e2fs/sbin/blkid -c /dev/null /dev/sdb1
/dev/sdb1: LABEL=boot UUID=41584c58-0cef-4d78-acd1-9a01ebd87833 TYPE=ext2 

So the latest official tools have no difficulty in identifying the
partition and type.  Not only that but the line in /etc/fstab has the FS
type fully specified so no excuses for not identifying it.

Re. your suggestion to wipe and reformat - I stated earlier that I used
gparted to create this partition so that won't help.  _All_ other major
Linux distros (suse, fedora, gentoo, mandriva, slackware) recognize this
partition - that must say something.

This is a real killer bug for me.  If Karmic ships with this bug then I
will have to jump ships.

-- 
unable to mount an ext2 partition by label or uuid
https://bugs.launchpad.net/bugs/428318
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428318] Re: unable to mount an ext2 partition by label or uuid

2009-09-16 Thread Lawrence Rust
This is the output of blkid from karmic alpha 5:

/dev/sda1: SEC_TYPE=msdos LABEL=WIN98ME UUID=2B5A-1E00 TYPE=vfat 
/dev/sda2: UUID=D4ACFF30ACFF0BAC LABEL=WIN2K TYPE=ntfs 
/dev/sdb3: LABEL=testsys UUID=2b61ff01-e0df-45fc-86bc-f3db250e1534 
SEC_TYPE=ext2 TYPE=ext3 
/dev/sdb5: LABEL=system UUID=d66dd288-4133-41f9-8ee6-9a0c5ff7805e 
SEC_TYPE=ext2 TYPE=ext3 
/dev/sdb6: UUID=ffcc76c6-82ae-4e15-b1eb-8847458b48cd TYPE=swap 
/dev/sdb7: LABEL=home UUID=5d557015-be1c-4f8d-8343-875ec53973f7 
SEC_TYPE=ext2 TYPE=ext3 

This is the output of blkid on Hardy Heron

/dev/sda1: SEC_TYPE=msdos LABEL=WIN98ME UUID=2B5A-1E00 TYPE=vfat 
/dev/sda2: UUID=D4ACFF30ACFF0BAC LABEL=WIN2K TYPE=ntfs 
/dev/sdb1: LABEL=boot UUID=41584c58-0cef-4d78-acd1-9a01ebd87833 TYPE=ext2 
/dev/sdb3: LABEL=testsys UUID=2b61ff01-e0df-45fc-86bc-f3db250e1534 
SEC_TYPE=ext2 TYPE=ext3 
/dev/sdb5: LABEL=system UUID=d66dd288-4133-41f9-8ee6-9a0c5ff7805e 
TYPE=ext3 
/dev/sdb6: TYPE=swap UUID=ffcc76c6-82ae-4e15-b1eb-8847458b48cd 
/dev/sdb7: LABEL=home UUID=5d557015-be1c-4f8d-8343-875ec53973f7 
SEC_TYPE=ext2 TYPE=ext3 

Looks like libblkid isn't seeing /dev/sdb1, the ext2 grub boot
partition.  For completeness I've added /proc/partions and tune2fs
output.

PS /dev/sdb was originally partitioned with Win2K.  Kubuntu 6.06 was
installed into unpartioned space in Jun 06.  The final partition layout
was made with gparted-livecd-0.3.4-11 in April 08 when I added the boot
and testsys partitions and resized system.

major minor  #blocks  name

   80   30018240 sda
   811542208 sda1
   82   28467180 sda2
   8   16  245117376 sdb
   8   171469916 sdb1
   8   18  1 sdb2
   8   19   23005080 sdb3
   8   21   12434278 sdb5
   8   221124518 sdb6
   8   23  207077818 sdb7

tune2fs 1.41.9 (22-Aug-2009)
Filesystem volume name:   boot
Last mounted on:  not available
Filesystem UUID:  41584c58-0cef-4d78-acd1-9a01ebd87833
Filesystem magic number:  0xEF53
Filesystem revision #:1 (dynamic)
Filesystem features:  filetype sparse_super
Default mount options:(none)
Filesystem state: clean
Errors behavior:  Continue
Filesystem OS type:   Linux
Inode count:  735840
Block count:  1469916
Reserved block count: 73495
Free blocks:  1357119
Free inodes:  735791
First block:  1
Block size:   1024
Fragment size:1024
Blocks per group: 8192
Fragments per group:  8192
Inodes per group: 4088
Inode blocks per group:   511
Last mount time:  Wed Sep 16 17:55:10 2009
Last write time:  Wed Sep 16 17:57:40 2009
Mount count:  1
Maximum mount count:  30
Last checked: Wed Sep 16 17:55:03 2009
Check interval:   0 (none)
Reserved blocks uid:  0 (user root)
Reserved blocks gid:  0 (group root)
First inode:  11
Inode size:   128

-- 
unable to mount an ext2 partition by label or uuid
https://bugs.launchpad.net/bugs/428318
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428318] [NEW] unable to mount an ext2 partition by label or uuid

2009-09-12 Thread Lawrence Rust
Public bug reported:

Binary package hint: mount

Yesterday (11-sep-09) I ran upgrade-manager -d on a Kubuntu 9.04
system to upgrade to karmic koala alpha 5 .  After rebooting I had 2
problems:

1. Grub was unable to load any kernel. Fixed by removing the /boot prefix from 
the kernel and initrd lines.
2. During startup I got a warning fscheck: unable to resolve 'UUID=41...' fsck 
died with exit status 8. and was dumped to the command line.

The uuid reported is that of my bootable ext2 partition on which grub is
installed.  I then have several systems installed on separate partitions
that I select from the grub menu.  The boot partition is then mounted by
uuid at /boot during startup from an entry in fstab.

tune2fs correctly reports the uuid and label of the boot partition and
cat /proc/partitions is ok.  However, both mount -U 41... -t ext2
/boot  and  mount -L boot -t ext2 /boot fail saying that can't find
the selected partition.  mount does mount the partition by device name.

mount --version gives
mount from util-linux-ng 2.16 (with libblkid and selinux support)

This does not appear to be a kernel problem since I have successfully
run a custom 2.6.31 linux kernel with kubuntu 9.04.  The identical
kernel with karmic koala alpha 5 userland exhibits these same problems.

** Affects: util-linux (Ubuntu)
 Importance: Undecided
 Status: New

-- 
unable to mount an ext2 partition by label or uuid
https://bugs.launchpad.net/bugs/428318
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 183338] Re: Hardy wont boot with the kernel 2.6.24 in ibook g4

2008-01-29 Thread Lawrence Rust
I can confirm this bug on a b/w G3 which was upgraded from Gustsy 7.10
(kernel 2.6.22).

Interestingly, the 2.6.24 kernel can be booted by specifying Linux
root=/dev/hda3  at the yaboot prompt.  The system functions OK but
without a CDROM.

This lead me to consider that it was the secondary IDE controller that
isn't being detected.  I confirmed this by downloading the 28-Jan-08
build of the Kubuntu 8.04 install CD which gets as far as configuring
the keyboard but then fails to detect the CD - even though it's just
booted from it :-)

See Bug #126337

-- 
Hardy wont boot with the kernel 2.6.24 in ibook g4
https://bugs.launchpad.net/bugs/183338
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 179427] Re: hardy daily-live 20071230 wont boot on powerpc

2008-01-29 Thread Lawrence Rust
I can confirm this bug on a b/w G3 which was upgraded from Gustsy 7.10
(kernel 2.6.22).

Interestingly, the 2.6.24 kernel can be booted by specifying Linux
root=/dev/hda3  at the yaboot prompt.  The system functions OK but
without a CDROM.

This lead me to consider that it was the secondary IDE controller that
isn't being detected.  I confirmed this by downloading the 28-Jan-08
build of the Kubuntu 8.04 install CD which gets as far as configuring
the keyboard but then fails to detect the CD - even though it's just
booted from it :-)

See Bug #126337

-- 
hardy daily-live 20071230 wont boot on powerpc
https://bugs.launchpad.net/bugs/179427
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 126337] Re: IDE drivers not loaded at boot with powerpc

2008-01-29 Thread Lawrence Rust
I can confirm this bug on a b/w G3 which was upgraded from Gustsy 7.10
(kernel 2.6.22).

Interestingly, the 2.6.24 kernel can be booted by specifying Linux
root=/dev/hda3  at the yaboot prompt.  The system functions OK but
without a CDROM.

This lead me to consider that it was the secondary IDE controller that
isn't being detected.  I confirmed this by downloading the 28-Jan-08
build of the Kubuntu 8.04 install CD which gets as far as configuring
the keyboard but then fails to detect the CD - even though it's just
booted from it :-)

-- 
IDE drivers not loaded at boot with powerpc
https://bugs.launchpad.net/bugs/126337
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs