=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel === jouni__m [n=jouni@laku42.adsl.netsonic.fi] has left #ubuntu-kernel ["Leaving"] === dmk [n=dmk@host81-156-24-137.range81-156.btcentralplus.com] has joined #ubuntu-kernel === ppd [n=max@dslb-084-056-040-103.pools.arcor-ip.net] has joined #ubuntu-kernel [01:03] BenC: It gives me the same eject error with the new kernel :( [01:06] what's the eject error? [01:07] Can't eject. Last error: Invalid argument. [01:07] invalid argument, that's not the bug error [01:08] it does EIO, Input/Output Error [01:08] does eject -s work for you? [01:08] wait [01:09] yes [01:09] from the console as root it works [01:09] then you did something wrong with the patch to scsi-ioctl.c [01:09] recheck it, and make sure the ioctl fro CDROMEJECT matches, and that the functions are properly copied === infinity [n=adconrad@charon.0c3.net] has joined #ubuntu-kernel [01:10] I am using the archck patchset. Could that influence the result? [01:12] http://pastebin.com/489438 [01:12] this compiled fine [01:25] :( [01:29] BenC: If you could have a look at it I'd be helped very much === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel === crimsun [n=crimsun@pdpc/supporter/silver/crimsun] has joined #ubuntu-kernel [01:39] ppd: looks ok to me, not sure why it isn't working [01:40] probably a newer eject version is needed?! [01:42] no, shouldn't be [01:42] are you sure you are using the built kernel? [01:42] eject -s should be the same as eject -r with that patch, IOW, if eject -s works, then normal eject should aswell [01:43] hm. I'll try eject from the console [01:44] max@max:/usr/src/linux-2.6.14$ eject /dev/sda1 [01:44] eject: Kann nicht auswerfen! Letzter Fehler: Das Argument ist ungltig [01:45] umount was ok [01:45] probably I really started the wrong kernel... can't be.... === crimsun_ [n=crimsun@cpe-065-188-148-141.triad.res.rr.com] has joined #ubuntu-kernel === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel === ppd [n=max@dslb-084-056-040-103.pools.arcor-ip.net] has joined #ubuntu-kernel === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel [02:17] BenC: sorry for annoying you again. But this time I'm absolutely sure I run the patched kernel and it doesn't work [02:17] BenC: I have done a strace eject /dev/sda1 but this didn't help me === ogra [n=ogra@ubuntu/member/ogra] has joined #ubuntu-kernel === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel [02:24] ogra@aleph:~$ mount |grep mapper [02:24] /dev/mapper/vg0-lvol0 on / type ext3 (rw,errors=remount-ro) [02:24] /dev/mapper/vg1-lvol1 on /var type ext3 (rw) [02:24] BenC, mjg59, thanks a lot !! [02:24] i owe you a drink or something ... [02:26] what for? :) [02:26] pointing me to the right places :) [02:26] the via patch seems to run fine ... === doko [n=doko@dslb-084-059-074-065.pools.arcor-ip.net] has joined #ubuntu-kernel === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel === crimsun_ [n=crimsun@66.248.140.183] has joined #ubuntu-kernel === crimsun__ [n=crimsun@66.248.140.183] has joined #ubuntu-kernel === ogra [n=ogra@ubuntu/member/ogra] has joined #ubuntu-kernel === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel === ispiked [n=ispiked@unaffiliated/ispiked] has joined #ubuntu-kernel === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel === ..[topic/#ubuntu-kernel:BenC] : Ubuntu kernel development discussion ONLY | New git tree for dapper: https://wiki.ubuntu.com/KernelGitGuide | 2.6.15-11.16 uploading (The "Real 2.6.15" release, AKA The "If-Anything-Breaks-Its-Our-problem-Now" Release) === rikai [n=gtk2@pool-64-223-236-91.port.east.verizon.net] has joined #ubuntu-kernel === crimsun [i=nobody@pdpc/supporter/silver/crimsun] has joined #ubuntu-kernel === rikai [n=gtk2@pool-64-223-236-91.port.east.verizon.net] has joined #ubuntu-kernel === rikai [n=gtk2@pool-64-223-236-91.port.east.verizon.net] has joined #ubuntu-kernel === infinity [n=adconrad@charon.0c3.net] has joined #ubuntu-kernel [06:43] Oh look, a new ABI. [06:44] BenC: I need to give LRM some TLC... Any reservations about holding off on the LRM/-meta uploads until tomorrow, when I can make it all happy? [06:44] (I can do -meta when LRM is done) [06:44] morning guys [06:45] oh oh oh [06:50] ? [06:50] .15 final in the archive :) [06:50] Indeed. === lbm [n=lbm@cpe.atm4-0-1301006.0x50a0824e.vgnxx6.customer.tele.dk] has joined #ubuntu-kernel === Panda2 [n=blyadski@217.118.90.1] has joined #ubuntu-kernel [09:11] [09:12] ? [09:12] Panda2: This is an English channel. [09:13] sorry, i'm dont know [09:14] Adam Conrad this cool nick [09:14] talk to me Adam Conrad === chmj [n=chmj@dsl-146-70-71.telkomadsl.co.za] has joined #ubuntu-kernel [09:16] people????????? === Panda2 is now known as Kernel === crimsun [n=crimsun@pdpc/supporter/silver/crimsun] has joined #ubuntu-kernel === CataEnry [n=cataenry@host71-5.pool8257.interbusiness.it] has joined #ubuntu-kernel [10:47] hi all === CataEnry [n=cataenry@host71-5.pool8257.interbusiness.it] has joined #ubuntu-kernel === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel === pappan [n=garbage@bgepxyout-02.asiapac.hp.net] has joined #ubuntu-kernel [12:27] BenC: hi === pappan [n=garbage@bgepxyout-02.asiapac.hp.net] has joined #ubuntu-kernel === garbage_ [n=garbage@bgepxyout-02.asiapac.hp.net] has joined #ubuntu-kernel === garbage_ [n=garbage@bgepxyout-02.asiapac.hp.net] has joined #ubuntu-kernel === garbage_ [n=garbage@bgepxyout-02.asiapac.hp.net] has joined #ubuntu-kernel === garbage_ [n=garbage@bgepxyout-02.asiapac.hp.net] has joined #ubuntu-kernel === garbage_ [n=garbage@bgepxyout-02.asiapac.hp.net] has joined #ubuntu-kernel [01:28] any 1 here [01:28] from kernel devel team === lbm [n=lbm@cpe.atm4-0-1301006.0x50a0824e.vgnxx6.customer.tele.dk] has joined #ubuntu-kernel === pappan [n=garbage@bgepxyout-02.asiapac.hp.net] has joined #ubuntu-kernel === CataEnry [n=cataenry@host224-69.pool873.interbusiness.it] has joined #ubuntu-kernel [01:45] hi all === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel === pappan [n=garbage@bgepxyout-02.asiapac.hp.net] has joined #ubuntu-kernel === ppd [n=max@dslb-084-056-047-054.pools.arcor-ip.net] has joined #ubuntu-kernel [02:05] hi === lbm [n=lbm@cpe.atm4-0-1301006.0x50a0824e.vgnxx6.customer.tele.dk] has joined #ubuntu-kernel [02:14] is it possible the several fixes need to be backported in order to fix that eject bug? [02:36] no [02:37] BenC: then either I patched the file badly or this fix ust won't work with 2.6.14!? [02:38] Your error is not the same as what is in the bug report, but I have no idea why you are getting the error [02:38] No sure how eject -s could work for you, but normal eject with the patch doesn't [02:39] eject -s works with root rights [02:39] do this [02:39] strace -o eject.out eject [02:39] and pastebin th eject.out [02:39] two seconds :) [02:42] http://pastebin.com/490104 [02:43] :) [02:45] ah, ok, the CDROMEJECT ioctl is getting EIO [02:46] I didn't realize that eject tries every method if they keep failing [02:46] ls -l /dev/sda1 [02:46] let me see that [02:47] brw-r----- 1 root plugdev 8, 1 2006-01-04 14:46 /dev/sda1 [02:47] ok, so updated eject wont help (sg_io needs write perms) [02:47] from now on when testing the fix, do "eject -r", since that only does the CDROMEJECT ioctl that we are testing [02:48] what type of device is this you are ejecting? [02:48] an usb plugged harddisk [02:49] eject -r gives inpout/output error [02:49] and why exactly do you want to eject a harddisk? [02:49] i don't want. gnome does... [02:50] and gnome is complaining because it fails? [02:51] gnome pops up an error message telling me "Eject. ... Invalid argument" [02:51] can you do "sudo strace -o eject.out eject -s"? [02:51] sure [02:51] I think the issue here is that this device cannot be ejected [02:53] http://pastebin.com/490110 [02:55] does that make the device inaccessible afterwards? [02:56] if I plug it in again? [02:56] no, right after eject [02:57] can you remount it after ejecting it with eject -s? [02:58] max@max:~$ sudo mount /dev/sda1 test/ [02:58] max@max:~$ [02:58] no problem === mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-kernel [03:00] then it's not really ejecting [03:01] I think so. a harddisk can't be eject, or? [03:06] well some usb devices can be, like ipods [03:06] it basically puts the device offline [03:06] my usb stick doesn't give an error when umounting/ejecting with gnome [03:07] but eject -r still should not be returning EIO, since eject -s is not either [03:07] can you try eject -r on the device? [03:07] as user? [03:07] yeah [03:07] with strace? [03:09] http://pastebin.com/490132 [03:09] here's the strace output === CataEnry [n=cataenry@host224-69.pool873.interbusiness.it] has joined #ubuntu-kernel [03:18] i/o error [03:19] ah, I see why eject -s isn't returning an error [03:19] it actually is getting an error, just that eject is ignoring it [03:19] that would be an option too :) === rikai [n=gtk2@pool-64-223-236-91.port.east.verizon.net] has joined #ubuntu-kernel [03:21] does "sudo eject -s" take your USB device offline (can't remount it)? [03:24] max@max:~$ sudo mount /dev/sdb1 test [03:24] max@max:~$ cd test && ls [03:24] lost+found nvidia_patched user [03:24] max@max:~/test$ [03:24] stays online [03:26] ok, then this is a different bug altogether, in that gnome should do something better [03:27] I wonder if gnome calls eject, or calls it's own internal ioctl's [03:27] hm, probably I can find something in libnautilus source [03:28] or can iI strace nautilus eject ? [03:28] you can try, but this is getting out of my expertise [03:29] ok. thank you very much. So there's nothing I can do? === ogra_ [n=ogra@p5089EB20.dip.t-dialin.net] has joined #ubuntu-kernel === zul [n=chuck@ubuntu/member/zul] has joined #ubuntu-kernel [03:37] heylo === doko [n=doko@dslb-084-059-106-032.pools.arcor-ip.net] has joined #ubuntu-kernel [03:39] BenC: a new version of eject wouldn't help? or hacking eject so that it ignores that error? [03:47] scsi eject works as root [03:48] it doesn't work, it just ignores the error [03:48] so who causes the error? [03:48] eject -s is the same as eject -r functionally in the kernel, after patching scsi_ioctl.c [03:48] it's just that eject ignores the error from sg_io [03:48] the device causes the error [03:49] it's scsi eject that is ignoring things [03:49] in the eject program that is [03:49] if it checked hdr->status, it would see the error [03:50] ok. so the error is neither in the kernel nor in eject? [03:50] It's just that you shouldn't call eject for a usb disk? === rikai [n=gtk2@pool-64-223-236-91.port.east.verizon.net] has joined #ubuntu-kernel === slushpupie [i=jay@slushpupie.com] has joined #ubuntu-kernel === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel === zul [n=chuck@ubuntu/member/zul] has joined #ubuntu-kernel === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel === ogra_ [n=ogra@p5089CC34.dip.t-dialin.net] has joined #ubuntu-kernel === dmk [n=dmk@host81-154-95-95.range81-154.btcentralplus.com] has joined #ubuntu-kernel === CataEnry [n=cataenry@host224-69.pool873.interbusiness.it] has joined #ubuntu-kernel === CataEnry [n=cataenry@host224-69.pool873.interbusiness.it] has joined #ubuntu-kernel === ogra [n=ogra@ubuntu/member/ogra] has joined #ubuntu-kernel === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel [07:06] bye all === ogra [n=ogra@ubuntu/member/ogra] has joined #ubuntu-kernel === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel === dmk [n=dmk@host81-154-95-95.range81-154.btcentralplus.com] has joined #ubuntu-kernel === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel === ppd [n=max@dslb-084-056-047-054.pools.arcor-ip.net] has joined #ubuntu-kernel === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel === lamont [n=lamont@mib.fc.hp.com] has joined #ubuntu-kernel === dmk [n=dmk@host81-154-95-95.range81-154.btcentralplus.com] has joined #ubuntu-kernel === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel === rikai-2 [n=gtk2@pool-64-223-236-91.port.east.verizon.net] has joined #ubuntu-kernel [10:40] BenC: ping? === TheMuso [n=luke@dsl-202-173-132-131.nsw.westnet.com.au] has joined #ubuntu-kernel === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel === lamont [n=lamont@mib.fc.hp.com] has joined #ubuntu-kernel [11:20] fabbione: pong === slushpupie [i=jay@slushpupie.com] has left #ubuntu-kernel [] === fabbione [i=fabbione@gordian.fabbione.net] has joined #ubuntu-kernel === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel