John__ 2017-02-25 10:46:13
jhutchins, yes, and I've seen that being done in a particular project by someone, but isn't there anymore I could do apart from that?
John__ 2017-02-25 10:46:23
I mean, loading it sounds great, but that's as far as your flexibility goes.
John__ 2017-02-25 10:49:05
jhutchins, while the goal is indeed to write a driver, alongside this I'd like to actually understand and manipulate the device.
mcrt 2017-02-25 10:49:27
John__: reverse engineer the binary, write a new firmware/driver (not too easy though)
petn-randall 2017-02-25 10:49:56
John__: Then you'll have to reverse engineer either the windows driver, or explore the HW from scratch. Not really a project to get your feet wet with when developing drivers for the first time.
John__ 2017-02-25 10:50:56
I see, so there's no other way.
John__ 2017-02-25 10:51:59
alright, thanks.
jhutchins 2017-02-25 10:52:02
John__: I take it that somewhere behind the philosophizing is the desire to get a working driver for some particular hardware.
John__ 2017-02-25 10:52:29
jhutchins, of course. I have a laptop that I'd like to write drivers for
John__ 2017-02-25 10:52:40
to learn driver development on the way
John__ 2017-02-25 10:52:43
problem is
John__ 2017-02-25 10:53:02
there's no datasheets provided for my machine's devices by the manufacturers
John__ 2017-02-25 10:53:04
and
John__ 2017-02-25 10:53:19
I actually thought of reading the linux drivers that DO work on this machine
John__ 2017-02-25 10:53:22
but there's no source code
John__ 2017-02-25 10:53:25
there's just binary firmware.
John__ 2017-02-25 10:53:29
and that... let me trumped.
John__ 2017-02-25 10:53:49
the device I want to write a driver for is my NIC by the way.
John__ 2017-02-25 10:53:56
I thought I'd start simple.
jhutchins 2017-02-25 10:54:27
Very few NICs do not have a working Linux driver.
missmbob 2017-02-25 10:54:37
and this is seriously off topic
John__ 2017-02-25 10:54:45
jhutchins, my laptop is pretty bleeding edge. it's only in version 4.4 that my NIC got supported.
John__ 2017-02-25 10:54:48
missmbob, really sorry.
John__ 2017-02-25 10:54:56
4.4 of linux.
jhutchins 2017-02-25 10:55:05
Yeah, it's about firmware development, a deep subset of programming. Persue binary programming.
John__ 2017-02-25 10:55:21
before 4.4, I had to bring in some firmware into the kernel and recompile it
John__ 2017-02-25 10:55:24
to get my NIC to work.
John__ 2017-02-25 10:55:36
jhutchins, fair. thank you.
jhutchins 2017-02-25 10:56:15
John__: Probably not too hard to start with programming SOCs like Arduinos and Pi.
John__ 2017-02-25 11:00:48
jhutchins, I sort of have an idea about the types of I/O like serial OUT, memory mapping and DMA
John__ 2017-02-25 11:01:17
was hoping I'd actually try my aim at something more complicated and something that's actually PART of my hardware/laptop.
John__ 2017-02-25 11:01:20
something more interesting.
strncpy 2017-02-25 11:14:24
Hi
strncpy 2017-02-25 11:14:35
which version was systemd introduced in?
epsilon 2017-02-25 11:18:27
current stable
tofutoon 2017-02-25 11:24:34
I'm trying to get an AK5370 microphone working on Debian. It works well on Ubuntu. The primary difference I see is that Ubuntu uses xhci_hcd whereas Debian uses ehci-pci. Is there a way to ask Debian to use xhci_hcd? I'm using Debian 8.7.
Shadow_7 2017-02-25 11:29:10
tofutoon: modprobe xhci_hcd
camh 2017-02-25 11:29:30
does anyone have rootfs on nfs4 working with debian jessie? it always seems to try nfs3 only
sqarzz 2017-02-25 11:34:03
guys, i have a question. the mbr, is it located on the disk itself? I have a system on a disk with two partitions (boot and root). I would like te copy the whole system to another virtual host. If i recreate the partitions first, could i just copy the content of the two partitions with dd. would this even work?
tofutoon 2017-02-25 11:45:27
Shadow_7: The xhci_hcd driver is enabled. After using a different port, xhci_hcd was used. That port is labelled as USB 3.0 but it's probably 2.0.
tofutoon 2017-02-25 11:45:27
Shadow_7: Thanks
camh 2017-02-25 11:45:27
sqarzz: the mbr is outside of the partitions. it is the very first sector on the disk, which also holds the partition table
camh 2017-02-25 11:45:27
there is also a bit of free space between the mbr and the first partition which will likely be used by the bootloader
camh 2017-02-25 11:56:50
sqarzz: see https://en.wikipedia.org/wiki/BIOS_boot_partition#/media/File:GNU_GRUB_components.svg
sqarzz 2017-02-25 11:57:28
okay thx camh
JetBalsa 2017-02-25 11:59:37
"Uhh.. My Mainframe is not wanting to show the total number of items we have ordered" -- A Manger as a sports bar
JetBalsa 2017-02-25 12:00:30
sounded like I was talking to someone from a 50s radio station, it was strange
Shadow_7 2017-02-25 12:02:02
mainframes were more of a 60s thing. Although didn't see widespread adoption until the 70s (outside of government anyway)
Shadow_7 2017-02-25 12:03:16
Always nice to see code that hadn't been touched since the 70s on a Y2K project. Or been seen by anyone living.
Shadow_7 2017-02-25 12:04:53
Fortunately the code that had to be moded based on it's disassembly assembler code, was assembler to start with.
jhutchins 2017-02-25 12:06:46
Finally hit a roadblock. Grub was unable to install for UEFI. Debian is on (hd0,gpt7), and I can set that as root, set the kernel and initrd, but boot says "no suitble video mode found, booting in blind mode".
jhutchins 2017-02-25 12:07:03
terminal_output shows spkmodem serial_* gfxterm cbmemc audio
Shadow_7 2017-02-25 12:07:16
jhutchins: nomodeset as a kernel parm?
jhutchins 2017-02-25 12:10:03
Shadow_7: Nope, I don't think it gets that far.
Shadow_7 2017-02-25 12:14:50
jhutchins: can you chainload another grub.cfg ? GRUB> configfile (hd0,gpt7)/boot/grub/grub.cfg
Shadow_7 2017-02-25 12:15:47
jhutchins: might need to insmod part_gpt and insmod ext2 first to have it show up in GRUB> ls
jhutchins 2017-02-25 12:29:58
Shadow_7: No, this was the first intall attmpt.
jhutchins 2017-02-25 12:31:11
I can list files on the partition from the grub command line.
userro 2017-02-25 12:31:25
libc6 is the problem. It is causing all the problems.
jhutchins 2017-02-25 12:31:48
I think I need to configure a mode for gfxterm, but no idea how.
userro 2017-02-25 12:32:09
didn't anyone get libc6 installation problems when upgrading to stretch?
missmbob 2017-02-25 12:32:14
userro: i havent heard of it. i'm here about 10 hours a day every day
userro 2017-02-25 12:32:28
hm
userro 2017-02-25 12:32:37
it is probably a bug
userro 2017-02-25 12:32:40
then
userro 2017-02-25 12:33:25
I've reinstalled it two times and I got the same errors
fsmithred 2017-02-25 12:36:20
has anyone else gotten this message on upgrading the login package?
fsmithred 2017-02-25 12:36:41
unable to install new version of `/bin/su': Device or resource busy
fsmithred 2017-02-25 12:36:42
of course, /bin/su was busy because I was root
userro 2017-02-25 12:37:52
can we give normal users the ability to install packages?
missmbob 2017-02-25 12:38:34
no
userro 2017-02-25 12:38:54
:D
missmbob 2017-02-25 12:38:54
userro: you can give them sudo powers if that's okay
userro 2017-02-25 12:43:59
may be older version of libc6 will work
bazhang 2017-02-25 12:44:38
older version of libc6
bazhang 2017-02-25 12:45:00
that's a disaster waiting in the wings
userro 2017-02-25 12:45:28
oh lol