NOTICE: This channel is no longer actively logged.
[00:40:59] *** ichii387 has joined ##nexenta[00:46:18] *** remyzero has quit IRC[00:47:54] *** ichii387 has quit IRC[00:53:12] *** ichii386 has joined ##nexenta[01:00:47] *** ichii386 has left ##nexenta[01:01:47] *** randybias|away has quit IRC[01:11:18] *** ichii386 has joined ##nexenta[01:12:59] *** ichii386 has left ##nexenta[01:13:55] *** ichii386 has joined ##nexenta[01:18:50] *** ichii386 has quit IRC[01:19:40] *** ichii386 has joined ##nexenta[01:19:50] *** randybias has quit IRC[01:36:30] *** ichii386 has quit IRC[01:39:33] *** ichii386 has joined ##nexenta[01:55:49] *** ichii386 has quit IRC[01:56:02] *** ichii386 has joined ##nexenta[01:56:39] *** ichii386 has quit IRC[01:57:15] *** ichii386 has joined ##nexenta[02:23:24] *** tsukasa` has joined ##nexenta[02:40:42] *** zooko` has quit IRC[02:40:42] *** tsukasa has quit IRC[02:42:20] *** zooko has joined ##nexenta[02:48:32] *** Ryougi_Shiki has joined ##nexenta[03:04:59] <zooko> Hey folks, I'm back with my total newbie questions.[03:05:08] <zooko> In fact, I wonder if there is a book or something I should get that explains things like:[03:05:16] <zooko> How do I figure out my IP address(es) and change them?[03:06:00] <zooko> How much free disk space should I have in order to do an apt-clone -s dist-upgrade from elatte beta 1 to elatte stable?[03:06:28] <zooko> How do I know that the network and ssh will come back after this apt-clone -s dist-upgrade requires a REBOOT?[03:09:30] <zooko> Oh, and the dist-upgrade failed:[03:09:30] <zooko> http://codepad.org/U9Ty0ttb[03:09:36] <zooko> I guess I should rollback the changes now.[03:10:42] <zooko> Okay, I sudo apt-get remove'd m4 and am trying again.[03:12:24] <zooko> Yeah, now it is really going...[03:12:50] <zooko> libx11? Give me a break. This is a headless server. I wonder why I installed that.[03:13:27] <zooko> "svccfg: Could not connect to repository server: incompatible SCF version.[03:13:35] <zooko> " <-- how bad is that during an apt-clone -s dist-upgrade, I wonder.[03:14:22] <zooko> http://codepad.org/qEbca9dI[03:14:24] <zooko> ^-- next failure[03:14:30] <zooko> Hm, this rollback feature is pretty cool.[03:16:02] <zooko> Upgrade requires 378.00MB of available free space.[03:16:07] <zooko> ^-- I guess that answers my second question.[03:27:30] <zooko> Upgrade failed. Would you like to rollback changes now? (y/n)[03:27:30] <zooko> Checkpoint 'rootfs-nmu-002' needs to be rolled back.[03:27:45] <zooko> Whoops, I was showing my wife how cool apt-clone is and I accidentally hit enter instead of "y":.[03:27:50] <zooko> Now how do I rollback manually?[03:29:29] <zooko> Hm, I guess I'll just leave this server alone until I can figure out how to be sure I do the right thing here.[03:29:39] <zooko> Don't want to try something without knowing exactly what is the right thing to do.[03:34:19] <zooko> Ah, I can't be that patient. I'm going to try apt-clone -s dist-upgrade again.[03:37:04] <zooko> Yay I have learned some zfs command-lines.[03:49:08] <zooko> Hm, I can't zfs rollback -rf syspool/rootfs@nmu-002 because "cannot unmount '/': Device busy"[04:10:22] *** tsukasa__ has joined ##nexenta[04:12:48] <zooko> okay, I hope I come back from this reboot...[04:13:57] <zooko> Err...[04:13:58] <zooko> dpkg: error processing /var/cache/apt/archives/sunwcsr_5.11.85-4_solaris-i386.deb (--unpack): trying to overwrite `/boot/solaris/bin/create_ramdisk', which is also in package sunwcakr[04:14:01] <zooko> Hm.[04:15:12] <zooko> They are both in section base.[04:15:18] <zooko> Maybe I could upgrade them both at once?[04:18:31] * zooko tries another dist-upgrade[04:23:01] <zooko> sh: /tmp/upgrade-attempt.2406/boot/solaris/bin/extract_boot_filelist: /bin/ksh: bad interpreter: No such file or directoryUpgrade failed. Would you like to rollback changes now? (y/n) y[04:24:03] *** tsukasa` has quit IRC[04:26:36] *** zooko has quit IRC[05:05:00] *** mib_fnm4qf has joined ##nexenta[05:22:06] *** zerro1 has joined ##nexenta[05:23:14] <zerro1> hello, doesn't look to be many on here right now.[05:24:15] <zerro1> I've got nexenta 2.0 RC1 installed on a laptop with an atheros Wifi N[05:24:42] <zerro1> It seems to have picked the card up fine on the install[05:25:21] <zerro1> But I ran the wificonfig autoconf, it connected to my router[05:26:07] <zerro1> and in showstatus indicates it is connected but does not have an IP address[05:26:38] <zerro1> Any ideas? do I have to run ifconfig and assign IP?[05:31:51] <zerro1> any body?[05:34:59] <zerro1> well if anyone reads this and has some ideas please leave the info on here[05:35:34] <zerro1> I check the IRC logs. Thanks[05:36:33] *** zerro1 has quit IRC[05:37:48] *** mib_fnm4qf is now known as LaCosa[05:54:07] *** Ryougi_Shiki has quit IRC[06:00:07] <rootard> zerro1: ifconfig ath0 dhcp[06:15:42] *** MrWGW has joined ##nexenta[06:15:44] <MrWGW> good evening[06:39:33] *** randybias has joined ##nexenta[06:46:47] *** zerro1 has joined ##nexenta[06:48:17] <zerro1> rootard: I tried "ifconfig ath0 dhcp" but it timed out[06:50:12] *** GhostInTheShell has quit IRC[06:51:18] <zerro1> I went into my router and reserved an address in DHCP[06:51:45] <zerro1> then ifconfig and assigned the address.[06:52:52] <zerro1> shows it's connected to my ssid but no communication is taking place.[06:53:31] <zerro1> pinged gateway: no answer :([07:05:31] <zerro1> out of sheer curiosity I pinged 192.168.0.0, it shows it alive. Should have been invalid.[07:16:26] <zerro1> has anyone been successful at installing and running gnome core without the settings-daemon errors and had the gnome-panels stable and functional?[07:25:30] *** MrSteveman1 has quit IRC[07:35:49] *** zerro1 has quit IRC[08:42:03] *** master_of_master has quit IRC[08:45:51] *** master_of_master has joined ##nexenta[09:23:45] *** GhostInTheShell has joined ##nexenta[09:56:45] *** bobahPhD has joined ##nexenta[09:59:02] *** pino42 has joined ##nexenta[10:06:17] *** bobahPhD has left ##nexenta[10:08:01] *** andy_js has joined ##nexenta[10:48:48] <koan> I have OpenSolaris build 111 on one disk and I have a mirrored zfs volume on two other disks, can I replace OpenSolaris with NexenteCP 2 RC1 and import the zfs volumes without problems?[10:49:44] <pino42> i haven't tried it myself, but it should be ok as long as you zfs export the mirrored pool from you current installation![10:49:50] <pino42> zpool export, sorry[10:51:09] <koan> ok[11:34:53] *** proteusguy has joined ##nexenta[11:48:46] *** pino42 has quit IRC[12:33:41] *** pino42 has joined ##nexenta[12:34:11] *** randybias is now known as randybias|away[13:08:50] *** pino42 has quit IRC[13:09:57] *** clain has quit IRC[13:13:55] *** taltamir has quit IRC[13:39:50] *** proteusguy_ has joined ##nexenta[13:46:43] *** proteusguy has quit IRC[13:47:24] *** tsukasa__ has quit IRC[13:52:04] *** tsukasa has joined ##nexenta[14:39:36] *** andy_js_ has joined ##nexenta[14:39:47] *** LaCosa is now known as GHR[14:40:46] *** zooko has joined ##nexenta[14:41:08] <zooko> Good morning, folks! (UTC-6)[14:41:35] *** GHR has left ##nexenta[14:43:07] *** montcalm has joined ##nexenta[14:43:22] *** andy_js_ has quit IRC[14:46:09] <montcalm> If any of the developer people are on here, thanks for a distro that's so easy to install, you can literally do it blind. ;-) And I'm working on getting the orca screen-reader working with it.[14:46:26] *** pino42 has joined ##nexenta[14:50:41] <zooko> Hey folks I think I need a copy of /bin/ksh for Elatte for amd64 in order to get past my current upgrade blockage.[14:52:26] <montcalm> Wow, what package depends on ksh these days?[14:52:34] *** pino42 has quit IRC[14:53:30] <zooko> Whoops, need to help my 4 year old do his chores now. Back in a bit.[14:55:07] *** pino42 has joined ##nexenta[14:57:48] *** andy_js has quit IRC[14:58:03] *** andy_js has joined ##nexenta[15:02:24] *** andy_js has quit IRC[15:02:38] *** andy_js has joined ##nexenta[15:02:48] *** pino42 has quit IRC[15:05:02] *** kim0 has joined ##nexenta[15:06:25] *** pino42 has joined ##nexenta[15:20:25] <zooko> montcalm: apt-clone -s dist-upgrade ends with:[15:20:26] <zooko> sh: /tmp/upgrade-attempt.16236/boot/solaris/bin/extract_boot_filelist: /bin/ksh: bad interpreter: No such file or director[15:20:32] *** andy_js_ has joined ##nexenta[15:20:34] *** andy_js_ has quit IRC[15:20:49] <andy_js> anyone using brandz zones with nexenta?[15:21:14] <andy_js> i'm thinking about writiting a tool that lets you install ubuntu[15:24:17] <zooko> I *want* to use zones, but I haven't actually tried it yet.[15:24:28] <zooko> Could anyone give me a copy of their /bin/ksh?[15:24:54] <zooko> I wonder if it actually is needed to be a ksh interpreter, or if I just touch /bin/ksh if the upgrade will succeed.[15:27:43] <andy_js> I can give you ksh from NCP2 RC1[15:27:54] <montcalm> How do you want to get this ksh?[15:28:10] <andy_js> and its actually in /usr/bin/ksh[15:28:11] <zooko> Upload it here: http://testgrid.allmydata.org:8123/[15:28:33] <zooko> Hm. The upgrade fails because /bin/ksh doesn't exist, so I plan to slap it into /bin/ksh and try sudo apt-clone -s dist-upgrade again.,[15:28:51] <montcalm> Okay; it will take a few minutes since I have several vms demanding my attention and sucking up bandwidth.[15:29:00] <zooko> :-)[15:29:02] <zooko> Thanks![15:30:54] <montcalm> Do you want the .deb package?[15:32:49] <andy_js> zooko: http://testgrid.allmydata.org:8123/uri/URI%3ACHK%3Apgp2u57mgo2ykvl7lzzz4x6nxe%3Aaf5jg5aznewltvrto4cd4emgvvehftbmm6qzwrrvtgki72so5xdq%3A3%3A10%3A7844[15:33:22] <montcalm> wow, what an url.[15:35:20] *** montcalm has quit IRC[15:39:06] <andy_js> zooko: are you able to use the file?[15:48:16] <zooko> andy_js: thanks, but no![15:48:18] <zooko> nooxie:~/playground$ ./ksh./ksh: cannot find/execute "ksh" in ISA subdirectories nooxie:~/playground$ file ./ksh./ksh: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), not strippe[15:48:29] <zooko> oops, the newline chars got stripped out of that[15:48:52] <zooko> http://codepad.org/03781oGe[15:49:08] <zooko> ^-- andy_js: the codepad.org paste shows that the ksh file you gave me doesn't run on my system.[15:49:59] <zooko> Well, maybe it will work anyway...[15:50:05] * zooko tries another sudo apt-clone -s dist-upgrade[15:50:11] <andy_js> I would ldd it[15:55:15] <zooko> ldd /bin/ksh says simply libc.so.1 => /lib/libc.so.1[15:55:15] <zooko> libm.so.2 => /lib/libm.so.2[15:56:35] *** proteusguy_ has quit IRC[15:57:00] *** eXeC001er has joined ##nexenta[16:01:26] <zooko> Nope, dist-upgrade fails because /bin/ksh can't be executed because "/bin/ksh: cannot find/execute "ksh" in ISA subdirectories"[16:10:23] *** proteusguy_ has joined ##nexenta[16:11:27] <zooko> What are "ISA subdirectories"?[16:12:15] <andy_js> I don't know, but I know "cannot find/execute" usually happens when your missing a library[16:12:45] <zooko> I definitely have libc and libm. :-)[16:15:04] <andy_js> I see elatte has pdksh[16:16:20] <zooko> Ah. In /bin/ksh ?[16:16:47] * zooko tries sudo apt-get install pdksh[16:17:36] <zooko> That worked.[16:17:37] * zooko tries sudo apt-clone -s dist-upgrade[16:18:40] *** kim0 has quit IRC[16:21:16] <zooko> Folks: how do I find out what IP address(es) my server is using, and how do I assign new IP address(es)?[16:22:14] <zooko> Even better, where is the Fine Manual that I can read to answer such questions?[16:25:16] <zooko> Argh.[16:25:17] <zooko> /tmp/upgrade-attempt.549/boot/solaris/bin/extract_boot_filelist[56]: -o: unknown optionUpgrade failed. Would you like to rollback changes now? (y/n)[16:34:42] <zooko> I wonder if -o is an option of ksh that isn't known to pdksh. :-/[17:03:34] *** proteusguy_ has quit IRC[17:08:15] *** NCommander has joined ##nexenta[17:17:06] *** zerro1 has joined ##nexenta[17:18:49] <zerro1> Hello[17:20:17] <zooko> So does anyone know what this error message means, or how I can somehow work around it so that I can upgrade my system? /tmp/upgrade-attempt.549/boot/solaris/bin/extract_boot_filelist[56]: -o: unknown option[17:20:17] <zooko> Upgrade failed. Would you like to rollback changes now? (y/n) y[17:20:38] <zerro1> zooko : I am pretty new at nexenta, could this link help http://zpool.org/2009/02/24/fix-a-broken-apt-clone[17:20:45] * zooko reads.[17:22:22] <zooko> Hm... that article might be about a different problem.[17:22:58] <zerro1> Ok[17:24:19] <zerro1> IP address can be viewed : ifconfig -a[17:27:25] *** lesterc has joined ##nexenta[17:34:02] <zooko> zerro1: thanks![17:34:05] <zooko> How is it configured?[17:35:53] <zerro1> zooko : ifconfig + name of ethernet + ip +mask[17:35:56] *** proteusguy has joined ##nexenta[17:36:20] <zerro1> it would look something like this[17:36:53] <zerro1> ifconfig myk0 192.168.0.1 255.255.255.0[17:38:47] <zerro1> of course it'not going to be the 192.168.0.1[17:40:17] <zerro1> it would be xxx.xxx.xxx.199 or what ever number meets the address range except .1[17:41:00] <rootard> zerro1: speaking of such things, can you manually assign an address to your atheros card?[17:41:46] <zerro1> I did it but still no communication with it.[17:42:06] <rootard> zooko: the isa error is because the default binary is not actually ksh... it's a wrapper that looks for ksh in arch-specific locations[17:42:36] <rootard> what you really want is the binary in the i86/amd64/... subfolder[17:42:48] <rootard> ie: /usr/bin/$ARCH/ksh[17:43:08] <rootard> zerro1: does "ifconfig -a" reposort the interface as "UP" ?[17:43:12] <rootard> *report[17:44:56] <zerro1> rootard: on mine it shows it as up[17:48:04] <rootard> if wificonfig says it's connected and the interface is up and configured then it should work.[17:48:23] <rootard> You might try using snoop to see if any traffic is visible.[17:49:58] <zerro1> I agree, as I said earlier it can't seem to see gateway[17:50:41] <zerro1> it see's the network address as alive 192.168.0.0[17:51:37] <zerro1> no answer from 192.168.0.1[17:54:36] <zerro1> here is what is ireally crazy[17:55:14] <zerro1> I can log into my cradlepoint router and see the mac address[17:55:39] <zerro1> and ip address of the ath0 in the router[17:57:39] <zooko> rootard: thanks for the explanation.[17:57:44] <zooko> Could someone give me a copy of their actual ksh binary?[17:58:19] <zooko> zerro1: but how do I configure it to get the same IP address on reboot?[17:58:30] <zooko> (In linux, that's generally /etc/network/interfaces nowadays.)[17:59:52] <zerro1> zooko: i don't know how to lock it in[18:07:48] <zerro1> zooko: http://blog.scottlowe.org/tag/unix/page/3/[18:09:07] *** lesterc has quit IRC[18:13:05] <zerro1> see ya[18:13:13] *** zerro1 has quit IRC[18:27:03] <rootard> zooko: /etc/hostname.$IFACE[18:29:06] <zooko> rootard:thanks.[18:29:22] <rootard> np[18:29:22] <zooko> Actually I guess my current problem might not be related to ksh.[18:29:31] <zooko> I cp'ed pdksh into /bin/ksh and got another problem:[18:29:41] <zooko> /tmp/upgrade-attempt.549/boot/solaris/bin/extract_boot_filelist[56]: -o: unknown option[18:29:41] <zooko> Upgrade failed. Would you like to rollback changes now? (y/n) y[18:29:46] <zooko> /tmp/upgrade-attempt.549/boot/solaris/bin/extract_boot_filelist[56]: -o: unknown option[18:29:46] <zooko> Upgrade failed. Would you like to rollback changes now? (y/n) y[18:33:16] <rootard> hmm, looks like line 56 of that file has some unrecognized option "-o"[18:34:59] *** zerro1 has joined ##nexenta[18:35:15] <zooko> Unfortunately that file is gone now so I can't inspect it.[18:35:24] <zooko> Maybe this *is* somehow caused by my using pdksh in place of ksdh.[18:35:28] <zooko> in place of ksh.[18:35:44] <rootard> if you run the upgrade to that point and then open another shell you can get to it.[18:35:58] <rootard> it won't be at /tmp/... but rather underneath another mountpoint[18:36:58] <zerro1> rootard: did anyone ever solve the gnome-settings-daemon issues[18:37:24] <zerro1> or get the panels to stabilize?[18:37:36] <zooko> rootard: maybe I should reinstall ksh. Except I can't do it through apt-clone, so I would need to get a ksh executable from someone.[18:37:41] <rootard> I don't know. I don't track gnome very closely... but I think andy_js may have a better idea.[18:37:44] <zooko> Or else I should find this file "extract_boot_filelist".[18:38:22] <zerro1> rootard: thanks[18:38:22] <rootard> ~package ksh[18:38:22] <nexybot> rootard: http://builder.tajinc.org/?f=package_status&view_method=name&package_name=ksh[18:38:49] <rootard> zerro1: yw[18:39:04] <rootard> zooko: the "dl" link goes directly to a package.[18:39:32] <rootard> ksh seems to be in the NCP2 contrib repository[18:39:36] <zooko> Do I need the amd64 version?[18:40:00] <rootard> You need solaris-i386[18:40:03] <rootard> always[18:40:20] <rootard> amd64 is a linux arch[18:40:25] <rootard> as is i386[18:40:52] <zooko> Thanks[18:41:21] <rootard> the appropriate apt-line is "deb http://apt.nexenta.org hardy-unstable contrib"[18:41:46] <zooko> Okay, I did sudo dpkg -i ksh_93q-2_solaris-i386.deb[18:41:51] <zooko> and now I'm trying sudo apt-clone -s dist-upgrade again.[18:42:07] * rootard crosses fingers for zooko[18:44:21] <zooko> :-)[18:44:30] <zooko> I'm IRC'ing from this server, so I'll disconnect when it reboots.[18:44:37] <zooko> If I can subsequently ssh back into it then I'll reconnect from here.[18:44:49] <zooko> Else, I'll reconnect to IRC from a different machine and say "Waaah!".[18:45:43] <zerro1> rootard: on thhat wifi ath0[18:46:15] <zerro1> do I have to create a profile before it will communicate?[18:46:51] *** eXeC001er has quit IRC[18:48:11] <zerro1> wificonfig [-R root_path] createprofile profile[19:03:03] <zooko> Okay, now it is asking if I should reboot first or activate the new[19:03:17] <zooko> checkpoint first. I guess I'll reboot first.[19:06:12] *** zooko has quit IRC[19:08:41] *** fserve has quit IRC[19:10:24] *** zooko has joined ##nexenta[19:10:32] <zooko> Waaah![19:10:37] <zooko> I don't think my server is coming back. :-([19:11:49] <zooko> Sigh. No e-mail, no web site.[19:11:57] <zooko> Fortunately my blog is on a decentralized file storage grid. :-)[19:14:08] <zooko> How can I configure my server (once my friend Brian goes and gets it back online) to listen for login on the serial line?[19:17:41] <zooko> So, the version of my server that it tries to boot when I power-cycle it is still the old pre-upgrade version, right? Because I chose option (1) from apt-clone -s dist-upgrade?[19:38:12] *** pino42 has quit IRC[19:49:38] <rootard> zerro1: I don't think so. Thought it makes configuring the wireless device easier in the future[19:49:42] <rootard> zooko: bummer[19:50:59] <zooko> rootard: Thanks. :-/[19:51:13] <zooko> So, I've asked my friend Brian to look at it next time he is in the co-lo, which will be tomorrow.[19:51:26] <rootard> I think you can enable serial settings in the grub config[19:51:35] <zooko> He doesn't particularly know or like Solaris, so I hope the problem is obvious when he connects the console. :-/[19:51:37] <rootard> I turn of any graphical settings as well[19:51:48] <zooko> rootard: how do you turn off graphical settings?[19:51:56] <zooko> I noticed that x11 was installed, and had intended to uninstall it...[19:52:01] <rootard> ah, the grub menu should have the option to boot the previous inst[19:52:15] *** clain has joined ##nexenta[19:52:18] <zooko> Sure, actually I chose option (1) from apt-clone -s dist-upgrade[19:52:19] <rootard> for disabling graphical "stuff" iwas referring to grub[19:52:30] <zooko> which means, as far as I understand, that it *was* booting the same config![19:52:39] <rootard> aha, that's no fun[19:52:42] <zooko> So as far as I know nothing changed in the config since the previous boot, which was like 646 days ago.[19:52:46] <rootard> well, maybe the new config will boot[19:53:19] <rootard> Was this to NCP1/NCP2 ?[19:53:35] <zooko> No! It was elatte-beta-1 to elatte-stable. :-)[19:53:57] <zooko> And I chose option (1) to *not* activate the new zfs snapshot and just reboot before activating the new zfs snapshot.[19:54:25] <rootard> so NCP1 ... which is good. Jumping too far can have bad consequences with workable zpool versions[19:54:57] <rootard> It's possible that the system wasn't in a bootable state to begin with[19:55:07] <zooko> Yeah.[19:55:08] <rootard> I've had that happen to me[19:55:12] <zooko> I suspect that's the case. :-([19:55:20] <zooko> Probably just didn't have its IP address configured into the right place(s).[19:57:00] <rootard> If it is booting and doesn't have an IP then it should be pretty easy to lead your person to configure the machine... assuming you don't mind giving them the root password.[19:57:27] <rootard> or at least a normal account + sudo that already exists[19:57:55] <zooko> Yeah, I'll give them super-user privs.[19:58:19] <zooko> Okay, time to take a break from computing.[19:58:42] <rootard> same. I'll be around if you have other Q's[19:59:02] <zooko> Thanks a lot![19:59:04] <zooko> Chat later![19:59:11] *** zooko has quit IRC[20:03:05] <zerro1> rootard: ping 192.168.0.1 is alive :)[20:03:31] <zerro1> can't seem to get anywhere else yet[20:04:30] <zerro1> but small steps are better than none[20:16:36] *** tsukasa` has joined ##nexenta[20:28:27] *** kim0 has joined ##nexenta[20:29:04] <rootard> zerro1: route add default 192.168.0.1 ?[20:32:21] *** tsukasa has quit IRC[20:39:37] <zerro1> rootard: gateway 192.168.0.1 entry exists[20:40:28] <zerro1> I can actually ping a cisco server 128.107.239.89[20:41:46] <zerro1> but I can't get it to apt-get update 171.64.101.46 connection timed out[20:42:31] <rootard> sounds like a firewall/proxy issue[20:43:49] *** NCommander has quit IRC[20:44:20] *** anilg has joined ##nexenta[20:45:36] *** NCommander has joined ##nexenta[20:45:56] <rootard> hey anilg, what's cookin?[20:46:27] <anilg> zlib1g ![20:46:47] * rootard msells smoke[20:46:50] <rootard> *smells[20:46:54] <anilg> how do you build it 64-bit? dpkg-buildpackage trys to build only 32[20:47:03] <anilg> is there a flag[20:47:06] <anilg> ?[20:50:33] <anilg> adding that results in a successful build process..[20:51:16] <anilg> this is sun studio compiled.. so I'm not seeing the off64_t error you saw[20:51:23] <zerro1> rootard: this thing seems to be learning routes![20:51:25] <rootard> hmm[20:51:42] <anilg> doing a dpkg-deb -c though shows no amd64 directory entries[20:51:46] <koan> how do I write the NexentaCP 2 RC1 iso to a usb pen drive to install from it?[20:51:49] * rootard looks into his build process[20:52:15] <anilg> http://www.nexenta.org/~anil/zlib_mapfile.tgz is the sources I'm using[20:52:15] <zerro1> I just pinged 171.64.101.46 is alive[20:52:19] <rootard> anilg: where are you adding that flag?[20:52:32] <anilg> dpkg-buildpackage -sa -m64 ?[20:52:58] <zerro1> apt-get update succeeded.[20:53:03] <rootard> no... cc needs those args, not dpkg-buildpackage[20:53:04] <andy_js> anilg: you have to add that to the CFLAGS if I'm not mistaken[20:53:11] *** zooko has joined ##nexenta[20:53:17] <anilg> rootard: those are already set in debian/rules[20:53:53] <anilg> under configure64-stamp[20:54:16] <rootard> but we aren't building using that scheme[20:54:30] <rootard> we are building all of it into one package[20:56:04] <anilg> ah.. so I need to edit it under configure-stamp itself? or simply set CC="cc -m64"?[20:56:34] <rootard> if CC="cc -m64" is honored everywhere then that would be the way to go.[20:57:34] <rootard> for my environment I have a wrapper that enables -m64 (and does other necessary tasks related to that) automatically[21:00:34] <rootard> koan: make a filesystem and copy all of the contents to the pendrive and install grub with the same options (maybe slightly modified) on the pendrive.[21:02:02] <rootard> anilg: here is my full output with a small bug fixed in the wrapper script: http://pastealacon.com/2686[21:03:52] <anilg> right.. http://src.opensolaris.org/source/xref/sfw/usr/src/lib/zlib/zlib-1.2.3/adler32.c[21:04:14] <anilg> sun's copy has removed those bits that cause this error[21:04:28] <anilg> I wonder if these can safely be removed from ours as well[21:06:51] <rootard> Here is a diff from ours: http://pastealacon.com/2687[21:07:29] <anilg> These changes are also the most recent Changelog entry[21:07:43] <anilg> in debian/ubuntu's sources[21:08:15] <rootard> Do they do the same for crc32.c? :: previous: function(unsigned long, unsigned long, long) returning unsigned long : "crc32.c", line 437[21:08:49] <anilg> http://pastealacon.com/2688[21:08:50] <anilg> yes[21:09:01] <anilg> 3 files will give the same error[21:09:12] <anilg> the other one being gzio.c[21:14:41] <rootard> http://pastealacon.com/2689[21:17:11] <rootard> well, it builds now but there are some errors reported along the way[21:18:41] <rootard> I can package it if you are willing to test it.[21:19:51] *** tsukasa has joined ##nexenta[21:21:44] <anilg> rootard: yup[21:22:02] <anilg> I got it to build by removing the LARGEFILE bits..[21:22:24] <anilg> it failed to build shared library, but otherwise compiled fully[21:26:35] *** zooko has quit IRC[21:29:16] *** randybias|away is now known as randybias[21:29:20] <anilg> Tested cc -c -g -D_REENTRANT -m64 -O3 -DUNALIGNED_OK ztest20022.c[21:29:20] <anilg> Tested cc -G -o ztest20022.so ztest20022.o[21:29:20] <anilg> ld: fatal: file ztest20022.o: wrong ELF class: ELFCLASS64[21:29:20] <anilg> ld: fatal: file processing errors. No output written to ztest20022.so[21:30:03] <anilg> any idea on how to get shared library support working? the above is what configure tests for this[21:30:26] <rootard> add this to your sources.list: deb http://www.nexenta.org/~tim/repo sorta-hardy main[21:31:45] *** tsukasa` has quit IRC[21:32:49] <anilg> done.. this has the new zlib?[21:32:55] <rootard> yeah[21:33:02] <rootard> apt-get upgrade should pull it in as normal[21:34:54] <anilg> ok.. things look good. ssh no longer complains about missing version SUNW_1.1[21:35:37] <rootard> What was the other thing that broke before?[21:36:52] <rootard> libxml2? I guess that is during install time... ?[21:37:00] <rootard> You can probably test by enabling iscsi[21:37:09] <rootard> iscsitgtd in specific[21:43:16] <rootard> crud-tastic. The depends are messed up because of the sun CC build[21:44:32] <anilg> any particular package?[21:44:54] <rootard> or the depends changes I made previously were lost somewhere?[21:46:33] <anilg> the current zlib1g package is an evolution of your package.. and IIRC the depends arent changed[21:46:52] <rootard> yeah, the control changes I made were lost and sunwspro was added[21:51:11] <anilg> rootard: any ideas on the cut-off manpages issue[21:54:55] <rootard> apt-get clear;apt-get --reinstall install zlib-bin zlib1g[21:55:25] <rootard> I rebuilt the package with the chopped off bits as 32 and 64 and added the dependency changes back in[21:55:40] <anilg> http://pastebin.ca/1403688 :([21:56:23] <rootard> apt-get install libxml2 ?[21:56:28] <rootard> dpkg-query -S libxml2.so.2[21:56:36] <rootard> libxml2: /usr/lib/amd64/libxml2.so.2[21:57:19] <anilg> anil@gnusolaris:/tmp$ dpkg-query -S libxml2.so.2[21:57:19] <anilg> libxml2: /usr/lib/amd64/libxml2.so.2.6.31[21:57:19] <anilg> libxml2: /usr/lib/libxml2.so.2.6.31[21:57:19] <anilg> libxml2: /usr/lib/libxml2.so.2[21:57:19] <anilg> libxml2: /usr/lib/amd64/libxml2.so.2[22:06:54] <rootard> svccfg on the gnusolaris.org global zone is wigging out (as seen from: ps -ef)[22:10:19] <rootard> looks like the ld debugging is still broken: http://pastebin.ca/1403713[22:10:36] *** taltamir has joined ##nexenta[22:11:49] <anilg> anil@gnusolaris:/tmp$ cat /etc/issue[22:11:49] <anilg> NexentaCore 2.0 Beta 1 (Hardy 8.04/b104+)[22:14:08] <rootard> libxml2.so.2 (SUNW_1.4) => (version not found)[22:14:35] <rootard> so it looks like we need another mapfile to rebuild libxml2? ... thought this was working a while ago.[22:14:55] <rootard> gnusolaris.org should probably be updated to the latest bits. A lot of stuff is old on the global zone.[22:15:44] <anilg> is that 'ldd /usr/lib/libxml2.so.2?'[22:16:02] <anilg> oops.. iscsitgt[22:16:46] <rootard> ldd /usr/sbin/amd64/iscsitgtd[22:17:05] <anilg> mapfile.. http://src.opensolaris.org/source/xref/sfw/usr/src/lib/libxml2/[22:18:07] <rootard> That's a hell of a mapfile[22:19:45] *** randybias is now known as randybias|away[22:23:13] <anilg> and now I'm locked out of my zone .. the zone commands fail[22:23:13] <anilg> $zoneadm list[22:23:13] <anilg> ld.so.1: zoneadm: fatal: relocation error: file /usr/lib/libxml2.so.2: symbol gzopen64: referenced symbol not found[22:23:13] <anilg> Killed[22:24:32] <rootard> wheee[22:25:37] <rootard> This is the problem with just yanking stuff out of the source files :)[22:29:16] *** anilg1 has joined ##nexenta[22:32:42] *** anilg2 has joined ##nexenta[22:33:10] <anilg2> the only mention of gzopen64 in libxml is the the changelog[22:33:37] <anilg2> anil at gnusolaris:~/libxml/libxml2-2 dot 6.31.dfsg$ grep -r gzopen64[22:33:38] <anilg2> *debian/changelog: * libxml.h: define _LARGEFILE64_SOURCE to properly get gzopen64 defines in[22:35:18] <rootard> so, zlib already has a mapfile[22:35:35] <rootard> by using the Sun mapfile we are destroying the old version information[22:37:16] *** zerro1 has quit IRC[22:38:00] <anilg2> the mapfile is of the form ZLIB_1.2.0 ..[22:38:23] <anilg2> can we append the SUNW_ entries from sun's mapfile into zlib.map?[22:45:30] *** anilg2 is now known as anilg_zz[22:47:03] *** anilg has quit IRC[22:50:57] *** anilg1 has quit IRC[23:02:42] *** andy_js has quit IRC[23:10:23] *** randybias|away is now known as randybias[23:23:28] *** bprice20 has joined ##nexenta[23:40:09] *** bprice20 has quit IRC[23:50:04] *** kim0 has quit IRC