[Bug 269492] Re: iSCSI support (modules and configuration) missing from initramfs

2009-04-12 Thread malaiwah
On jaunty, I had success with these steps, done BEFORE rebooting into my
new installation. The key is creating the file
/etc/iscsi/iscsi.initramfs and rebuilding the init ram disk.

Here are my notes:

BEFORE REBOOT, ON TARGET [chroot /target /bin/bash]
apt-get update
apt-get install open-iscsi
remove dhcp from /etc/network/interfaces for eth0 (already configured via 
initramfs)
verify all /etc/iscsi/iscsid.conf parameters
edit /usr/share/initramfs-tools/hooks/iscsi: iscsistart is really in /sbin 
(copy_exec)
add sleep 2 to iscsi script 
(/usr/share/initramfs-tools/scripts/local-top/iscsi) just before 
configure_networking for my via-rhine card
nano /etc/iscsi/iscsi.initramfs: (ISCSI_TARGET_NAME=iqn.blahblah, 
ISCSI_TARGET_IP=192.168.15.x)
apt-get dist-upgrade
dpkg-reconfigure linux-image-2.6.28-11-server (if kernel not upgraded in 
dist-upgrade)

-- 
iSCSI support (modules and configuration) missing from initramfs
https://bugs.launchpad.net/bugs/269492
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to open-iscsi in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 237460] Re: Root on iscsi is not supported

2009-04-12 Thread malaiwah
Tried again on Jaunty (9.04) and it works fine.
a) No problems about the partition part of the installer
b) touch /etc/iscsi/iscsi.initramfs and all the iscsi initramfs hooks are there.

-- 
Root on iscsi is not supported
https://bugs.launchpad.net/bugs/237460
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to open-iscsi in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 236640] Re: iSCSI install fails under hardy

2009-04-11 Thread malaiwah
Colin, did you also check for the awk requirement of the 
/sbin/iscsi_discovery script?
I'll try a daily build later today, but the latest Beta from Jaunty was having 
this problem.

I successfully started installation of Jaunty on a OpenSolaris Zvol
(iSCSI target) using these three commands at the console (ALT-F2) before
entering my target hostname:

udpkg -i /cdrom/pool/main/g/gawk/gawk*.deb
ln -s /usr/bin/gawk /bin/awk
ln -s /sbin/iscsi-iname /usr/sbin/iscsi-iname

By the way, iscsi=true is correctly parsed by the Jaunty installer; just
make sure you are not concatenating it with -- which is at the end of
the default boot command line.

-- 
iSCSI install fails under hardy
https://bugs.launchpad.net/bugs/236640
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to open-iscsi in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 236640] Re: iSCSI install fails under hardy

2009-04-11 Thread malaiwah
Using the daily build, I can't even get to the iSCSI target dialog: it
stops at the Detect disks action.

Here is what I found looking at the console log (sorry cannot copy/paste at 
this time):

anna-install: Installing open-iscsi-udeb
main-menu: unknown udeb open-iscsi-udeb
main-menu: WARNING Configuring 'disk-select' failed with error code 1
main-menu: WARNING Menu item 'disk-select' failed


-- 
iSCSI install fails under hardy
https://bugs.launchpad.net/bugs/236640
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to open-iscsi in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 236640] Re: iSCSI install fails under hardy

2009-04-11 Thread malaiwah
Running find on /cdrom/pool mentions no entries about iscsi; that
package does not seem to be included in the daily build CD.

-- 
iSCSI install fails under hardy
https://bugs.launchpad.net/bugs/236640
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to open-iscsi in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 249824] Re: [intrepid] IPv6 unusable

2008-10-06 Thread malaiwah
Here are my two cents, my IPV6 is correctly enabled, but BIND does not
listens on the interface (I changed some bits for x in this output
though):

[EMAIL PROTECTED]:~# cat /proc/net/if_inet6
0001 01 80 10 80   lo
20014830xxx 05 40 00 80sixxs
fe80021b21fffe22ccf3 02 40 20 80 eth0
fe8046262579 05 80 20 80sixxs

[EMAIL PROTECTED]:~# netstat -an6   
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address   Foreign Address State  
tcp6   0  0 :::80   :::*LISTEN 
tcp6   0  0 :::21   :::*LISTEN 
tcp6   0  0 :::22   :::*LISTEN 
tcp6   0272 2001::::22 2001::50138 ESTABLISHED

But I found this post while searching for an answer:
http://groups.google.com/group/comp.protocols.dns.bind/browse_thread/thread/ae84fcc0de3cb407/7b559fea0385cc07?lnk=raot

I wonder if you are hitting this problem?
--enable-getifaddrs=no should work around it.

If that doesn't work run 9.4.2-P1.

case $host in
*-linux*)
# Some recent versions of glibc support getifaddrs() which does not
# provide AF_INET6 addresses while the function provided by the USAGI
# project handles the AF_INET6 case correctly.  We need to avoid
# using the former but prefer the latter unless overridden by
# --enable-getifaddrs=glibc.
if test $want_getifaddrs = glibc
then
AC_CHECK_FUNC(getifaddrs, AC_DEFINE(HAVE_GETIFADDRS))
else
save_LIBS=$LIBS
LIBS=-L/usr/local/v6/lib $LIBS
AC_CHECK_LIB(inet6, getifaddrs,
LIBS=$LIBS -linet6
AC_DEFINE(HAVE_GETIFADDRS),
LIBS=${save_LIBS})
fi
;;
*)
AC_CHECK_FUNC(getifaddrs, AC_DEFINE(HAVE_GETIFADDRS))
;;
esac 

I will try re-building BIND 9.5.0 from source with this config change to
know if this fixes it.

-- 
[intrepid] IPv6 unusable
https://bugs.launchpad.net/bugs/249824
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bind9 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 249824] Re: [intrepid] IPv6 unusable

2008-10-06 Thread malaiwah
By the way, I'm on Intrepid on x86.

apt-get build-dep bind9
cd /usr/src
apt-get source bind9
cd bind9*
vim debian/rules
added --enable-getifaddrs=no to the configure line (do not forget \ )
debuild -us -uc
[...snip...]
dpkg -i ../bind9_9.5.0.dfsg.P2-1ubuntu2_i386.deb

[EMAIL PROTECTED]:/usr/src# !netstat
netstat -an6 
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address   Foreign Address State  
tcp6   0  0 :::80   :::*LISTEN 
tcp6   0  0 :::21   :::*LISTEN 
tcp6   0  0 :::22   :::*LISTEN 

Oct  6 15:39:26 newborn named[16426]: starting BIND 9.5.0-P2 -u bind
Oct  6 15:39:26 newborn named[16426]: found 1 CPU, using 1 worker thread
Oct  6 15:39:26 newborn named[16426]: loading configuration from 
'/etc/bind/named.conf'
Oct  6 15:39:26 newborn named[16426]: no IPv6 interfaces found

Still does not bind on my IPV6 interface, so this fix does not work.

-- 
[intrepid] IPv6 unusable
https://bugs.launchpad.net/bugs/249824
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bind9 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 249824] Re: [intrepid] IPv6 unusable

2008-10-06 Thread malaiwah
I'm rebuilding the package with the gentoo proposed patch and it seems
to be in the good direction:

checking for sin6_scope_id in struct sockaddr_in6... yes
checking for in6_pktinfo... yes
checking for struct if_laddrreq... no

I patched the source with the patch, ran debian/rules autofiles and then
re-copied the config.sub and config.guess files from the virgin
source tree for ./configure to work correctly.

I'll try the builded package once it is compiled.

-- 
[intrepid] IPv6 unusable
https://bugs.launchpad.net/bugs/249824
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bind9 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 249824] Re: [intrepid] bind9/named IPv6 unusable

2008-10-06 Thread malaiwah
** Summary changed:

- [intrepid] IPv6 unusable
+ [intrepid] bind9/named IPv6 unusable

-- 
[intrepid] bind9/named IPv6 unusable
https://bugs.launchpad.net/bugs/249824
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bind9 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 249824] Re: [intrepid] bind9/named IPv6 unusable

2008-10-06 Thread malaiwah
ArchLinux bug reports has more informations about this bug.
Source: http://bugs.archlinux.org/task/11166

-- 
[intrepid] bind9/named IPv6 unusable
https://bugs.launchpad.net/bugs/249824
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bind9 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 249824] Re: [intrepid] bind9/named IPv6 unusable

2008-10-06 Thread malaiwah
This bug is also reported for Mandriva, but no solution.
Source: https://qa.mandriva.com/show_bug.cgi?id=43966

-- 
[intrepid] bind9/named IPv6 unusable
https://bugs.launchpad.net/bugs/249824
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bind9 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 249824] Re: [intrepid] bind9/named IPv6 unusable

2008-10-06 Thread malaiwah
Fedora 9 has the same problems, but still no clear solution. Looking at the 
Gentoo Patch from the first link, it kind of a hack.
Source: 
http://groups.google.com/group/comp.protocols.dns.bind/browse_thread/thread/ae84fcc0de3cb407?fwc=1

-- 
[intrepid] bind9/named IPv6 unusable
https://bugs.launchpad.net/bugs/249824
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bind9 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 249824] Re: [intrepid] bind9/named IPv6 unusable

2008-10-06 Thread malaiwah
I wish I had tried this before:

dpkg -i libisc44_9.5.0.dfsg.P2-1ubuntu2_i386.deb

recompiled with --disable-getifaddrs (or --enable-getifaddrs=no) work no
problem; I thought re-installing only the bind9 package was fine, but
the changes (that are occuring in lib/unix/net.c when we disable
getifaddrs) are only installed on the system when re-installing the
libisc44 package.

My BIND9 server now listens over IPv6 connections under Intrepid.

-- 
[intrepid] bind9/named IPv6 unusable
https://bugs.launchpad.net/bugs/249824
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bind9 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs